rem: formelement.onclick  = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));}; formelement.onblur   = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));}; formelement.onchange = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));}; 
add: formelement.formid = formid; formelement.onclick  = function() {this.form.reset();return lockoptionsall(this.formid);}; formelement.onblur   = function() {this.form.reset();return lockoptionsall(this.formid);}; formelement.onchange = function() {this.form.reset();return lockoptionsall(this.formid);}; 
context: function lockoptionsallsetup(formid) {    var form = document.forms[formid];    var dependons = eval(formid+'items');    for (var dependon in dependons) {        var master = form[dependon];        if (master == undefined) {            continue;        }        master.onclick  = function() {return lockoptionsall(this.form.getAttribute('id'));};        master.onblur   = function() {return lockoptionsall(this.form.getAttribute('id'));};        master.onchange = function() {return lockoptionsall(this.form.getAttribute('id'));};    }    for (var i = 0; i < form.elements.length; i++){        var formelement = form.elements[i];        if (formelement.type=='reset') {            formelement.onclick  = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));};            formelement.onblur   = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));};            formelement.onchange = function() {this.form.reset();return lockoptionsall(this.form.getAttribute('id'));};        }    }    return lockoptionsall(formid);}
meta: 2641	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2641/c0056e22270163bc7d627f72685c9f262b13b140/javascript-static.js/clean/lib/javascript-static.js