rem: document.getElementsByClassName = function(className, parentElement) { var children = (document.body || $(parentElement)).getElementsByTagName('*'); return $A(children).inject([], function(elements, child) { if (Element.hasClassName(child, className)) elements.push(child); return elements; }); 
add: document.getElementsByClassName = function(className) { var children = document.getElementsByTagName('*') || document.all; 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; 
context: document.getElementsByClassName = function(className, parentElement) {  var children = (document.body || $(parentElement)).getElementsByTagName('*');  return $A(children).inject([], function(elements, child) {    if (Element.hasClassName(child, className))      elements.push(child);    return elements;  });}
meta: 3991	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3991/57687341792749db94b850962ee7ed7f18e1087d/prototype.js/clean/manager/media/script/scriptaculous/prototype.js