function ajax()
{
	this.url="";
	ajax.prototype.execute=execute;

	function execute()
	{
		
		try
		{
			Obj = new ActiveXObject("Msxml2.XMLHTTP");
			
		}
		catch(e)
		{
			
			try
			{
			
				Obj = new ActiveXObject("Microsoft.XMLHTTP");
				
			}
			catch(e1)
			{
				
				Obj = null;
			}
		}
		if(!Obj && typeof XMLHttpRequest != "undefined") 
		{
			
			Obj = new XMLHttpRequest();
		}	
		
		Obj.onreadystatechange =ProcessResponse;
		var url1;
		url1=this.url + '&' + Math.random(); // Append Random Number //
		Obj.open("GET",url1,true); 
		Obj.send(null);
	}

	function ProcessResponse()
	{
		
		if(Obj.readyState == 4)
		{
			if(Obj.status == 200) // if data received
			{
				
				if(Obj.responseText != "")//If responseText is not blank
				{
					
					OnDataReceived(Obj);
				}
			}		
			else 
			{
				alert("Error retrieving data!" + Obj.status);
			}

		}
	}
}

