	// 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
		//==================================================================================================
		var menu0 = ms.addMenu(document.getElementById("menu0"));
		menu0.addItem("&nbsp;HOME", "http://www.a2000.net/index.htm");

		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("&nbsp;OVERVIEW", "http://www.a2000.net/about/index.htm"); 
		menu1.addItem("&nbsp;COMPANY HISTORY", "http://www.a2000.net/about/history.htm"); 
		menu1.addItem("&nbsp;MANAGEMENT TEAM", "http://www.a2000.net/about/management.htm"); 
		menu1.addItem("&nbsp;THE A2000 TEAM", "http://www.a2000.net/about/team.htm"); 
		menu1.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 		
		menu1.addItem("&nbsp;CAREER @A2000", "http://www.a2000.net/about/career.htm");

		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("&nbsp;OVERVIEW", "http://www.a2000.net/product/index.htm");
		menu2.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#");
		menu2.addItem("&nbsp;A21 CLARITY-SQL FINANCIALS", "http://www.a2000.net/product/claritysql.htm");
		menu2.addItem("&nbsp;A21 SMARTLEDGER ACCOUNTING", "http://www.a2000.net/product/smartledger.htm");
		menu2.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 
		menu2.addItem("&nbsp;AVANTPOS - POINT OF SALES", "http://www.a2000.net/product/avantpos.htm");
		menu2.addItem("&nbsp;AVANTPOS - MOBILE PDA SALES", "http://www.a2000.net/product/mobilePOS.htm");		
		menu2.addItem("&nbsp;SMART-HRMS PAYROLL", "http://www.a2000.net/product/smart-hrms.htm");
		menu2.addItem("&nbsp;ORION B2B WEB ORDER SYSTEM", "http://www.a2000.net/product/orion-b2b.htm");
		menu2.addItem("&nbsp;OTHER SOFTWARE", "http://www.a2000.net/product/other.htm");
		menu2.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 
		menu2.addItem("&nbsp;BUY NOW!", "http://www.a2000.net/product/buy-now.htm");
		menu2.addItem("&nbsp;SIGN-UP FOR PRODUCT SEMINAR", "http://www.a2000.net/product/sign-up-seminar.htm");
		menu2.addItem("&nbsp;SALES ENQUIRY", "http://www.a2000.net/product/sales_enquiry.htm");		

		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("&nbsp;OVERVIEW", "http://www.a2000.net/strength/index.htm");
		menu3.addItem("&nbsp;COMPLIANCE FOR SINGAPORE", "http://www.a2000.net/strength/Singapore_IRAS_ACRA_AGD_Compliance.htm");
		menu3.addItem("&nbsp;PROMOTION OFFERS", "http://www.a2000.net/strength/promotion.htm");
		menu3.addItem("&nbsp;GOVERNMENT GRANTS", "http://www.a2000.net/strength/grants.htm");
		menu3.addItem("&nbsp;CLIENT TESTIMONIALS", "http://www.a2000.net/strength/testimonials.htm"); 
		menu3.addItem("&nbsp;RECENT IMPLEMENTATIONS", "http://www.a2000.net/strength/recent.htm"); 
		menu3.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 
		menu3.addItem("&nbsp;SUBMIT A TESTIMONIAL", "http://www.a2000.net/strength/submit.htm");

		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("&nbsp;OVERVIEW", "http://www.a2000.net/support/index.htm");
		menu4.addItem("&nbsp;TECHNICAL ANNOUNCEMENTS", "http://www.a2000.net/support/announcements.htm");
		menu4.addItem("&nbsp;MAINTENANCE SUPPORT PLANS", "http://www.a2000.net/support/maintenance.htm");
		menu4.addItem("&nbsp;ONLINE SUPPORT CENTER", "http://www.a2000.net/support/online-support.htm"); 
		menu4.addItem("&nbsp;FREQUENTLY ASKED QUESTIONS", "http://www.a2000.net/support/kbase.htm"); 
		menu4.addItem("&nbsp;TRAINING & IMPLEMENTATION SERVICE", "http://www.a2000.net/support/training.htm"); 
		menu4.addItem("&nbsp;CLASS TRAININGS", "http://www.a2000.net/support/class-training.htm"); 
		menu4.addItem("&nbsp;TRAINING CALENDAR", "http://www.a2000.net/support/calendar.htm"); 
		menu4.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 
		menu4.addItem("&nbsp;SUBMIT A SUPPORT TICKET", "http://www.a2000.net/support/support.htm"); 

		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("&nbsp;OVERVIEW", "http://www.a2000.net/partner/index.htm");
		menu5.addItem("&nbsp;WHY WORK WITH A2000?", "http://www.a2000.net/partner/why.htm");
		menu5.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 
		menu5.addItem("&nbsp;REFERRAL PROGRAM", "http://www.a2000.net/partner/customer-referral.htm");
		menu5.addItem("&nbsp;RESELLER PROGRAM", "http://www.a2000.net/partner/reseller.htm");
		menu5.addItem("&nbsp;SOLUTION PARTNER PROGRAM", "http://www.a2000.net/partner/solution-partner.htm");
		menu5.addItem("&nbsp;COUNTRY DISTRIBUTOR", "http://www.a2000.net/partner/international.htm");
		menu5.addItem("&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-", "#"); 
		menu5.addItem("&nbsp;SIGN UP AS PARTNER", "http://www.a2000.net/partner/sign-up.htm"); 

		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("&nbsp;COMPANY LOCATION", "http://www.a2000.net/contact/index.htm");
		menu6.addItem("&nbsp;EMAIL US", "http://www.a2000.net/contact/contact.htm");
		menu6.addItem("&nbsp;SUBSCRIBE TO NEWSLETTER", "http://www.a2000.net/contact/subscribe-newsletter.htm");

		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("&nbsp;OVERVIEW", "http://www.a2000.net/legal/index.htm");
		menu7.addItem("&nbsp;TERMS OF USE", "http://www.a2000.net/legal/terms.htm");
		menu7.addItem("&nbsp;PRIVACY POLICY", "http://www.a2000.net/legal/privacy.htm");

		
		//==================================================================================================

		//==================================================================================================
		// add a sub-menu
		//==================================================================================================
		// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from
		// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu
		// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])
		//==================================================================================================
		
		//==================================================================================================
		// 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();
	}

