gAddressBookBundle = document.getElementById("bundle_addressBook"); 
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();  //This migrates the LDAPServer Preferences from 4.x to mozilla format.  var ldapPrefs = null;  try {    ldapPrefs = Components.classes["@mozilla.org/ldapprefs-service;1"]                          .getService(Components.interfaces.nsILDAPPrefsService);  } catch (ex) {Components.utils.reportError("ERROR: Cannot get the LDAP service\n" + ex + "\n");}  if (ldapPrefs) {    ldapPrefs.migratePrefsIfNeeded();  }  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(Components.interfaces.nsIAddrBookSession);  // this listener cares when a directory (= address book), or a directory item  // is/are removed. In the case of directory items, we are only really  // interested in mailing list changes and not cards but we have to have both.  addrbookSession.addAddressBookListener(    gAddressBookAbListener,    Components.interfaces.nsIAddrBookSession.directoryRemoved |    Components.interfaces.nsIAddrBookSession.directoryItemRemoved);  var dirTree = GetDirTree();  dirTree.addEventListener("click",DirPaneClick,true);  // 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;  // Ensure we don't load xul error pages into the main window  window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)        .getInterface(Components.interfaces.nsIWebNavigation)        .QueryInterface(Components.interfaces.nsIDocShell)        .useErrorPages = false;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/d035c33587c29edb82d38bd38ea92da54a3948ac/addressbook.js/buggy/mail/components/addrbook/content/addressbook.js