rem: RemoveNameFromAttArray(JSEAttrs, attr); 
add: RemoveNameFromAttArray(attr, JSEAttrs); 
context: function RemoveAttribute( treeId ){  var tree = document.getElementById(treeId);  if (!tree) return;    var kids = tree.lastChild;  // treechildren element of tree  var newIndex = tree.selectedIndex;  // We only allow 1 selected item  if (tree.selectedItems.length)  {    var item = tree.selectedItems[0];    // Name is the value of the treecell    var attr = TrimString(item.firstChild.firstChild.getAttribute("value"));    // remove the item from the attribute arrary    switch ( tree.id ) {      case "HTMLATree":        HTMLRAttrs[HTMLRAttrs.length] = attr;        if (newIndex >= (HTMLAttrs.length-1))          newIndex--;        RemoveNameFromAttArray(HTMLAttrs, attr);        break;      case "CSSATree":           // We write a completely new "style" string, so we don't need "remove" array        //CSSRAttrs[CSSRAttrs.length] = attr;        if (newIndex >= (CSSAttrs.length-1))          newIndex--;        RemoveNameFromAttArray(CSSAttrs, attr);        break;      case "JSEATree":        JSERAttrs[JSERAttrs.length] = attr;        if (newIndex >= (JSEAttrs.length-1))          newIndex--;        RemoveNameFromAttArray(JSEAttrs, attr);        break;            default: break;    }    // Remove the item from the tree    kids.removeChild (item);    // Reselect an item    tree.selectedIndex = newIndex;    SelectTreeItem(tree);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/22ff42aa90e2af132a3be709f35ae3712b256d3a/EdAdvancedEdit.js/clean/editor/ui/dialogs/content/EdAdvancedEdit.js