function isIE() { return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent); }
          
var currentOver = false;
var timerID;

//function to detect mouseover for IE browsers
function IEMenuStart() 
{
    if (isIE()) 
    {
      navRoot = document.getElementById("nav");
      for (i=0; i<navRoot.childNodes.length; i++) 
      {
        node = navRoot.childNodes[i];
        if (node.nodeName=="LI") 
        {
          //node.onmouseover=function() { this.className+=" over"; }
          //node.onmouseout=function() { this.className=this.className.replace(" over", ""); }
          
          //delayed close verion
          node.onmouseover=function() 
          {
            //stop any currently closing menu and close it manually
            clearTimeout(timerID); 
            if( currentOver ) currentOver.className=this.className.replace(" over", "");
            
            this.className+=" over";
            currentOver = this;
          }
          
          node.onmouseout=function() 
          { 
            var that=this; //change scope
            timerID=setTimeout(function(){that.className=that.className.replace(" over", "")},100); 
          }
        }
      }
    }
}