rem: function getElementsByClassName(className, element) { var children = (element || document).getElementsByTagName('*'); 
add: function getElementsByClassName(className) { var children = document.getElementsByTagName('*') || document.all; 
context: function getElementsByClassName(className, element) {  var children = (element || document).getElementsByTagName('*');  var elements = new Array();    for (var i = 0; i < children.length; i++) {    var child = children[i];    var classNames = child.className.split(' ');    for (var j = 0; j < classNames.length; j++) {      if (classNames[j] == className) {        elements.push(child);        break;      }    }  }    return elements;}
meta: 3104	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3104/ce59719a389fe9057004f655640d3cfff0df7ab8/prototype.js/buggy/public/javascripts/prototype.js