/**
* Wrapper class for Ajax functions, simple methods planned first
*
*
*
*/
function AjaxClass()
{
	this.xmlHttp = 	null;
	/**
	*	Calls the open and send methods for a given method and src
	*
	*/
	this.commit = 	function(strMethod, strSrc)
					{					
						this.xmlHttp.open(strMethod,strSrc,true);
						this.xmlHttp.send(null); 		
					};
					
	/**
	* Contstructor main body
	*/
	try
	{  
		// Firefox, Opera 8.0+, Safari  
		this.xmlHttp=new XMLHttpRequest();  
	}
	catch (e)
	{  
		// Internet Explorer  
		try
		{    
			this.xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");    
		}
		catch (e)
		{    
			try//IE 5.5
			{      
				this.xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");      
			}
			catch (e)
			{      
				alert("Your browser does not support AJAX!");      
				return false;      
			}    
		}  
	} 
}






