	// 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", "main.shtml");
	
	
		var menu2 = ms.addMenu(document.getElementById("news"));
		menu2.addItem("News", "news.shtml");


		<!--- # LASER MENU # --> 
		var tmenu35 = ms.addMenu(document.getElementById("laser"));
		tmenu35.addItem("Software", "");
		//tmenu35.addItem("Control desks", "");
		tmenu35.addItem("Projectors", "");
		tmenu35.addItem("Accessories", "accessories.shtml");

		<!--- # SOFTWARE MENU # --> 
		var tmenu161 = tmenu35.addMenu(tmenu35.items[0]);
		tmenu161.addItem("Centaur", "centaur.shtml");
		tmenu161.addItem("Nemesis", "nemesis.shtml");
		tmenu161.addItem("Pangolin LD2000", "pangolin.shtml");
		tmenu161.addItem("Pangolin Livepro", "livepro.shtml");


		<!--- # PROJECTOR MENU # --> 
		var tmenu160 = tmenu35.addMenu(tmenu35.items[1]);
		tmenu160.addItem("Single Colour", "multiprojector.shtml",0,0);
		tmenu160.addItem("Multi Colour", "",0,0);
		tmenu160.addItem("High Power NdYags", "",0,0);


		<!--- # GREEN PROJECTOR MENU # --> 
		//var tmenu166 = tmenu160.addMenu(tmenu160.items[0]);
		//tmenu166.addItem("200 mw Green", "",0,0);
		//tmenu166.addItem("400 mw Green", "",0,0);
		//tmenu166.addItem("600 mw Green", "",0,0);
		//tmenu166.addItem("400 mw Green", "",0,0);
		//tmenu166.addItem("600 mw Green", "",0,0);
		//tmenu166.addItem("1 Watt Green", "",0,0);
		//tmenu166.addItem("5 Watt Green", "",0,0);

		<!--- # WHITE PROJECTOR MENU # --> 
		var tmenu166 = tmenu160.addMenu(tmenu160.items[1]);
		tmenu166.addItem("500 mw RGB", "");
		tmenu166.addItem("2 Watt RGB", "projector wl2000.shtml");
		tmenu166.addItem("2.5 Watt RGB", "projector wl2500.shtml");
		tmenu166.addItem("5 Watt RGB", "projector wl5000.shtml");
		tmenu166.addItem("6.5 Watt RGB", "projector wl6500.shtml");
		tmenu166.addItem("10 Watt RGB", "projector wl10000.shtml");
		tmenu166.addItem("13 Watt RGB", "projector wl13000.shtml");
		tmenu166.addItem("20 Watt RGB", "projector wl20000.shtml");
		tmenu166.addItem("30 Watt RGB", "projector wl30000.shtml");


		<!--- # YAG PROJECTOR MENU # --> 
		tmenu166 = tmenu160.addMenu(tmenu160.items[2]);
		tmenu166.addItem("35 Watt Green", "excalibur532.shtml");
		tmenu166.addItem("10 Watt Red", "excalibur659.shtml");



		<!--- # LASER SOURCE MENU # --> 
		//var tmenu169 = tmenu35.addMenu(tmenu35.items[2]);
		//tmenu169.addItem("Single Colour", "");
		//tmenu169.addItem("Multi Colour", "");



		<!--- # WHITE LASER MENU # --> 
		//var submenu166 = menu169.addMenu(menu169.items[1]);
		//submenu166.addItem("200 mw Green", "");
		//submenu166.addItem("400 mw Green", "");
		//submenu166.addItem("600 mw Green", "");
		//submenu166.addItem("400 mw Green", "");
		//submenu166.addItem("600 mw Green", "");
		//submenu166.addItem("400 mw Green", "");
		//submenu166.addItem("600 mw Green", "");


		<!--- # YAG LASER SOURCE MENU # --> 
		//var submenu166 = menu169.addMenu(menu169.items[2]);
		//submenu166.addItem("Single Colour", "");
		//submenu166.addItem("Multi Colour", "");


		var menu4 = ms.addMenu(document.getElementById("video"));
		menu4.addItem("Interactive Video", "ivideo.shtml");



		var menu5 = ms.addMenu(document.getElementById("water"));
		menu5.addItem("Water Screens", "waterscreen.shtml");
		menu5.addItem("Musical Fountains", "fountains.shtml");
		menu5.addItem("Volcano Effect", "volcano.shtml");



		var menu6 = ms.addMenu(document.getElementById("service"));
		menu6.addItem("Service", "service.shtml");


	
		var menu7 = ms.addMenu(document.getElementById("gallery"));
		menu7.addItem("NightClubs", "gallery1.shtml");
		menu7.addItem("Stage Shows & Concerts", "gallery2.shtml");
		menu7.addItem("Open Air Displays", "gallery3.shtml");
		menu7.addItem("Product Launches", "gallery4.shtml");


		var menu8 = ms.addMenu(document.getElementById("download"));
		menu8.addItem("Download PDF Documents", "downloads.shtml");

		var menu9 = ms.addMenu(document.getElementById("contact"));
		menu9.addItem("Contact Us", "contact.shtml");
	

		
		//========================================EXAMPLE OF SUB MENUS  ====================================




		
		
		//==================================================================================================
		// 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();
	}


		
		