function AJAX()
{
	var xmlHttp = null;
	try
 	{
 		xmlHttp = new XMLHttpRequest();
 	}
	catch (e)
 	{
 		try
  		{
  			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
  		}
 		catch (e)
  		{
  			xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
  		}
 	}
	return xmlHttp;
}

function ajaxPost(url, params, callback, httpObj)
{
	
	try
	{
		url += '?ms=' + new Date().getTime();
			
		httpObj.open("POST", url, true);
	
		httpObj.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
		httpObj.setRequestHeader("Content-length", params.length);
		httpObj.setRequestHeader("Connection", "close");
	
		httpObj.onreadystatechange = callback;
	
		httpObj.send(params);
	}
	catch (ex)
	{ }
}