rem: var cardList = tree.getElementsByAttribute("selected", "true"); 
add: var cardList = tree.selectedItems; 
context: function AbDelete(){	dump("\AbDelete from XUL\n");	var tree = document.getElementById('resultsTree');	if( tree )	{		//get the selected elements		var cardList = tree.getElementsByAttribute("selected", "true");		//get the current folder		var srcDirectory = document.getElementById('resultsTree');		dump("srcDirectory = " + srcDirectory + "\n");		top.addressbook.DeleteCards(tree, srcDirectory, cardList);	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0f9ab3948ce23d28ae09778da5e0b423aeb7f95f/addressbook.js/clean/mailnews/addrbook/resources/content/addressbook.js