	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("menu1"));
		//menu1.addItem("1.1", "#"); 
		//menu1.addItem("1.2", ""); // send no URL if nothing should happen onclick

		//var submenu0 = menu1.addMenu(menu1.items[1]);
		//submenu0.addItem("1.1", "#");
		//submenu0.addItem("1.2", "#");
		//submenu0.addItem("1.3", "#");
		//submenu0.addItem("1.4", "#");
		//submenu0.addItem("1.5", "#");
		//submenu0.addItem("1.6", "#");
		//submenu0.addItem("1.7", "#");
		//submenu0.addItem("1.8", "#");
		//submenu0.addItem("1.9", "#");

    	//var submenu00 = submenu0.addMenu(submenu0.items[0]);
    	//submenu00.addItem("1.1.1", "#");
    	//submenu00.addItem("1.1.2", "#");
		//==================================================================================================

		//==================================================================================================
		// ----  2nd menu
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		// mine
		menu2.addItem("&nbsp;&nbsp;Latest Events", "news.php");
		// markout -- menu2.addItem("&nbsp;&nbsp;Customer List", __setup['menuCGI'] + "customer-list");
		menu2.addItem("&nbsp;&nbsp;2010",  "news_2010.php");
		menu2.addItem("&nbsp;&nbsp;2009",  "news_2009.php");
		menu2.addItem("&nbsp;&nbsp;2008",  "news_2008.php");
		menu2.addItem("&nbsp;&nbsp;2007",  "news_2007.php");
		menu2.addItem("&nbsp;&nbsp;2006",  "news_2006.php");
		menu2.addItem("&nbsp;&nbsp;2005",  "news_2005.php");
		menu2.addItem("&nbsp;&nbsp;2004",  "news_2004.php");
		menu2.addItem("&nbsp;&nbsp;2003",  "news_2003.php");

		//var submenu1 = menu2.addMenu(menu2.items[0]);
		//submenu1.addItem("2.1.1", "");
		//submenu1.addItem("2.1.2", "");
		//submenu1.addItem("2.1.3", "");
		//==================================================================================================

		//==================================================================================================
		// ----  3rd menu
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("&nbsp;&nbsp;Level of Membership", 	 "Membership_levels.php" );
		menu3.addItem("&nbsp;&nbsp;Application", 	 "application.php" );
		menu3.addItem("&nbsp;&nbsp;Benefits", 	  "benefits.php" );
		// hold // menu3.addItem("&nbsp;&nbsp;Member's Voice", "member_voice.php"	  );
		
				var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("&nbsp;&nbsp;IFA Syllabi", 	 "exam_syllabus.php" );  // change june 2011
		menu4.addItem("&nbsp;&nbsp;Courses Recognised By IFA", 	 "recognised_courses.php" );
		menu4.addItem("&nbsp;&nbsp;BA Honours Degree In Accountancy", 	 "BA_honour_degree.php" );
		menu4.addItem("&nbsp;&nbsp;Articles and handouts", 	 "Articles_n_handouts.php" );

		// hold // menu4.addItem("&nbsp;&nbsp;Courses", 	 "courses.php" );
	 
	 	var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("&nbsp;&nbsp;Council Members", 	 "CCMembers.php" );
		menu6.addItem("&nbsp;&nbsp;Contact Us", 	 "contact_us.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();
	}

