index: function(parentNode, reverse, ofType) { parentNode._counted = true; if (reverse) { for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) { node = nodes[i]; if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; } } else { for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++) if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++; } }, 
index: function(value) { var match = this.detect(function(pair) { return pair.value === value; }); return match && match.key; }, 
    index: function(parentNode, reverse, ofType) {      parentNode._counted = true;      if (reverse) {        for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) {          node = nodes[i];          if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;        }      } else {        for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++)          if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;      }    },
4053	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4053/86d62cfbd90ca07c7469fdea1bbe68d0fc4b5907/prototype.js/buggy/lib/prototype.js