function loadAsyncData(url,id)
{
 var xmlhttp;
 if(!url || !id){
  return;
 }
 domId=id;
 if (window.XMLHttpRequest)
 {
     xmlhttp = new XMLHttpRequest();
 }
 else if (window.ActiveXObject)
 {
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 }
 if (xmlhttp!=null)
 {
  try{
   xmlhttp.onreadystatechange=function(){
    if (xmlhttp.readyState==4)
    {// 4 = "loaded"
     if (xmlhttp.status==200)
     {// 200 = "OK"
      document.getElementById(id).innerHTML = xmlhttp.responseText;
     }
     else
     {
      document.getElementById(id).innerHTML = '';//default ad
     }
    } 
   };

   
   xmlhttp.open('GET', url, true);

   xmlhttp.send(null);
   
  }catch(e){
   alert(e);
  }  
 }
 else
 {
  alert("Your browser does not support XMLHTTP.");
 }
}