ieHover = function() {
  var ieULs = document.getElementById('fbmnav').getElementsByTagName('ul');
  for (j=0; j<ieULs.length; j++) {
    ieULs[j].innerHTML = ('<iframe src="about:blank" scrolling="no" frameborder="0"></iframe>' + ieULs[j].innerHTML);
    var ieMat = ieULs[j].firstChild;
		ieMat.style.width=ieULs[j].offsetWidth+"px";
		ieMat.style.height=(ieULs[j].offsetHeight+10)+"px";	
		ieULs[j].style.zIndex="99";
  }
  var ieLIs = document.getElementById('fbmnav').getElementsByTagName('li');
	for (var i=0; i<ieLIs.length; i++) if (ieLIs[i]) {
		ieLIs[i].onmouseover=function() {this.className+=" sfhover";}
		ieLIs[i].onmouseout=function() {this.className=this.className.replace(' sfhover', '');}
	}
}
if (document.all) { // Load sfHover only in IE; other browsers don't need it
  if (window.attachEvent) {
      window.attachEvent("onload", ieHover);
   }
  else {
    window.onload = ieHover; // Mac IE5 needs this
  }
}
