rem: var bucketTree = document.getElementById("addressBucket"); var removeButton = document.getElementById("remove");  if (removeButton && bucketTree && bucketTree.selectedItems && bucketTree.selectedItems.length) removeButton.removeAttribute("disabled"); else removeButton.setAttribute("disabled", "true"); 
add: var bucketTree = document.getElementById("addressBucket"); var removeButton = document.getElementById("remove");  if (removeButton && bucketTree && bucketTree.selectedItems && bucketTree.selectedItems.length) removeButton.removeAttribute("disabled"); else removeButton.setAttribute("disabled", "true"); 
context: function DialogBucketPaneSelectionChanged(){	var bucketTree = document.getElementById("addressBucket");	var removeButton = document.getElementById("remove");		if (removeButton && bucketTree && bucketTree.selectedItems && bucketTree.selectedItems.length)		removeButton.removeAttribute("disabled");	else 		removeButton.setAttribute("disabled", "true");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/abSelectAddressesDialog.js/clean/mailnews/addrbook/resources/content/abSelectAddressesDialog.js