rem: oImg = document.createElement("img"); oImg.src = (this.imageRoot + this.SUBMENU_INDICATOR_IMAGE_PATH); oImg.alt = this.COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT;  oEl.appendChild(oImg);  this.submenuIndicator = oImg;  Dom.addClass(aNodes, "hassubmenu");  if(oConfig.getProperty("disabled")) {  oConfig.refireEvent("disabled");  }  if(oConfig.getProperty("selected")) {  oConfig.refireEvent("selected"); 
add: } 
context:     configSubmenu: function(p_sType, p_aArgs, p_oItem) {        var Dom = this._oDom;        var oEl = this.element;        var oSubmenu = p_aArgs[0];        var oImg = this.submenuIndicator;        var oConfig = this.cfg;        var aNodes = [this.element, this._oAnchor];        if(oSubmenu) {            // Set the submenu's parent to this MenuModuleItem instance            oSubmenu.parent = this;            this._oSubmenu = oSubmenu;            if(!oImg) {                var me = this;                function preloadImage(p_sPath) {                    var sPath = me.imageRoot + p_sPath;                    if(!document.images[sPath]) {                        var oImage = document.createElement("img");                        oImage.src = sPath;                        oImage.name = sPath;                        oImage.id = sPath;                        oImage.style.display = "none";                        document.body.appendChild(oImage);                    }                }                preloadImage(this.SUBMENU_INDICATOR_IMAGE_PATH);                preloadImage(this.SELECTED_SUBMENU_INDICATOR_IMAGE_PATH);                preloadImage(this.DISABLED_SUBMENU_INDICATOR_IMAGE_PATH);                oImg = document.createElement("img");                oImg.src = (this.imageRoot + this.SUBMENU_INDICATOR_IMAGE_PATH);                oImg.alt = this.COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT;                oEl.appendChild(oImg);                this.submenuIndicator = oImg;                Dom.addClass(aNodes, "hassubmenu");                if(oConfig.getProperty("disabled")) {                    oConfig.refireEvent("disabled");                }                if(oConfig.getProperty("selected")) {                    oConfig.refireEvent("selected");                }            }        }        else {            Dom.removeClass(aNodes, "hassubmenu");            if(oImg) {                oEl.removeChild(oImg);            }            if(this._oSubmenu) {                this._oSubmenu.destroy();            }        }    },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/menu.js/buggy/www/resources/yui/menu/menu.js