rem: onload=function() { 
add: onload=function() { 
context:     onload=function() {     /// Adjust the form on load        transformForm();    /// Get the required fields        var typeField         = document.getElementById('menutype');        var sequenceField     = document.getElementById('menusequence');        var enumField         = document.getElementById('menuenum');    /// Register the rest of events        if (typeField.addEventListener) {        /// Standard            typeField.addEventListener('change', transformForm, false);            sequenceField.addEventListener('change', transformForm, false);            enumField.addEventListener('change', transformForm, false);        } else {        /// IE 5.5            typeField.attachEvent('onchange', transformForm);            sequenceField.attachEvent('onchange', transformForm);            enumField.attachEvent('onchange', transformForm);        }    }
meta: 2641	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2641/eef868d17d53ca8b6c34882074a2ff4d5dc0e99d/edit_field.js/buggy/admin/xmldb/actions/edit_field/edit_field.js