// 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);






Event.observe(window, 'load', inicio);


function inicio(){
	$$('#navmenu ul li a').each(function(aLink){
		Event.observe($(aLink), 'mouseover', function(){ aLink.up(2).firstDescendant().addClassName('ativo'); });
		Event.observe($(aLink), 'mouseout', function(){ aLink.up(2).firstDescendant().removeClassName('ativo'); });
	});


}
function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function esconde() {
	$$('.resp').invoke('hide');
}