var _101=dojo.lang.isString(_fc); if(_101){ _fc=_fc.split(""); } if(_ff){ var step=-1; var i=_fc.length-1; var end=-1; }else{ var step=1; var i=0; var end=_fc.length; } if(_fe){ while(i!=end){ if(_fc[i]===_fd){ return i; } i+=step; } }else{ while(i!=end){ if(_fc[i]==_fd){ return i; } i+=step; } } return -1; }; 
dojo.lang.find = function(  /*Array*/   array,               /*Object*/    value,              /*Boolean?*/  identity,              /*Boolean?*/  findLast){  // summary: Return the index of value in array, returning -1 if not found.  // identity: If true, matches with identity comparison (===).    //           If false, uses normal comparison (==).  // findLast: If true, returns index of last instance of value.    // examples:  //  find(array, value[, identity [findLast]]) // recommended  //  find(value, array[, identity [findLast]]) // deprecated                // support both (array, value) and (value, array)  if(!dojo.lang.isArrayLike(array) && dojo.lang.isArrayLike(value)) {    dojo.deprecated('dojo.lang.find(value, array)', 'use dojo.lang.find(array, value) instead', "0.5");    var temp = array;    array = value;    value = temp;  }  var isString = dojo.lang.isString(array);  if(isString) { array = array.split(""); }  if(findLast) {    var step = -1;    var i = array.length - 1;    var end = -1;  } else {    var step = 1;    var i = 0;    var end = array.length;  }  if(identity){    while(i != end) {      if(array[i] === value){ return i; }      i += step;    }  }else{    while(i != end) {      if(array[i] == value){ return i; }      i += step;    }  }  return -1;  // number}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js