rem: oItem.index = i; oItem.groupIndex = p_nGroupIndex; 
add: oLI.setAttribute("groupindex", p_nGroupIndex); oLI.setAttribute("index", i); 
context: YAHOO.widget.MenuModule.prototype._updateItemProperties =    function(p_nGroupIndex) {        var aGroup = this._getItemGroup(p_nGroupIndex);        var nItems = aGroup.length;        if(nItems > 0) {            var Dom = this._oDom;            var i = nItems - 1;            var oItem;            var oLI;            // Update the index and className properties of each member            do {                oItem = aGroup[i];                if(oItem) {                    oLI = oItem.element;                    oItem.index = i;                    oItem.groupIndex = p_nGroupIndex;                    oLI.setAttribute("groupindex", p_nGroupIndex);                    oLI.setAttribute("index", i);                    Dom.removeClass(oLI, "first-of-type");                }            }            while(i--);            if(oLI) {                Dom.addClass(oLI, "first-of-type");            }        }    };
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