<!--script menu direito
over = function() {
	var sfEls = document.getElementById("nav").
getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.
replace(new RegExp(" over\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", over);
//-->
<!--script drop down
function dropDown() {

if (document.all&&document.getElementById) {
		navRoot1 = document.getElementById("ulDropDown");
		for (i=0; i<navRoot1.childNodes.length; i++) {
			node1 = navRoot1.childNodes[i];	
			if (node1.nodeName=="LI") {
				node1.onmouseover=function() {	
				this.className+=" over";
				}	
				node1.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				}
			}
		}
	
	}
	
var menuItem = document.getElementById("ulMenu").getElementsByTagName("li");
	
	for (var i=0; i<menuItem.length; i++) {
		if(menuItem[i].className == "submenuCom") {
			menuItem[i].onmouseover=function() { this.className += " over"; }
			menuItem[i].onmouseout=function() { this.className = "submenuCom"; }
		}
	}
	enableSubMenus();
}	
window.onload = dropDown;
function procuraObj(n, d)
{
	var p,i,x;  
	if(!d) 
	d=document; 
	if((p=n.indexOf("?"))>0&&parent.frames.length)
	{
		d=parent.frames[n.substring(p+1)].document; 
		n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) 
		x=d.all[n]; 
	for (i=0;!x&&i<d.forms.length;i++) 
		x=d.forms[i][n];

	for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
		x=procuraObj(n,d.layers[i].document);

	if(!x && d.getElementById) 
	x=d.getElementById(n); 
	return x;
}
//-->
function enableSubMenus(){
		var lis = document.getElementsByTagName('li');
		for (var i = 0, li; li = lis[i]; i++){
		 var link = li.getElementsByTagName('a')[0];
		 if (link){
			link.onfocus = function(){
			 var ul = this.parentNode.getElementsByTagName('ul')[0];
			 if (ul)
			 ul.style.display = 'block';
			}
			var ul = link.parentNode.getElementsByTagName('ul')[0];
			if (ul){
			 var ullinks = ul.getElementsByTagName('a');
			 var ullinksqty = ullinks.length;
			 var lastItem = ullinks[ullinksqty - 1];
			 if (lastItem){
				lastItem.onblur = function(){
				 this.parentNode.parentNode.style.display = '';
				}
			 }
			}
		 }
		}
	}
	/*window.onload = enableSubMenus;*/