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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/404e12e0541a3ffd54ae714e9a3401c380718f10/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js