	// 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.down, 0, 0, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		//
		// About Robocup2004
		//

		
		/*var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("Our Business", "/en/about/our-business.php");
		menu1.addItem("Our Policy", "/en/about/our-policy.php");
		menu1.addItem("Our Management", "/en/about/our-management.php");
		menu1.addItem("Our Partners", "/en/about/our-partners.php");
		menu1.addItem("Global Network", "/en/about/global-network.php");
		menu1.addItem("Quality Assurance", "/en/about/quality-assurance.php");
		menu1.addItem("Awards and Recoqnitions", "/en/about/awards.php");*/

		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("History","History.aspx");	
		menu2.addItem("Vision & Mission","Vision.aspx");				
		menu2.addItem("Board of Director","Board.aspx");
		menu2.addItem("Management Team","Management.aspx");				
		menu2.addItem("Group Structure","Group.htm");
		menu2.addItem("Awards","Award.aspx");				
		

	    var menu3 = ms.addMenu(document.getElementById("menu3"));
	   	menu3.addItem("Current Projects","APProject.aspx");
		menu3.addItem("Projects in The Past","ProjectPast2551.aspx");
		menu3.addItem("All Projects Map","pmap/map1.html");
		

        var menu4 = ms.addMenu(document.getElementById("menu4"));
       	menu4.addItem("Projects Progress","APProjectProgress.aspx");		
        menu4.addItem("AP Society", "Society.aspx");
		menu4.addItem("AP Privileges","ApPrivileges.aspx");		
        menu4.addItem("Customer Self Service", "underrenovation.html");
		
		
		var menu5 = ms.addMenu(document.getElementById("menu5"));
       	menu5.addItem("Foreign Buyer Guide", "HomeBuyerGuide.aspx");		
        menu5.addItem("Download InCity Magazine", "MagazineDownload.aspx");
        menu5.addItem("Tips & Ideas", "Tips.aspx");
				
		
		var menu6 = ms.addMenu(document.getElementById("menu6"));
       	menu6.addItem("Smart Service & Management", "CitismartService.aspx");		
        menu6.addItem("Bangkok CitiSmart", "BangkokCitismart.aspx");
		
		
		//==================================================================================================
		// 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();
	}
