rem: element = elements[i]; 
add: var element = $(elements[i]); 
context:   display: function() {    elements = $.apply(this, arguments);    for (var i = 0; i < elements.length; i++) {      element = elements[i];      element.style.display =         (element.style.display == 'none' ? '' : 'none');    }  }
meta: 644	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/644/e1ce18020e1c23c148060ec2180dc0ed794be06e/prototype.js/buggy/actionpack/lib/action_view/helpers/javascripts/prototype.js