﻿
startList = function() {
  if (document.all && document.getElementById) {
    var items = document.getElementById("headmenu").getElementsByTagName("LI");
    for (i = 0; i < items.length; i++) {
      node = items[i];
      if (node.nodeName == "LI") {
        node.onmouseover = function() {
          this.className += " hover";
        }
        node.onmouseout = function() {
          this.className = this.className.replace(" hover", "");
        }
      }
    }
  }
}

if (window.attachEvent) window.attachEvent("onload", startList);
