rem: form = $(form); var elements = new Array();  for (tagName in Form.Element.Serializers) { var tagElements = form.getElementsByTagName(tagName); for (var j = 0; j < tagElements.length; j++) elements.push(tagElements[j]); } return elements; 
add: return $A($(form).getElementsByTagName('*')).inject([], function(elements, child) { if (Form.Element.Serializers[child.tagName.toLowerCase()]) elements.push(Element.extend(child)); return elements; } ); 
context:   getElements: function(form) {    form = $(form);    var elements = new Array();    for (tagName in Form.Element.Serializers) {      var tagElements = form.getElementsByTagName(tagName);      for (var j = 0; j < tagElements.length; j++)        elements.push(tagElements[j]);    }    return elements;  },
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/7e143d2df37946a5416f0f043869478087652eb6/prototype.js/clean/examples/testcases/prototype.js