rem: form = $(form); 
add: var form = $(form); 
context:   focusFirstElement: function(form) {    form = $(form);    var elements = Form.getElements(form);    for (var i = 0; i < elements.length; i++) {      var element = elements[i];      if (element.type != 'hidden' && !element.disabled) {        Field.activate(element);        break;      }    }  },
meta: 1782	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1782/3f0bcc29b1d13b6ec87c6b75980c7f271e175e80/prototype.js/buggy/webapp/sandbox/scripts/prototype.js