sfHover = function() {
 	var sfEls = document.getElementById("nav").getElementsByTagName("UL");
 	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].parentNode.onmouseover=function() {
 			this.lastChild.className+=" soasfhover";
			this.lastChild.parentNode.className+=" liover";
			return;
 		}
 		sfEls[i].parentNode.onmouseout=function() {
 			this.lastChild.className=this.lastChild.className.replace(new RegExp(" soasfhover\\b"), "");
			this.lastChild.parentNode.className=this.lastChild.parentNode.className.replace(new RegExp(" liover\\b"), "");
			return;
 		}
 	}
 }
 
 if (window.attachEvent) window.attachEvent("onload", sfHover);
