rem: var item = gDialog.AddCSSAttributeTree.selectedItems[0]; 
add: var item = getSelectedItem(gDialog.AddCSSAttributeTree); 
context: function RemoveCSSAttribute(){  var treechildren = gDialog.AddCSSAttributeTree.lastChild;  // We only allow 1 selected item  if (gDialog.AddCSSAttributeTree.selectedItems.length)  {    var item = gDialog.AddCSSAttributeTree.selectedItems[0];    // Remove the item from the tree    // We always rebuild complete "style" string,    //  so no list of "removed" items     treechildren.removeChild (item);    ClearCSSInputWidgets();  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/EdAECSSAttributes.js/buggy/editor/ui/dialogs/content/EdAECSSAttributes.js