function IEHoverPseudo() {
	var navItems = document.getElementById("primary-nav").getElementsByTagName("li");

	for (var i=0; i<navItems.length; i++) {
		if (navItems[i].className == "menuparent") {
			navItems[i].onmouseover=function() { this.className += " over";}
			navItems[i].onmouseout=function() { this.className = "menuparent"; }
		}
	}
}

if (window.onload) {
	var oldonload = window.onload;
	window.onload=function() {
		oldonload;
		IEHoverPseudo();
	}
} else {
	window.onload = function() {
		IEHoverPseudo();
	}
}