//==================================================================================================
//     E L E M E N T I    D E L     M E N U  
//==================================================================================================
//
//  NOME RIGINARIO DEL FILE :  _dropdown_content.js
//
//==================================================================================================
		

	if (DropDown.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		// the first parameter should be the HTML element which will act actuator for the menu
		//
		// 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 DropDownSet(DropDown.direction.down, -1, 4, DropDown.reference.bottomLeft);

		
		//GLOBAL NAV --- SENIOR
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("- Roster", 	"roster.php",				"_this"); 
		menu1.addItem("- Formula e Regole ", "formula.php",			"_this");
		menu1.addItem("- Classifica ", "classifica.php",			"_this");
		menu1.addItem("- Calendario e Risultati", 	"calendario.php",	"_this");
		menu1.addItem("- Statistiche ", 	"statistiche.php",			"_this");
		menu1.addItem("- Continental Cup", "continental.php",			"_this");
 		menu1.addItem("- Coppa Italia", "coppaitalia.php",			"_this");
		menu1.addItem("- Supercoppa", 	"supercoppa.php",			"_this");
		menu1.addItem("- Abbonamenti", 	"abbonamenti.php",			"_this");
		// menu1.addItem("- Biglietti", 	"biglietti.php",			"_this"); 
		menu1.addItem("- Stadio", 	"stadio.php",				"_this");
		

		//GLOBAL NAV --- ARCHIVIO
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("- News",		"news_dettaglio.php?PID=&Tipo_News=ALL&", 	"_this");	
		menu2.addItem("- Cerca",	"cerca.php?cerca=&",			 	"_this");	
		menu2.addItem("- Archivio Stat","archstat.php",					"_this");		
		menu2.addItem("- Albo d Oro", 	"albodoro.php",					"_this");
		menu2.addItem("- Storia", 	"storia.php",					"_this");
		menu2.addItem("- 20100415", 	"20100415.php",					"_this");
		menu2.addItem("&middot; History Book", "historybook.php",			"_this");		

		
		//GLOBAL NAV --- JUNIOR 
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- Introduzione &nbsp;", "introduzione.php");
		menu3.addItem("- Bacheca Annunci", 	"bacheca.php");
		menu3.addItem("- Programma allenamenti", 	"prog.php");
		menu3.addItem("- Under  9", 	"under9.php");
		menu3.addItem("- Under 12", 	"under10.php");
		menu3.addItem("- Under 14", 	"under13.php");
		menu3.addItem("- Under 16", 	"under15.php");
		menu3.addItem("- Under 18", 	"under17.php");
		menu3.addItem("- Under 20", 	"under19.php");
		
		//GLOBAL NAV --- MULTIMEDIA
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Foto 2011/2012 ", 	"foto.php",	"_this");
		menu4.addItem("- Archivio Foto 2010/2011 ", 	"foto1011.php",	"_this");
        menu4.addItem("- Archivio Foto 2009/2010 ", 	"foto0910.php",	"_this");
		menu4.addItem("- 20100415", 	"20100415.php",					"_this");
		// menu4.addItem("- Video &nbsp;&nbsp;&nbsp;&nbsp;", 						"video.php",	"_this");
		menu4.addItem("- Download &nbsp;&nbsp;&nbsp;&nbsp;", 						"download.php",	"_this");
		menu4.addItem("- Radio-TV &nbsp;&nbsp;&nbsp;&nbsp;", 						"radiotv.php",	"_this");
		
		//GLOBAL NAV --- LINKS
		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("- Serie A", 		"",	"_this");	
		menu5.addItem("- Serie A2", 		"",	"_this");	
		menu5.addItem("- Organizzazioni", 	"",	"_this");	
		menu5.addItem("- Siti Tifosi", 		"",	"_this");	
		menu5.addItem("- Siti Italiani", 	"",	"_this");	
		menu5.addItem("- Database", 		"",	"_this");	
		menu5.addItem("- Istituzionali", 	"",	"_this");	
		menu5.addItem("- Altri", 		"",	"_this"); 
		menu5.addItem("- Altopiano 7 Comuni &nbsp;&nbsp;&nbsp;&nbsp;", 						"http://www.asiago7comuni.it",	"_blank");
		
		//GLOBAL NAV --- SHOP
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("- Shop &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "shop.php",		"_this");
		//menu6.addItem("- Gadgets &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;", "gadgets.php",	"_this");
		
		//GLOBAL NAV --- SPONSOR
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("- Sponsor Principali", 	"sponsor_back.php",	"_this");
		menu7.addItem("- Fornitori ", 		"partners.php",	"_this");
		

		
		//==================================================================================================

		//==================================================================================================
		// 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 subMenu5 = menu5.addMenu(menu5.items[0]);
		subMenu5.addItem("&middot; Alleghe", 	"http://www.alleghehockey.com/",		"_blank");	
		subMenu5.addItem("&middot; Bolzano", 	"http://www.hcb.net",			"_blank");	
		subMenu5.addItem("&middot; Cortina", 	"http://www.hockeycortina.com/",	"_blank");	
		subMenu5.addItem("&middot; Fassa", 	"http://www.hockeyclubfassa.com/",	"_blank");	
		subMenu5.addItem("&middot; Pontebba",	"http://www.aquile-fvg.it/",		"_blank");	
		subMenu5.addItem("&middot; Renon", 	"http://www.rittensport.it/",		"_blank");	
		subMenu5.addItem("&middot; Valpellice", 	"http://www.hcvalpellice.com/",		"_blank");		
		subMenu5.addItem("&middot; Valpusteria","http://www.hcpustertal.com",		"_blank");	
                                      

 		var subMenu5 = menu5.addMenu(menu5.items[1]);
		subMenu5.addItem("&middot; Appiano", 		"http://www.hceppan.it/",		"_blank");	
		subMenu5.addItem("&middot; Caldaro", 		"http://www.eishockey-kaltern.com/",	"_blank");		
		subMenu5.addItem("&middot; Egna", 		"http://www.hc-neumarkt.com/",		"_blank");		
		subMenu5.addItem("&middot; Gardena", 		"http://www.hcgherdeina.com/",		"_blank");	
		subMenu5.addItem("&middot; Merano", 		"http://www.hockeyclubmerano.com/",	"_blank");	
		subMenu5.addItem("&middot; Milano", 		"http://www.hockeymilano.it",		"_blank");	
		subMenu5.addItem("&middot; Torino", 		"http://www.realtorino.net/index-realtorino.php",		"_blank");	
 		subMenu5.addItem("&middot; Vipiteno", 		"http://www.broncos.it/",		"_blank");	

  
 		var subMenu5 = menu5.addMenu(menu5.items[2]);
		subMenu5.addItem("&middot; Lega Italiana Hockey Ghiaccio (LIHG)", 	"http://www.lihg.it/",	"_blank");		
		subMenu5.addItem("&middot; Federazione Italiana (FISG)", 		"http://www.fisg.it",	"_blank");	
		subMenu5.addItem("&middot; Federazione Internazionale (IIHF)", 		"http://www.iihf.com",	"_blank");		
		
 		var subMenu5 = menu5.addMenu(menu5.items[3]);
		subMenu5.addItem("&middot; Slegar Commando", 				"http://www.slegarcommando.it",			"_blank");	
		subMenu5.addItem("&middot; Asiago Hockey Club Rovigo", 			"http://www.asiagohcrovigo.altervista.org/",	"_blank");		

 		var subMenu5 = menu5.addMenu(menu5.items[4]);
		subMenu5.addItem("&middot; Hockey Time", 				"http://www.hockeytime.net",		"_blank");	
		subMenu5.addItem("&middot; Hockeyin", 					"http://www.hockeyin.com",		"_blank");		
		subMenu5.addItem("&middot; Hockeyok", 					"http://www.hockeyok.it",		"_blank");		
		subMenu5.addItem("&middot; MondoHockey", 				"http://mondohockey.altervista.org",	"_blank");		
		subMenu5.addItem("&middot; Gazzetta Hockey", 				"http://www.gazzettahockey.it",		"_blank");	
		subMenu5.addItem("&middot; FantaHockey", 				"http://www.fantahockey.org",		"_blank");		
		subMenu5.addItem("&middot; TuttoHockey", 				"http://www.tuttohockey.com",		"_blank");	

 		var subMenu5 = menu5.addMenu(menu5.items[5]);
		subMenu5.addItem("&middot; EuroHockey", 				"http://www.eurohockey.net",	"_blank");		
		subMenu5.addItem("&middot; HockeyDB", 					"http://www.hockeydb.com",	"_blank");	

 		var subMenu5 = menu5.addMenu(menu5.items[6]);
		subMenu5.addItem("&middot; Citt&agrave; di Asiago", 			"http://www.comune.asiago.vi.it/",	"_blank");		
		subMenu5.addItem("&middot; Turismo ad Asiago", 				"http://www.asiago.to/",		"_blank");	
		subMenu5.addItem("&middot; Provincia di Vicenza", 			"http://www.provincia.vicenza.it/",	"_blank");		

 		var subMenu5 = menu5.addMenu(menu5.items[7]);
		subMenu5.addItem("&middot; Cinema Lux Asiago", 			"http://www.cinemaluxasiago.it/",	"_blank");		


		 
		//==================================================================================================
		// 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.
		//==================================================================================================
		DropDown.renderAll();
	}

