rem: if(nListElements > 0) { 
add: do { 
context: YAHOO.widget.MenuModule.prototype._onBeforeRender =    function(p_sType, p_aArgs, p_oMenuModule) {        var Dom = this._oDom;        var oConfig = this.cfg;        var oEl = this.element;        var nListElements = this._aListElements.length;        if(oConfig.getProperty("position") == "static") {            oConfig.queueProperty("iframe", false);            oConfig.queueProperty("visible", true);        }        if(nListElements > 0) {            var i = 0;            var bFirstList = true;            var oUL;            var oGroupTitle;            do {                oUL = this._aListElements[i];                if(oUL) {                    if(bFirstList) {                        Dom.addClass(oUL, "first-of-type");                        bFirstList = false;                    }                    if(!Dom.isAncestor(oEl, oUL)) {                        this.appendToBody(oUL);                    }                    oGroupTitle = this._aGroupTitleElements[i];                    if(oGroupTitle) {                        if(!Dom.isAncestor(oEl, oGroupTitle)) {                            oUL.parentNode.insertBefore(oGroupTitle, oUL);                        }                        Dom.addClass(oUL, "hastitle");                    }                }                i++;            }            while(i < nListElements);        }    };
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/menu-debug.js/buggy/www/resources/yui/menu/menu-debug.js