function getXHRObject()
{
	var xhr;  // The variable that makes Ajax possible!	
	try
	{
		// Opera 8.0+, Firefox, Safari
		xhr = new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Explorer Browsers
		try
		{
			xhr = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e)
		{
			try
			{
				xhr = new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch (e)
			{
				// Something went wrong
				alert("Your browser does not support Ajaxy thing!");			
			}
		}
	}	
	return xhr;
}

