function AjaxRequest(strUrl, strCmd, blnAsynchron)
{
	var ajax = getRequestObject();
	startWait();
	ajax.open('POST', strUrl, blnAsynchron);
	ajax.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	ajax.setRequestHeader('Cache-Control', 'no-cache');
	ajax.send(strCmd);
	
	this.getRequest = getRequest;
	this.complete = complete;
	endWait();
	
	function getRequest()
	{
		return ajax;
	}
	function complete()
	{
		return ajax.readyState == 4;
	}
	function getRequestObject()
	{
		if (navigator.appName == "Microsoft Internet Explorer")
		{
			return new ActiveXObject("Microsoft.XMLHTTP");
		}
		else
		{
			return new XMLHttpRequest();
		}		
	}
}