// JavaScript Document
function Ajax(url){
	
	this.xmlHttp = null;
	this.url = url;
	
	this.GetXmlHttpObject = function()
		{
		try
		  {
		  // Firefox, Opera 8.0+, Safari
		  this.xmlHttp=new XMLHttpRequest();
		  }
		catch (e)
		  {
		  // Internet Explorer
		  try
			{
			this.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
			}
		  catch (e)
			{
			this.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
		  }
		return this.xmlHttp;
	}
	
	this.stateChanged = function(){
		
	};
	
	this.process = function(args){
		this.xmlHttp = this.GetXmlHttpObject();
		this.xmlHttp.onreadystatechange = this.stateChanged;
		
		this.xmlHttp.open("GET",this.url+args,true);
		this.xmlHttp.send(null);
	}

}