if(dl.isFunction(ao.adviceFunc)){ ao.adviceFunc = dl.getNameInObj(ao.adviceObj, ao.adviceFunc); } 
if(dl.isFunction(ao.adviceFunc)){ ao.adviceFunc = dl.getNameInObj(ao.adviceObj, ao.adviceFunc); } 
	function interpolateArgs(args, searchForNames){		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,			maxCalls: -1		};		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 tmpName  = dl.nameAnonFunc(args[2], ao.adviceObj, searchForNames);					ao.adviceFunc = tmpName;				}else if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){					ao.adviceType = "after";					ao.srcObj = dj_global;					var tmpName  = dl.nameAnonFunc(args[0], ao.srcObj, searchForNames);					ao.srcFunc = tmpName;					ao.adviceObj = args[1];					ao.adviceFunc = args[2];				}				break;			case 4:				if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){					// we can assume that we've got an old-style "connect" from					// the sigslot school of event attachment. We therefore					// assume after-advice.					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 tmpName  = dl.nameAnonFunc(args[1], dj_global, searchForNames);					ao.srcFunc = tmpName;					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 tmpName  = dl.nameAnonFunc(args[3], dj_global, searchForNames);					ao.adviceObj = dj_global;					ao.adviceFunc = tmpName;				}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];				ao.maxCalls = (!isNaN(parseInt(args[11]))) ? args[11] : -1;				break;		}		if(dl.isFunction(ao.aroundFunc)){			var tmpName  = dl.nameAnonFunc(ao.aroundFunc, ao.aroundObj, searchForNames);			ao.aroundFunc = tmpName;		}		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;	}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js