// create arrays that hold the file names of the html pages in each section
// most sections have only one page
var home_section = new Array('home.html');
var info_section = new Array('info_01.html');

var energy_section = new Array('energy_01.html');

var ferrous_section = new Array( 'ferrous_01.html', 
												'ferrous_02.html', 
												'ferrous_03.html',
												'ferrous_04.html',
												'ferrous_05.html',
												'ferrous_06.html',
												'ferrous_07.html',
												'ferrous_08.html',
												'ferrous_09.html',
												'ferrous_10.html'
												);
											
var food_section = new Array('food_01.html');

var non_ferrous_section = new Array('non_ferrous_01.html',
														'non_ferrous_02.html',
														'non_ferrous_03.html'
														);

var oil_section = new Array('oil_01.html');
var civil_section = new Array('civil_01.html');
var mechanical_section = new Array('mechanical_01.html');
var electrical_section = new Array('elec_01.html');
var environmental_section = new Array('environ_01.html');

var machinery_section = new Array('mach_01.html',
													'mach_02.html',
													'mach_03.html',
													'mach_04.html',
													'mach_05.html',
													'mach_06.html',
													'mach_07.html',
													'mach_08.html',
													'mach_09.html',
													'mach_10.html',
													'mach_11.html',
													'mach_12.html',
													'mach_13.html',
													'mach_14.html',
													'mach_15.html',
													'mach_16.html',
													'mach_17.html',
													'mach_18.html',
													'mach_19.html',
													'mach_20.html'
													);
var turnkey_section = new Array('turn_01.html');

var simulations_section = new Array('sim_01.html');

var email_section = new Array('mailto:joyce.gergets@snclavalin.com');

var prev_section = new Array('');
var home_alt_section = new Array('');
var next_section = new Array('');
var brochure_section = new Array('brochure_01.html');



////////////////////////////////////////////////////////////////////
//	create Navigation object
////////////////////////////////////////////////////////////////////
var nav_obj = new Navigation();

//	add properties to nav_obj

nav_obj.home = new Nav_Slice(
							"images/unvisited/nav_bar_01.gif", 
							"images/unvisited/nav_bar_01.gif", 
							"images/unvisited/nav_bar_01.gif", 
							"images/unvisited/nav_bar_01.gif", 
							'home',
							home_section
							);
							
nav_obj.info = new Nav_Slice(
							"images/unvisited/nav_bar_03.gif",
							"images/active/nav_bar_03.gif",
							"images/visited/nav_bar_03.gif", 
							"images/hover/nav_bar_03.gif", 
							'info',
							info_section
							);
						
nav_obj.energy = new Nav_Slice(
							"images/unvisited/nav_bar_05.gif", 
							"images/active/nav_bar_05.gif", 
							"images/visited/nav_bar_05.gif", 
							"images/hover/nav_bar_05.gif", 
							'energy',
							energy_section
							);
			
nav_obj.ferrous = new Nav_Slice(
							"images/unvisited/nav_bar_06.gif", 
							"images/active/nav_bar_06.gif", 
							"images/visited/nav_bar_06.gif", 
							"images/hover/nav_bar_06.gif", 
							'ferrous',
							ferrous_section
							);
							
nav_obj.food = new Nav_Slice(
							"images/unvisited/nav_bar_07.gif", 
							"images/active/nav_bar_07.gif", 
							"images/visited/nav_bar_07.gif", 
							"images/hover/nav_bar_07.gif", 
							'food',
							food_section
							);
				
nav_obj.non_ferrous = new Nav_Slice(
							"images/unvisited/nav_bar_08.gif", 
							"images/active/nav_bar_08.gif", 
							"images/visited/nav_bar_08.gif", 
							"images/hover/nav_bar_08.gif", 
							'non_ferrous',
							non_ferrous_section
							);
							
nav_obj.oil = new Nav_Slice(
							"images/unvisited/nav_bar_09.gif", 
							"images/active/nav_bar_09.gif", 
							"images/visited/nav_bar_09.gif", 
							"images/hover/nav_bar_09.gif", 
							'oil',
							oil_section
							);

