This event calls user-defined handlers (if there are any) and passes the following parameters:
tree.attachEvent("onSelect", function(id){});