rem: if(!element.hasChildNodes()) return null; var elements = []; $A(element.childNodes).each( function(e) { if(e.tagName && e.tagName.toUpperCase()==options.tag.toUpperCase() && (!options.only || (Element.hasClassName(e, options.only)))) elements.push(e); if(options.tree) { var grandchildren = this.findElements(e, options); if(grandchildren) elements.push(grandchildren); } });  return (elements.length>0 ? elements.flatten() : null); 
add: return Element.findChildren( element, options.only, options.tree ? true : false, options.tag); 
context:   findElements: function(element, options) {    if(!element.hasChildNodes()) return null;    var elements = [];    $A(element.childNodes).each( function(e) {      if(e.tagName && e.tagName.toUpperCase()==options.tag.toUpperCase() &&        (!options.only || (Element.hasClassName(e, options.only))))          elements.push(e);      if(options.tree) {        var grandchildren = this.findElements(e, options);        if(grandchildren) elements.push(grandchildren);      }    });    return (elements.length>0 ? elements.flatten() : null);  },
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6359/52d313976f72b3f30c833a7675d476a595bc284d/dragdrop.js/buggy/web/js/dragdrop.js