ieHover = function() {
 var ieEls = document.getElementById("nav").getElementsByTagName("li");
 for (var i=0; i<ieEls.length; i++) {
  ieEls[i].onmouseover=function() {
   this.className+=" iehover";
  }
  ieEls[i].onmouseout=function() {
   this.className=this.className.replace(new RegExp(" iehover\\b"), "");
  }
 }
}
if (window.attachEvent) window.attachEvent("onload", ieHover);
