rem: switch (popup.firstChild.getAttribute("command")) { case "cmd_bm_open": case "cmd_bm_expandfolder": 
add: if (popup.firstChild.getAttribute("command") == "cmd_bm_open") 
context:   createContextMenu: function (aEvent, aSelection, aDS)  {    if (aSelection == undefined) {      aEvent.preventDefault();      return;    }    var popup = aEvent.target;    // clear out the old context menu contents (if any)    while (popup.hasChildNodes())       popup.removeChild(popup.firstChild);            var commonCommands = [];    for (var i = 0; i < aSelection.length; ++i) {      var commands = this.getCommands(aSelection.item[i], aSelection.parent[i], aDS);      if (!commands) {        aEvent.preventDefault();        return;      }      commands = this.flattenEnumerator(commands);      if (!commonCommands.length) commonCommands = commands;      commonCommands = this.findCommonNodes(commands, commonCommands);    }    if (!commonCommands.length) {      aEvent.preventDefault();      return;    }        // Now that we should have generated a list of commands that is valid    // for the entire selection, build a context menu.    for (i = 0; i < commonCommands.length; ++i) {      var currCommand = commonCommands[i].QueryInterface(kRDFRSCIID).Value;      var element = null;      if (currCommand != gNC_NS_CMD + "bm_separator") {        var commandName = this.getCommandName(currCommand);        var accessKey = this.getAccessKey(currCommand);        element = this.createMenuItem(commandName, accessKey, currCommand, aSelection);      }      else if (i != 0 && i < commonCommands.length-1) {        // Never append a separator as the first or last element in a context        // menu.        element = document.createElementNS(gXUL_NS, "menuseparator");      }      if (element)         popup.appendChild(element);    }    switch (popup.firstChild.getAttribute("command")) {    case "cmd_bm_open":    case "cmd_bm_expandfolder":      popup.firstChild.setAttribute("default", "true");    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/38b08132266b79075804695d3bb54e4608acc0d4/bookmarks.js/clean/browser/components/bookmarks/content/bookmarks.js