sfHover = function() {
	if(!document.getElementById("mainmenu")){
		
	} else {
	var sfEls = document.getElementById("mainmenu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			//this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); //this wouldn't work in Firefox with the gallery switcher down below
			this.className=this.className.replace(new RegExp("sfhover"), "");
		}
		}
	}
}

sfHover2 = function() {
	if(!document.getElementById("sportsmenu")){
		
	} else {
	var sfEls = document.getElementById("sportsmenu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			//this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); //this wouldn't work in Firefox with the gallery switcher down below
			this.className=this.className.replace(new RegExp("sfhover"), "");
		}
	}
	}
}


window.onload = function() {
	sfHover();
	sfHover2();
}