sfHover = function() {
    var sfEls = document.getElementById("nav").getElementsByTagName("li");
    for (var i=0; i<sfEls.length; i++) {
    
    	if (sfEls[i].id.length > 0) {
        sfEls[i].onmouseover=function() {
            this.className+=" sfhover";
        }
        sfEls[i].onmouseout=function() {
        	var iidd = this.id;
          // this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
          window.setTimeout(function () { blah(iidd); }, 20);
       }
       
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
blah = function(aa) {
	asdf = document.getElementById(aa);
	asdf.className=asdf.className.replace(new RegExp(" sfhover\\b"), "");
}