document.getElementsByClassName = function(className, parentElement) { 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)); } return elements; 
} else document.getElementsByClassName = function(className, parentElement) { var children = ($(parentElement) || document.body).getElementsByTagName('*'); var elements = [], child, pattern = new RegExp("(^|\\s)" + className + "(\\s|$)"); for (var i = 0, length = children.length; i < length; i++) { child = children[i]; var elementClassName = child.className; if (elementClassName.length == 0) continue; if (elementClassName == className || elementClassName.match(pattern)) elements.push(Element.extend(child)); 
document.getElementsByClassName = function(className, parentElement) {  if (Prototype.BrowserFeatures.XPath) {    var q = ".//*[contains(concat(' ', @class, ' '), ' " + className + " ')]";    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));    }    return elements;  }};
4999	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4999/e47dfd7529c730bdf42c17407d64892450c0dbee/prototype.js/clean/wp-includes/js/scriptaculous/prototype.js