// Tree format definition var TREE_FORMAT = [ //0. left position 0, //1. top position 0, //2. show +/- buttons true, //3. couple of button images (collapsed/expanded/blank) ["img/b.gif", "img/b.gif", "img/b.gif"], //4. size of images (width, height,ident for nodes w/o children) [1,1,1], //5. show folder image true, //6. folder images (closed/opened/document) ["img/c.gif", "img/e.gif", "img/d3.gif"], //7. size of images (width, height) [16,16], //8. identation for each level [0/*first level*/, 16/*second*/, 32/*third*/,...] [0,16,32,48,64,80,96,112,124], //9. tree background color ("" - transparent) "", //10. default style for all nodes "tree_4", //11. styles for each level of menu (default style will be used for undefined levels) ["tree_1","tree_2"],//["clsNodeL0","clsNodeL1","clsNodeL2","clsNodeL3","clsNodeL4"], //12. true if only one branch can be opened at same time true, //13. item pagging and spacing [0,2], //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) ["img/page.gif","img/page.gif","img/page.gif","img/arrow_open_grey.gif","img/arrow_open_grey.gif","img/arrow_close_grey.gif","img/arrow_close_grey.gif","img/b.gif","img/b.gif","img/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 [140,50], //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 ["","EEEEEE"], //23. text wrapping margin 140, //24. vertical alignment for buttons and icons "top" ];