Menu Tree - Javascript - Need it to open collapsed

I found an extension for Dreamweaver that automatically creates a tree menu by selecting a folder. Everything works fine except that when you open the page the entire tree is expanded. I can’t figure out how to make it so that the tree is collapsed when you load the page. Could someone help me out? Attached are the zipped htm file, style sheet and images. Thanks in advance.