rem: if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.arguments[0].okCallback; if ( window.arguments[0].abURI ) editCard.abURI = window.arguments[0].abURI; }    if ( editCard.generateDisplayName && (editCard.card.firstName.length + editCard.card.lastName.length + editCard.card.displayName.length > 0) ) { editCard.generateDisplayName = false; }  GetCardValues(editCard.card, document); 
add: editCard.titleProperty = "editCardTitle";  if (window.arguments && window.arguments[0]) { if ( window.arguments[0].card ) editCard.card = window.arguments[0].card; if ( window.arguments[0].okCallback ) editCard.okCallback = window.arguments[0].okCallback; if ( window.arguments[0].abURI ) editCard.abURI = window.arguments[0].abURI; }    if ( editCard.generateDisplayName && (editCard.card.firstName.length + editCard.card.lastName.length + editCard.card.displayName.length > 0) ) { editCard.generateDisplayName = false; }  GetCardValues(editCard.card, document); 
context: function OnLoadEditCard(){	InitEditCard();		doSetOKCancel(EditCardOKButton, 0);	editCard.titleProperty = "editCardTitle";	if (window.arguments && window.arguments[0])	{		if ( window.arguments[0].card )			editCard.card = window.arguments[0].card;		if ( window.arguments[0].okCallback )			editCard.okCallback = window.arguments[0].okCallback;		if ( window.arguments[0].abURI )			editCard.abURI = window.arguments[0].abURI;	}				// set global state variables	// if first or last name entered, disable generateDisplayName	if ( editCard.generateDisplayName && (editCard.card.firstName.length +										  editCard.card.lastName.length +										  editCard.card.displayName.length > 0) )	{		editCard.generateDisplayName = false;	}		GetCardValues(editCard.card, document);  var displayName = editCard.card.displayName;  top.window.title = gAddressBookBundle.getFormattedString(editCard.titleProperty,                                                           [ displayName ]);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b2dd2b2d2fd037df917e07645fa019a963332a5/abCardOverlay.js/clean/mailnews/addrbook/resources/content/abCardOverlay.js