<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
 //js document


//*****************Inicio do Script da Publicidade ************

var type = "IE";	 //Variable used to hold the browser name
//BrowserSniffer();

function CarregaBanner(id) {
	//alert(id);
	BrowserSniffer();
	
	setTimeout("publicidade('" + id + "', 'visible')", 3000);
	setTimeout("esconde()",30000); 
}

function BrowserSniffer() {
	if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) type="OP";		//Opera
	else if (document.all) type="IE";														//Internet Explorer e.g. IE4 upwards
	else if (document.layers) type="NN";													//Netscape Communicator 4
	else if (!document.all && document.getElementById) type="MO";							//Mozila e.g. Netscape 6 upwards
	else type = "IE";		//I assume it will not get here
}
function publicidade(id, action){
	//alert(id);
	if (type=="IE") eval("document.all." + id + ".style.visibility='" + action + "'");
	if (type=="NN") eval("document." + id + ".visibility='" + action + "'");
	if (type=="MO" || type=="OP") eval("document.getElementById('" + id + "').style.visibility='" + action + "'");
}
function esconde(){  
	publicidade("urbana", "hidden");
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='define_busca.asp?id_sub_categoria="+document.form1.busca.value+"'");
  if (restore) selObj.selectedIndex=0;
}

//*****************Fim da Puvblicidade ************



//-->