sfHover = function() {
	var sfEls = document.getElementById("nav1").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			/*for (var j=0; j<sfEls.length; j++) {
				sfEls[j].className="";
			}*/
			//this.className="sfhover";
			if (this.getElementsByTagName("UL")[0])
				this.getElementsByTagName("UL")[0].style.display="block";
			}
		
		sfEls[i].onmouseout=function() {
			//this.className="";
			if (this.getElementsByTagName("UL")[0])
				this.getElementsByTagName("UL")[0].style.display="none";
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
window.onload=function (){
	sfHover();
}
