// 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, 0, 1, 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("DavidLane.com", "http://www.davidlane.com"); 

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

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("products"));
			menu2.addItem("Workstations","/bullet-top.php");
			menu2.addItem("Conference Tables","/conference-table.php");
			menu2.addItem("Reception Stations","/reception-station.php");
			menu2.addItem("Finishes","/veneers.php");
			menu2.addItem("Accessories","/edge-details.php");
			
			
		var submenu1 = menu2.addMenu(menu2.items[0]);

			submenu1.addItem("Bullet-Top", "/bullet-top.php");
			submenu1.addItem("P-Top", "/p-top.php");
			submenu1.addItem("U-Shape", "/u-shape.php");
			submenu1.addItem("Contemporary Private Office", "/p-shape2.php");
			submenu1.addItem("Private Office", "/polygon.php");
            submenu1.addItem("Complete Office", "/raven-workstation.php");

		var submenu1 = menu2.addMenu(menu2.items[1]);

			submenu1.addItem("Rectangular Conference Table", "/conference-table.php");
			submenu1.addItem("Bull-nose Conference Table", "/conference-table2.php");
			submenu1.addItem("Conference Table", "/conference-table3.php");
			submenu1.addItem("Executive Conference Table", "/conference-table4.php");
		
		var submenu1 = menu2.addMenu(menu2.items[2]);
		
		submenu1.addItem("Reception Station", "/reception-station.php");
		submenu1.addItem("Contemporary Reception Station", "/mc_reception-station.php");
		
		var submenu1 = menu2.addMenu(menu2.items[3]);

			submenu1.addItem("Wood", "/veneers.php");
			submenu1.addItem("Laminates", "/melamines.php");
			submenu1.addItem("Fabrics", "/fabrics.php");

		var submenu1 = menu2.addMenu(menu2.items[4]);

			submenu1.addItem("Edge Details", "/edge-details.php");
			submenu1.addItem("Pulls", "/pulls.php");

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

		//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("portfolio"));

			menu3.addItem("Client Portfolio","/client-portfolio.php");

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

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("green"));
			menu4.addItem("Thinking Green","/thinking-green.php");

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

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("about"));
			menu5.addItem("About Us","/about.php");

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

		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("contact"));
			menu6.addItem("Contact Us","/contact.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();
	}
