rem:  var childClass = getChildClass(treeItem); if (childClass == "hidden") { toggleExpandState(treeItem); } 
context: function mergeChildren(treeItem, nodes) {    var placeholderDiv = findChild(treeItem, "DIV");    var childAdded = false;    if (nodes) {              for (var i = 0; i < nodes.length; i++) {            var node = nodes[i];            if (node.tagName == "node") {                if (placeholderDiv && placeholderDiv.className == "unopened") {                    treeItem.removeChild(placeholderDiv);                    placeholderDiv = null;                }                var title = node.getAttribute("title");                var isLeaf = node.getAttribute("is_leaf");                var href = node.getAttribute("href");                var image = node.getAttribute("image");                var id = node.getAttribute("id");                var childItem = mergeChild(treeItem, id, title, href, image, isLeaf);                var isSelected = node.getAttribute("is_selected");                if (!isLeaf) {                    mergeChildren(childItem, node.childNodes);                }                if (isSelected) {                    selectedNode = childItem;                }                childAdded = true;            }        }        }     if (childAdded) {         changeExpanderImage(treeItem, true);      }          // Expand this node if it was collapsed             var childClass = getChildClass(treeItem);    if (childClass == "hidden") {        toggleExpandState(treeItem);    }    }
meta: 10107	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10107/d87812681d401d59cbaf009a65b38f2407566676/helptreechildren.js/clean/org.eclipse.help.webapp/advanced/helptreechildren.js