navHover = function() {
	
	

	
	if(document.getElementById("navmenuprincipal")){
		var lis = document.getElementById("navmenuprincipal").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"), "");
			}
		}
	}
	
		// se existir menu principal
	
	if(document.getElementById("navmenusuperior")){
		var lis = document.getElementById("navmenusuperior").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"), "");
			}
		}
	}
}


/**
	anexa ao evento onload a função navHover
	if(document.createElement) window.onload = navHover;
*/


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