fires before the tree is expanded
fmanager.attachEvent("onBeforeShowTree", function(){ // some code return true; });