	// 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 menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("- 网站登录概述", "/tuiguang/index.htm"); // send no URL if nothing should happen onclick
		menu1.addItem("- 国内网站登录", "/tuiguang/nei/index.htm"); // send no URL if nothing should happen onclick
		menu1.addItem("- 国外网站登录", "/tuiguang/wai/index.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])
		//==================================================================================================
		var subMenu1 = menu1.addMenu(menu1.items[1]);
		subMenu1.addItem("- 百度竞价排名服务", "/tuiguang/nei/index.htm");
		subMenu1.addItem("- 搜狐网站登录", "/tuiguang/nei/Sohuindex.htm");
		subMenu1.addItem("- 新浪网站登录", "/tuiguang/nei/Sinaindex.htm");
		subMenu1.addItem("- 网易网站登录", "/tuiguang/nei/163index.htm");
		subMenu1.addItem("- 3721网络实名服务", "/tuiguang/nei/3721index.htm");
                subMenu1.addItem("- Lycos中国经济快速登录", "/tuiguang/nei/Lycosindex.htm");

		// submenu
		var subMenu2 = menu1.addMenu(menu1.items[2]);
		subMenu2.addItem("- Google 全球推广", "/tuiguang/wai/index.htm");
		subMenu2.addItem("- Yahoo 全球推广", "/tuiguang/wai/Yahooindex.htm");
		subMenu2.addItem("- Looksmart 全球推广", "/tuiguang/wai/Looksmarindex.htm");
		subMenu2.addItem("- Europages 全球推广", "/tuiguang/wai/Europagesindex.htm");

		// menu : Get Started
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- 域名注册", "/yuming/index.htm");
		menu2.addItem("- 网站空间租赁", "/kongjian/index.htm");
		menu2.addItem("- 企业邮箱", "/mail/index.htm");
		menu2.addItem("- 网页设计制作", "/design/index.htm");
		
		var subMenu1 = menu2.addMenu(menu2.items[0]);
		subMenu1.addItem("- Com英文域名", "/yuming/index.htm");
		subMenu1.addItem("- Com中文域名", "/yuming/bizindex.htm");
		subMenu1.addItem("- Biz英文域名", "/yuming/tvindex.htm");
		subMenu1.addItem("- Com.cn英文域名", "/yuming/comcnindex.htm");
		subMenu1.addItem("- Cn英文域名", "/yuming/cnindex.htm");
        		
		var subMenu1 = menu2.addMenu(menu2.items[1]);
		subMenu1.addItem("- 普及型网站", "/kongjian/index.htm");
		subMenu1.addItem("- 经济-I型网站", "/kongjian/j1index.htm");
		subMenu1.addItem("- 经济-II型网站", "/kongjian/j2index.htm");
		subMenu1.addItem("- 智强-I型网站", "/kongjian/z1index.htm");
		subMenu1.addItem("- 智强-II型网站", "/kongjian/z2index.htm");
       		
		var subMenu1 = menu2.addMenu(menu2.items[2]);
		subMenu1.addItem("- 企业邮箱M5", "/mail/index.htm");
		subMenu1.addItem("- 企业邮箱M10", "/mail/m10index.htm");
		subMenu1.addItem("- 企业邮箱M50", "/mail/m50index.htm");
		subMenu1.addItem("- 企业邮箱M100", "/mail/m100index.htm");
		subMenu1.addItem("- 企业内部邮局A型", "/mail/aindex.htm");
        subMenu1.addItem("- 企业内部邮局B型", "/mail/bindex.htm");
		
		var subMenu1 = menu2.addMenu(menu2.items[3]);
		subMenu1.addItem("- 网页设计制作类", "/design/index.htm");
		subMenu1.addItem("- 模块租用类", "/design/moindex.htm");
		subMenu1.addItem("- 程序定制开发类 ", "/design/chindex.htm");
		subMenu1.addItem("- 数据库系统 ", "/design/shindex.htm");
		
		
		// menu
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- 网页设计作品", "/zuopin/index.htm");
		menu3.addItem("- 网站推广案例", "/zuopin/index_1.htm");
		
		// menu
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- 客户帮助中心", "/fuwu/xiangmu/index.asp?classid=17&Nclassid=27");
		menu4.addItem("- 客户在线提问", "/aloform/index.asp");
						
		// menu : Company
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("- 核心成员", "/tuandui/index.htm");
		menu5.addItem("- 公司概述", "/tuandui/index_1.htm");
		menu5.addItem("- 联系方式", "/tuandui/index_2.htm");
		
		//==================================================================================================
		// 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();
	}
