/*----------------------*/
// xmlhttp object
function Ajax()
{
        // Create XMLHttpRequest object
        this.ajaxObj;
        this.ajaxObj = false;
        // native XMLHttpRequest object like firefox and safari
        if(window.XMLHttpRequest)
        {
                try
                {
                        this.ajaxObj = new XMLHttpRequest();
                }
                catch(e)
                {
                        this.ajaxObj = false;
                }
        // IE/Windows ActiveX version (why do people still use this browser?)
        }
        else if(window.ActiveXObject)
        {
                try
                {
                        this.ajaxObj = new ActiveXObject("Msxml2.XMLHTTP");
                }
                catch(e)
                {
                        try
                        {
                                this.ajaxObj = new ActiveXObject("Microsoft.XMLHTTP");
                        }
                        catch(e)
                        {
                                this.ajaxObj = false;
                        }
                }
        }
        if(!this.ajaxObj)
                alert("Error loading XMLHTTP object");
        return this.ajaxObj;
}
/*----------------------*/
