sfHover = function() {
	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"), "");
		}
	}
}

function display(txt1,txt2){
	var box1 = document.getElementById(txt1);
	var box2 = document.getElementById(txt2);
	box1.style.display = "inline";
    box2.style.display = "none";	
}




if (window.attachEvent) window.attachEvent("onload", sfHover);