
function axrun(url,destino)
{
	xmlhttp = null ;

	try{
		xmlhttp = new XMLHttpRequest();
	}catch(ee){
		try{
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		}catch(e){
			try{
				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
			}catch(E){
				xmlhttp = false;
			}
		}
	}
	 
	ref = url.split("?");
	url = ref[0];
	par = ref[1];

	xmlhttp.open("POST", url,true);
	xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	xmlhttp.setRequestHeader("encoding", "ISO-8859-1"); 
	xmlhttp.onreadystatechange=function() {
		if (window.xmlhttp.readyState==4){
			resp = xmlhttp.responseText;  
			destino.innerHTML = resp ;
		}
	}

	xmlhttp.send(par);
}

function ini()
{

	//return ; // temporariamente desabilitado

	if (!document.body)
		return ;

	ln = document.body.clientWidth;

	if (!document.getElementById('tudo'))
		setTimeout('ini()',1);
	   
	lt = 1185;

	o = document.getElementById('tudo');	
	window.margem = 0 ;
	if (lt > ln) 
	{ 
		//mais = document.getElementByTagName('body').scrollLeft;
		m = document.getElementById('tudo').style.left = (ln - lt)/2 ; 
		window.margem = m * -1;
	}



}

window.onresize = window.onload = document.onload = ini ; 

ini();
setTimeout('ini()',10);


