// IE Fix for sub-menus
function sfHover(el) {
  var sfEls = document.getElementById("container").getElementsByTagName(el);
  for (var ii=0; ii<sfEls.length; ii++) {
    sfEls[ii].onmouseover=function() {
      this.className+=" hover";
    }
    sfEls[ii].onmouseout=function() {
      this.className=this.className.replace(new RegExp(" hover\\b"), "");
    }
  }
}
function sfStart() {
  sfHover("ul");
  sfHover("li");
  sfHover("a");
}
if (window.attachEvent) window.attachEvent("onload", sfStart);