add:  document.getElementById("FormatToolbar").setAttribute("hidden", true);  
context: function ComposeStartup(){	dump("Compose: ComposeStartup\n");	// Get arguments	var args = GetArgs();    // fill in Identity combobox    var identitySelect = document.getElementById("msgIdentity");    if (identitySelect) {        fillIdentitySelect(identitySelect);    }        // fill in Recipient type combobox    FillRecipientTypeCombobox();	if (msgComposeService)	{		msgCompose = msgComposeService.InitCompose(window, args.originalMsg, args.type, args.format, args.fieldsAddr);		if (msgCompose)		{			//Creating a Editor Shell  			var editorShell = Components.classes["component://netscape/editor/editorshell"].createInstance();  			editorShell = editorShell.QueryInterface(Components.interfaces.nsIEditorShell);			if (!editorShell)			{				dump("Failed to create editorShell!\n");				return;			}						// save the editorShell in the window. The editor JS expects to find it there.			window.editorShell = editorShell;			window.editorShell.Init();			dump("Created editorShell\n");			SetupToolbarElements(); //defined into EditorCommands.js            contentWindow = window.content;			// setEditorType MUST be call before setContentWindow			if (msgCompose.composeHTML)			{				window.editorShell.SetEditorType("html");				dump("editor initialized in HTML mode\n");			}			else			{				window.editorShell.SetEditorType("text");				try				{					window.editorShell.wrapColumn = msgCompose.wrapLength;				}				catch (e)				{					dump("### window.editorShell.wrapColumn exception text: " + e + " - failed\n");				}				dump("editor initialized in PLAIN TEXT mode\n");			}			window.editorShell.SetContentWindow(contentWindow);			window.editorShell.SetWebShellWindow(window);			window.editorShell.SetToolbarWindow(window);			window.editorShell.RegisterDocumentStateListener(editorDocumentListener);			// Now that we have an Editor AppCore, we can finish to initialize the Compose AppCore			msgCompose.editor = window.editorShell;							    	var msgCompFields = msgCompose.compFields;	    	if (msgCompFields)	    	{	    		if (args.body) //We need to set the body before calling LoadFields();	    			msgCompFields.SetBody(args.body);				//Now we are ready to load all the fields (to, cc, subject, body, etc...)  depending of the type of the message				msgCompose.LoadFields();	    		if (args.to)	    			msgCompFields.SetTo(args.to);	    		if (args.cc)	    			msgCompFields.SetCc(args.cc);	    		if (args.bcc)	    			msgCompFields.SetBcc(args.bcc);	    		if (args.newsgroups)	    			msgCompFields.SetNewsgroups(args.newsgroups);	    		if (args.subject) 	    			msgCompFields.SetSubject(args.subject);							CompFields2Recipients(msgCompFields);				var subjectValue = msgCompFields.GetSubject();				if (subjectValue != "") {					document.getElementById("msgSubject").value = subjectValue;				}			}						document.getElementById("msgRecipient#1").focus();		}	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f0bd325bbc81ec4ec0b68b545eeab72ee3a25a0d/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js