// NONE of this code runs on Firefox ot better browsers, this is an IE6 only file
// SEE - http://htmldog.com/articles/suckerfish/dropdowns/

sfHover = function() {
  $$("#navigationlist li.category").each(function(child){
  
    child.onmouseover=function() {    
      //Prevents Ghost Drop-Downs from staying open when the mouse has moved on
      removeExtras(child);      
      this.className+=" sfhover";
    }
    
    child.onmouseout=function() {
      // the delay removes Flickering
      liID = this.identify();
      setTimeout('$(liID).removeClassName("sfhover")', 1);
    }
    
  });
}

if (window.attachEvent) window.attachEvent("onload", sfHover);


function removeExtras(elem){  
  openHovers = $$("#navigationlist li.sfhover");  
  if(openHovers.length > 0){
    openHovers.each(function(child){
      if(child != elem){
        child.removeClassName("sfhover");
      }      
    });
  }
}
