rem: AttackAPI.dom.searchGoogle = function (request) { if (request.query == undefined && typeof(request.onresults) != 'function') return;  if (AttackAPI.dom.searchGoogle.callbacks == undefined) AttackAPI.dom.searchGoogle.callbacks = new Array();  AttackAPI.dom.searchGoogle.callbacks['callback' + AttackAPI.dom.searchGoogle.callbacks.length] = function () { delete AttackAPI.dom.searchGoogle.callbacks['callback' + AttackAPI.dom.searchGoogle.callbacks.length]; request.onresults.apply(request, arguments); };  AttackAPI.dom.requestJSL('http: callback: 'AttackAPI.dom.searchGoogle.callbacks.callback' + AttackAPI.dom.searchGoogle.callbacks.length, context: (request.context != undefined)?request.context:0, key: (request.key != undefined)?request.key:'internal-documentation', lstkp: 0, rsz: 'large', hl: 'en', v: '0.1', q: request.query})); 
add: AttackAPI.dom.searchGoogle = function (query) { AttackAPI.dom.requestJSON({ url: 'http: query: { context: (query.context != undefined)?query.context:0, key: (query.key != undefined)?query.key:'internal-documentation', lstkp: 0, rsz: 'large', hl: 'en', v: '0.1', q: query.query }, oncallback: query.onresults}); 
context: AttackAPI.dom.searchGoogle = function (request) {	if (request.query == undefined && typeof(request.onresults) != 'function')		return;	if (AttackAPI.dom.searchGoogle.callbacks == undefined)		AttackAPI.dom.searchGoogle.callbacks = new Array();			AttackAPI.dom.searchGoogle.callbacks['callback' + AttackAPI.dom.searchGoogle.callbacks.length] = function () {		delete AttackAPI.dom.searchGoogle.callbacks['callback' + AttackAPI.dom.searchGoogle.callbacks.length];		request.onresults.apply(request, arguments);	};		AttackAPI.dom.requestJSL('http://www.google.com/uds/GwebSearch?' + AttackAPI.dom.buildQuery({		callback: 'AttackAPI.dom.searchGoogle.callbacks.callback' + AttackAPI.dom.searchGoogle.callbacks.length,		context: (request.context != undefined)?request.context:0,		key: (request.key != undefined)?request.key:'internal-documentation',		lstkp: 0, rsz: 'large', hl: 'en', v: '0.1', q: request.query}));};
meta: 4546	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4546/3587c5e604ddc94da871da80e66726590fefda92/searchGoogle.js/clean/lib/dom/searchGoogle.js