var NoOffFirstLineMenus=7; // elementi in totale

var LowBgColor="#42494E";	// colore sfondo in stato normale
var HighBgColor="#231F20";	// colore sfondo in stato hover
var FontLowColor="#D3DADE";	// colore testo in stato normale
var FontHighColor="#FFFFFF";	// colore testo in stato hover
var BorderColor="#838F97";	// colore bordo 
var BorderWidthMain=1;		// width bordo elementi principali
var BorderWidthSub=1;		// width bordo elementi secondari
var BorderBtwnMain=1;		// width bordo tra elementi elementi principali
var BorderBtwnSub=1;		// width bordo tra elementi elementi secondari
var FontFamily="Tahoma";	// font
var FontSize=10;		// font-size
var FontBold=0;			// Bold 1 o normale 0
var FontItalic=0;		// Italic 1 o normale 0
var MenuTextCentered="left";	// posizione testo: left, center or right
var MenuCentered="left";	// posizione orizzontale del menu: left, center, right
var MenuVerticalCentered="top";	// posizione verticale del menu: top, middle,bottom or static
var ChildOverlap=-0.01;		// horizontal overlap child/ parent
var ChildVerticalOverlap=0;	// vertical overlap child/ parent
var StartTop=0;			// Menu offset x coordinate
var StartLeft=0;		// Menu offset y coordinate
var VerCorrect=0;		// Multiple frames y correction
var HorCorrect=0;		// Multiple frames x correction
var DistFrmFrameBrdr=0;		// Distance between main menu and frame border
var LeftPaddng=15;		// Left padding
var TopPaddng=4;		// Top padding. If set to -1 text is vertically centered
var FirstLineHorizontal=0;	// Num.definestowhichlevelthemenumustunfoldhorizontal;
                                // 0 is all vertical
var MenuFramesVertical=1;	// Frames in cols or rows 1 or 0
var DissapearDelay=1000;	// delay before menu folds in
var UnfoldDelay=100;		// delay before sub unfolds	
var TakeOverBgColor=1;		// Menu frame takes over background color subitem frame
var FirstLineFrame="";		// Frame where first level appears
var SecLineFrame="";		// Frame where sub levels appear
var DocTargetFrame="";		// Frame where target documents appear
var TargetLoc="box_menu";	// span id for relative positioning
var MenuWrap=1;			// enables/ disables menu wrap 1 or 0
var RightToLeft=0;		// enables/ disables right to left unfold 1 or 0
var BottomUp=0;			// enables/ disables Bottom up unfold 1 or 0
var UnfoldsOnClick=0;		// Level 1 unfolds onclick/ onmouseover
var BaseHref="";		// BaseHref lets you specify root dir for relative links. 

var Arrws=[BaseHref+"../images/menutri.gif",15,8];

var MenuUsesFrames=0;		// MenuUsesFrames is only 0 when Main menu, submenus,
							// document targets and script are in the same frame.
							// In all other cases it must be 1
							// set to 1 menu unfolds to the presetted menu item. 
							// set to 2 only the relevant main item stays highligthed

var RememberStatus=1;

var BuildOnDemand=0;	// 1/0: 1 the sub menus are build when the parent is moused over
var BgImgLeftOffset=5;	// Only relevant when bg image is used as rollover
var ScaleMenu=0;	// 1/0 When set to 0 Menu scales with browser text size setting

var HooverBold=0;	// 1 or 0
var HooverItalic=0;	// 1 or 0
var HooverUnderLine=0;	// 1 or 0
var HooverTextSize=0;	// 0=off, number is font size difference on hoover
var HooverVariant=0;	// 1 or 0

var MenuSlide="";   

var MenuShadow="";

