rem: Element.childrenWithClassName = function(element, className) { return $A($(element).getElementsByTagName('*')).select( function(c) { return Element.hasClassName(c, className) }); 
add: Element.childrenWithClassName = function(element, className, findFirst) { var classNameRegExp = new RegExp("(^|\\s)" + className + "(\\s|$)"); var results = $A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return (c.className && c.className.match(classNameRegExp)); }); if(!results) results = []; return results; 
context: Element.childrenWithClassName = function(element, className) {    return $A($(element).getElementsByTagName('*')).select(    function(c) { return Element.hasClassName(c, className) });}
meta: 6601	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6601/28b3187d07d97712c23182569a4d6fd00900b5f7/effects.js/buggy/javascript/script.aculo.us/effects.js