<!-- // Global Functions

// standard popup function
function popUp(winURL, winWidth, winHeight) {
	varstr = winHeight;
	popUpWin = window.open(winURL, 'popUpWin' + varstr, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+ winWidth +',height='+ winHeight +'');
	if ( window.focus ) {
		popUpWin.focus();
	}
}


// for parsing from a select / option value and returning a specific indexed value
// assumes values are separated by |
function GetOptionValue( optVal, idx ) {
	var optVal_array = optVal.split('|');
	if ( optVal_array.length >= idx )
		return optVal_array[idx];
	else
		return 0;
}

// -->
