    sfHover = function() {
	   var sfEls = document.getElementById("subnav").getElementsByTagName("li");
	   for (var i=0; i<sfEls.length; i++) {
            sfEls[i].onmouseover=function() {
                this.className +=" sfhover";
            }
            sfEls[i].onmouseout = function() {
                this.className = this.className.replace(new RegExp(" sfhover\\b"), "");
            }
	   }

	   //following block commented out by rnorigian on 2008-05-02
	   //it's not really doing anything except throwing errors in ie
	   /*
	   var riNavHover = document.getElementById("topnav").getElementById("ri_nav");
	   riNavHover[j].onmouseover = function() {
	       this.className +=" rihover";
	   }
	   riNavHover[j].onmouseout = function() {
	       this.className = this.className.replace(new RegExp(" rihover\\b"), "");
	   }
	   
	   var hasbroHover = document.getElementById("topnav").getElementById("nav_hasbro");
	   hasbroHover[j].onmouseover = function() {
	       this.className +=" hasbrohover";
	   }
	   hasbroHover[j].onmouseout = function() {
	       this.className = this.className.replace(new RegExp(" hasbrohover\\b"), "");
	   }
	   
	   var miriamhover = document.getElementById("topnav").getElementById("nav_miriam");
	   miriamhover[j].onmouseover = function() {
	       this.className +=" miriamhover";
	   }
	   miriamhover[j].onmouseout = function() {
	       this.className = this.className.replace(new RegExp(" miriamhover\\b"), "");
	   }
	   
	   
	   var newporthover = document.getElementById("topnav").getElementById("nav_newport");
	   newporthover[j].onmouseover = function() {
	       this.className +=" miriamhover";
	   }
	   newporthover[j].onmouseout = function() {
	       this.className = this.className.replace(new RegExp(" newporthover\\b"), "");
	   }
	   
	   
	   var bradleyhover = document.getElementById("topnav").getElementById("nav_bradley");
	   bradleyhover[j].onmouseover = function() {
	       this.className +=" bradleyhover";
	   }
	   bradleyhover[j].onmouseout = function() {
	       this.className = this.className.replace(new RegExp(" bradleyhover\\b"), "");
	   }*/
}        
    
    if (window.attachEvent) window.attachEvent("onload", sfHover);