rem: var form = forms_getForm(document.getElementById(this.forms_id)); 
add: var form = cocoon.forms.getForm(document.getElementById(this.forms_id)); 
context: function forms_createOptionTransfer(id, submitOnChange) {    var result = new OptionTransfer(id + ".unselected", id);    result.setAutoSort(true);    // add to onload handlers    result.forms_id = id + ":input";    result.forms_onload = function() {        var form = forms_getForm(document.getElementById(this.forms_id));        this.init(form);        sortSelect(this.left);        sortSelect(this.right);    }    result.submitOnChange = submitOnChange;    result.forms_transferLeft = function() {        this.transferLeft();        if (this.submitOnChange) {            forms_submitForm(document.getElementById(this.forms_id));        }    }    result.forms_transferRight = function() {        this.transferRight();        if (this.submitOnChange) {            forms_submitForm(document.getElementById(this.forms_id));        }    }    result.forms_transferAllLeft = function() {        this.transferAllLeft();        if (this.submitOnChange) {            forms_submitForm(document.getElementById(this.forms_id));        }    };    result.forms_transferAllRight = function() {        this.transferAllRight();        if (this.submitOnChange) {            forms_submitForm(document.getElementById(this.forms_id));        }    };    forms_onloadHandlers.push(result);        // add to onsubmit handlers    result.forms_onsubmit = function() {        // Select all options in the "selected" list to that        // its values are sent.        selectAllOptions(this.right);    }    forms_onsubmitHandlers.push(result);    return result;}
meta: 1201	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1201/7826366b3d926533ef8980e82c454cc60331de48/forms-lib.js/buggy/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/js/forms-lib.js