// 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("- 招生政策", dir+"news.php?n=2"); // send no URL if nothing should happen onclick
		menu1.addItem("- 招生计划", dir+"news.php?n=3"); // send no URL if nothing should happen onclick
		menu1.addItem("- 历年数据", dir+"news.php?n=4"); // send no URL if nothing should happen onclick
		menu1.addItem("- 行业动态", dir+"news.php?n=5"); // send no URL if nothing should happen onclick
		
		//var subMenu2 = menu1.addMenu(menu1.items[2]);
		//subMenu2.addItem("- 生活管家", dir+"sh_sh.asp");
		//subMenu2.addItem("- 教育天地", dir+"sh_jy.asp");
		//subMenu2.addItem("- 健康人生", dir+"sh_jk.asp");
		//subMenu2.addItem("- 娱乐休闲", dir+"sh_xx.asp");
		//subMenu2.addItem("- 社区银行", dir+"sh_sq.asp");

		
		//==================================================================================================

		//==================================================================================================
		// 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 menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- 实施细则", dir+"news.php?n=7");
		menu2.addItem("- 历年数据", dir+"news.php?n=8");

		//新闻中心
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- 学子风采", dir+"Honor.php?n=13");
		menu3.addItem("- 校友风采", dir+"Honor.php?n=14");

mtDropDown.renderAll();
	}






