function dropDown(el, left, top){
	if(el != null){
		var pai = el.parentNode;
		var ul = pai.getElementsByTagName('ul');				
		var l = getPosicaoElemento(el).left;
	/*	var tudo = document.getElementById("tudo");
		var lt = getPosicaoElemento(tudo).left;
	*/	
		if(navigator.appName != "Microsoft Internet Explorer"){
			ul[0].style.margin = top + "px 0 0 " + (left) + "px";
		}else{
			if(navigator.appVersion.indexOf('MSIE 6.0') != -1){
				ul[0].style.margin = (top+27) + "px 0 0 " + (left) + "px";
			}else if(navigator.appVersion.indexOf('MSIE 7.0') != -1){
				ul[0].style.margin = (top+34) + "px 0 0 " + (left) + "px";
			}
		}
		
		ul[0].style.display = "block";
		ul[0].onmouseover = function(){ this.style.display = "block"; el.style.backgroundColor = "#03022C"; el.style.color = "#FFF"; };
		ul[0].onmouseout = function(){ this.style.display = "none"; el.style.backgroundColor = "#D6D6D6"; el.style.color = "#585858"; };
		el.onmouseover = function(){ this.style.backgroundColor = "#03022C"; this.style.color = "#FFF"; ul[0].style.display = "block"; };
		el.onmouseout = function(){ this.style.backgroundColor = "#D6D6D6"; this.style.color = "#585858"; ul[0].style.display = "none"; };
		
	}else{
		return false;
	}
}

function up(el){
	var pai = el.parentNode;
	var ul = pai.getElementsByTagName('ul');
	
	ul[0].style.display = "none";
}

function getPosicaoElemento(elemID){
	if(elemID != null){
		var offsetTrail = elemID;
		var offsetLeft = 0;
		var offsetTop = 0;
		while (offsetTrail) {
			offsetLeft += offsetTrail.offsetLeft;
			offsetTop += offsetTrail.offsetTop;
			offsetTrail = offsetTrail.offsetParent;
		}
		if (navigator.userAgent.indexOf("Mac") != -1 && 
			typeof document.body.leftMargin != "undefined") {
			offsetLeft += document.body.leftMargin;
			offsetTop += document.body.topMargin;
		}
		return {left:offsetLeft, top:offsetTop};
	}else{
		return false;	
	}
}


