add: var dirTree = GetDirTree(); dirTree.addEventListener("click",DirPaneClick,true);  
context: function delayedOnLoadAddressBook(){  gAddressBookBundle = document.getElementById("bundle_addressBook");  gSearchInput = document.getElementById("searchInput");  verifyAccounts(null); 	// this will do migration, if we need to.  top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance(Components.interfaces.nsIAddressBook);  InitCommonJS();  GetCurrentPrefs();  AddPrefObservers();  // FIX ME - later we will be able to use onload from the overlay  OnLoadCardView();  SetupAbCommandUpdateHandlers();  //workaround - add setTimeout to make sure dynamic overlays get loaded first  setTimeout('OnLoadDirTree()', 0);  // if the pref is locked disable the menuitem New->LDAP directory  if (gPrefs.prefIsLocked("ldap_2.disable_button_add"))    document.getElementById("addLDAP").setAttribute("disabled", "true");  // add a listener, so we can switch directories if  // the current directory is deleted  var addrbookSession = Components.classes["@mozilla.org/addressbook/services/session;1"].getService().QueryInterface(Components.interfaces.nsIAddrBookSession);  // this listener only cares when a directory is removed  addrbookSession.addAddressBookListener(gAddressBookAbListener, Components.interfaces.nsIAbListener.directoryRemoved);  // initialize the customizeDone method on the customizeable toolbar  var toolbox = document.getElementById("ab-toolbox");  toolbox.customizeDone = MailToolboxCustomizeDone;  var toolbarset = document.getElementById('customToolbars');  toolbox.toolbarset = toolbarset;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d6eeed9f2acb0ac5563577a11692704d00ca979d/addressbook.js/buggy/mail/components/addrbook/content/addressbook.js