var xhr;

function createXHR()
{
	if (window.XMLHttpRequest)
	{
		xhr = new XMLHttpRequest();
	}

	if (window.ActiveXObject)
	{
		xhr = new ActiveXObject("Microsoft.XMLHttp");
	}
}