// Tree format definition
var TREE_FORMAT = [
	//  0. left position
	0,
	//  1. top position
	0,
	//  2. show buttons ("+" and "-" images)
	true,
	//  3. button images: collapsed state, expanded state, blank image
	["", "gfx/e_vertical_line.gif", "gfx/tree_blank.gif"],
	//  4. size of buttons: width, height, indent amount for childless nodes
	[19, 16, 0],
	//  5. show icons ("folder" and "document")
	false,
	//  6. icon images: closed folder, opened folder, document
	["gfx/tree_closed_folder.gif", "gfx/tree_opened_folder.gif", "gfx/tree_document.gif"],
	//  7. size of icons: width, height
	[9, 9],
	//  8. indent amount for each level of the tree
	//  [0, 16, 32, 48, 64, 80, 96, 112, 128],
	[0, 9, 18, 27, 36, 45, 54, 63, 72],
	//  9. background color for the tree
	"",
	// 10. default CSS class for nodes
	"treeNode",
	// 11. individual CSS classes for levels of the tree
	["level1","level2","level3"],
	// 12. "single branch" mode
	false,
	// 13. padding and spacing values for all nodes
	[0, 3],//ywn edit org 0 0
	// 14. "explorer-like" mode
	true,
	// 15. images for "explorer-like" mode
	["gfx/e_folder_closed.gif", "gfx/e_folder_opened.gif", "gfx/e_document.gif"
		, "gfx/e_middle_button_expanded.gif", "gfx/e_bottom_button_expanded.gif", "gfx/e_middle_button_collapsed.gif"
		, "gfx/e_bottom_button_collapsed.gif", "gfx/e_vertical_line.gif", "gfx/e_middle_join.gif"
		, "gfx/e_bottom_join.gif"],
	// 16. size of images for "explorer-like" mode: width, height
	[19, 20],
	// 17. store tree state into cookies
	false,
	// 18. relative positioning mode
	true,
	// 19. initial space for the relatively positioned tree: width, height
	[200, 50],
	// 20. resize container of the relatively positioned tree
	true,
	// 21. change background-color and style for selected node
	false,
	// 22. background color for unselected node, background color for selected node, class for selected node
	["white", "#999999", ["level1","level2","level3"],
	 ["level1","level2","level3"]],
	// 23. text wrapping margin
	0,
	// 24. vertical alignment for buttons and icons
	"middle"
];