rem: gAddressBookBundle = document.getElementById("bundle_addressBook"); 
add: InitCommonJS();  
context: function InitEditCard(){  InitPhoneticFields();  gAddressBookBundle = document.getElementById("bundle_addressBook");  // Create gEditCard object that contains global variables for the current js  //   file.  gEditCard = new Object();  gEditCard.prefs = gPrefs;  // get specific prefs that gEditCard will need  try {    var displayLastNameFirst =        gPrefs.getComplexValue("mail.addr_book.displayName.lastnamefirst",                                Components.interfaces.nsIPrefLocalizedString).data;    gEditCard.displayLastNameFirst = (displayLastNameFirst == "true");    gEditCard.generateDisplayName =      gPrefs.getBoolPref("mail.addr_book.displayName.autoGeneration");  }  catch (ex) {    dump("ex: failed to get pref" + ex + "\n");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/d035c33587c29edb82d38bd38ea92da54a3948ac/abCardOverlay.js/buggy/mail/components/addrbook/content/abCardOverlay.js