function LoadMenu()
{
  timerID = "";
  navRoot = document.getElementById("ddm");
  for (i = 0; i < navRoot.childNodes.length; i++)
  {
    node = navRoot.childNodes[i];
    if (node.nodeName == "LI")
    {
      node.onmouseover = function()
      {
        if (this.id != "end_li")
        {
          this.className = "over";
          
          if (this.id == timerID)
          {
            clearTimeout(timer);
          }
          else if (this.id != timerID && timerID != "")
          {
            clearTimeout(timer);
            document.getElementById(timerID).className = "out";
          }
        }
      }
      node.onmouseout = function()
      {
        timerID = this.id;
        timer = setTimeout("UnloadMenu('" + this.id + "')", 1000);
      }
    }
  }
}
//window.onload = LoadMenu;

function UnloadMenu(id)
{
  document.getElementById(id).className = "out";
}





