rem: try { this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { this.xmlhttp = null; } } if(!this.xmlhttp && typeof XMLHttpRequest != "undefined") this.xmlhttp = new XMLHttpRequest(); if (!this.xmlhttp){  this.failed = true; } }; 
add: try { this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (err) { this.xmlhttp = null; } } if(!this.xmlhttp && typeof XMLHttpRequest != "undefined") this.xmlhttp = new XMLHttpRequest(); if (!this.xmlhttp){ this.failed = true; } }; 
context:   this.createAJAX = function() {    try {      this.xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");    } catch (e) {      try {        this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");      } catch (oc) {        this.xmlhttp = null;      }    }    if(!this.xmlhttp && typeof XMLHttpRequest != "undefined")      this.xmlhttp = new XMLHttpRequest();    if (!this.xmlhttp){      // no XMLHttpRequest support, so no AJAX.      this.failed = true;     }  };
meta: 4895	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4895/95657bc6773c23c04843d51d5224df0bbd5191f0/tw-sack.js/buggy/lib/scripts/tw-sack.js