add:  if (form == undefined) { for (var formIndex = 0; formIndex < document.forms.length; formIndex++) { var candidateForm = document.forms[formIndex]; if (ORBEON.util.Dom.hasClass(candidateForm, "xforms-form")) { form = candidateForm; break; } } }   var event = new ORBEON.xforms.Server.Event(form, controlId, null, null, eventName, bubbles, cancelable); ORBEON.xforms.Server.fireEvents([event], incremental == undefined ? false : incremental); 
context:     dispatchEvent: function(controlId, eventName, bubbles, cancelable) {    },
meta: 9823	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9823/655b9d4855d6c79702dc2b2863a5a367c4587ac8/xforms.js/buggy/src/examples/web/ops/javascript/xforms.js