fires when a TreeView item has been clicked
myTreeView.attachEvent("onClick", function(id){ // your code here });
added in version 5.1