var TREE_FORMAT = [ //0. left position 0, //1. top position 0, //2. show +/- buttons false, //3. couple of button images (collapsed/expanded/blank) ["images/c.gif", "images/e.gif", "images/b.gif"], //4. size of images (width, height,ident for nodes w/o children) [10,10,10], //5. show folder image true, //6. folder images (closed/opened/document) ["images/fc.gif", "images/fe.gif", "images/i.gif"], //7. size of images (width, height) [16,16], //8. identation for each level [0/*first level*/, 16/*second*/, 32/*third*/,...] [0,1,2,3,4,5,96,112,124], //9. tree background color ("" - transparent) "", //10. default style for all nodes "clsExpNode", //11. styles for each level of menu (default style will be used for undefined levels) ["clsNodeL1","clsNodeL2"], //12. true if only one branch can be opened at same time true, //13. item pagging and spacing [0,0], /************** PRO EXTENSIONS ********************/ //14. draw explorer like tree ( identation will be ignored ) true, //15. Set of explorer images (folder, openfolder, page, minus, minusbottom, plus, plusbottom, line, join, joinbottom) ["images/left.gif","images/down.gif","images/page.gif","images/b.gif","images/b.gif","images/b.gif","images/b.gif","images/b.gif","images/b.gif","images/b.gif"], //16. Explorer images width/height [10,10], //17. if true state will be saved in cookies true, //18. if true - relative position will be used. (tree will be opened in place where init() was called) true, //19. width and height of initial rectangle for relative positioning [132,84], //20. resize background //works only under IE4+, NS6+ for relatiive positioning true, //21. support bgcolor changing for selected node true, //22. background color for non-selected and selected node ["#ffffff","#ffffff", "selectedNode"] ];