rem:  window.openDialog("chrome: 
add:  var wintype = document.documentElement.getAttribute("windowtype"); wintype = wintype.replace(/:/g, "");  window.openDialog("chrome: "CustomizeToolbar"+wintype, 
context: function CustomizeMailToolbar(id){  // Disable the toolbar context menu items  var menubar = document.getElementById("mail-menubar");  for (var i = 0; i < menubar.childNodes.length; ++i)    menubar.childNodes[i].setAttribute("disabled", true);      var customizePopup = document.getElementById("CustomizeMailToolbar");   customizePopup.setAttribute("disabled", "true");     window.openDialog("chrome://global/content/customizeToolbar.xul", "CustomizeToolbar",                    "chrome,all,dependent", document.getElementById(id));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7495c3a44a607719806f726790c35c9f98c0d7e8/mailCore.js/clean/mail/base/content/mailCore.js