rem: }; 
add: }, 
context: YAHOO.widget.MenuItem.prototype.configChecked =    function(p_sType, p_aArgs, p_oItem) {        var Dom = YAHOO.util.Dom;        var bChecked = p_aArgs[0];        var oEl = this.element;        var oConfig = this.cfg;        var oImg;        if(bChecked) {            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.CHECKED_IMAGE_PATH);            preloadImage(this.SELECTED_CHECKED_IMAGE_PATH);            preloadImage(this.DISABLED_CHECKED_IMAGE_PATH);            oImg = document.createElement("img");            oImg.src = (this.imageRoot + this.CHECKED_IMAGE_PATH);            oImg.alt = this.CHECKED_IMAGE_ALT_TEXT;            var oSubmenu = this.cfg.getProperty("submenu");            if(oSubmenu) {                oEl.insertBefore(oImg, oSubmenu.element);            }            else {                oEl.appendChild(oImg);            }            Dom.addClass([oEl, oImg], "checked");            this._checkImage = oImg;            if(oConfig.getProperty("disabled")) {                oConfig.refireEvent("disabled");            }            if(oConfig.getProperty("selected")) {                oConfig.refireEvent("selected");            }        }        else {            oImg = this._checkImage;            Dom.removeClass([oEl, oImg], "checked");            if(oImg) {                oEl.removeChild(oImg);            }            this._checkImage = null;        }    };
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/menu.js/buggy/www/resources/yui/menu/menu.js