try{
    xmlhttp = new XMLHttpRequest();
}catch(ee){
    try{
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
    }catch(e){
        try{
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }catch(E){
            xmlhttp = false;
        }
    }
}

function menuclick(e){
    if(typeof(e)=='undefined')var e=window.event
    source=e.target?e.target:e.srcElement
    if(source.nodeType==3)source=source.parentNode
    n=source.getAttribute("href").replace(/.*=/,"")
    carrega(parseInt(n))
    return false
}
function init(){

	document.getElementById("btProdutos").onmouseover = function(){
		document.getElementById("subProdutos").style.display = 'block';
	}; 
	document.getElementById("btProdutos").onmouseout = function(){
		document.getElementById("subProdutos").style.display = 'none';
	}; 
	document.getElementById("subProdutos").onmouseout = function(){
		document.getElementById("subProdutos").style.display = 'none';
	}; 
	document.getElementById("subProdutos").onmouseover = function(){
		document.getElementById("subProdutos").style.display = 'block';
	};

}
if(xmlhttp)window.onload=init
