              if(!arr){ arr = this.getArr(adviceType); } var ind = -1; for(var x=0; x<arr.length; x++){ var aao = (typeof thisAdvice == "object") ? (new String(thisAdvice)).toString() : thisAdvice; var a1o = (typeof arr[x][1] == "object") ? (new String(arr[x][1])).toString() : arr[x][1]; if((arr[x][0] == thisAdviceObj)&&(a1o == aao)){ ind = x; } } return ind; }, 
              if(!arr){ arr = this.getArr(adviceType); } var ind = -1; for(var x=0; x<arr.length; x++){ var aao = (typeof thisAdvice == "object") ? (new String(thisAdvice)).toString() : thisAdvice; var a1o = (typeof arr[x][1] == "object") ? (new String(arr[x][1])).toString() : arr[x][1]; if((arr[x][0] == thisAdviceObj)&&(a1o == aao)){ ind = x; } } return ind; }, 
	hasAdvice: function(thisAdviceObj, thisAdvice, adviceType, arr){		// summary:		//		returns the array index of the first existing connection		//		betweened the passed advice and this joinpoint. Will be -1 if		//		none exists.		// thisAdviceObj:		//		the scope in which to locate/execute the named adviceFunc.		// thisAdviceFunc:		//		the name of the function being conected		// adviceType: 		//		Optional. String. One of "before", "after", "around",		//		"before-around", or "after-around". FIXME		// arr:		//		Optional. The list of advices to search. Will be found via		//		adviceType if not passed		if(!arr){ arr = this.getArr(adviceType); }		var ind = -1;		for(var x=0; x<arr.length; x++){			var aao = (typeof thisAdvice == "object") ? (new String(thisAdvice)).toString() : thisAdvice;			var a1o = (typeof arr[x][1] == "object") ? (new String(arr[x][1])).toString() : arr[x][1];			if((arr[x][0] == thisAdviceObj)&&(a1o == aao)){				ind = x;			}		}		return ind; // Integer	},
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