// Tree format definition
var TREE3_FORMAT = [
	//  0. left position
	0,
	//  1. top position
	0,
	//  2. show buttons ("+" and "-" images)
	true,
	//  3. button images: collapsed state, expanded state, blank image
	[
		[ "images/large_button_collapsed.gif", "images/large_button_collapsed_o.gif", "images/large_button_collapsed_a.gif" ],
		[ "images/large_button_expanded.gif", "images/large_button_expanded_o.gif", "images/large_button_expanded_a.gif" ],
		"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/large_closed_folder.gif", "images/large_closed_folder_o.gif", "images/large_closed_folder_a.gif" ],
		[ "images/large_open_folder.gif", "images/large_open_folder_o.gif", "images/large_open_folder_a.gif" ],
		[ "images/large_document.gif", "images/large_document_o.gif", "images/large_document_a.gif" ]
	],
	//  7. size of icons: width, height
	[32, 32],
	//  8. indent amount for each level of the tree
	[0, 32, 64],
	//  9. background color for the tree
	"",
	// 10. default CSS class for nodes
	"largeTreeNode",
	// 11. individual CSS classes for levels of the tree
	[],
	// 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
	0,
	// 24. vertical alignment for buttons and icons
	"middle"
];

// Tree structure definition
var TREE3_NODES = [
	["Sed Ut Perspicia", null, null, {format:{expanded:true}},
		["Accusantium", null, null],
		["Laudantium", null, null],
		["Aperiam", null, null],
		["Ipsa", null, null],
		["Quae Ab", null, null]
	],
	["Unde Omnis Iste", null, null,
		["Illo Inven", null, null],
		["Veritatis", null, null],
		["Architecto", null, null]
	],
	["Natus Error", null, null,
		["Vitae Dicta", null, null],
		["Explicabo", null, null],
		["Nemo Enim", null, null],
		["Ipsam Volu", null, null],
		["Quia Volu", null, null]
	],
	["Sit Voluptatem", null, null,
		["Aspernatur", null, null],
		["Odit Aut", null, null],
		["Fugit", null, null],
		["Quia Cons", null, null]
	]
];

with (new COOLjsTreePRO("tree3", TREE3_NODES, TREE3_FORMAT))
{
	init();
}
