function menuFix(menu_type) {
/*
	var sfEls = document.getElementById("gradLink_sub").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		var test = sfEls[i].className;
		if (test.indexOf('noRoll') == -1 ){
			sfEls[i].onmouseover=function() {
				this.className+=(this.className.length>0? " ": "") + "sfhover";
			}
			sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
			}
		}
	}
	 
}*/
//window.onload=menuFix;

	var sfEls = document.getElementById(menu_type).getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		var test = sfEls[i].className;
		if (test.indexOf('noRoll') == -1 ){
			sfEls[i].onmouseover=function() {
			this.className+=(this.className.length>0? " ": "") + "sfhover";
			}
			// event added to keep menu items from disappearing
			sfEls[i].onMouseDown=function() {
			this.className+=(this.className.length>0? " ": "") + "sfhover";
			}
			// event added to keep menu items from disappearing
			sfEls[i].onMouseUp=function() {
			this.className+=(this.className.length>0? " ": "") + "sfhover";
			}
			sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
			}
		}
	}
}