rem:  ORBEON.xforms.Controls.hintActive(target, true);  if (typeof ORBEON.xforms.Globals.serverValue[target.id] == "undefined") ORBEON.xforms.Globals.serverValue[target.id] = target.value;  if (ORBEON.xforms.Globals.previousDOMFocusOut) { if (ORBEON.xforms.Globals.previousDOMFocusOut != target) { var events = new Array(); events.push(xformsCreateEventArray (ORBEON.xforms.Globals.previousDOMFocusOut, "DOMFocusOut", null)); events.push(xformsCreateEventArray(target, "DOMFocusIn", null)); xformsFireEvents(events, true); } ORBEON.xforms.Globals.previousDOMFocusOut = null; } else { if (document.xformsPreviousDOMFocusIn != target) { xformsFireEvents(new Array(xformsCreateEventArray(target, "DOMFocusIn", null)), true); 
add: if (ORBEON.xforms.Globals.lastFocusControlId != target.id) {  ORBEON.xforms.Globals.lastFocusControlId = target.id;  ORBEON.xforms.Controls.hintActive(target, true);  if (typeof ORBEON.xforms.Globals.serverValue[target.id] == "undefined") ORBEON.xforms.Globals.serverValue[target.id] = target.value;  if (ORBEON.xforms.Globals.previousDOMFocusOut) { if (ORBEON.xforms.Globals.previousDOMFocusOut != target) { var events = new Array(); events.push(xformsCreateEventArray (ORBEON.xforms.Globals.previousDOMFocusOut, "DOMFocusOut", null)); events.push(xformsCreateEventArray(target, "DOMFocusIn", null)); xformsFireEvents(events, true); } ORBEON.xforms.Globals.previousDOMFocusOut = null; } else { if (document.xformsPreviousDOMFocusIn != target) { xformsFireEvents(new Array(xformsCreateEventArray(target, "DOMFocusIn", null)), true); } 
context:     focus: function(event) {        if (!ORBEON.xforms.Globals.maskFocusEvents) {            var target = ORBEON.xforms.Events._findParentXFormsControl(YAHOO.util.Event.getTarget(event));            if (target != null) {                // Activate hint if we found one                ORBEON.xforms.Controls.hintActive(target, true);                // Store initial value of control                if (typeof ORBEON.xforms.Globals.serverValue[target.id] == "undefined")                    ORBEON.xforms.Globals.serverValue[target.id] = target.value;                // Send focus events                if (ORBEON.xforms.Globals.previousDOMFocusOut) {                    if (ORBEON.xforms.Globals.previousDOMFocusOut != target) {                        var events = new Array();                        events.push(xformsCreateEventArray                            (ORBEON.xforms.Globals.previousDOMFocusOut, "DOMFocusOut", null));                        events.push(xformsCreateEventArray(target, "DOMFocusIn", null));                        xformsFireEvents(events, true);                    }                    ORBEON.xforms.Globals.previousDOMFocusOut = null;                } else {                    if (document.xformsPreviousDOMFocusIn != target) {                        xformsFireEvents(new Array(xformsCreateEventArray(target, "DOMFocusIn", null)), true);                    }                }            }            document.xformsPreviousDOMFocusIn = target;        } else {            ORBEON.xforms.Globals.maskFocusEvents = false;        }    },
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7801/a53b964961e5358959c3f37c9e59f2243ededda5/xforms.js/clean/src/resources-packaged/ops/javascript/xforms.js