var oldClassName = "";
var uls = new Array();
uls[0] = "top";
uls[1] = "left";

startList = function()
{
  if (document.all && document.getElementById)
  {
    for (i=0; i<uls.length; i++)
    {
      navRoot = document.getElementById(uls[i]);
      if (navRoot == null)
          continue;
      for (j=0; j<navRoot.childNodes.length; j++)
      {
        node = navRoot.childNodes[j];
        if (node.nodeName=="LI")
        {
          node.onmouseover=function()
          {
            oldClassName = this.className;
            this.className+=" over";
          }
          node.onmouseout=function()
          {
              this.className=oldClassName;
          }
        }
      }
    }
  }
}
window.onload = startList;

