var children = ($(parentElement) || document.body).getElementsByTagName('*'); return $A(children).inject([], function(elements, child) { if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)"))) elements.push(Element.extend(child)); 
if (Prototype.BrowserFeatures.XPath) { var q = ". return document._getElementsByXPath(q, parentElement); } else { var children = ($(parentElement) || document.body).getElementsByTagName('*'); var elements = [], child; for (var i = 0, length = children.length; i < length; i++) { child = children[i]; if (Element.hasClassName(child, className)) elements.push(Element.extend(child)); } 
document.getElementsByClassName = function(className, parentElement) {  var children = ($(parentElement) || document.body).getElementsByTagName('*');  return $A(children).inject([], function(elements, child) {    if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))      elements.push(Element.extend(child));    return elements;  });}
6445	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6445/81ea0800bc8ad92d491743716cd489cad7333723/prototype.js/clean/vendor/rails/railties/html/javascripts/prototype.js