		function transmenu_init() {

			//==========================================================================================
			// if supported, initialize TransMenus
			//==========================================================================================
			// Check isSupported() so that menus aren't accidentally sent to non-supporting browsers.
			// This is better than server-side checking because it will also catch browsers which would
			// normally support the menus but have javascript disabled.
			//
			// If supported, call initialize() and then hook whatever image rollover code you need to do
			// to the .onactivate and .ondeactivate events for each menu.
			//==========================================================================================
			if (TransMenu.isSupported()) {

				TransMenu.initialize();


				// hook all the highlight swapping of the main toolbar to menu activation/deactivation
				// instead of simple rollover to get the effect where the button stays hightlit until
				// the menu is closed.
				menu1.onactivate = function() { document.getElementById("tmenu1").className = "hover"; };
				menu1.ondeactivate = function() { document.getElementById("tmenu1").className = ""; };

				menu2.onactivate = function() { document.getElementById("tmenu2").className = "hover"; };
				menu2.ondeactivate = function() { document.getElementById("tmenu2").className = ""; };


				menu3.onactivate = function() { document.getElementById("tmenu3").className = "hover"; };
				menu3.ondeactivate = function() { document.getElementById("tmenu3").className = ""; };

				menu4.onactivate = function() { document.getElementById("tmenu4").className = "hover"; };
				menu4.ondeactivate = function() { document.getElementById("tmenu4").className = ""; };

				menu5.onactivate = function() { document.getElementById("tmenu5").className = "hover"; };
				menu5.ondeactivate = function() { document.getElementById("tmenu5").className = ""; };

	
				menu6.onactivate = function() { document.getElementById("tmenu6").className = "hover"; };
				menu6.ondeactivate = function() { document.getElementById("tmenu6").className = ""; };

				menu7.onactivate = function() { document.getElementById("tmenu7").className = "hover"; };
				menu7.ondeactivate = function() { document.getElementById("tmenu7").className = ""; };

				
//				document.getElementById("tmenu6").onmouseover = function() {
	//				ms.hideCurrent();
		//			this.className = "hover";
			//	}

				//document.getElementById("tmenu6").onmouseout = function() { this.className = ""; }
			}
		}

	// 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 (TransMenu.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 TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.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("tmenu1"));
		menu1.addItem("首页", "http://bsgautoglass.net/main.asp");
//		menu1.addItem("Register for Events", "http://www.bsgautoglass.net");
		//==================================================================================================\
		var menu2 = ms.addMenu(document.getElementById("tmenu2"));
		menu2.addItem("公司简介", "http://bsgautoglass.net/about.asp?TT_IN=GSGK&T_N=GSJJ");
		menu2.addItem("检测设备", "http://bsgautoglass.net/about.asp?TT_IN=GSGK&T_N=JCSB");
		menu2.addItem("生产设备", "http://bsgautoglass.net/about.asp?TT_IN=GSGK&T_N=SCSB");
		menu2.addItem("荣誉证书", "http://bsgautoglass.net/succeed_case.asp");
				//==================================================================================================
		var menu3 = ms.addMenu(document.getElementById("tmenu3"));
//		menu2.addItem("产品中心", "http://bsgautoglass.net/about.asp?TT_IN=CPZX");
		menu3.addItem("产品介绍", "http://bsgautoglass.net/about.asp?TT_IN=CPZX&T_N=CPZX1");
		<!--- menu2.addItem("On Sale", "http://www.bsgautoglass.net/Default.aspx?tabid=147"); --->
		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("tmenu4"));
		menu4.addItem("购物商城", "http://mail.bsgautoglass.net");

		menu4.addItem("在线订购 <img src='http://www.bsgautoglass.net/images/lock.gif' >", "http://bsgautoglass.net/saleout.asp");
		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("tmenu5"));
		menu5.addItem("在线采购", "http://bsgautoglass.net/salein.asp");
		//==================================================================================================
		var menu6 = ms.addMenu(document.getElementById("tmenu6"));
		menu6.addItem("人力资源", "http://bsgautoglass.net/hr.asp");			
		menu6.addItem("人才策略", "http://bsgautoglass.net/about.asp?TT_IN=RLZY&T_N=RCCL");			
//		menu5.addItem("Technology & Standards", "http://www.bsgautoglass.net");				
		//==================================================================================================
//		menu6.addItem("Consumption & Nutrition", "http://www.bsgautoglass.net");
		var menu7 = ms.addMenu(document.getElementById("tmenu7"));
//		menu4.addItem("联系我们", "http://bsgautoglass.net/online.asp");
		menu7.addItem("在线留言", "http://bsgautoglass.net/online.asp");
		menu7.addItem("联系方式", "http://bsgautoglass.net/about.asp?TT_IN=LXWM&T_N=LXWM");
 		menu7.addItem("电子地图", "http://bsgautoglass.net/tss.asp");
//		menu7.addItem("行走地图", "http://bsgautoglass.net/about.asp?TT_IN=LXWM&T_N=gsdt");
//		menu4.addItem("New Member Tour", "http://www.bsgautoglass.net/membership/tour.cfm");



		//==================================================================================================
		// 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.
		//==================================================================================================
		TransMenu.renderAll();
	}