	// 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("รู้จักบริษัท", "services_aboutmPAY.asp");
		menu1.addItem("สมัครบริการ mPAY", "services_Howtoapply.asp");
		menu1.addItem("วิธีการใช้บริการ mPAY", "services_Howtouse.asp");
		menu1.addItem("บริการโอนเงิน-ถอนเงิน", "services_Transfer.asp");
		menu1.addItem("บริการ ALERT TO PAY", "services_SMS.asp");
		menu1.addItem("วิธีการตรวจสอบรายการ/ยอดเงิน", "services_balanceCheck.asp");
		menu1.addItem("mPAY menu", "services_mPAY_Java.asp");
		menu1.addItem("ข้อตกลงและเงื่อนไข", "services_Terms.asp");
		
		//var subMenu12 = menu1.addMenu(menu1.items[2]);
		//subMenu12.addItem("กระเป๋าเงินสด","services_Howtouse_Cash.asp");
		//subMenu12.addItem("กระเป๋าบัตรเครดิต", "services_Howtouse_Credit.asp");    
		//subMenu12.addItem("กระเป๋าบัญชีเงินฝาก", "services_Howtouse_BankAccount.asp");    
		//subMenu12.addItem("วิธีการเบิกเงินจากกระเป๋าเงินสด", "services_Howtouse_CashWithdrawal.asp");       
		//subMenu12.addItem("อัตราค่าธรรมเนียม", "services_Howtouse_Fee.asp");
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("ชำระบิลจีเอสเอ็ม","products_GSMBill.asp");	
		menu2.addItem("เติมเงินระบบวัน-ทู-คอล!","products_OTC.asp");	
		menu2.addItem("ค่าสาธารณูปโภค","products_Utilities.asp");	
		menu2.addItem("บัตรเครดิต","products_CreditCard.asp");	
		menu2.addItem("สินเชื่อ/เช่าซื้อ","products_Loan.asp");	
		menu2.addItem("ประกันภัยและประกันชีวิต","products_Insurance.asp");
		menu2.addItem("อินเตอร์เน็ต","products_Internet.asp");	
		menu2.addItem("ซื้อสินค้าบนเว็บ","products_ShoppingOnline.asp");	
		//menu2.addItem("บริการออนไลน์","products_OnlineService.asp");	
		menu2.addItem("เกมส์ออนไลน์","products_GamesOnline.asp");
		menu2.addItem("โทรศัพท์ระหว่างประเทศ","products_ICC.asp");	
		menu2.addItem("ท่องเที่ยว & เดินทาง","products_Travel.asp");	
		menu2.addItem("เอนเตอร์เทนเมนท์","products_Entertainment.asp");	
		menu2.addItem("สุขภาพ & ความงาม","products_Healthy.asp");	
		//menu2.addItem("ตู้จำหน่ายสินค้าอัตโนมัติ","products_VendingMachine.asp");
		menu2.addItem("อื่นๆ","products_Others.asp");
		
		//==================================================================================================
		// 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();
	}

