public/libs/jquery.selectbox.js
function (target) {
			var inst = this._getInst(target);
			//if (!inst || this._state[inst.uid] || inst.isDisabled) {
			if (!inst || inst.isOpen || inst.isDisabled) {
				return;
			}
			var	el = $("#sbHolder_" + inst.uid),
				viewportHeight = parseInt($(window).height(), 10),
				offset = $("#sbHolder_" + inst.uid).offset(),
				scrollTop = $(window).scrollTop(),
				height = el.height(),
				diff = viewportHeight - (offset.top - scrollTop) - height / 2,
				onOpen = this._get(inst, 'onOpen');
			// Commented this out, let html/css handle this
//			el.css({
//				"maxHeight": (diff - height) + "px"
//			});
			el.find(".sbContent").attr('style', 'display: block');
			inst.settings.effect === "fade" ? el.fadeIn(inst.settings.speed) : el.slideDown(inst.settings.speed);
			el.removeClass('closed');
			el.addClass('open');
			$("#sbToggle_" + inst.uid).addClass(inst.settings.classToggleOpen);
			this._state[inst.uid] = TRUE;
			inst.isOpen = TRUE;
			if (onOpen) {
				onOpen.apply((inst.input ? inst.input[0] : null), [inst]);
			}
			$.data(target, PROP_NAME, inst);
		}
function (target) {
			var inst = this._getInst(target);
			//if (!inst || this._state[inst.uid] || inst.isDisabled) {
			if (!inst || inst.isOpen || inst.isDisabled) {
				return;
			}
			var	el = $("#sbHolder_" + inst.uid),
				viewportHeight = parseInt($(window).height(), 10),
				offset = $("#sbHolder_" + inst.uid).offset(),
				scrollTop = $(window).scrollTop(),
				height = el.height(),
				diff = viewportHeight - (offset.top - scrollTop) - height / 2,
				onOpen = this._get(inst, 'onOpen');
			// Commented this out, let html/css handle this
//			el.css({
//				"maxHeight": (diff - height) + "px"
//			});
			el.find(".sbContent").attr('style', 'display: block');
			inst.settings.effect === "fade" ? el.fadeIn(inst.settings.speed) : el.slideDown(inst.settings.speed);
			el.removeClass('closed');
			el.addClass('open');
			$("#sbToggle_" + inst.uid).addClass(inst.settings.classToggleOpen);
			this._state[inst.uid] = TRUE;
			inst.isOpen = TRUE;
			if (onOpen) {
				onOpen.apply((inst.input ? inst.input[0] : null), [inst]);
			}
			$.data(target, PROP_NAME, inst);
		}
function ( target ) { var inst = this . _getInst ( target ) ; //if (!inst || this._state[inst.uid] || inst.isDisabled) {
 if ( ! inst || inst . isOpen || inst . isDisabled ) { return ; } var el = $ ( "#sbHolder_" + inst . uid ) , viewportHeight = parseInt ( $ ( window ) . height ( ) , 10 ) , offset = $ ( "#sbHolder_" + inst . uid ) . offset ( ) , scrollTop = $ ( window ) . scrollTop ( ) , height = el . height ( ) , diff = viewportHeight - ( offset . top - scrollTop ) - height / 2 , onOpen = this . _get ( inst , 'onOpen' ) ; // Commented this out, let html/css handle this
 //			el.css({
 //				"maxHeight": (diff - height) + "px"
 //			});
 el . find ( ".sbContent" ) . attr ( 'style' , 'display: block' ) ; inst . settings . effect === "fade" ? el . fadeIn ( inst . settings . speed ) : el . slideDown ( inst . settings . speed ) ; el . removeClass ( 'closed' ) ; el . addClass ( 'open' ) ; $ ( "#sbToggle_" + inst . uid ) . addClass ( inst . settings . classToggleOpen ) ; this . _state [ inst . uid ] = TRUE ; inst . isOpen = TRUE ; if ( onOpen ) { onOpen . apply ( ( inst . input ? inst . input [ 0 ] : null ) , [ inst ] ) ; } $ . data ( target , PROP_NAME , inst ) ; }
Call up attached selectbox

@param {HTMLElement} target
Call up attached selectbox