add:  var identityElement = document.getElementById("msgIdentity"); if (identityElement) identityElement.focus();   
context:   onClose: function() {	  awResetAllRows();	  RemoveAllAttachments();	  //We need to clear the identity popup menu in case the user will change them. It will be rebuilded later in ComposeStartup    ClearIdentityListPopup(document.getElementById("msgIdentityPopup"));     //Clear the subject    document.getElementById("msgSubject").value = "";    SetComposeWindowTitle();    SetContentAndBodyAsUnmodified();    disableEditableFields();    ReleaseGlobalVariables();    //Reset Boxes size        document.getElementById("headers-box").removeAttribute("height");    document.getElementById("appcontent").removeAttribute("height");    document.getElementById("addresses-box").removeAttribute("width");    document.getElementById("attachments-box").removeAttribute("width");    //Reset menu options    document.getElementById("format_auto").setAttribute("checked", "true");    document.getElementById("priority_normal").setAttribute("checked", "true");    //Reset editor    EditorResetFontAndColorAttributes();    EditorCleanup();    //Release the nsIMsgComposeParams object    if (window.arguments && window.arguments[0])      window.arguments[0] = null;    var event = document.createEvent('Events');    event.initEvent('compose-window-close', false, true);    document.getElementById("msgcomposeWindow").dispatchEvent(event);	},
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4d19e1af3db15c1bc87ae81629da1432f1f1b151/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js