rem:  node.expand(); node.collapse(); 
add: if (node.expanded) { node.collapse(); } else { node.updateIcon(); } 
context:     removeChildren: function(node) {        this.logger.log("Removing children for " + node);        while (node.children.length) {             this._deleteNode(node.children[0]);        }        node.childrenRendered = false;        node.dynamicLoadComplete = false;        // node.collapse();        node.expand();        node.collapse();    },
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/treeview-debug.js/clean/www/resources/yui/treeview/treeview-debug.js