	// Link this dropdown code 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("Residential"));
		menu1.addItem(" Site Excavation", "/res-site-excavation/");
		menu1.addItem(" Landscape Design/Build", "/res-landscape-design/");
		menu1.addItem(" Hardscape", "/res-hardscape/");
		menu1.addItem(" Maintenance", "/res-maintenance/");		
		menu1.addItem(" HolidayScapes", "/res-holiday-services/");
		menu1.addItem(" Testimonials", "/res-testimonials/");		



//==================================================================================================
		
		var menu2 = ms.addMenu(document.getElementById("Commercial"));
		menu2.addItem(" Site Excavation", "/com-site-excavation/");
		menu2.addItem(" Landscape Design/Build", "/com-landscape-design/");
		menu2.addItem(" Green Building", "/com-green-building/");
		menu2.addItem(" Maintenance", "/com-maintenance/");		
		menu2.addItem(" Seasonal and HolidayScapes", "/com-holiday-scapes/");
		menu2.addItem(" Snow & Ice Management", "/com-snow-mgmt/");	
		menu2.addItem(" Testimonials", "/com-testimonials/");	
		//==================================================================================================

		var menu3 = ms.addMenu(document.getElementById("Maintenance"));
		menu3.addItem(" Residential", "/res-maintenance/");
		menu3.addItem(" Commercial", "/com-maintenance/");	
		menu3.addItem(" HolidayScapes", "/main-hol/");	
				
//=================================================================================================

		var menu4 = ms.addMenu(document.getElementById("OurDifference"));
		menu4.addItem(" Our Team", "/od-team/");
		menu4.addItem(" Our Values", "/od-value/");	
		menu4.addItem(" Our Cascade Tree Farm", "/od-cascade/");	
		menu4.addItem(" Greenleaf Distributing", "/od-green/");
		menu4.addItem(" Awards", "/od-awards/");	
		menu4.addItem(" Testimonials", "/od-testimonials/");	
		menu4.addItem(" Landscape Lessons <br/> & Plant Primers", "/od-lessons/");	

		//==================================================================================================
	

	//==================================================================================================
		// write drop downs into page
	
/*	
var submenu2 = menu2.addMenu(menu2.items[0]);
				submenu2.addItem("Plans (2005)", "http://www.amazon.com/Plans-Death-Cab-Cutie/dp/B000AADYRQ/");
				submenu2.addItem("Transatlanticism  (2003)", "http://www.amazon.com/Transatlanticism-Death-Cab-Cutie/dp/B0000D1FDI/");
*/			
	
	//==================================================================================================
		// 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.
		//==================================================================================================
		
		function openWindow(link)
		 {
		 	window.open (link,"_blank","scrollbars=1");
		}
		
		TransMenu.renderAll();
		
		
	}

