add:  if ( !this.getXmlHttpRequest() ) { throw new Error( "Could not load XMLHttpRequest object" ); } 
context: function Connection(){    var self = this;    /**     *  Returns an XmlHttpRequest object for the current browser.     */    this.getXmlHttpRequest = function()    {        var result = null;        try        {            result = new XMLHttpRequest();        }        catch ( e )        {            try            {                result = new ActiveXObject( 'Msxml2.XMLHTTP' )            }            catch( e )            {                var success = false;                                var MSXML_XMLHTTP_PROGIDS = new Array(                    'Microsoft.XMLHTTP',                    'MSXML2.XMLHTTP',                    'MSXML2.XMLHTTP.5.0',                    'MSXML2.XMLHTTP.4.0',                    'MSXML2.XMLHTTP.3.0' );                                for ( var i = 0; i < MSXML_XMLHTTP_PROGIDS.length && !success; i++ )                {                    try                    {                        result = new ActiveXObject( MSXML_XMLHTTP_PROGIDS[ i ] );                        success = true;                    }                    catch ( e )                    {                        result = null;                    }                }            }        }                self.xmlHttpRequest = result;        return result;    }        /**     *  Posts a message to a server.     */    this.post = function( url, content, contentType )    {        if ( typeof self.xmlHttpRequest.abort == 'function' && self.xmlHttpRequest.readyState != 0 )        {            self.xmlHttpRequest.abort();        }        self.xmlHttpRequest.open( 'POST', url, false );                if ( typeof self.xmlHttpRequest.setRequestHeader == 'function' )        {            self.xmlHttpRequest.setRequestHeader(                'Content-Type',                contentType );        }        self.xmlHttpRequest.send( content );        return self.xmlHttpRequest.responseText;    }}
meta: 10187	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10187/64fd39e1415ae6c2302b8a2b2834d6c761dd0ae8/ajax.js/clean/source/ajax.js