rem: this.open("GET", url, true); this.onreadystatechange = readystate; this.send(null); 
add: httpRequester.open("GET", url, true); httpRequester.onreadystatechange = stateHandler; httpRequester.send(null); 
context: function getHTTPObject(func) {	var waystation = null;	if (typeof window.XMLHttpRequest != 'undefined') {		waystation = new XMLHttpRequest();	} else if (typeof window.ActiveXObject != 'undefined') {		waystation = new ActiveXObject("Microsoft.XMLHTTP");	}		if (waystation != null) {		// Now add some utility functions				readystate = function() {			if (waystation.readyState == 4) {				func(waystation.responseText);			}		};		waystation.requestData = function() {			var pathName = location.pathname;						var url = pathName.substring(pathName.lastIndexOf("/") + 1, pathName.length);						if (arguments.length > 0) {				url += '?a=' + arguments[0];			}			for (var i=1; (i + 1) < arguments.length; i+=2) {				url += "&" + arguments[i] + "=" + escape(arguments[i+1]);			}						this.open("GET", url, true);			this.onreadystatechange = readystate;			this.send(null);		};	}		return waystation;}
meta: 7771	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7771/1eebb61ef8c674ec29d9eee1e32befc32af475e2/utils.js/clean/trunk/qsf/javascript/utils.js