rem: treeChildren.parentNode.selectItem(item); 
add: selectTreeItem(treeChildren, item); 
context: function GetAndSelectExistingAttributeValue( attName, treeChildrenId ){  if (!attName)    return "";  var treeChildren = document.getElementById(treeChildrenId);  var name;  var i;  for (i = 0; i < treeChildren.childNodes.length; i++)  {    var item = treeChildren.childNodes[i];    name = GetTreeItemAttributeStr(item);    if (name.toLowerCase() == attName.toLowerCase())    {      // Select item in the tree      //  but don't trigger the tree's onSelect handler      gDoOnSelectTree = false;      try {        treeChildren.parentNode.selectItem(item);      } catch (e) {}      gDoOnSelectTree = true;      // Get the text in the "value' column treecell      return GetTreeItemValueStr(item);    }  }  // Attribute doesn't exist in tree, so remove selection  gDoOnSelectTree = false;  try {    treeChildren.parentNode.clearSelection();  } catch (e) {}  gDoOnSelectTree = true;  return "";}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/EdAdvancedEdit.js/clean/editor/ui/dialogs/content/EdAdvancedEdit.js