	// 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("Vision & Mission", "vision.html");
		menu1.addItem("Company's Business", "company_business.html");
		menu1.addItem("Message from the Chairman", "chairman_message.html");
		menu1.addItem("Management Team", "management.html");
		menu1.addItem("Organization Chart", "organization_chart.html");
		menu1.addItem("Awards", "award.html");
		//menu1.addItem("Structured Products", "product_structure.html");
		menu1.addItem("Location", "company_branch.html");
		
		var menu2 = ms.addMenu(document.getElementById("menu2"));

		menu2.addItem("Financial Highlights","highlights.html");	
		menu2.addItem("Financial Statement","financials.html");	
		menu2.addItem("MD&A","mda.html");	
		menu2.addItem("Form 56-1","form_561.html");	
		menu2.addItem("Annual Report","ar.html");	
		menu2.addItem("Credit Rating","credit.html");	
		//menu2.addItem("Analyst Meeting","analyst_meeting.html");	
		
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("CG Principle","cg_principle.html");
		menu3.addItem("Code of Ethic","ethic.html");
		menu3.addItem("Scope of Responsibility","scope.html");
	
	    var menu4 = ms.addMenu(document.getElementById("menu4"));
   	   	menu4.addItem("SET Announcements", "newsroom_set.html");
		menu4.addItem("Press Releases", "newsroom_press.html");		
        menu4.addItem("News Clippings", "newsroom_clippings.html"); 
		menu4.addItem("Activities News", "newsroom_activities.html"); 
		
		var menu10 = ms.addMenu(document.getElementById("menu10"));
		menu10.addItem("Fact Sheet", "factsheet.html");
		menu10.addItem("Major Shareholder", "major_shareholder.html");		
        menu10.addItem("Dividend History and policy", "dividend.html"); 
		menu10.addItem("Shareholders' Meeting", "shareholder_meet.html");
		
		var menu6 = ms.addMenu(document.getElementById("menu6"));	
       	menu6.addItem("Analyst Contact", "analyst_contact.html");	
       	//menu6.addItem("Analyst Research", "analyst_research.html");
		
		var menu7 = ms.addMenu(document.getElementById("menu7"));	
		menu7.addItem("Real-time Quote", "stock_price.html");
       	menu7.addItem("Historical Charts", "stock_chart_history.html");
		menu7.addItem("Historical Price", "http://www.set.or.th/set/historicaltrading.do?symbol=ZMICO", "target='_blank'");	
		menu7.addItem("Investment Calculator", "investment_calculator.html");	
			 
		var menu8 = ms.addMenu(document.getElementById("menu8"));	
       	//menu8.addItem("Company Profile", "company_profile.html");	
		//menu8.addItem("Analyst Meeting", "analyst_meet.html");	
		//menu8.addItem("General Shareholder Meeting", "general_share.html");	
			 
			 
		var menu9 = ms.addMenu(document.getElementById("menu9"));	
       	menu9.addItem("Email Alerts", "email_alerts.html");	
		//menu9.addItem("Online Q&A", "qa.html");	
		menu9.addItem("IR Contact", "ir_contact.html");	
			 

		
		
		//==================================================================================================
		// 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();
	}
