// JavaScript Document
function createXHR() 
{
    var xmlhttp = false;
        try {
            xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
        }
        catch (err2) {
            try {
                xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
            }
            catch (err3) {
		try {
			xmlhttp = new XMLHttpRequest();
		}
		catch (err1) 
		{
			xmlhttp = false;
		}
            }
        }
    return xmlhttp;
}