nav_obj.civil = new Nav_Slice(
							"images/unvisited/nav_bar_11.gif", 
							"images/active/nav_bar_11.gif", 
							"images/visited/nav_bar_11.gif", 
							"images/hover/nav_bar_11.gif", 
							'civil',
							civil_section
							);

nav_obj.mechanical = new Nav_Slice(
							"images/unvisited/nav_bar_12.gif", 
							"images/active/nav_bar_12.gif", 
							"images/visited/nav_bar_12.gif", 
							"images/hover/nav_bar_12.gif", 
							'mechanical',
							mechanical_section
							);
							
nav_obj.electrical = new Nav_Slice(
							"images/unvisited/nav_bar_13.gif", 
							"images/active/nav_bar_13.gif", 
							"images/visited/nav_bar_13.gif", 
							"images/hover/nav_bar_13.gif", 
							'electrical',
							electrical_section
							);
							
nav_obj.environmental = new Nav_Slice(
							"images/unvisited/nav_bar_14.gif", 
							"images/active/nav_bar_14.gif", 
							"images/visited/nav_bar_14.gif", 
							"images/hover/nav_bar_14.gif", 
							'environmental',
							environmental_section
							);
						
nav_obj.machinery = new Nav_Slice(
							"images/unvisited/nav_bar_16.gif", 
							"images/active/nav_bar_16.gif", 
							"images/visited/nav_bar_16.gif", 
							"images/hover/nav_bar_16.gif", 
							'machinery',
							machinery_section
							);
							
nav_obj.turnkey = new Nav_Slice(
							"images/unvisited/nav_bar_18.gif", 
							"images/active/nav_bar_18.gif", 
							"images/visited/nav_bar_18.gif", 
							"images/hover/nav_bar_18.gif", 
							'turnkey',
							turnkey_section
							);
				
nav_obj.simulations = new Nav_Slice(
							"images/unvisited/nav_bar_20.gif", 
							"images/active/nav_bar_20.gif", 
							"images/visited/nav_bar_20.gif", 
							"images/hover/nav_bar_20.gif", 
							'simulations',
							simulations_section
							);
							
nav_obj.email = new Nav_Slice(
							"images/unvisited/alt_nav_bar_01.gif", 
							"images/active/alt_nav_bar_01.gif",
							"images/visited/alt_nav_bar_01.gif", 
							"images/hover/alt_nav_bar_01.gif", 
							'email',
							email_section
							);
					
nav_obj.prev = new Nav_Slice(
							"images/unvisited/clear.gif", 
							"images/active/alt_nav_bar_02.gif", 
							"images/visited/alt_nav_bar_02.gif", 
							"images/hover/alt_nav_bar_02.gif", 
							'prev',
							prev_section
							);

nav_obj.home_alt = new Nav_Slice(
							"images/unvisited/clear.gif", 
							"images/active/alt_nav_bar_03.gif", 
							"images/visited/alt_nav_bar_03.gif", 
							"images/hover/alt_nav_bar_03.gif", 
							'home_alt',
							home_section
							);
												
nav_obj.next = new Nav_Slice(
							"images/unvisited/clear.gif", 
							"images/active/alt_nav_bar_04.gif", 
							"images/visited/alt_nav_bar_04.gif", 
							"images/hover/alt_nav_bar_04.gif", 
							'next',
							next_section
							);
							
nav_obj.brochure = new Nav_Slice(
							"images/unvisited/alt_nav_bar_05.gif", 
							"images/active/alt_nav_bar_05.gif", 
							"images/visited/alt_nav_bar_05.gif", 
							"images/hover/alt_nav_bar_05.gif", 
							'brochure',
							brochure_section
							);
						


// the nav_slice_arr contains a list of the names of each Nav_Slice object that gets created
nav_obj.nav_slice_arr = new Array( "home", 
													"info",
													"energy",
													"ferrous",
													"food",
													"non_ferrous",
													"oil",
													"civil",
													"mechanical",
													"electrical",
													"environmental",
													"machinery",
													"turnkey",
													"simulations",
													"email",
													"prev",
													"home_alt",
													"next",
													"brochure"
													);
