context: this.createMenuItem = function(popup, item, before){    if (typeof(item) == "string" && item.indexOf("-") == 0)        return this.createMenuSeparator(popup, before);        var menuitem = popup.ownerDocument.createElement("menuitem");    var label = item.nol10n ? item.label : this.$STR(item.label);        menuitem.setAttribute("label", label);    menuitem.setAttribute("type", item.type);    if (item.checked)        menuitem.setAttribute("checked", "true");    if (item.disabled)        menuitem.setAttribute("disabled", "true");    if (item.image)    {        menuitem.setAttribute("class", "menuitem-iconic");        menuitem.setAttribute("image", item.image);    }        if (item.command)        menuitem.addEventListener("command", item.command, false);    if (before)        popup.insertBefore(menuitem, before);    else        popup.appendChild(menuitem);    return menuitem;};
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/8237a6359bebacf3e34f1134ef713c687c8e3edb/lib.js/clean/extension/content/firebug/lib.js