rem: xmldoc  = http_request.responseXML; textdoc = http_request.responseText; 
add: textdoc = http_request.responseText;  xmldoc  = http_request.responseXML; 
context: function alertContents() {  if (http_request.readyState == 1 )   {    document.getElementById("layer_action").style.left = document.body.clientWidth + document.body.scrollLeft - 85;    document.getElementById("layer_action").style.top  = document.body.scrollTop + 10;    document.getElementById("layer_action").style.visibility = 'visible'; document.getElementById("layer_action").innerHTML  = 'Loading...';  }  if (http_request.readyState == 2 ) document.getElementById("layer_action").innerHTML  = 'Loaded';  if (http_request.readyState == 3 ) document.getElementById("layer_action").innerHTML  = 'Loading 99%';  if (http_request.readyState == 4)   {    if (http_request.status == 200)     {      xmldoc  = http_request.responseXML;      textdoc = http_request.responseText;       PrintXML();      document.getElementById("layer_action").style.visibility = 'hidden';    }     else     {      alert('There was a problem with the request.');    }  }}
meta: 6623	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6623/af31d1e079a34e628213040b7c8e19b7fbe1c6f8/ajax.js/clean/pmd/scripts/ajax.js