	// 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 (mtDropDown.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 mtDropDownSet(mtDropDown.direction.bottom, 0, -166, mtDropDown.reference.topLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		//
		// grow-design
		//
		var menu1 = ms.addMenu(document.getElementById("menu1"));

		//==================================================================================================

		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================		
		//
		// Services
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("&nbsp; S2R Design Consulting","s2rconsult.html");
		menu2.addItem("&nbsp; S2R Technology Transfer","s2rbustrans.html");
		menu2.addItem("&nbsp; S2R Workshops","s2rworkshop.html");
		menu2.addItem("&nbsp;","#");
		menu2.addItem("&nbsp;","#");
		menu2.addItem("&nbsp;","#");
		menu2.addItem("&nbsp;","#");
		menu2.addItem("&nbsp;","#");
		menu2.addItem("&nbsp;","#");		
		
		var subMenu21 = menu2.addMenu(menu2.items[0]);
		subMenu21.addItem("Introduction","s2rconsult.html");
		subMenu21.addItem("Environmental Analysis", "enviroanalysis.html");    
		subMenu21.addItem("Project Planning", "projectplan.html");    
		subMenu21.addItem("Research", "research.html");    
		subMenu21.addItem("Concept Generation", "conceptgen.html");    
		subMenu21.addItem("Design Definition", "s2rdesigndef.html"); 
		subMenu21.addItem("Implementation", "impliment.html"); 
		subMenu21.addItem("Assesment", "assess.html"); 
		//
		// Projects
	    var menu3 = ms.addMenu(document.getElementById("menu3"));
        menu3.addItem("&nbsp; Geo Transformer", "geotransintro.html");		
        menu3.addItem("&nbsp; Grow Pak", "growpak.html");		
        menu3.addItem("&nbsp; Green Building Unit GBU", "gbu.html");
		menu3.addItem("&nbsp; Sustainable Home", "sushome.html");
		menu3.addItem("&nbsp; Fenix Green Roof Tile", "fenix.html");
		menu3.addItem("&nbsp; Green Map", "greenmap.html");
		menu3.addItem("&nbsp; Reclaimed Wood Sconce", "rwsconce.html");
		menu3.addItem("&nbsp; Pallet Tables", "paltable.html");
		menu3.addItem("&nbsp; Paper Watch", "papwatch.html");

		var subMenu31 = menu3.addMenu(menu3.items[0]);
        subMenu31.addItem("Introduction", "geotransintro.html");
		subMenu31.addItem("Modules", "geotransimages.html");    
		subMenu31.addItem("Components", "geotransdrawings.html");    
		subMenu31.addItem("Function", "geotranssystemdiagram.html");    
		subMenu31.addItem("Stakeholders", "geotransstakeholders.html"); 

		var subMenu32 = menu3.addMenu(menu3.items[1]);
        subMenu32.addItem("Introduction", "growpak.html");
		subMenu32.addItem("Bio Pak", "biopak.html");    
		subMenu32.addItem("Bio Pak Senario", "biopakscene.html");    
		subMenu32.addItem("Re Pak", "repak.html");    
		subMenu32.addItem("Re Pak Senarios", "repakscene.html");     
		
		var subMenu33 = menu3.addMenu(menu3.items[2]);
        subMenu33.addItem("Introduction", "gbu.html");
		subMenu33.addItem("Components", "gbuosb.html");    
		subMenu33.addItem("Production", "gbumf.html");    
		subMenu33.addItem("System", "gbuassembly.html");  		  

		var subMenu34 = menu3.addMenu(menu3.items[3]);
        subMenu34.addItem("Introduction", "sushome.html");
		subMenu34.addItem("Assembly", "modelelev.html");    
		subMenu34.addItem("Floor Plan", "floorplan.html");    
		subMenu34.addItem("Green Materials", "greenmat.html"); 

		var subMenu35 = menu3.addMenu(menu3.items[4]);
        subMenu35.addItem("Introduction", "fenix.html");
		subMenu35.addItem("Supramics Prototype", "supraproto.html");    
		subMenu35.addItem("Ford River Rouge Testing", "fordrrt.html");  
		
		var subMenu36 = menu3.addMenu(menu3.items[5]);
        subMenu36.addItem("Introduction", "greenmap.html");
		subMenu36.addItem("Philly Green Map", "greenmapbag.html");    
		subMenu36.addItem("Pomona Green Map", "greenmapcover.html");  		
		//
		// Resources
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("&nbsp; Contact","Contact.pdf");		
		menu4.addItem("&nbsp; Experience","Experience.pdf");		
		menu4.addItem("&nbsp; Community","Community.pdf");		
		menu4.addItem("&nbsp; Library","Library.pdf");		
		menu4.addItem("&nbsp; Links","Links.pdf");		
		menu4.addItem("&nbsp; Seed","Seed.pdf");
		menu4.addItem("&nbsp;","#");
		menu4.addItem("&nbsp;","#");
		menu4.addItem("&nbsp;","#");				 

		//==================================================================================================
		// 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.
		//==================================================================================================
		mtDropDown.renderAll();
	}
