rem: switch (self.xmlhttp.readyState){ case 1: self.onLoading(); break; case 2: self.onLoaded(); break; case 3: self.onInteractive(); break; case 4: 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; } }; 
add: switch (self.xmlhttp.readyState){ case 1: self.onLoading(); break; case 2: self.onLoaded(); break; case 3: self.onInteractive(); break; case 4: 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; } }; 
context: 			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: 5490	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5490/8cbcbff7d52f21e65c1a52b07ff5767f70e49f54/tw-sack.js/clean/tw-sack.js