How to close folders in senoculars xml tree

Hi,
I am trying to use senocular’s exellent xml based tree view code( http://www.kirupa.com/web/xml/exampl…4ASclasses.htm )for one of my projects. What I would like to implement it the way senocular is proposing in his note “Class listing lag[COLOR=Black][SIZE=2][FONT=Verdana]” so that the folder will be unfolded from the beginning. I have no problems to load the icons when folded[COLOR=Black][SIZE=1][SIZE=2], but how making the folders unfolded from the beginning? I have been pulling my hair for several days now, but the double recursion make it very hard for me. Have anybody been doing this or know how to succeed?

/Frank[/SIZE][/SIZE][/COLOR][/FONT][/SIZE][/COLOR]