// Javascript Included Code Menu Config

<!--
	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (TransMenu.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
//		var menu1 = ms.addMenu(document.getElementById("home"));
//		menu1.addItem("Home", "");

//		var submenu0 = menu1.addMenu(menu1.items[0]);
//		submenu0.addItem("homeitem", "");
//		submenu0.addItem("homeitem", "");

		//==================================================================================================

		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("products"));
		menu1.addItem("Monothanes", "");
		menu1.addItem("Duothanes", "");
		menu1.addItem("Sealers", "");
		menu1.addItem("Stains", "");
		menu1.addItem("Oil Based", "");
		menu1.addItem("Additives", "");
		menu1.addItem("Cleaning Solvents", "");
				
		var submenu0 = menu1.addMenu(menu1.items[0]);
		submenu0.addItem("Monothane HS-50 gloss", "/monothanes-hs50.php");
		submenu0.addItem("45 Gloss", "/monothanes-45-gloss.php");
		submenu0.addItem("44 Gloss", "/monothanes-44-gloss.php");
		submenu0.addItem("Satin", "/monothanes-satin.php");
		submenu0.addItem("Matt", "/monothanes-matt.php");
				
		var submenu1 = menu1.addMenu(menu1.items[1]);
		submenu1.addItem("Part A", "/duothanes-part-a.php");
		submenu1.addItem("Part B", "/duothanes-part-b.php");
		submenu1.addItem("Fast A", "/duothane-fast-a.php");
		
		var submenu1 = menu1.addMenu(menu1.items[2]);
		submenu1.addItem("Timberseal", "/sealers-timberseal.php");
		submenu1.addItem("Concrete and Paving Gloss", "/sealers-concrete.php");
		
		var submenu1 = menu1.addMenu(menu1.items[3]);
		submenu1.addItem("Timber Stains", "/stains.php");
		submenu1.addItem("Extenders/Reducers", "/stains-extenders.php");
		
		var submenu1 = menu1.addMenu(menu1.items[4]);
		submenu1.addItem("Tungseal", "/oil based-tungseal.php");
		submenu1.addItem("Modified Oil - Gloss", "/oil-based-modified-gloss.php");
		submenu1.addItem("Modified Oil - Satin", "/oil-based-modified-satin.php");
		submenu1.addItem("Natural Decking Oil", "/oil-based-natural.php");
		
		var submenu1 = menu1.addMenu(menu1.items[5]);
		submenu1.addItem("Monothane Catalyst", "/additives-monothane.php");
		submenu1.addItem("Modified Oil and Tungseal Catalyst", "/additives-tungseal.php");
		submenu1.addItem("Flowmax", "/additives-flowmax.php");
		submenu1.addItem("Flowmate", "/additives-flowmate.php");
		submenu1.addItem("Thinners", "/additives-thinners.php");
		
		var submenu1 = menu1.addMenu(menu1.items[6]);
		submenu1.addItem("Cleaning Solvent", "/cleaning-solvent.php");
		submenu1.addItem("Timberclean", "/cleaning-timber.php");
		submenu1.addItem("Turpentine and White Spirits", "/cleaning-turpentine.php");
		submenu1.addItem("Methylated Spirits", "/cleaning-methylated spirits.php");	
				

		//==================================================================================================

		//==================================================================================================
//		var menu2 = ms.addMenu(document.getElementById("safety"));
//		menu2.addItem("NSW", "distributors-nsw.php");
//		menu2.addItem("QLD", "distributors-qld.php");
//		menu2.addItem("SA", "distributors-sa.php");
//		menu2.addItem("TAS", "distributors-tas.php");
//		menu2.addItem("VIC", "distributors-vic.php");
//		menu2.addItem("WA", "distributors-wa.php");
		
		//==================================================================================================

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("distributors"));
		menu3.addItem("Australian Capital Territory", "/distributors-act.php");
		menu3.addItem("New South Wales", "/distributors-nsw.php");
		menu3.addItem("Northern Territory", "/distributors-nt.php");
		menu3.addItem("Queensland", "/distributors-qld.php");
		menu3.addItem("South Australia", "/distributors-sa.php");
		menu3.addItem("Tasmania", "/distributors-tas.php");
		menu3.addItem("Victoria", "/distributors-vic.php");
		menu3.addItem("Western Australia", "/distributors-wa.php");
						
		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("faqs"));
		menu4.addItem("Knowledgebase Home", "/kb/");
		menu4.addItem("Glossary", "/kb/glossary.php");
		menu4.addItem("Favorites", "/kb/favorites.php");


		//==================================================================================================

		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		TransMenu.renderAll();
	}
//-->