element.treeElement.collapse(); 
if (event.altKey) element.treeElement.collapseRecursively(); else element.treeElement.collapse(); 
TreeElement.treeElementToggled = function(event){    var element = event.currentTarget;    if (!element || !element.treeElement)        return;    if (event.offsetX <= 20 && element.treeElement.hasChildren) {        if (element.treeElement.expanded) {            element.treeElement.collapse();        } else {            element.treeElement.expand();        }    }}
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/556ff5096f071e4f776690763c6de7c19fc3f4f4/treeoutline.js/buggy/WebKit/WebInspector/webInspector/treeoutline.js