rem: var selArray = tree.selectedItems; if ( selArray && (selArray.length == 1) ) DisplayCardViewPane(selArray[0]); 
add: if ( tree && tree.selectedItems && (tree.selectedItems.length == 1) ) DisplayCardViewPane(tree.selectedItems[0]); 
context: function ResultsPaneSelectionChange(){	// FIX ME! - Should use some js var to determine abmain vs selectaddress dialog	// not in ab window if no parent.parent.rdf	if ( parent.parent.rdf )	{		var tree = document.getElementById('resultsTree');				var selArray = tree.selectedItems;		if ( selArray && (selArray.length == 1) )			DisplayCardViewPane(selArray[0]);		else			ClearCardViewPane();	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0f9ab3948ce23d28ae09778da5e0b423aeb7f95f/abCommon.js/buggy/mailnews/addrbook/resources/content/abCommon.js