function IEHoverPseudo() {

	var navItems = document.getElementById("menucss").getElementsByTagName("li");
	
	for (var i=0; i<navItems.length; i++) {
			navItems[i].onmouseover=function() { this.oldClass = this.className; this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = this.oldClass; }
	}

	var navItems = document.getElementById("menu_servicos").getElementsByTagName("li");
	
	for (var i=0; i<navItems.length; i++) {
			navItems[i].onmouseover=function() { this.oldClass = this.className; this.className += " over2"; }
			navItems[i].onmouseout=function() { this.className = this.oldClass; }
	}

}
window.onload = IEHoverPseudo;

tms=new Array()

//Mostra o submenu no mouseover
function over(n){
	if(typeof(tms[n])!="undefined")clearTimeout(tms[n])
	document.getElementById("s"+n).style.visibility="visible"
}
//Esconde o submenu no mouseout
function out(n){
	tms[n]=setTimeout('document.getElementById("s'+n+'").style.visibility="hidden"',500)
}
