rem: top.window.title = gAddressBookBundle.getFormattedString(editCard.titleProperty, [ displayName ]); 
add:  SetCardDialogTitle(displayName); 
context: function GenerateDisplayName(){  if ( editCard.generateDisplayName )  {    var displayName;    var firstNameField = document.getElementById('FirstName');    var lastNameField = document.getElementById('LastName');    var displayNameField = document.getElementById('DisplayName');    if (lastNameField.value && firstNameField.value) {      if ( editCard.displayLastNameFirst )        displayName = gAddressBookBundle.getFormattedString("lastFirstFormat",[ lastNameField.value, firstNameField.value ]);      else        displayName = gAddressBookBundle.getFormattedString("firstLastFormat",[ firstNameField.value, lastNameField.value ]);    }    else {      // one (or both) of these is empty, so this works.      displayName = firstNameField.value + lastNameField.value;    }    displayNameField.value = displayName;        top.window.title = gAddressBookBundle.getFormattedString(editCard.titleProperty,                                                                 [ displayName ]);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/70d7cb685c01273409b91e5dcc79890e17d8108e/abCardOverlay.js/clean/mail/components/addrbook/content/abCardOverlay.js