rem: menuString = ORBEON.util.String.replace(menuString, "\n", " "); menuString = ORBEON.util.String.replace(menuString, "\r", " "); ORBEON.xforms.Globals.menuItemsets[menu.id] = eval(menuString); 
add: ORBEON.xforms.Globals.menuItemsets[menu.id] = ORBEON.util.String.eval(menuString); 
context:     _menu: function (menu) {        // Find the divs for the YUI menu and for the values inside the control        var yuiMenuDiv;        var valuesDiv;        for (var j = 0; j < menu.childNodes.length; j++) {            var childNode =  menu.childNodes[j];            if (childNode.nodeType == ELEMENT_TYPE) {                if (ORBEON.util.Dom.hasClass(childNode, "yuimenubar")) {                    yuiMenuDiv = childNode;                } else if (ORBEON.util.Dom.hasClass(childNode, "xforms-initially-hidden")) {                    valuesDiv = childNode;                }            }        }        // Extract menu hierarchy from HTML        var menuString = ORBEON.util.Dom.getStringValue(valuesDiv);        menuString = ORBEON.util.String.replace(menuString, "\n", " ");        menuString = ORBEON.util.String.replace(menuString, "\r", " ");        ORBEON.xforms.Globals.menuItemsets[menu.id] = eval(menuString);        // Initialize tree        YAHOO.util.Dom.generateId(yuiMenuDiv);        var yuiMenu = new YAHOO.widget.MenuBar(yuiMenuDiv.id, {            autosubmenudisplay: true,            hidedelay: 750,            lazyload: true        });        yuiMenu.render();        ORBEON.xforms.Globals.menuYui[menu.id] = yuiMenu;    },
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7801/3cdf7cb14c5a0df2675c4bc421f95e303518cf5d/xforms.js/buggy/src/resources-packaged/ops/javascript/xforms.js