//==================================================================================================
//     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("- 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("- Archivio Stat","archstat.php",					"_this");		
		menu2.addItem("- Albo d Oro", 	"albodoro.php",					"_this");
		menu2.addItem("- Storia", 	"storia.php",					"_this");
		menu2.addItem("&middot; History Book", "FlashPageFlip/FreeVersion/index.html",	"_blank");		

		
		//GLOBAL NAV --- JUNIOR 
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("- Introduzione &nbsp;", "introduzione.php",	"_this");
		menu3.addItem("- Bacheca Annunci", 	"bacheca.php",		"_this");
		menu3.addItem("- Mental Training", 	"mental.php",		"_this");
		menu3.addItem("- Under  9", 	"under8.php",			"_this");
		menu3.addItem("- Under 11", 	"under10.php",			"_this");
		menu3.addItem("- Under 13", 	"under13.php",			"_this");
		menu3.addItem("- Under 15", 	"under15.php",			"_this");
		menu3.addItem("- Under 17", 	"under17.php",			"_this");
		menu3.addItem("- Under 20", 	"under19.php",			"_this");
		menu3.addItem("- Serie C", 	"seriec.php",			"_this");
		
		//GLOBAL NAV --- MULTIMEDIA
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("- Foto 2009/2010 ", 	"foto.php",	"_this");
        menu4.addItem("- Archivio Foto 2008/2009 ", 	"foto.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"); 
	
		
		//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.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 subMenu4 = menu4.addMenu(menu4.items[1]);
		subMenu4.addItem("&middot; Gallerie Giocatori", 		"gallerie.php",				"_this");
		subMenu4.addItem("&middot; 06/09 Presentazione", 		"FlashPhotoStack/gallery/presentazione","_blank");	
		subMenu4.addItem("&middot; 08/09 Vita da spogliatoio", 	"FlashPhotoStack/gallery/Vitadaspogliatoio",	"_blank");
		subMenu4.addItem("&middot; 11/09 Asiago-Pontebba", 		"FlashPhotoStack/gallery/asi-pon1109",	"_blank");
		subMenu4.addItem("&middot; 13/09 Vecchie glorie", 		"FlashPhotoStack/gallery/VecchieGlorie","_blank"); 
		subMenu4.addItem("&middot; 14/09 Asiago-Maribor", 		"FlashPhotoStack/gallery/asi-mar1409",  "_blank");
		subMenu4.addItem("&middot; 21/09 Asiago-Bolzano", 		"FlashPhotoStack/gallery/asi-bol2109",	"_blank");
		subMenu4.addItem("&middot; 27/09 Asiago-Brunico", 		"FlashPhotoStack/gallery/2709asi-bru/",	"_blank");	
		subMenu4.addItem("&middot; 02/10 Asiago-Pontebba", 		"FlashPhotoStack/gallery/0210asipon/",	"_blank");
		subMenu4.addItem("&middot; 09/10 Asiago-Alleghe", 		"FlashPhotoStack/gallery/asi-all0910/",	"_blank");
		subMenu4.addItem("&middot; 16/10 Asiago-Bolzano", 		"FlashPhotoStack/gallery/1610asi-bol/",	"_blank");
		subMenu4.addItem("&middot; 18/10 Asiago-Cortina", 		"FlashPhotoStack/gallery/1810asi-cor/",	"_blank");			
		subMenu4.addItem("&middot; 30/10 Asiago-Renon", 		"FlashPhotoStack/gallery/3010asi-ren/",	"_blank");
		subMenu4.addItem("&middot; 13/11 Asiago-Fassa", 		"FlashPhotoStack/gallery/1311asi-fas/",	"_blank");	
		subMenu4.addItem("&middot; 27/11 Asiago-Pontebba", 		"FlashPhotoStack/gallery/2711asi-pon/",	"_blank");	
		subMenu4.addItem("&middot; 04/12 Asiago-Alleghe", 		"FlashPhotoStack/gallery/0412asiall/",	"_blank");	
		subMenu4.addItem("&middot; 23/12 Asiago-Renon", 		"FlashPhotoStack/gallery/2312asiren/",	"_blank");			
		subMenu4.addItem("&middot; 28/12 Asiago-Fassa", 		"FlashPhotoStack/gallery/2812asifas/",	"_blank");
		subMenu4.addItem("&middot; 30/12 Asiago-Bolzano", 		"FlashPhotoStack/gallery/3012asibol/",	"_blank");	
		subMenu4.addItem("&middot; 04/01 Asiago-Brunico", 		"FlashPhotoStack/gallery/0401asibru/",	"_blank");	
		subMenu4.addItem("&middot; 06/01 Asiago-Pontebba", 		"FlashPhotoStack/gallery/0601asipon/",	"_blank");			
		subMenu4.addItem("&middot; 05/01 Asiago-Pontebba", 		"FlashPhotoStack/gallery/0601asipon/",	"_blank");	
	

 		var subMenu5 = menu5.addMenu(menu5.items[0]);
		subMenu5.addItem("&middot; Alleghe", 	"http://www.hcalleghe.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.com/",		"_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; All Stars Piemonte", "http://www.allstarspiemonte.it/",	"_blank");		
		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; 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; FotoHockey", 				"http://www.fotohockey.com",		"_blank");	
		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();
	}
