menuLine = function() {
	var cssLine;
	var newSel;
	for (var i = 0; i < document.stylez.length; i++)
		for (var x = 0; x < document.stylez[i].rules.length ; x++)
			{
			cssLine = document.stylez[i].rules[x];
			if (cssLine.selectorText.indexOf("LI:hover") != -1)
			{
				 newSel = cssLine.selectorText.replace(/LI:hover/gi, "LI.iehover");
				document.stylez[i].addRule(newSel , cssLine.style.cssText);
			}
		}
	var elementz = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<elementz.length; i++) {
		elementz[i].onmouseover=function() {
			this.className+=" iehover";
		}
		elementz[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", menuLine);

