<!--

	var menuTimer = new Array();
	var ocultaMenu = new Array();
	var menus = new Array();

	menus[0] = 'menuEmpresa';
	menus[1] = 'menuServicos';
	menus[2] = 'menuAliancas';
	menus[3] = 'menuTreinamentoSub';

	function showMenu(lkMenu){
		var idMenu = lkMenu.substring(3);
		var lMenu = document.getElementById(lkMenu);
		document.getElementById(lkMenu).className = "itemMenuHover";

		ind = indiceArray(idMenu);
		if (menuTimer[ind] != undefined) return;

		clearTimeout(ocultaMenu[ind]);
		ocultaMenu[ind] = undefined;

		_menu = document.getElementById(idMenu);
		if (lMenu.id.substring(lMenu.id.length-3) != "Sub"){
			_menu.style.left = lMenu.parentNode.offsetLeft + "px";
		}else{
			_menu.style.left = (lMenu.parentNode.parentNode.offsetLeft + lMenu.parentNode.parentNode.offsetWidth-10) + "px";
		}

		_inc = Math.round(_menu.offsetHeight / Math.round(_menu.offsetHeight / 40));

		menuTimer[ind] = setTimeout('moveMenu(' + ind + ',"' + idMenu + '",' + _menu.offsetHeight + ',' + _inc + ');',5);
	}

	function moveMenu(indice, idMenu, margem, inc){
		_menu = document.getElementById(idMenu);
		_menu = document.getElementById(idMenu);
		_menu.style.marginTop = margem * (-1)  + 'px';

		if (margem == 0){
			clearTimeout(menuTimer[indice]);
			menuTimer[indice] = undefined;
		}else{
			(margem < inc) ? (margem = 0) : (margem -= _inc);
			menuTimer[indice] = setTimeout('moveMenu(' + indice + ',"' + idMenu + '",' + margem + ',' + inc + ');',5);
		}
	}

	function hideMenu(lkMenu){
		if (lkMenu.substring(0,3) == 'top'){
			var idMenu = lkMenu.substring(3);
		}else{
			var idMenu = lkMenu;
		}
		ocultaMenu[indiceArray(idMenu)] = setTimeout('ocultar("' + idMenu + '");', 200);
	}
	function anulaOcultar(idMenu){
		a = indiceArray(idMenu);
		clearTimeout(ocultaMenu[a]);
		ocultaMenu[a] = undefined;
	}
	function ocultar(idMenu){
		a = indiceArray(idMenu);
		clearTimeout(menuTimer[a]);
		menuTimer[a] = undefined;
		document.getElementById('top' + idMenu).className = "";
		document.getElementById(idMenu).style.marginTop = '-1000px';
	}

	function indiceArray(idMenu){
		var ind = -1;
		for (i=0;i<menus.length;i++){
			if (menus[i] == idMenu){
				ind = i;
				break;
			}
		}
		return ind;
	}
	
	function AdicionaEvento(_obj, _etype, _fnc){
		if (window.addEventListener)
		  _obj.addEventListener(_etype, _fnc, false);
		else if (window.attachEvent)
		_obj.attachEvent("on"+_etype, _fnc);
	}
	function RemoveEvento(_obj, _etype, _caller){
		if (window.removeEventListener)
		_obj.removeEventListener(_etype,_caller,true);
		else if (window.detachEvent)
		_obj.detachEvent("on"+_etype,_caller);
	}
	
	//AdicionaEvento(document, "mousemove", moveLogoMouse);	
	//AdicionaEvento(document, "mouseout", escondeLogoMouse);	
	
	function moveLogoMouse(e){
		e = e || window.event;
		obj = document.getElementById("logoMouse");
		
		obj.style.left = (e.clientX + 15) + 'px';
		obj.style.top = (e.clientY + 15) + 'px';
		obj.style.display = "block";
	}
	function escondeLogoMouse(){
		document.getElementById("logoMouse").style.display = "none";
	}
	
	
	function configuraMenu(){
		AdicionaEvento(document.getElementById("topmenuEmpresa"), "mouseover", function() { showMenu("topmenuEmpresa"); }); 
		AdicionaEvento(document.getElementById("topmenuEmpresa"), "mouseout", function() { hideMenu("topmenuEmpresa"); }); 
		AdicionaEvento(document.getElementById("topmenuEspecialidades"), "mouseover", function() { showMenu("topmenuEspecialidades"); }); 
		AdicionaEvento(document.getElementById("topmenuEspecialidades"), "mouseout", function() { hideMenu("topmenuEspecialidades"); }); 
		AdicionaEvento(document.getElementById("topmenuServicos"), "mouseover", function() { showMenu("topmenuServicos"); }); 
		AdicionaEvento(document.getElementById("topmenuServicos"), "mouseout", function() { hideMenu("topmenuServicos"); }); 
		AdicionaEvento(document.getElementById("topmenuAliancas"), "mouseover", function() { showMenu("topmenuAliancas"); }); 
		AdicionaEvento(document.getElementById("topmenuAliancas"), "mouseout", function() { hideMenu("topmenuAliancas"); }); 
		AdicionaEvento(document.getElementById("topmenuContato"), "mouseover", function() { showMenu("topmenuContato"); }); 
		AdicionaEvento(document.getElementById("topmenuContato"), "mouseout", function() { hideMenu("topmenuContato"); }); 
		AdicionaEvento(document.getElementById("menuEmpresa"), "mouseover", function() { anulaOcultar("menuEmpresa"); }); 
		AdicionaEvento(document.getElementById("menuEmpresa"), "mouseout", function() { hideMenu("menuEmpresa"); }); 
		AdicionaEvento(document.getElementById("menuEspecialidades"), "mouseover", function() { anulaOcultar("menuEspecialidades"); }); 
		AdicionaEvento(document.getElementById("menuEspecialidades"), "mouseout", function() { hideMenu("menuEspecialidades"); }); 
		AdicionaEvento(document.getElementById("menuServicos"), "mouseover", function() { anulaOcultar("menuServicos"); }); 
		AdicionaEvento(document.getElementById("menuServicos"), "mouseout", function() { hideMenu("menuServicos"); }); 
		AdicionaEvento(document.getElementById("menuAliancas"), "mouseover", function() { anulaOcultar("menuAliancas"); }); 
		AdicionaEvento(document.getElementById("menuAliancas"), "mouseout", function() { hideMenu("menuAliancas"); }); 
		AdicionaEvento(document.getElementById("menuContato"), "mouseover", function() { anulaOcultar("menuContato"); }); 
		AdicionaEvento(document.getElementById("menuContato"), "mouseout", function() { hideMenu("menuContato"); }); 
	}
	
	AdicionaEvento(window, "load", configuraMenu);
	
//-->