var xml = http_request.responseXML; if (!xml || !xml.documentElement ) { YAHOO.log("Detected failed responseXML"); if (window.ActiveXObject ) { YAHOO.log("Parsing ActiveX"); xml = new ActiveXObject( "Msxml2.DOMDocument" ); xml.loadXML( http_request.responseText ); YAHOO.log("Parsed " + typeof(xml.documentElement)); } else if ( DOMParser ) { xml = new DOMParser().parseFromString(http_request.responseText, "text/xml" ); } new_http_request = new Object(); new_http_request.responseXML = xml; new_http_request.responseText = http_request.responseText; http_request = new_http_request; } YAHOO.log("Starting callback"); 
    issueAJAXRequest: function(method, url, parameters, callback) {      var alertContents = function() {        if (http_request.readyState == 4) {          if (http_request.status == 200) {            YAHOO.log("AJAX request success status: " + http_request.status);            callback.success(http_request);            YAHOO.log("AJAX callback concluded");            }           else {            YAHOO.log("AJAX request error status: " + http_request.status);            }          }        }      var http_request = false;      if (window.XMLHttpRequest) { // Mozilla, Safari,...        http_request = new XMLHttpRequest();        if (method == "POST" && http_request.overrideMimeType) {           // set type accordingly to anticipated content type            //http_request.overrideMimeType('text/xml');          http_request.overrideMimeType('text/xml');          }        }         else if (window.ActiveXObject) { // IE          try {            http_request = new ActiveXObject("Msxml2.XMLHTTP");            }           catch (e) {            try {               http_request = new ActiveXObject("Microsoft.XMLHTTP");            } catch (e) {}          }        }      if (!http_request) {        YAHOO.log('Cannot create XMLHTTP instance');        return false;      }            http_request.onreadystatechange = alertContents;      http_request.open(method, url, true);      http_request.setRequestHeader("Content-type", "application/x-www-form-urlencoded");      http_request.setRequestHeader("Content-length", parameters.length);      http_request.setRequestHeader("Connection", "close");      http_request.send(parameters);      },
7245	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7245/184aa7c4a0120ffa1391f0bfaca2de47e4b079f1/rsf.js/buggy/templates/src/webapp/content/js/rsf.js