add: var hideMenus = (gSendFormat == nsIMsgCompSendFormat.PlainText); format_menubar.hidden = hideMenus; insert_menubar.hidden = hideMenus; show_menuitem.hidden = hideMenus; toolbar.hidden = hideMenus || (show_menuitem.getAttribute("checked") == "false"); 
context: function OutputFormatMenuSelect(target){  if (gMsgCompose)  {    var msgCompFields = gMsgCompose.compFields;    if (msgCompFields)      switch (target.getAttribute('id'))      {        case "format_auto":  gSendFormat = nsIMsgCompSendFormat.AskUser;     break;        case "format_plain": gSendFormat = nsIMsgCompSendFormat.PlainText;   break;        case "format_html":  gSendFormat = nsIMsgCompSendFormat.HTML;        break;        case "format_both":  gSendFormat = nsIMsgCompSendFormat.Both;        break;      }  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9b4f9359dacbc90251031d64bf9f41bb70b18e0e/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js