flHover = function()
{
  var flEls = document.getElementById("nav1").getElementsByTagName("LI");

  for (var i=0; i<flEls.length; i++)
  {
    flEls[i].onmouseover = function()
    {
      this.className += " flhover";

    }
    flEls[i].onmouseout = function()
    {
      this.className = this.className.replace(new RegExp(" flhover\\b"), "");
    }
  }
}

if (window.attachEvent) window.attachEvent("onload", flHover);