// SNF JAVASCRIPT utility_functions.js VERSION 1.0
// Function to jump to a URL in a <select> menu
//  In this case, the name of the array containing the URLs
//  is determined based on the name of the pulldown menu.

function jumpToURL(formName,menuName) {
 var obj = eval("document." + formName + "." + menuName);
 var index = obj.selectedIndex;
 var url = eval(menuName + "_URLs[" + index + "]");
 if (url != "") {
   location.href=url;
 }
}

function goToURL(form,sel){
var d = eval('document.'+form+'.'+sel);
if (d.options[d.selectedIndex].value != "none") {
location.href = d.options[d.selectedIndex].value;
		}
	}

function windoze(urla,w,h){
if(w&&h){
wd = w;
ht = h;
} else
	{
	wd = 770;
	ht = 600;
	}
	newWin = window.open(urla,"popup","width="+wd+",height="+ht+",scrollbars=yes,resizable=yes");
	newWin.focus();
}

