/* 
	the format of the tree definition file is simple,
	you can find specification in the product documentation at:
	
	http://www.softcomplex.com/products/tigra_tree_menu_pro/docs/#hierarchy
*/

//prepare icon-set for floppy item
var tree_iconset_base = {
	'i0' : '../MODMENU/images/base.gif',	//Icon for item
	'i4' : '../MODMENU/images/base.gif',	//Icon for selected item
	'i64' : '../MODMENU/images/base.gif',//Icon for item when mouse is over it
	'i68' : '../MODMENU/images/base.gif'	//Icon for selected item when mouse is over it
};
//prepare icon-set for HDD item
var tree_iconset_hdd = {
	'i0' : '../MODMENU/images/base2.gif',	//Icon for item
	'i4' : '../MODMENU/images/base2.gif',	//Icon for selected item
	'i8' : '../MODMENU/images/base2.gif',	//Icon for opened item
	'i12' : '../MODMENU/images/base2.gif',	//Icon for selected opened item
	'i64' : '../MODMENU/images/base2.gif',	//Icon for item when mouse is over it
	'i68' : '../MODMENU/images/base2.gif', //Icon for selected item when mouse is over it
	'i72' : '../MODMENU/images/base2.gif', //Icon for opened item when mouse is over it
	'i76' : '../MODMENU/images/base2.gif'	//Icon for selected opened item when mouse is over it
};
//prepare icon-set for cd-rom item
var tree_iconset_cd = {
	'i0' : 'images/cddrive.gif',//Icon for item
	'i4' : 'images/cddrive.gif',//Icon for selected item
	'i64' : 'images/cddrive.gif',//Icon for item when mouse is over it
	'i68' : 'images/cddrive.gif'//Icon for selected item when mouse is over it
};

function join_objects(){
	var x = [];
	for(var i=0; arguments && i < arguments.length; i++)
		for(var k in arguments[i]) x[k] = arguments[i][k];
	return x;
}



