window.onload = function()
{
 if (document.all&&document.getElementById)
 {
  navItm = document.getElementById("nav");
  for (i=0; i<navItm.childNodes.length; i++)
  {
   node = navItm.childNodes[i];
   if (node.nodeName=="LI")
   {
    node.onmouseover=function()
    {
     this.className+=" over";
    }
    node.onmouseout=function()
    {
     this.className=this.className.replace(" over", "");
    }
   }
  }
 }
}
