function antiCacheRand(aurl)
{
	var dt = new Date();
	if(aurl.indexOf("?")>=0){// já tem parametros
		return aurl + "&" + encodeURI(Math.random() + "_" + dt.getTime());
	}else{ return aurl + "?" + encodeURI(Math.random() + "_" + dt.getTime());}
}
function mostraLugar(es)
{
	var par = 'estado='+ es;

	var url = 'php/at_novo.php';
		url = antiCacheRand(url);

    $('resultado').style.display = 'block';
	$('resultado').innerHTML = 'Procurando...';
	
	var myAjax = new Ajax.Updater(
							'resultado',
							url,
							  {
									parameters: par,
									method: 'get',
									onFailure: mostraErro
							  });
							  
	return false;
}
function mostraErro()
{
	alert('erro')	;
}