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";
	}
	sfEls[i].parentNode.onmouseout=function() {
		this.lastChild.className=this.lastChild.className.replace(new RegExp(" soasfhover\\b"), "");
	}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);	
