add:    var popup = document.getElementById("composeMail"); gMsgCompose = parent.document.documentElement.getAttribute("windowtype") == "msgcompose"; for (var i = 0; i < 4; i++) popup.childNodes[i].hidden = !gMsgCompose; popup.childNodes[4].hidden = gMsgCompose; 
context: function AbPanelLoad() {  InitCommonJS();   UpgradeAddressBookResultsPaneUI("mailnews.ui.addressbook_panel_results.version");  LoadPreviouslySelectedAB();  // add a listener, so we can switch directories if  // the current directory is deleted, and change the name if the  // selected directory's name is modified  var addrbookSession = Components.classes["@mozilla.org/addressbook/services/session;1"].getService().QueryInterface(Components.interfaces.nsIAddrBookSession);  // this listener only cares when a directory is removed or modified  addrbookSession.addAddressBookListener(gAddressBookPanelAbListener,                  Components.interfaces.nsIAbListener.directoryRemoved | Components.interfaces.nsIAbListener.changed);  gSearchInput = document.getElementById("searchInput");}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/478c02c28a12e0d272fbec208d86192183a9c5da/addressbook-panel.js/buggy/mailnews/addrbook/resources/content/addressbook-panel.js