rem: var selArray = document.getElementById('resultsTree').getElementsByAttribute('selected', 'true'); 
add: var tree = document.getElementById('resultsTree'); 
context: function UpdateCardView(){	var selArray = document.getElementById('resultsTree').getElementsByAttribute('selected', 'true');	if ( selArray && selArray.length == 1 )		DisplayCardViewPane(selArray[0]);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c8e44cb267df44e5d410235a9945f567d0c78080/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js