// Allow drop-down menus in IE
// See www.alistapart.com/articles/horizdropdowns
function setLInodes(root)
{
  var i, node;
  for (i=0; i<root.childNodes.length; i++)
  {
    node = root.childNodes[i];
    if (node.nodeName=="LI")
    {
      node.onmouseover = function()
      {
        this.className+=" over";
      }
      node.onmouseout = function()
      {
        this.className=this.className.replace(" over", "");
      }     
    }
    
    setLInodes(node);
  }    
}

var startList = function()
{
  if (document.all&&document.getElementById)
  {
    navRoot = document.getElementById("nav");
    setLInodes(navRoot);
  }
}

window.onload=startList;
