rem: if ( resultsTree && resultsTree.selectedItems && (resultsTree.selectedItems.length == 1) ) DisplayCardViewPane(resultsTree.selectedItems[0]); else ClearCardViewPane(); 
add: var card = GetSelectedCard();    OnClickedCard(card) 
context: function UpdateCardView(){	if ( resultsTree && resultsTree.selectedItems && (resultsTree.selectedItems.length == 1) )		DisplayCardViewPane(resultsTree.selectedItems[0]);	else		ClearCardViewPane();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d08d4d3f9753b01573c0820f3dc3010c62295d11/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js