	// 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("管理总站简介", "/about/"); // send no URL if nothing should happen onclick
		menu1.addItem("机构职能", "/about/jgzn.php"); // send no URL if nothing should happen onclick
		menu1.addItem("办事指南", "/about/bszn.php");
		menu1.addItem("领导致辞", "/about/ldzc.php");
		menu1.addItem("成果展示", "/about/cgzs.php");
		menu1.addItem("大事记", "/about/dsj.php");
		menu1.addItem("市站简介", "/about/szjj.php");
		//==================================================================================================


		// menu : Get Started
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("新闻速递", "/news/index.php?func=listAll&catalog=02&lb=0005");
		menu2.addItem("通知公告", "/news/index.php?func=listAll&catalog=06&lb=0005");
		menu2.addItem("地方新闻", "/news/index.php?func=listAll&catalog=04&lb=0005");
		
		// menu
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("法律法规规章", "/policy/index.php?func=listAll&catalog=02&lb=0001");
		menu3.addItem("国家部委发文 ", "/policy/index.php?func=listAll&catalog=07&lb=0001");
		menu3.addItem("省级厅局发文 ", "/policy/index.php?func=listAll&catalog=10&lb=0001");
		menu3.addItem("造价管理站发文", "/policy/index.php?func=listAll&catalog=12&lb=0001");
		menu3.addItem("领导讲话", "/policy/index.php?func=listAll&catalog=14&lb=0001");
		menu3.addItem("其它文件", "/policy/index.php?func=listAll&catalog=15&lb=0001");

 
		// menu
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("人工费市场信息", "/price/rgf_index.php");
		menu4.addItem("材料价格信息", "/price.php");
		menu4.addItem("设备信息", "/price.php?lb=02");
		menu4.addItem("租赁信息", "/price/zlxx_index.php");
		menu4.addItem("价格指数", "/price/jgzs_index.php");
		menu4.addItem("市地信息汇编", "/price/sdxx_index.php");
				
		// menu : Company
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("建筑", "/quota/index.php?func=listAll&catalog=01&lb=0009");
		menu5.addItem("安装", "/quota/index.php?func=listAll&catalog=02&lb=0009");
		menu5.addItem("市政", "/quota/index.php?func=listAll&catalog=03&lb=0009");
		menu5.addItem("费用", "/quota/index.php?func=listAll&catalog=04&lb=0009");

				// menu : Company
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		
		menu6.addItem("工程招投标", "/toubiao/index.php?func=listAll&catalog=01&lb=0010");
		menu6.addItem("造价指标", "/toubiao/index.php?func=listAll&catalog=0201&lb=0010");
		menu6.addItem("中标信息", "/toubiao/index.php?func=listAll&catalog=03&lb=0010");
		menu6.addItem("工程报建", "/toubiao/index.php?func=listAll&catalog=04&lb=0010");

		// menu : Company
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("中介机构", "/agency/index.php?func=listAll");
		menu7.addItem("造价师", "/zjs/index.php?func=listAll");
		menu7.addItem("造价员", "/gysry/index.php?func=listAll");

		// menu : Company
		var menu8 = ms.addMenu(document.getElementById("menu8"));
		menu8.addItem("供求信息", "/business/index.php?func=search&catalog=01&lb=0002&type=0");
		menu8.addItem("网员天地", "/membership/catalog.php");
		menu8.addItem("发布供求信息", "/business/index.php?func=Add&catalog=01&lb=0002");

		// menu : Company
		var menu9 = ms.addMenu(document.getElementById("menu9"));
		menu9.addItem("欢迎进入我的办公室", "/myoffice/index.php");
		

		// menu : Company
		var menu10 = ms.addMenu(document.getElementById("menu10"));
		menu10.addItem("广达软件", "/soft/about.php");
		menu10.addItem("专题信息", "/train/index.php?func=listAll&catalog=04&lb=0008");
		menu10.addItem("考试培训", "/train/index.php?func=listAll&catalog=01&lb=0008");
		menu10.addItem("论文交流", "/train/index.php?func=listAll&catalog=03&lb=0008");
		menu10.addItem("网上书讯", "/books/index.php?func=listAll&lb=0011");
		menu10.addItem("下载中心", "/download/index.php?func=listAll");

		var menu11 = ms.addMenu(document.getElementById("menu11"));
		menu11.addItem("返回主页", "/index.php");




		//==================================================================================================
		// 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();
	}
