// Tree format definition
var TREE4_FORMAT = [
	//  0. left position
	0,
	//  1. top position
	0,
	//  2. show buttons ("+" and "-" images)
	false,
	//  3. button images: collapsed state, expanded state, blank image
	[ , , "images/blank.gif"],
	//  4. size of buttons: width, height, indent amount for childless nodes
	[16, 16, 0],
	//  5. show icons ("folder" and "document")
	true,
	//  6. icon images: closed folder, opened folder, document
	[
		"images/rich_btn_c.gif",
		"images/rich_btn_e.gif",
		"images/rich_2_left.gif"
	],
	//  7. size of icons: width, height
	[16, 16],
	//  8. indent amount for each level of the tree
	[0],
	//  9. background color for the tree
	"",
	// 10. default CSS class for nodes
	"treeNodeRich0",
	// 11. individual CSS classes for levels of the tree
	[ "treeNodeRich0", "treeNodeRich1" ],
	// 12. "single branch" mode
	true,
	// 13. padding and spacing values for all nodes
	[0, 0],
	// 14. "explorer-like" mode
	false,
	// 15. images for "explorer-like" mode
	[],
	// 16. size of images for "explorer-like" mode: width, height
	[19, 16],
	// 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
	["", "", ""],
	// 23. text wrapping margin
	150,
	// 24. vertical alignment for buttons and icons
	"middle"
];

// Tree structure definition
var TREE4_NODES = [
	["Sed Ut Perspiciatis", null, null, {format:{expanded:true}},
		["Accusantium Dolorem", null, null],
		["Laudantium, Totam", null, null],
		["Aperiam Eaque", null, null],
		["Ipsa", null, null],
		["Quae Ab", null, null]
	],
	["Unde Omnis Iste", null, null,
		["Illo Inventore", null, null],
		["Veritatis Et Quasi", null, null],
		["Architecto Beatae", null, null]
	],
	["Natus Error", null, null,
		["Vitae Dicta Sunt", null, null],
		["Explicabo", null, null],
		["Nemo Enim", null, null],
		["Ipsam Voluptatem", null, null],
		["Quia Voluptas Sit", null, null]
	],
	["Sit Voluptatem", null, null,
		["Aspernatur Aut", null, null],
		["Odit Aut", null, null],
		["Fugit", null, null],
		["Quia Consequuntur", null, null]
	]
];

with (new COOLjsTreePRO("tree4", TREE4_NODES, TREE4_FORMAT))
{
	init();
}