	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.right, 0, 0, mtDropDown.reference.topRight);

		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("Vadbe za otroke", "");
		//menu1.addItem("Telovadba za starše", "");
		menu1.addItem("Vadbe za odrasle in starejše", "/program/vadbe_za_odrasle_in_starejse.html");
		menu1.addItem("Aerobika", "/program/aerobika.html");
		menu1.addItem("Joga", "/program/joga.html");				
		menu1.addItem("Aikido", "/program/aikido.html");
		menu1.addItem("Gimnastična šola", "/program/gimnasticna_sola.html");


		var subMenu1 = menu1.addMenu(menu1.items[0]);
		subMenu1.addItem("Starši z otroki", "/program/starsi_z_otroki.html");
		subMenu1.addItem("Cicibanke", "/program/cicibanke.html");
		subMenu1.addItem("Cicibani", "/program/cicibani.html");
		subMenu1.addItem("Mlajše pionirke", "/program/mlajse_pionirke.html");		
		subMenu1.addItem("Mlajši pionirji", "/program/mlajsi_pionirji.html");
		subMenu1.addItem("Starejše pionirke", "/program/starejse_pionirke.html");
		subMenu1.addItem("Starejši pionirji", "/program/starejsi_pionirji.html");		
		subMenu1.addItem("C-program gimnastike", "/program/c-program.html");				
	
		/*var subMenu1 = menu1.addMenu(menu1.items[1]);
		subMenu1.addItem("Mlajše članice", "/program/mlajse_clanice.html");
		subMenu1.addItem("Mlajši člani - splošna vadba", "/program/mlajsi_clani.html");
		subMenu1.addItem("Mlajši člani - košarka", "/program/mlajsi_clani_kosarka.html");*/

		/*var subMenu1 = menu1.addMenu(menu1.items[2]);
		subMenu1.addItem("Starejše članice", "/program/starejse_clanice.html");
		subMenu1.addItem("Starejše članice - odbojka", "/program/starejse_clanice_odbojka.html");
		subMenu1.addItem("Skokice", "/program/skokice.html");
		subMenu1.addItem("Starejši člani", "/program/starejsi_clani.html");
		subMenu1.addItem("Starejši člani - odbojka", "/program/starejsi_clani_odbojka.html");*/
		


		//==================================================================================================
		// 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();
	}

