	// 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, -70, 0, TransMenu.reference.topRight);

		//==================================================================================================
		// 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("mentoring"));
		menu1.addItem("Programme Overviews", "http://www.success121.com/index.php?option=com_content&view=article&id=4&Itemid=2");
		menu1.addItem("The Outstanding Professional", "http://www.success121.com/index.php?option=com_content&view=article&id=3&Itemid=4");
		menu1.addItem("The Outstanding Independent", "http://www.success121.com/index.php?option=com_content&view=article&id=2&Itemid=5");
		
		var menu2 = ms.addMenu(document.getElementById("members"));
		menu2.addItem("Login", "http://diary.success121.com/login.asp");
		menu2.addItem("Diary System", "http://diary.success121.com/diary/users/viewcalls.asp");
		menu2.addItem("Next Workshop", "http://diary.success121.com/diary/workshop/next.asp");
		menu2.addItem("Teleforum Archive", "http://diary.success121.com/diary/teleforums/default.asp");
		menu2.addItem("Monthly Bulletin Archive", "http://diary.success121.com/diary/enews/newsletter-archive1.asp");
		menu2.addItem("Useful Links", "http://www.success121.com/index.php?option=com_content&view=article&id=53&Itemid=42");
		menu2.addItem("Log Off", "http://diary.success121.com/diary/logoff.asp");
		
		var menu4 = ms.addMenu(document.getElementById("inhouse"));
		menu4.addItem("In-House Workshops", "http://www.success121.com/index.php?option=com_content&view=article&id=63&Itemid=18");
		menu4.addItem("Client Workshops", "http://www.success121.com/index.php?option=com_content&view=article&id=61&Itemid=19");
		
		var menu5 = ms.addMenu(document.getElementById("products"));
		menu5.addItem("Time Rediscovered Audio CD", "http://www.success121.com/index.php?option=com_content&view=article&id=54&Itemid=22");
		menu5.addItem("E-Courses", "");
		menu5.addItem("Successful Professionals", "http://www.success121.com/index.php?option=com_content&view=article&id=55&Itemid=29");
		
		var submenu5 = menu5.addMenu(menu5.items[1]);
		submenu5.addItem("More Career Opportunities from Your Network", "http://www.success121.com/index.php?option=com_content&view=article&id=56&Itemid=24");
		submenu5.addItem("More Interim Opportunities from Your Network", "http://www.success121.com/index.php?option=com_content&view=article&id=57&Itemid=25");
		submenu5.addItem("More Consulting Opportunities from Your Network", "http://www.success121.com/index.php?option=com_content&view=article&id=58&Itemid=26");
		submenu5.addItem("More Business Opportunities from Your Network", "http://www.success121.com/index.php?option=com_content&view=article&id=59&Itemid=27");
		submenu5.addItem("Time Rediscovered E-Course", "http://www.success121.com/index.php?option=com_content&view=article&id=60&Itemid=28");
		
		var menu6 = ms.addMenu(document.getElementById("resources"));
		menu6.addItem("Resources Home", "http://www.success121.com/index.php?option=com_content&view=article&id=22&Itemid=31");
		menu6.addItem("Misc Business Resources", "");
		menu6.addItem("Useful Links", "http://www.success121.com/index.php?option=com_content&view=article&id=53&Itemid=42");
		
		var submenu6 = menu6.addMenu(menu6.items[1]);
		submenu6.addItem("Top Ten Books", "http://www.success121.com/index.php?option=com_content&view=article&id=44&Itemid=33");
		submenu6.addItem("10 Questions for Effective Networking - NEW", "http://www.success121.com/index.php?option=com_content&view=article&id=45&Itemid=34");
		submenu6.addItem("Attention Habits of High-Achievers", "http://www.success121.com/index.php?option=com_content&view=article&id=46&Itemid=35");
		submenu6.addItem("50 Vital Questions for Independents", "http://www.success121.com/index.php?option=com_content&view=article&id=47&Itemid=36");
		submenu6.addItem("Five Magic Questions to ask in a first consultation ", "http://www.success121.com/index.php?option=com_content&view=article&id=48&Itemid=37");
		submenu6.addItem("100 Tips to Find More Time ", "http://www.success121.com/index.php?option=com_content&view=article&id=49&Itemid=38");
		submenu6.addItem("Sample John Niland - Audio Resources", "http://www.success121.com/index.php?option=com_content&view=article&id=50&Itemid=39");
		submenu6.addItem("Perennial Business Checklist", "http://www.success121.com/index.php?option=com_content&view=article&id=51&Itemid=10");
		submenu6.addItem("Monthly Bulletin", "http://www.success121.com/index.php?option=com_content&view=article&id=52&Itemid=41");
			
	
		// 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();
	}

