rem: gn.send = function(service, request, onSuccessFnc) 
add: gn.send = function(service, request, onSuccessFnc, xmlResponse) 
context: gn.send = function(service, request, onSuccessFnc){	var opt = 	{		method: 'post',		postBody: request,		requestHeaders: ['Content-type', 'application/xml'],		onSuccess: function(t) 		{			gn.showAjaxWait(false);						if (onSuccessFnc)				if (xmlOrText)					onSuccessFnc(t.responseXML);				else					onSuccessFnc(t.responseText);		},		on404: function(t) 		{			gn.showAjaxWait(false);						alert('Error 404: service "' + t.statusText + '" was not found.');		},		onFailure: function(t) 		{			gn.showAjaxWait(false);						if (t.status >= 400 && t.status <= 500)			{				if (onSuccessFnc)					onSuccessFnc(t.responseXML);			}			else						alert('Error ' + t.status + ' -- ' + t.statusText);		}	}	gn.showAjaxWait(true);			new Ajax.Request(Env.locService +'/'+ service, opt);}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/603cd33ea9f2d0097413acb31b80ddad53da57ad/geonetwork-ajax.js/clean/web/scripts/geonetwork-ajax.js