var TREE_FORMAT = [ //0. left position 0, //1. top position 0, //2. show +/- buttons false, //3. couple of button images (collapsed/expanded/blank) ["", "", ""], //4. size of images (width, height,ident for nodes w/o children) [0,0,0], //5. show folder image false, //6. folder images (closed/opened/document) ["images/fc.gif", "images/fo.gif", "images/fd.gif"], //7. size of images (width, height) [20,20], //8. identation for each level [0/*first level*/, 16/*second*/, 32/*third*/,...] [40,40,40,40,40,0,0,0,0], //9. tree background color ("" - transparent) "", //10. default style for all nodes "clsNodeL3", //11. styles for each level of menu (default style will be used for undefined levels) ["clsNodeL0", "clsNodeL1", "clsNodeL2", "clsNodeL3"], //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 ) false, //15. Set of explorer images (folder, openfolder, page, minus, minusbottom, plus, plusbottom, line, join, joinbottom) ["", "", "", "", "", "", "", "", "", ""], //16. Explorer images width/height [0,0], //17. if true state will be saved in cookies false, //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 [150,300], //20. resize background //works only under IE4+, NS6+ for relatiive positioning true, //21. selected node highlighting mode flag true, //22. attributes for selected node: background color for unselected nodes, same for selected node, CSS class(es) for selected node(es), optional CSS class(es) for expanded node(es) ["", "", ["clsNodeL0_selected", "clsNodeL1_selected", "clsNodeL2_selected", "clsNodeL3_selected"], ["clsNodeL0_expanded", "clsNodeL1_expanded", "clsNodeL2_expanded", "clsNodeL3_expanded"] //[] ], //23. text wrapping margin ("0" means "do not wrap") 150, //24. vertical alignment for buttons and icons (applies to trees with non-zero text wrapping and explorer-like mode set to false "" ];