// JavaScript Document
function changeTitle(title) { window.document.title = title; }
ajaxHTML = function ajaxHTML(id,url){
n_url = url;
//n_url = n_url.replace('.php',"");
//window.document.location.hash = 'DONA MARIA';
//changeTitle(n_url);
//Obtém o objeto HTML

objetoHTML=document.getElementById(id);

//Exibe "Carregando..."
objetoHTML.innerHTML="<div class='xunda'>Aguarde, carregando...</div><br clear='all'>";
try{
	xmlhttp = new XMLHttpRequest();
}catch(ee){
	try{
		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	}catch(e){
		try{
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		}catch(E){
			xmlhttp = false;
		}
	}
}


xmlhttp.open("GET",url);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4){

retorno=unescape(xmlhttp.responseText.replace(/\+/g," "));
objetoHTML.innerHTML=retorno;
}
}

xmlhttp.send(null);
};