sfHover = function() { 
	var sfEls = document.getElementById("menu").getElementsByTagName("LI"); 
    for (var i=0; i<sfEls.length; i++) { 
        sfEls[i].onmouseover=function() { 
            if(this.className.indexOf('selected')==-1){
			   this.className+=" shover";
			}
        } 
        sfEls[i].onmouseout=function() { 
			if(this.className.indexOf('selected')==-1){
			 this.className="";
			}

        } 
    } 
} 
if (window.attachEvent){ 
      window.attachEvent('onload', sfHover);
    }else{  
      window.addEventListener('load', sfHover,false);  
}  
