// JavaScript Document
function update_banner_count(id)
{
	var xmlHttp;
	try
	{  // Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest(); 
	}
	catch (e)
	{  // Internet Explorer
		try
		{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	    }
		catch (e)
	    {
			try
			{
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	    	}
	    	catch (e)
    	  	{
				alert("Your Browser does not supports Ajax Technology");
			}
		}
	} 
	xmlHttp.onreadystatechange=function()
    {
	  if(xmlHttp.readyState==3)
	  {
	  	//document.getElementById(dis_id).innerHTML = "Processing...";
	  }			
	  else if(xmlHttp.readyState==4)
      {
	    //document.getElementById(dis_id).innerHTML = xmlHttp.responseText
		//alert(xmlHttp.responseText);
	  }	
    }
	//alert(id);
  xmlHttp.open("GET","updatebannercount.php?id="+id,true);
  xmlHttp.send(null); 
}