rem:   /*var tempNode = this._isRootItemParent(node);  if (tempNode != null) { if (tempNode.tw_expanded == state) return; tempNode.tw_expanded = state; tempNode.nextSibling.style.display = state ? "block" : "none"; return; }*/  
context:     _setExpanded: function(node, state, sendEvent) {        //If the node is on the rootItem branch, change the         // visibility of the treeTop div.        /*var tempNode = this._isRootItemParent(node);                if (tempNode != null) {            if (tempNode.tw_expanded == state) return;            tempNode.tw_expanded = state;            tempNode.nextSibling.style.display = state ? "block" : "none";            return;        }*/                while (node.className != "treeRow") node = node.parentNode;        if (node.tw_isLeaf || node.tw_expanded == state) return;        node.tw_expanded = state;                if (state) {            node.imageNode.src = node == node.parentNode.lastChild ? tw_Tree.imageExpandBottom : tw_Tree.imageExpand;        } else {            node.imageNode.src = node == node.parentNode.lastChild ? tw_Tree.imageUnexpandBottom : tw_Tree.imageUnexpand;        }                node.subNodes.style.display = state ? "block" : "none";                    if (this._treeTop.firstChild == node) this._makeTopImage();        if (sendEvent) this.firePropertyChange("itemExpanded", (state ? "t" : "f") + this._fullIndex(node));    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/24e02545b42a490e7acd2cb4e45328f823b29e40/Tree.js/clean/src/thinwire/render/web/resources/Tree.js