// HTTP object creation for AJAX

function getHTTPObject() {
		var xmlhttp=false;
        try 
        {
                xmlhttp = new ActiveXObject('Msxm12.XMLHTTP'); //Try the first kind of active x object…
        } 
        catch (e) 
        {
        	try
        	{
                xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); //Try the second kind of active x object
            }
            catch (E) 
            {
                xmlhttp = false;
            }
        }
        if (!xmlhttp && typeof XMLHttpRequest!='undefined') 
        {
                xmlhttp = new XMLHttpRequest(); 
        }
		return xmlhttp;
		
	}

// Creating http AJAX Object
var http = getHTTPObject(); // We created the HTTP Object


