rem: var SelectedItem = Listbox.selectedItem;  if(SelectedItem) Listbox.removeChild(SelectedItem); 
add: if(SelectedItem) attachmentListbox.removeChild(SelectedItem); 
context: function removeSelectedAttachment(){   var Listbox = document.getElementById("attachmentBucket");   var SelectedItem = Listbox.selectedItem;   if(SelectedItem)      Listbox.removeChild(SelectedItem);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7cf8f4a5a133269c8abdbc4d7ed791799ba534d2/eventDialog.js/clean/calendar/resources/content/eventDialog.js