rem:  if (this.method == "POST") { this.xmlhttp.open(this.method, this.requestFile ,true); this.xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); this.xmlhttp.send(this.URLString); }else{ this.xmlhttp.open(this.method, this.requestFile+'?'+this.URLString, true); this.xmlhttp.send(); }  
add: this.xmlhttp.send(this.URLString); 
context:   this.runAJAX = function(urlstring){    if (urlstring){ this.URLString = urlstring; }    if (this.element) { this.elementObj = document.getElementById(this.element); }    if (this.xmlhttp) {      var self = this; // wierd fix for odd behavior where "this" wouldn't work in the readystate function.      // Opera doesn't support setRequestHeader, try catch is for IE      try {        if(!this.xmlhttp.setRequestHeader){          this.method = "GET";        }      } catch (ex) { }      if (this.encodeURIString){ this.URLString = this.encodeURLString(this.URLString); }      if (this.method == "POST") {        this.xmlhttp.open(this.method, this.requestFile ,true);        this.xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');        this.xmlhttp.send(this.URLString);      }else{        this.xmlhttp.open(this.method, this.requestFile+'?'+this.URLString, true);        this.xmlhttp.send();      }      this.xmlhttp.onreadystatechange = function() {        switch (self.xmlhttp.readyState){          case 1: // Loading.            self.onLoading();          break;          case 2: // Loaded.            self.onLoaded();          break;          case 3: // Interactive - is called every 4096 bytes.. pretty much just tells you it's downloading data.            self.onInteractive();          break;          case 4: // Completed.            self.response = self.xmlhttp.responseText;             self.responseXML = self.xmlhttp.responseXML;            self.onCompletion();            if(self.execute){ self.runResponse(); }            if (self.elementObj) {               self.elementObj.innerHTML = self.response;            }          break;        }      };    }  };
meta: 4895	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4895/56c1874e2aaf8d8e59d21b4d305eb63a392ab7fa/tw-sack.js/clean/tw-sack.js