rem: var Ajax={counter:1,requests:new Array(),request:function(url,options){var opts=(options==null)?(new Object()):options;var ajaxId=(opts.reverseAjax)?0:Ajax.getNextId();var returnFunction=opts.onComplete;var returnArgs=(opts.returnArgs==null)?opts:opts.returnArgs;var request=new AjaxRequest(opts.onComplete,returnArgs,ajaxId);var xmlHttpReq=request.getRequest();Ajax.requests[ajaxId]=request;if(url.indexOf("?")<0){url+="?";} else{url+="&";} url+="no_cache="+random()+"&ajax_id="+ajaxId;var urlArray=url.split("?");var path=urlArray[0];var query=urlArray[1];try{if(false){xmlHttpReq.open("GET",url,true);} else{xmlHttpReq.open("POST",path,true);xmlHttpReq.setRequestHeader("Method","POST "+path+" HTTP/1.1");xmlHttpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xmlHttpReq.send(query);}} catch(e){} if(returnFunction==null){Ajax.remove(ajaxId);}},update:function(url,id){var element=document.getElementById(id);if(element){var options=new Object();options.element=element;options.onComplete=function(xmlHttpReq,options){var element=options.element;if(element){element.innerHTML=xmlHttpReq.responseText;executeLoadedScript(element);}} 
add: var Ajax={counter:1,requests:new Array(),request:function(url,options){var opts=(options==null)?(new Object()):options;var ajaxId=(opts.reverseAjax)?0:Ajax.getNextId();opts.ajaxId=ajaxId;var request;if(ajaxId==0&&Ajax.requests[0]){request=Ajax.requests[0];request.resend(url,opts);} else{request=new AjaxRequest(url,opts);Ajax.requests[ajaxId]=request;} if(!opts.onComplete){Ajax.remove(ajaxId);}},update:function(url,id,options){var element=$(id);if(element){if(options==null){options=new Object();} 
context: var Ajax={counter:1,requests:new Array(),request:function(url,options){var opts=(options==null)?(new Object()):options;var ajaxId=(opts.reverseAjax)?0:Ajax.getNextId();var returnFunction=opts.onComplete;var returnArgs=(opts.returnArgs==null)?opts:opts.returnArgs;var request=new AjaxRequest(opts.onComplete,returnArgs,ajaxId);var xmlHttpReq=request.getRequest();Ajax.requests[ajaxId]=request;if(url.indexOf("?")<0){url+="?";}else{url+="&";}url+="no_cache="+random()+"&ajax_id="+ajaxId;var urlArray=url.split("?");var path=urlArray[0];var query=urlArray[1];try{if(false){xmlHttpReq.open("GET",url,true);}else{xmlHttpReq.open("POST",path,true);xmlHttpReq.setRequestHeader("Method","POST "+path+" HTTP/1.1");xmlHttpReq.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xmlHttpReq.send(query);}}catch(e){}if(returnFunction==null){Ajax.remove(ajaxId);}},update:function(url,id){var element=document.getElementById(id);if(element){var options=new Object();options.element=element;options.onComplete=function(xmlHttpReq,options){var element=options.element;if(element){element.innerHTML=xmlHttpReq.responseText;executeLoadedScript(element);}}
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/25b685866d385ec9ed69e539f12f812b06d4887e/everything.js/buggy/portal-web/docroot/html/js/everything.js