//Please set this variables to the http:// absolute path of the server.
// example:  var home_url = "http://www.ahrq.gov"
// OR just comment this below line and uncomment the next line.
// Commenting in JavaScript means putting the "//" in the beginning of the line or taking it off.
//var home_url = "http://dev.ahrq.gov"
var home_url = "http://www.ahrq.gov"

var ahrq_home = "index_ahrq.htm";
var fundops_home = "index.htm"

function AHRQhome(vlevel){
	location.href = vlevel + ahrq_home;
}

function FundopsHome(vlevel){
	location.href = vlevel + fundops_home;
}

function select_QuickMenu(targ,selObj,restore) {
	var url = selObj.options[selObj.selectedIndex].value;
	//adam ornstein - editted out original line, added line underneath for testing purposes
	//if(url.indexOf("http://") == -1) {
	if((url.indexOf("http://") == -1) && (url.indexOf("https://") == -1)){
		eval(targ+".location='"+ home_url + url+"'");
	}
	else {
		eval(targ+".location='"+url+"'");
	}
	if (restore) selObj.selectedIndex=0;
}

