/* 
Suckerfish Modified
2006-08-22 DRW
http://www.htmldog.com/articles/suckerfish/dropdowns/
This has been modified to handle more than one instance of the menu on a page.  Instead of grabbing by ID, it now grabs all ULs that
are tagged with the "suckerfish" class.
*/

sfHover = function() {
    
    var lists = document.getElementsByTagName("UL");
    for (var i = 0; i < lists.length; i++)
    {
        if (lists[i].className == "suckerfish")
        {
	        var sfEls = lists[i].getElementsByTagName("LI");
	        for (var j=0; j<sfEls.length; j++) {
		        sfEls[j].onmouseover=function() {
			        this.className+=" sfhover";
		        }
		        sfEls[j].onmouseout=function() {
			        this.className=this.className.replace(/ sfhover/gi, ""); 
		        }
				
	        }
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
