// 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() {
  if (dropdown) {
    $$("li.topcat").each(function(child){
      child.onmouseover = function(){        
        //Prevents Ghost Drop-Downs from staying open when the mouse has moved on
        removeExtras();
        this.className += " hover";
      }
      
      child.onmouseout = function(){
        // the delay removes Flickering
        liID = this.identify();
        setTimeout('$(liID).removeClassName("hover")', 1);
      }
      
    });
  }
}

sfHovers = function() {
  if (dropdown) {
    jQuery('li.topcat').bind("mouseenter", function(){
      jQuery(this).addClass('hover');
    //jQuery(this).stopTime("hideMenu");
    }).bind("mouseleave", function(){
      //jQuery(this).oneTime(100, "hideMenu", function() {
      removeExtras();
    //});
    });
  }
}

if (window.attachEvent) window.attachEvent("onload", sfHovers);



function removeExtras(){  
  openHovers = jQuery("#nav-site li.hover").removeClass("hover");
}