var TREE_ITEMS = [
	['Home','main.html', join_objects(tree_iconset_base),
		['Resources', 0,  0,
			['Resources', 'coursetools/course_resources.html'],
			['Class Glossary', 'coursetools/glossary.html'],
			['How-To', 'coursetools/How_To_Dos.html'],
			['Planning 10 IRP', 'http://www.bced.gov.bc.ca/irp/irp.htm'],
			['Resume &<BR>Cover Letter Help', 'coursetools/getting_hired_resources/index.htm'],
			['Course <BR> Information', 'coursetools/vclass_recording_list.html'],
		],
		['Start Here', 0, {'tt' : 'Start Here', 'sb' : 'Start-Here-First-Assignment'},
			['Academic <BR> Integrity','Getting Started/Academic_Integrity.html'],
			
		],

				['Module 1', 0, {'tt' : 'Module 1', 'sb' : 'Module 1'},
				 ['Intro','Mod1/Intro.html'],
				['Section 1', 0, {'tt' : 'Module 1 - Section 1', 'sb' : 'Module 1 - Section 1'},
					['Lesson A','Mod1/Section1/Lesson_1.html'],
					['Lesson B','Mod1/Section1/Lesson_2.html'],
					['Lesson C','Mod1/Section1/Lesson_3.html'],
					['Lesson D','Mod1/Section1/Lesson_4.html'],
					['Lesson E','Mod1/Section1/Lesson_5.html'],
					['Lesson F','Mod1/Section1/Lesson_6.html'],
				],
				['Section 2', 0, {'tt' : 'Module 1 - Section 2', 'sb' : 'Module 1 - Section 2'},
					['Lesson A','Mod1/Section2/Lesson_1.html'],
					['Lesson B','Mod1/Section2/Lesson_2.html'],
					['Lesson C','Mod1/Section2/Lesson_3.html'],
					['Lesson D','Mod1/Section2/Lesson_4.html'],
					['Lesson E','Mod1/Section2/Lesson_5.html'],
				],
				['Section 3', 0, {'tt' : 'Module 1 - Section 3', 'sb' : 'Module 1 - Section 3'},
					['Lesson A','Mod1/Section3/Lesson_1.html'],
					['Lesson B','Mod1/Section3/Lesson_2.html'],
					['Lesson C','Mod1/Section3/Lesson_3.html'],
					['Lesson D','Mod1/Section3/Lesson_4.html'],
					['Lesson E','Mod1/Section3/Lesson_5.html'],
					['Lesson F','Mod1/Section3/Lesson_6.html'],
				],
				['Section 4', 0, {'tt' : 'Module 1 - Section 4', 'sb' : 'Module 1 - Section 4'},
					['Lesson A','Mod1/Section4/Lesson_1.html'],
					['Lesson B','Mod1/Section4/Lesson_2.html'],
					['Lesson C','Mod1/Section4/Lesson_3.html'],
				],
			],
			['Module 2', 0, {'tt' : 'Module 2', 'sb' : 'Module 2'},
				 ['Intro','Mod2/Intro.html'],
				['Section 1', 0, {'tt' : 'Module 2 - Section 1', 'sb' : 'Module 2 - Section 1'},
					['Lesson A','Mod2/Section1/Lesson_1.html'],
					['Lesson B','Mod2/Section1/Lesson_2.html'],
					['Lesson C','Mod2/Section1/Lesson_3.html'],
				],
				['Section 2', 0,  {'tt' : 'Module 2 - Section 2', 'sb' : 'Module 2 - Section 2'},
					['Lesson A','Mod2/Section2/Lesson_1.html'],
					['Lesson B','Mod2/Section2/Lesson_2.html'],
					['Lesson C','Mod2/Section2/Lesson_3.html'],
					['Lesson D','Mod2/Section2/Lesson_4.html'],
			    ],
				['Section 3', 0,  {'tt' : 'Module 2 - Section 3', 'sb' : 'Module 2 - Section 3'},
					['Lesson A','Mod2/Section3/Lesson_1.html'],
					['Lesson B','Mod2/Section3/Lesson_2.html'],
					['Lesson C','Mod2/Section3/Lesson_3.html'],
					['Lesson D','Mod2/Section3/Lesson_4.html'],
					['Lesson E','Mod2/Section3/Lesson_5.html'],
				],
			],
			['Module 3', 0, {'tt' : 'Module 3', 'sb' : 'Module 3'},
				 ['Intro','Mod3/Intro.html'],
				['Section 1', 0,  {'tt' : 'Module 3 - Section 1', 'sb' : 'Module 3 - Section 1'},
					['Lesson A','Mod3/Section1/Lesson_1.html'],
					['Lesson B','Mod3/Section1/Lesson_2.html'],
					['Lesson C','Mod3/Section1/Lesson_3.html'],
					['Lesson D','Mod3/Section1/Lesson_4.html'],
				],
				['Section 2', 0,  {'tt' : 'Module 3 - Section 2', 'sb' : 'Module 3 - Section 2'},
					['Lesson A','Mod3/Section2/Lesson_1.html'],
					['Lesson B','Mod3/Section2/Lesson_2.html'],
					['Lesson C','Mod3/Section2/Lesson_3.html'],
					['Lesson D','Mod3/Section2/Lesson_4.html'],
					['Lesson E','Mod3/Section2/Lesson_5.html'],
					['Lesson F','Mod3/Section2/Lesson_6.html'],
					['Lesson G','Mod3/Section2/Lesson_7.html'],
				],
				['Section 3', 0,  {'tt' : 'Module 3 - Section 3', 'sb' : 'Module 3 - Section 3'},
					['Lesson A','Mod3/Section3/Lesson_1.html'],
					['Lesson B','Mod3/Section3/Lesson_2.html'],
					['Lesson C','Mod3/Section3/Lesson_3.html'],
					['Lesson D','Mod3/Section3/Lesson_4.html'],
				],
			],
			['Module 4', 0, {'tt' : 'Module 4', 'sb' : 'Module 4'},
				['Intro','Mod4/Intro.html'],
				['Section 1', 0,  {'tt' : 'Module 4 - Section 1', 'sb' : 'Module 4 - Section 1'},
					['Lesson A','Mod4/Section1/Lesson_1.html'],
					['Lesson B','Mod4/Section1/Lesson_2.html'],
					['Lesson C','Mod4/Section1/Lesson_3.html'],
				],
				['Section 2', 0,  {'tt' : 'Module 4 - Section 2', 'sb' : 'Module 4 - Section 2'},
					['Lesson A','Mod4/Section2/Lesson_1.html'],
					['Lesson B','Mod4/Section2/Lesson_2.html'],
				    ['Lesson C','Mod4/Section2/Lesson_3.html'],
					['Lesson D','Mod4/Section2/Lesson_4.html'],
				],
			],
	]
];

var TREE_ITEMS2 = [
				   
		['TurnItIn', 'http://www.fvdes.com/sedvf/planning_10_hybrid/coursetools/turnitin/index.html', join_objects(tree_iconset_hdd),
		]
];

var TREE_ITEMS3 = [
				   
		['LXR Test', 'http://test.fvdes.com/', join_objects(tree_iconset_hdd),
		]
];


var TREE_ITEMS4 = [
				   
		['Check Marks', 'http://www.fvdes.com/marks/', join_objects(tree_iconset_hdd),
		]
];
