rem: for ( var item = selArray.length - 1; item >= 0; item-- ) body.removeChild(selArray[item]); 
add: var body = bucketTree.getElementById("bucketBody");  if ( body && bucketTree.selectedItems && bucketTree.selectedItems.length ) { for ( var item = bucketTree.selectedItems.length - 1; item >= 0; item-- ) body.removeChild(bucketTree.selectedItems[item]); } 
context: function RemoveSelectedFromBucket(){	var body = document.getElementById("bucketBody");		var selArray = body.getElementsByAttribute('selected', 'true');	if ( selArray && selArray.length )	{		for ( var item = selArray.length - 1; item >= 0; item-- )			body.removeChild(selArray[item]);	}	}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c8e44cb267df44e5d410235a9945f567d0c78080/abSelectAddressesDialog.js/buggy/mailnews/addrbook/resources/content/abSelectAddressesDialog.js