add:  SetupAbCommandUpdateHandlers(); 
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.nsIAddrBookSession.directoryRemoved |    Components.interfaces.nsIAddrBookSession.changed);  gSearchInput = document.getElementById("searchInput");  // for the compose window we want to show To, Cc, Bcc and a separator  // for all other windows we want to show Compose Mail To  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;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/48185cb8554fbc252821a984faa1f805d21605e5/addressbook-panel.js/buggy/mailnews/addrbook/resources/content/addressbook-panel.js