rem: if ( editCard.selectedAB ) abPopup.value = editCard.selectedAB; 
add: if ( abPopup ) { if ( editCard.selectedAB ) abPopup.value = editCard.selectedAB; else abPopup.value = "abdirectory: } 
context: function OnLoadNewCard(){	InitEditCard();	doSetOKCancel(NewCardOKButton, 0);		editCard.card = 0;	editCard.okCallback = 0;	editCard.titlePrefix = newCardTitlePrefix;	if (window.arguments && window.arguments[0])	{		if ( window.arguments[0].selectedAB )			editCard.selectedAB = window.arguments[0].selectedAB;	}	// set popup with address book names	var abPopup = document.getElementById('abPopup');	if ( editCard.selectedAB )		abPopup.value = editCard.selectedAB;		//// FIX ME - looks like we need to focus on both the text field and the tab widget	//// probably need to do the same in the addressing widget		// focus on first name	var firstName = document.getElementById('FirstName');	if ( firstName )		firstName.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/728977951d42504278252f17846bf73fae114db6/abCardOverlay.js/buggy/mailnews/addrbook/resources/content/abCardOverlay.js