function init()
{
	//Main Menu Bar Items:
	menus[0] = new menu(19, "horizontal", 103, 97, -1, -1, "#FFFF99", "#3D59AB", "Arial", 8, 
		"bold", "bold", "black", "yellow", 1, "black", 1, 0, false, true, true, true, 5, false, 0, 0, "black");
	menus[0].addItem("index.htm", "", 88, "center", "Home", 1);
	menus[0].addItem("mechanical.htm", "", 88, "center", "Mechanical", 2);
	menus[0].addItem("electrical.htm", "", 88, "center", "Electrical", 3);
	menus[0].addItem("running_gear.htm", "", 88, "center", "Running Gear", 4);
	menus[0].addItem("brake_system.htm", "", 88, "center", "Brake System", 5);
	menus[0].addItem("consumables.htm", "", 88, "center", "Consumables", 6);
	menus[0].addItem("bodywork.htm", "", 88, "center", "Bodywork", 7);
	menus[0].addItem("miscellaneous.htm", "", 87, "center", "Miscellaneous", 8);	
	menus[0].addItem("contact_us.htm", "", 87, "center", "Contact Us", 0);
	menus[0].floatMenu(1024, 768, 10, 0);

//Sub Menu for 1st Menu Item ("Home"):
	menus[1] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[1].addItem("http://www.preserved-diesels.co.uk/news/index.htm", "", 19, "center", "PD Homepage", 0);
	menus[1].addItem("http://www.pdf.preserved-diesels.co.uk/", "", 19, "center", "PD Forum", 0);

//Sub Menu for 2nd Menu Item ("Mechanical"):
	menus[2] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[2].addItem("mechanical_bellows.htm", "", 19, "center", "Bellows", 0);
	menus[2].addItem("boilers.htm", "", 19, "center", "Boilers", 0);
	menus[2].addItem("engine_parts.htm", "", 19, "center", "Engine Parts", 0);
	menus[2].addItem("filters.htm", "", 19, "center", "Filters", 0);
	menus[2].addItem("fire_system.htm", "", 19, "center", "Fire System", 0);
	menus[2].addItem("fuel_valves.htm", "", 19, "center", "Fuel Valves", 0);
	menus[2].addItem("fuel_pumps.htm", "", 19, "center", "Fuel Pumps", 0);
	menus[2].addItem("gaskets.htm", "", 19, "center", "Gaskets", 0);
	menus[2].addItem("governor.htm", "", 19, "center", "Governor", 0);
	menus[2].addItem("heat_exchanger.htm", "", 19, "center", "Heat Exchanger", 0);
	menus[2].addItem("horns.htm", "", 19, "center", "Horns", 0);
	menus[2].addItem("injectors.htm", "", 19, "center", "Injectors", 0);
	menus[2].addItem("intercooler.htm", "", 19, "center", "Intercooler", 0);
	menus[2].addItem("mechanical_overhaul.htm", "", 19, "center", "Overhaul", 0);
	menus[2].addItem("piston_rings.htm", "", 19, "center", "Piston Rings", 0);
	menus[2].addItem("radiators.htm", "", 19, "center", "Radiators", 0);
	menus[2].addItem("mechanical_seals.htm", "", 19, "center", "Seals", 0);
	menus[2].addItem("thermostats.htm", "", 19, "center", "Thermostats", 0);
	menus[2].addItem("turbo.htm", "", 19, "center", "Turbo", 0);
	
//Sub Menu for 3rd Menu Item ("Electrical"):
	menus[3] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[3].addItem("anti_tracking.htm", "", 19, "center", "Anti Tracking", 0);
	menus[3].addItem("avr.htm", "", 19, "center", "AVR", 0);
	menus[3].addItem("batteries.htm", "", 19, "center", "Batteries", 0);
	menus[3].addItem("brushes.htm", "", 19, "center", "Brushes", 0);
	menus[3].addItem("electrical_cleaning.htm", "", 19, "center", "Cleaning", 0);
	menus[3].addItem("components.htm", "", 19, "center", "Components", 0);
	menus[3].addItem("fuses.htm", "", 19, "center", "Fuses", 0);
	menus[3].addItem("generators.htm", "", 19, "center", "Generators", 0);
	menus[3].addItem("electrical_overhaul.htm", "", 19, "center", "Overhaul", 0);
	menus[3].addItem("resistors.htm", "", 19, "center", "Resistors", 0);

//Sub Menu for 4th Menu Item ("Running Gear"):
	menus[4] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[4].addItem("running_gear_bearings.htm", "", 19, "center", "Bearings", 0);
	menus[4].addItem("running_gear_bellows.htm", "", 19, "center", "Bellows", 0);
	menus[4].addItem("buffers.htm", "", 19, "center", "Buffers", 0);
	menus[4].addItem("bushes.htm", "", 19, "center", "Bushes", 0);
	menus[4].addItem("running_gear_overhaul.htm", "", 19, "center", "Overhaul", 0);
	menus[4].addItem("ndt.htm", "", 19, "center", "NDT", 0);
	menus[4].addItem("tyres.htm", "", 19, "center", "Tyres", 0);
	menus[4].addItem("uat.htm", "", 19, "center", "UAT's", 0);
	menus[4].addItem("wheelsets.htm", "", 19, "center", "Wheelsets", 0);
	menus[4].addItem("white_metalling.htm", "", 19, "center", "White Metalling", 0);

//Sub Menu for 5th Menu Item ("Brake System"):
	menus[5] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[5].addItem("air_tanks.htm", "", 19, "center", "Air Tanks", 0);
	menus[5].addItem("brake_valves.htm", "", 19, "center", "Brake Valves", 0);
	menus[5].addItem("brake_hoses.htm", "", 19, "center", "Hoses", 0);
	menus[5].addItem("brake_overhaul.htm", "", 19, "center", "Overhaul", 0);
	menus[5].addItem("brake_spares.htm", "", 19, "center", "Spares", 0);

//Sub Menu for 6th Menu Item ("Consumables"):
	menus[6] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[6].addItem("brake_blocks.htm", "", 19, "center", "Brake Blocks", 0);
	menus[6].addItem("calibration.htm", "", 19, "center", "Calibration", 0);
	menus[6].addItem("gauges.htm", "", 19, "center", "Gauges", 0);
	menus[6].addItem("lagging.htm", "", 19, "center", "Lagging", 0);
	menus[6].addItem("lubrication.htm", "", 19, "center", "Lubrication", 0);
	menus[6].addItem("nuts&bolts.htm", "", 19, "center", "Nuts & Bolts", 0);
	menus[6].addItem("oil_analysis.htm", "", 19, "center", "Oil Analysis", 0);
	menus[6].addItem("pipes.htm", "", 19, "center", "Pipes", 0);
	menus[6].addItem("springs.htm", "", 19, "center", "Springs", 0);
	menus[6].addItem("wipers.htm", "", 19, "center", "Wipers", 0);

//Sub Menu for 7th Menu Item ("Bodywork"):
	menus[7] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[7].addItem("chrome_plating.htm", "", 19, "center", "Chrome Plating", 0);	
	menus[7].addItem("cutting.htm", "", 19, "center", "Cutting", 0);
	menus[7].addItem("decals.htm", "", 19, "center", "Decals", 0);
	menus[7].addItem("fabricators.htm", "", 19, "center", "Fabricators", 0);
	menus[7].addItem("glazing.htm", "", 19, "center", "Glazing", 0);
	menus[7].addItem("headcode_blinds.htm", "", 19, "center", "Headcodes", 0);	
	menus[7].addItem("nameplates.htm", "", 19, "center", "Nameplates", 0);
	menus[7].addItem("paint.htm", "", 19, "center", "Paint", 0);
	menus[7].addItem("plastics.htm", "", 19, "center", "Plastics", 0);
	menus[7].addItem("bodywork_seals.htm", "", 19, "center", "Seals", 0);
	menus[7].addItem("steel.htm", "", 19, "center", "Steel", 0);
	menus[7].addItem("tarpaulins.htm", "", 19, "center", "Tarpaulins", 0);
	menus[7].addItem("upholstery.htm", "", 19, "center", "Upholstery", 0);
	menus[7].addItem("welding.htm", "", 19, "center", "Welding", 0);
	
//Sub Menu for 8th Menu Item ("Miscellaneous"):
	menus[8] = new menu(90, "vertical", 0, 0, 0, 0, "#FFFF99", "#3D59AB", "Arial", 8,  "bold", 
		"bold", "black", "yellow", 1, "black", 1, 0, false, true, false, true, 5, false, 0, 0, "black");
	menus[8].addItem("containers.htm", "", 19, "center", "Containers", 0);
	menus[8].addItem("crane_hire.htm", "", 19, "center", "Crane Hire", 0);
	menus[8].addItem("digs.htm", "", 19, "center", "Digs", 0);
	menus[8].addItem("extinguishers.htm", "", 19, "center", "Extinguishers", 0);
	menus[8].addItem("haulage.htm", "", 19, "center", "Haulage", 0);
	menus[8].addItem("heat_treatment.htm", "", 19, "center", "Heat Treatment", 0);
	menus[8].addItem("otmr_tpws.htm", "", 19, "center", "OTMR/TPWS", 0);
	menus[8].addItem("plant_hire.htm", "", 19, "center", "Plant Hire", 0);
	menus[8].addItem("ppe.htm", "", 19, "center", "PPE", 0);
	menus[8].addItem("printing.htm", "", 19, "center", "Printing", 0);
	menus[8].addItem("rolling_stock.htm", "", 19, "center", "Rolling Stock", 0);
	menus[8].addItem("miscellaneous_spares.htm", "", 19, "center", "Spares", 0);
	menus[8].addItem("van_hire.htm", "", 19, "center", "Van Hire", 0);

} //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.
