	// 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("What is <b>Carom</b>?", "/guide/intro_carom_1.asp"); // send no URL if nothing should happen onclick
		menu1.addItem("Installation", "/guide/guide_install_1.asp");
		menu1.addItem("User Interface", "/guide/guide_play_1.asp");
		menu1.addItem("Playing Game", "/guide/guide_config_1.asp");		menu1.addItem("Increasing Levels", "/guide/guide_increasing_1.asp");		menu1.addItem("Events and Rules", "/guide/guide_event_1.asp");		menu1.addItem("Server List", "/guide/guide_server_1.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])
		//==================================================================================================
		
		// menu : Get Started
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("Character Shop", "/shop/char_list.asp");
		menu2.addItem("Game Shop", "/shop/item_list.asp");		menu2.addItem("Cue Shop", "/shop/cue_list.asp");		menu2.addItem("Skin Shop", "/shop/skin_list.asp");
		menu2.addItem("Blog Shop", "/shop/blog_list.asp");//		menu2.addItem("Package Shop", "/shop/package_list.asp");		
		//menu2.addItem("Configuration", "/guide/guide_config_1.asp");		//menu2.addItem("Increasing Levels", "/guide/guide_increasing_1.asp");		//menu2.addItem("Events and Rules", "/guide/guide_event_1.asp");
		
		// menu
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("Free Board", "/forum/list.asp?tid=1");
		menu3.addItem("League Board", "/forum/list.asp?tid=8");
		menu3.addItem("Idea and Bugs", "/forum/list.asp?tid=2");		menu3.addItem("Cheater Report", "/forum/list.asp?tid=3");		menu3.addItem("Best Shot", "/forum/list.asp?tid=4");
		menu3.addItem("<b>Q&A Board</b>", "/forum/list.asp?tid=100");		//menu3.addItem("Fan Sites", "/forum/list.asp?tid=5");
				var subMenu1 = menu3.addMenu(menu3.items[0]);
		subMenu1.addItem("Global", "/forum/list.asp?tid=1");
		subMenu1.addItem("Korean", "/forum/list.asp?tid=5");
		subMenu1.addItem("Brazilian", "/forum/list.asp?tid=6");
				
		// menu
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Season Ranking", "/ranking/ranking_1.asp");
		menu4.addItem("General Ranking", "/ranking/ranking_1.asp?ranktype=9");
		menu4.addItem("Hall of Fame<img src=/images/tournament/icon_champion.gif border=0 align=absmiddle width=13 height=13>", "/ranking/fame.asp");
				
		// menu : Company
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		/*
		menu5.addItem("Carom3d Client", "/download/download_client_1.asp");
		menu5.addItem("Direct-X & Video Drivers", "/download/download_directx_1.asp");		*/		menu5.addItem("Client and Drivers", "/download/download_client_0.asp");		menu5.addItem("Movie Clip", "/download/download04.asp");
		menu5.addItem("Banner", "/download/download_banner_1.asp");
		 		// menu : Company
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("Registration", "/tournament/entry.asp");
		menu6.addItem("Guide", "/tournament/guide.asp");
		menu6.addItem("Tournament Results", "/tournament/match_result.asp");				// menu : Company
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		    	/*		var subMenu2 = menu7.addMenu(menu7.items[0]);
		subMenu2.addItem("Host City", "/_wcg/hostcity.asp");
		subMenu2.addItem("Players' Village", "/_wcg/village.asp");
		*/
				// menu : Company
		var menu8 = ms.addMenu(document.getElementById("menu8"));
		menu8.addItem("Guild List", "/guild/guild_list.asp");		menu8.addItem("Guild Introduction", "/guild/guild_intro.asp");		
		//==================================================================================================
		// 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();
	}

