/**
 * Description: direct page to value in dropdown
 * Params:
 *	menu - dropdown object
**/
function jump(menu)
{
	var selIndex = menu.selectedIndex;
	var selValue = menu.options[selIndex].value;
	
	window.location=selValue;

}


/* popup for signin values */
function popupID()
{
	var selectBox = document.getElementById('secure_sign_in');
	
	var selIndex = selectBox.selectedIndex;
	var selValue = selectBox.options[selIndex].value;
	
	var day = new Date();
	var id = day.getTime();
	var tbar = 0;
	var sbar = 0;
	var mbar = 0;
    	var rgn = window.location + '';
    	var url = selValue;
    	
	if (selIndex == 2) {
    		tbar = 1;
    		sbar = 1;
    		mbar = 1;
		
	}
	
	eval("page" + id + " = window.open(url, '" + id + "', 'toolbar=" + tbar +", scrollbars=1, location=0, statusbar=" + sbar + ", menubar=" + mbar +", resizable=1, width=850, height=600, left = 215, top = 30');");
}



function showPage(dropDown)
{
url = dropDown[dropDown.selectedIndex].value;

if (dropDown.selectedIndex == 1 || dropDown.selectedIndex == 2)
{

window.open(url, 'popup', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=850,height=600,left = 215,top = 30');
}else
{
window.location.href = url;
}

dropDown.selectedIndex = 0;
}