   try{
    xmlhttp = new XMLHttpRequest();}catch(ee){try{
    xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{
    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");}
    catch(E){xmlhttp = false;}}}

function ajaxBANNER(id,url){
    document.getElementById(id).innerHTML="<div class='aviso'>Aguarde...</div>";
    xmlhttp.open("GET",url,true);
    xmlhttp.onreadystatechange=function() {
        if (xmlhttp.readyState==4){
			r=xmlhttp.responseText;
			document.getElementById(id).innerHTML=r;
        }
    }
    xmlhttp.send(null)
}

    
