rem: case 2: ao.srcFunc=args[0]; ao.adviceFunc=args[1]; break; case 3: if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){ ao.adviceType="after"; ao.srcObj=args[0]; ao.srcFunc=args[1]; ao.adviceFunc=args[2]; }else{ if((dl.isString(args[1]))&&(dl.isString(args[2]))){ ao.srcFunc=args[1]; ao.adviceFunc=args[2]; }else{ if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){ ao.adviceType="after"; ao.srcObj=args[0]; ao.srcFunc=args[1]; var _2ea=dl.nameAnonFunc(args[2],ao.adviceObj,_2e7); ao.adviceFunc=_2ea; }else{ if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){ ao.adviceType="after"; ao.srcObj=dj_global; var _2ea=dl.nameAnonFunc(args[0],ao.srcObj,_2e7); ao.srcFunc=_2ea; ao.adviceObj=args[1]; ao.adviceFunc=args[2]; } } } } break; case 4: if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){ ao.adviceType="after"; ao.srcObj=args[0]; ao.srcFunc=args[1]; ao.adviceObj=args[2]; ao.adviceFunc=args[3]; }else{ if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){ ao.adviceType=args[0]; ao.srcObj=dj_global; ao.srcFunc=args[1]; ao.adviceObj=args[2]; ao.adviceFunc=args[3]; }else{ if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){ ao.adviceType=args[0]; ao.srcObj=dj_global; var _2ea=dl.nameAnonFunc(args[1],dj_global,_2e7); ao.srcFunc=_2ea; ao.adviceObj=args[2]; ao.adviceFunc=args[3]; }else{ if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){ ao.srcObj=args[1]; ao.srcFunc=args[2]; var _2ea=dl.nameAnonFunc(args[3],dj_global,_2e7); ao.adviceObj=dj_global; ao.adviceFunc=_2ea; }else{ if(dl.isObject(args[1])){ ao.srcObj=args[1]; ao.srcFunc=args[2]; ao.adviceObj=dj_global; ao.adviceFunc=args[3]; }else{ if(dl.isObject(args[2])){ ao.srcObj=dj_global; ao.srcFunc=args[1]; ao.adviceObj=args[2]; ao.adviceFunc=args[3]; }else{ ao.srcObj=ao.adviceObj=ao.aroundObj=dj_global; ao.srcFunc=args[1]; ao.adviceFunc=args[2]; ao.aroundFunc=args[3]; } } } } } } break; case 6: ao.srcObj=args[1]; ao.srcFunc=args[2]; ao.adviceObj=args[3]; ao.adviceFunc=args[4]; ao.aroundFunc=args[5]; ao.aroundObj=dj_global; break; default: ao.srcObj=args[1]; ao.srcFunc=args[2]; ao.adviceObj=args[3]; ao.adviceFunc=args[4]; ao.aroundObj=args[5]; ao.aroundFunc=args[6]; ao.once=args[7]; ao.delay=args[8]; ao.rate=args[9]; ao.adviceMsg=args[10]; break; } if(dl.isFunction(ao.aroundFunc)){ var _2ea=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_2e7); ao.aroundFunc=_2ea; } if(dl.isFunction(ao.srcFunc)){ ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc); } if(dl.isFunction(ao.adviceFunc)){ ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc); } if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){ ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc); } if(!ao.srcObj){ dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc); } if(!ao.adviceObj){ dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc); } if(!ao.adviceFunc){ dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc); dojo.debugShallow(ao); } return ao; } this.connect=function(){ if(arguments.length==1){ var ao=arguments[0]; }else{ var ao=interpolateArgs(arguments,true); } if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){ if(dojo.render.html.ie){ ao.srcFunc="onkeydown"; this.connect(ao); } ao.srcFunc="onkeypress"; } if(dojo.lang.isArray(ao.srcObj)&&ao.srcObj!=""){ var _2ec={}; for(var x in ao){ _2ec[x]=ao[x]; } var mjps=[]; dojo.lang.forEach(ao.srcObj,function(src){ if((dojo.render.html.capable)&&(dojo.lang.isString(src))){ src=dojo.byId(src); } _2ec.srcObj=src; mjps.push(dojo.event.connect.call(dojo.event,_2ec)); }); return mjps; } var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc); if(ao.adviceFunc){ var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc); } mjp.kwAddAdvice(ao); return mjp; }; this.log=function(a1,a2){ var _2f4; if((arguments.length==1)&&(typeof a1=="object")){ _2f4=a1; }else{ _2f4={srcObj:a1,srcFunc:a2}; } _2f4.adviceFunc=function(){ var _2f5=[]; for(var x=0;x<arguments.length;x++){ _2f5.push(arguments[x]); } dojo.debug("("+_2f4.srcObj+")."+_2f4.srcFunc,":",_2f5.join(", ")); }; this.kwConnect(_2f4); }; this.connectBefore=function(){ var args=["before"]; for(var i=0;i<arguments.length;i++){ args.push(arguments[i]); } return this.connect.apply(this,args); }; this.connectAround=function(){ var args=["around"]; for(var i=0;i<arguments.length;i++){ args.push(arguments[i]); } return this.connect.apply(this,args); }; this.connectOnce=function(){ var ao=interpolateArgs(arguments,true); ao.once=true; return this.connect(ao); }; this._kwConnectImpl=function(_2fc,_2fd){ var fn=(_2fd)?"disconnect":"connect"; if(typeof _2fc["srcFunc"]=="function"){ _2fc.srcObj=_2fc["srcObj"]||dj_global; var _2ff=dojo.lang.nameAnonFunc(_2fc.srcFunc,_2fc.srcObj,true); _2fc.srcFunc=_2ff; } if(typeof _2fc["adviceFunc"]=="function"){ _2fc.adviceObj=_2fc["adviceObj"]||dj_global; var _2ff=dojo.lang.nameAnonFunc(_2fc.adviceFunc,_2fc.adviceObj,true); _2fc.adviceFunc=_2ff; } _2fc.srcObj=_2fc["srcObj"]||dj_global; _2fc.adviceObj=_2fc["adviceObj"]||_2fc["targetObj"]||dj_global; _2fc.adviceFunc=_2fc["adviceFunc"]||_2fc["targetFunc"]; return dojo.event[fn](_2fc); }; this.kwConnect=function(_300){ return this._kwConnectImpl(_300,false); }; this.disconnect=function(){ if(arguments.length==1){ var ao=arguments[0]; }else{ var ao=interpolateArgs(arguments,true); } if(!ao.adviceFunc){ 
add: } } var http=dojo.hostenv.getXmlhttpObject(_2bf); var _2cf=false; if(_2ca){ var _2d0=this.inFlight.push({"req":_2bf,"http":http,"url":url,"query":_2c1,"useCache":_2cc,"startTime":_2bf.timeoutSeconds?(new Date()).getTime():0}); this.startWatchingInFlight(); }else{ _29f._blockAsync=true; } if(_2bf.method.toLowerCase()=="post"){ if(!_2bf.user){ http.open("POST",url,_2ca); }else{ http.open("POST",url,_2ca,_2bf.user,_2bf.password); } setHeaders(http,_2bf); http.setRequestHeader("Content-Type",_2bf.multipart?("multipart/form-data; boundary="+this.multipartBoundary):(_2bf.contentType||"application/x-www-form-urlencoded")); try{ http.send(_2c1); } catch(e){ if(typeof http.abort=="function"){ http.abort(); } doLoad(_2bf,{status:404},url,_2c1,_2cc); } }else{ var _2d1=url; if(_2c1!=""){ _2d1+=(_2d1.indexOf("?")>-1?"&":"?")+_2c1; } if(_2cb){ _2d1+=(dojo.string.endsWithAny(_2d1,"?","&")?"":(_2d1.indexOf("?")>-1?"&":"?"))+"dojo.preventCache="+new Date().valueOf(); } if(!_2bf.user){ http.open(_2bf.method.toUpperCase(),_2d1,_2ca); }else{ http.open(_2bf.method.toUpperCase(),_2d1,_2ca,_2bf.user,_2bf.password); } setHeaders(http,_2bf); try{ http.send(null); } catch(e){ if(typeof http.abort=="function"){ http.abort(); } doLoad(_2bf,{status:404},url,_2c1,_2cc); } } if(!_2ca){ doLoad(_2bf,http,url,_2c1,_2cc); _29f._blockAsync=false; } _2bf.abort=function(){ try{ http._aborted=true; } catch(e){ } return http.abort(); }; 
context: dojo.event=new function(){this._canTimeout=dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);function interpolateArgs(args,_2e7){var dl=dojo.lang;var ao={srcObj:dj_global,srcFunc:null,adviceObj:dj_global,adviceFunc:null,aroundObj:null,aroundFunc:null,adviceType:(args.length>2)?args[0]:"after",precedence:"last",once:false,delay:null,rate:0,adviceMsg:false};switch(args.length){case 0:return;case 1:return;case 2:ao.srcFunc=args[0];ao.adviceFunc=args[1];break;case 3:if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isString(args[1]))&&(dl.isString(args[2]))){ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];var _2ea=dl.nameAnonFunc(args[2],ao.adviceObj,_2e7);ao.adviceFunc=_2ea;}else{if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=dj_global;var _2ea=dl.nameAnonFunc(args[0],ao.srcObj,_2e7);ao.srcFunc=_2ea;ao.adviceObj=args[1];ao.adviceFunc=args[2];}}}}break;case 4:if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;var _2ea=dl.nameAnonFunc(args[1],dj_global,_2e7);ao.srcFunc=_2ea;ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){ao.srcObj=args[1];ao.srcFunc=args[2];var _2ea=dl.nameAnonFunc(args[3],dj_global,_2e7);ao.adviceObj=dj_global;ao.adviceFunc=_2ea;}else{if(dl.isObject(args[1])){ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=dj_global;ao.adviceFunc=args[3];}else{if(dl.isObject(args[2])){ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{ao.srcObj=ao.adviceObj=ao.aroundObj=dj_global;ao.srcFunc=args[1];ao.adviceFunc=args[2];ao.aroundFunc=args[3];}}}}}}break;case 6:ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundFunc=args[5];ao.aroundObj=dj_global;break;default:ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundObj=args[5];ao.aroundFunc=args[6];ao.once=args[7];ao.delay=args[8];ao.rate=args[9];ao.adviceMsg=args[10];break;}if(dl.isFunction(ao.aroundFunc)){var _2ea=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_2e7);ao.aroundFunc=_2ea;}if(dl.isFunction(ao.srcFunc)){ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc);}if(dl.isFunction(ao.adviceFunc)){ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc);}if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc);}if(!ao.srcObj){dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc);}if(!ao.adviceObj){dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);}if(!ao.adviceFunc){dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);dojo.debugShallow(ao);}return ao;}this.connect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.connect(ao);}ao.srcFunc="onkeypress";}if(dojo.lang.isArray(ao.srcObj)&&ao.srcObj!=""){var _2ec={};for(var x in ao){_2ec[x]=ao[x];}var mjps=[];dojo.lang.forEach(ao.srcObj,function(src){if((dojo.render.html.capable)&&(dojo.lang.isString(src))){src=dojo.byId(src);}_2ec.srcObj=src;mjps.push(dojo.event.connect.call(dojo.event,_2ec));});return mjps;}var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);if(ao.adviceFunc){var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc);}mjp.kwAddAdvice(ao);return mjp;};this.log=function(a1,a2){var _2f4;if((arguments.length==1)&&(typeof a1=="object")){_2f4=a1;}else{_2f4={srcObj:a1,srcFunc:a2};}_2f4.adviceFunc=function(){var _2f5=[];for(var x=0;x<arguments.length;x++){_2f5.push(arguments[x]);}dojo.debug("("+_2f4.srcObj+")."+_2f4.srcFunc,":",_2f5.join(", "));};this.kwConnect(_2f4);};this.connectBefore=function(){var args=["before"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}return this.connect.apply(this,args);};this.connectAround=function(){var args=["around"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}return this.connect.apply(this,args);};this.connectOnce=function(){var ao=interpolateArgs(arguments,true);ao.once=true;return this.connect(ao);};this._kwConnectImpl=function(_2fc,_2fd){var fn=(_2fd)?"disconnect":"connect";if(typeof _2fc["srcFunc"]=="function"){_2fc.srcObj=_2fc["srcObj"]||dj_global;var _2ff=dojo.lang.nameAnonFunc(_2fc.srcFunc,_2fc.srcObj,true);_2fc.srcFunc=_2ff;}if(typeof _2fc["adviceFunc"]=="function"){_2fc.adviceObj=_2fc["adviceObj"]||dj_global;var _2ff=dojo.lang.nameAnonFunc(_2fc.adviceFunc,_2fc.adviceObj,true);_2fc.adviceFunc=_2ff;}_2fc.srcObj=_2fc["srcObj"]||dj_global;_2fc.adviceObj=_2fc["adviceObj"]||_2fc["targetObj"]||dj_global;_2fc.adviceFunc=_2fc["adviceFunc"]||_2fc["targetFunc"];return dojo.event[fn](_2fc);};this.kwConnect=function(_300){return this._kwConnectImpl(_300,false);};this.disconnect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(!ao.adviceFunc){return;}if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.disconnect(ao);}ao.srcFunc="onkeypress";}var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);return mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once);};this.kwDisconnect=function(_303){return this._kwConnectImpl(_303,true);};};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js/buggy/www/resources/dojo-ajax/dojo.js