sfHover = function() {
	var sfElement = document.getElementById("nav");
	if(sfElement != null) {
	    var sfEls = sfElement.getElementsByTagName("LI");
	    for (var i=0; i<sfEls.length; i++) {
    		// Use onmousemove instead of onmouseover.
    		// This fixes the flickering in IE6 when using the overlib library.
            sfEls[i].onmousemove = function() {
                if (this.className.indexOf(" hover") == -1) {
                    this.className += " hover";
                }
            }
    		
    		sfEls[i].onmouseout=function() {
    			this.className=this.className.replace(new RegExp(" hover\\b"), "");
    		}
    	   
    	} 
	    
	}	
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


