//used in the Language Dropdown menu

/*function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}*/

//used in the Language Dropdown menu
function changeUrl() {
var redirect;
redirect = document.getElementById('select').value;
document.location.href = redirect;
}



function MM_jumpMenu_blank(targ,selObj,restore){ //v3.0 
var s = selObj.options[selObj.selectedIndex].value;
window.open(s);
if (restore) selObj.selectedIndex=0; 
} 

//used in healthcare process pages to get the querystring
function querySt(ji) {
hu = window.location.search.substring(1);
gy = hu.split("&");
for (i=0;i<gy.length;i++) {
ft = gy[i].split("=");
if (ft[0] == ji) {
return ft[1];
}
}
}

var win= null;

//opens up the pop up window 
//function MM_openBrWindow(mypage,w,h,myname){
//  //window.open(theURL,winName,features);
//	var winl = (screen.width-w)/2;
//	var wint = (screen.height-h)/2;
//	var settings='height=' h ',width=' w ',top=' wint ',left=' winl ',scrollbars=no,toolbar=no';
//	win=window.open(mypage,myname,settings);
//	if(parseInt(navigator.appVersion) >= 4){
//			win.window.focus();}
//	}
//
//}

var win= null;
function OpenNewWindow(mypage,w,h,myname){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,toolbar=no'
win=window.open(mypage,myname,settings)
//if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

