rem: function(p_nGroupIndex, p_nItemIndex) { 
add: var nGroupIndex = typeof p_nGroupIndex == "number" ? p_nGroupIndex : 0, aGroup = this._getItemGroup(nGroupIndex); 
context: YAHOO.widget.MenuModule.prototype._removeItemFromGroupByIndex =    function(p_nGroupIndex, p_nItemIndex) {        var nGroupIndex = typeof p_nGroupIndex == "number" ? p_nGroupIndex : 0;        var aGroup = this._getItemGroup(nGroupIndex);        if(aGroup) {            var aArray = aGroup.splice(p_nItemIndex, 1);            var oItem = aArray[0];            if(oItem) {                // Update the index and className properties of each member                this._updateItemProperties(nGroupIndex);                if(aGroup.length === 0) {                    // Remove the UL                    var oUL = this._aListElements[nGroupIndex];                    if(this.body && oUL) {                        this.body.removeChild(oUL);                    }                    // Remove the group from the array of items                    this._aItemGroups.splice(nGroupIndex, 1);                    // Remove the UL from the array of ULs                    this._aListElements.splice(nGroupIndex, 1);                    /*                         Assign the "first-of-type" class to the new first UL                         in the collection                    */                    oUL = this._aListElements[0];                    if(oUL) {                        this._oDom.addClass(oUL, "first-of-type");                    }                }                // Return a reference to the item that was removed                return oItem;            }        }    };
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/menu.js/buggy/www/resources/yui/menu/menu.js