// JavaScript Document



navHover = function() {

	var lis = document.getElementById("navmenu").getElementsByTagName("LI");

	for (var i=0; i<lis.length; i++) {

		lis[i].onmouseover=function() {

			this.className+=" iehover";

		}

		lis[i].onmouseout=function() {

			this.className=this.className.replace(new RegExp(" iehover\\b"), "");

		}

	}

}

if (window.attachEvent) window.attachEvent("onload", navHover);









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"; }

		}

	}



}

window.onload = IEHoverPseudo;
