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