function get(){
var req;
try{req=new XMLHttpRequest();}
catch(e)
{try{req=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try{req=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e)
{alert("Atualize seu Navegador!");
req = null;}}}
return req;}
function go(x){
var div = document.getElementById('stats');
var ajax = get();
ajax.open("GET", x, true);
ajax.onreadystatechange=function(){
if (ajax.readyState==1){
div.innerHTML = '<img src=loading.gif style="margin-left:90px;margin-top:190px">';}
if (ajax.readyState==4){
div.innerHTML = ajax.responseText;}}
ajax.send(null);}
function go2(x){
var div = document.getElementById('info');
var ajax = get();
ajax.open("GET", x, true);
ajax.onreadystatechange=function(){
if (ajax.readyState==1){
div.innerHTML = '<img src=loading.gif style="margin-left:240px;margin-top:22px">';}
if (ajax.readyState==4){
div.innerHTML = ajax.responseText;}}
ajax.send(null);}