var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("AZIENDA","webpage.asp?ID=10001","",6,23,218,"","","","","","",-1,-1,0,"","");
	Menu1_1=new Array("STORIA","webpage.asp?ID=10001","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu1_2=new Array("FILOSOFIA","webpage.asp?ID=10002","",2,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu1_2_1=new Array("VISION","webpage.asp?ID=10002","",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu1_2_2=new Array("MISSION E VALORI","webpage.asp?ID=10003","",0,23,218,"","","","","","",-1,-1,-1,"","");		
	Menu1_3=new Array("TERRITORIO E CERTIIFICAZIONI","webpage.asp?ID=10018","",0,23,218,"","","","","","",-1,-1,-1,"","");	
	Menu1_4=new Array("PANATTA SPORT ENGINEERING","webpage.asp?ID=10021","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu1_5=new Array("NEL MONDO","webpage.asp?ID=10005","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu1_6=new Array("IL TEAM","webpage.asp?ID=10012","",0,23,218,"","","","","","",-1,-1,-1,"","");	
Menu2=new Array("PRODOTTI","webpage.asp?ID=10040","",5,23,218,"","","","","","",-1,-1,-1,"","");

	Menu2_1=new Array("CARDIO","","",3,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_1_1=new Array("","http://www.panattapininfarina.com","http://www.panattasport.it/resources/pininfarina_menu.gif",0,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_1_2=new Array("SK LINE","webpage.asp?ID=10058","",0,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_1_3=new Array("","line.asp?ID=21","http://www.panattasport.it/resources/zephyros.gif",0,23,218,"","","","","","",-1,-1,-1,"","");

	Menu2_2=new Array("STRENGTH","","",6,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_2_1=new Array("","line.asp?ID=4&P=30006","http://www.panattasport.it/resources/xplux.gif",0,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_2_2=new Array("","line.asp?ID=5&P=30000","http://www.panattasport.it/resources/fitevo2.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_3=new Array("","line.asp?ID=22","http://www.panattasport.it/resources/sec.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_4=new Array("","line.asp?ID=6&P=30005","http://www.panattasport.it/resources/freeweight2.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_5=new Array("","line.asp?ID=8&P=30020","http://www.panattasport.it/resources/freeline2.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_6=new Array("ACCESSORI","line.asp?ID=19","",0,23,218,"","","","","","",-1,-1,-1,"","");		
	
	Menu2_3=new Array("SPECIAL LINES","","",4,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_3_1=new Array("","webpage.asp?id=10049","http://www.panattasport.it/resources/kids.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_3_2=new Array("","webpage.asp?ID=10028","http://www.panattasport.it/resources/oasis.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_3_3=new Array("","webpage.asp?ID=10027","http://www.panattasport.it/resources/strobobike.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_3_4=new Array("","line.asp?ID=27&P=30060","http://www.panattasport.it/resources/airsystem.gif",0,23,218,"","","","","","",-1,-1,-1,"","");
		
	Menu2_4=new Array("GROUP ACTIVITIES","","",3,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_4_1=new Array("INDOOR CYCLING","webpage.asp?ID=10052","",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_4_2=new Array("RACE WALKER","webpage.asp?ID=10053","",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_4_3=new Array("AEROBIC","line_details.asp?ID=28","",0,23,218,"","","","","","",-1,-1,-1,"","");
		
	Menu2_5=new Array("INTERIOR","line.asp?ID=23&P=30053","",0,23,218,"","","","","","",-1,-1,-1,"","");

Menu3=new Array("SERVIZI","webpage.asp?ID=10022","",5,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_1=new Array("PROGETTAZIONE E LAY-OUT","webpage.asp?ID=10007","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_2=new Array("MARKETING SUPPORT","webpage.asp?ID=10013","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_3=new Array("FINANZIAMENTI","webpage.asp?ID=10014","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_4=new Array("FORMAZIONE","webpage.asp?ID=10015","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_5=new Array("ASSISTENZA TECNICA","webpage.asp?ID=10023","",6,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_5_1=new Array("ASSISTENZA POST VENDITA","webpage.asp?ID=10023","",0,23,218,"","","","","","",-1,-1,-1,"","");	
	Menu3_5_2=new Array("CENTRI DI ASSISTENZA","webpage.asp?ID=20000","",0,23,218,"","","","","","",-1,-1,-1,"","");	
	Menu3_5_3=new Array("SUPPORTO","webpage.asp?ID=20001","",0,23,218,"","","","","","",-1,-1,-1,"","");	
	Menu3_5_4=new Array("INTERVENTI TECNICI","webpage.asp?ID=20002","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_5_5=new Array("CONTRATTI","webpage.asp?ID=20003","",0,23,218,"","","","","","",-1,-1,-1,"","");	
Menu3_5_6=new Array("PROMOZIONI","webpage.asp?ID=20006","",0,23,218,"","","","","","",-1,-1,-1,"","");	
Menu4=new Array("COMUNICAZIONE","news.asp?fun=archive_comunicati","",3,23,218,"","","","","","",-1,-1,-1,"","");
	Menu4_1=new Array("NEWS E COMUNICATI STAMPA","news.asp?fun=archive_comunicati","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu4_2=new Array("RASSEGNA STAMPA","webpage.asp?ID=10044","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu4_3=new Array("PRESS","webpage.asp?ID=10008","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu5=new Array("FIERE ED EVENTI","webpage.asp?ID=10041","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu6=new Array("PARTNER"," ","",3,23,218,"","","","","","",-1,-1,-1,"","");
Menu6_1=new Array("PARTNER","webpage.asp?ID=10016","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu6_2=new Array("PANATTA SPORT BEST CLUB","webpage.asp?ID=20009","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu6_3=new Array("BEST CLUB DEL MESE","webpage.asp?ID=20019","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu7=new Array("CONTATTI","webpage.asp?ID=10017","",0,23,218,"","","","","","",-1,-1,-1,"","");

/* Popup-Credits */
function credits() {
	var w = screen.width;
	var h = screen.height;
	var x = Math.round(w / 2) - Math.round(340 / 2);
	var y = Math.round(h / 2) - Math.round(230 / 2);
	finestra = window.open ('../credits.htm', 'CREDITS', 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=340,height=230,status=no' ); 
}
/* Popup-Legal Notes */
function legalnote() { /*link dall'interno del sito */
	var w = screen.width;
	var h = screen.height;
	var x = Math.round(w / 2) - Math.round(500 / 2);
	var y = Math.round(h / 2) - Math.round(500 / 2);
	finestra = window.open ('http://www.panattasport.it/resources/legal.htm', 'LEGAL', 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=500,height=500,status=no,scrollbars=yes' ); 
}
/*link dalla welcome page */
/*
function legal() { 
	var w = screen.width;
	var h = screen.height;
	var x = Math.round(w / 2) - Math.round(500 / 2);
	var y = Math.round(h / 2) - Math.round(500 / 2);
	finestra = window.open ('it/legal.htm', 'LEGAL', 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=500,height=500,status=no' ); 
}*/