// JavaScript Document


/****** PARA FAZER OS MENUS PRINCIPAIS *****/
/*
navHover = function() {
	uls = document.getElementsByTagName("UL");
	for (a = 0; a < uls.length; a++)
	{
		var lis = uls[a].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);
*/
/****** FIM PARA FAZER OS MENUS PRINCIPAIS *****/


/****** FAZER OS MENUS HORIZONTAL *****/
navHover = function() {
	var lis = document.getElementById("navmenu-h").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);

/****** FFIM AZER OS MENUS HORIZONTAL *****/


/****** FAZER OS MENUS VERTICAL *****/
navHover = function() {
	try
	{
		var lis = document.getElementById("navmenu-v").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"), "");
			}
		}
	}
	catch(err){}
}
if (window.attachEvent) window.attachEvent("onload", navHover);
/****** FIM FAZER OS MENUS VERTICAL *****/
