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("FIRMA","webpage.asp?ID=10001","",6,23,218,"","","","","","",-1,-1,0,"","");
	Menu1_1=new Array("GESCHICHTE","webpage.asp?ID=10001","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu1_2=new Array("PHILOSOPHIE","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 UND WERTE","webpage.asp?ID=10003","",0,23,218,"","","","","","",-1,-1,-1,"","");		
	Menu1_3=new Array("MADE IN ITALY","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("WELTWEIT","webpage.asp?ID=10005","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu1_6=new Array("DAS TEAM","webpage.asp?ID=10012","",0,23,218,"","","","","","",-1,-1,-1,"","");	
Menu2=new Array("PRODUKTE","webpage.asp?ID=10040","",6,23,218,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("KARDIOGERÄTE","","",2,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_1_1=new Array("","webpage.asp?ID=10025","/resources/advance.gif",0,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_1_2=new Array("","line.asp?ID=20","/resources/xact.gif",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu2_2=new Array("ISOTONISCHE","","",5,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_2_1=new Array("","line.asp?ID=4&P=30006","/resources/xplux.gif",0,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_2_2=new Array("","line.asp?ID=5&P=30000","/resources/fitevo2.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_3=new Array("","line.asp?ID=6&P=30005","/resources/freeweight2.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_4=new Array("","line.asp?ID=8&P=30020","/resources/freeline2.gif",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_2_5=new Array("ZUBEHÖR","line.asp?ID=19","",0,23,218,"","","","","","",-1,-1,-1,"","");		
	Menu2_3=new Array("INDOOR CYCLING","","",2,23,218,"","","","","","",-1,-1,-1,"","");
		Menu2_3_1=new Array("ST BIKE","line.asp?ID=11&P=30021","",0,23,218,"","","","","","",-1,-1,-1,"","");	
		Menu2_3_2=new Array("STAR","line.asp?ID=13&P=30022","",0,23,218,"","","","","","",-1,-1,-1,"","");			
Menu2_4=new Array("OASIS","webpage.asp?ID=10028","",0,23,218,"","","","","","",-1,-1,-1,"","");	
	Menu2_5=new Array("STROBOBIKE","webpage.asp?ID=10027","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu2_6=new Array("KIDS SYSTEM","line.asp?ID=14&P=30023","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu3=new Array("SERVICE","webpage.asp?ID=10022","",5,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_1=new Array("PLANUNG UND LAYOUT","webpage.asp?ID=10007","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_2=new Array("MARKETING","webpage.asp?ID=10013","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_3=new Array("FINANZIERUNG","webpage.asp?ID=10014","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_4=new Array("FORTBILDUNG","webpage.asp?ID=10015","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu3_5=new Array("VERKAUFNACHBETREUUNG","webpage.asp?ID=10023","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu4=new Array("KOMMUNIKATION","news.asp?fun=archive_comunicati","",3,23,218,"","","","","","",-1,-1,-1,"","");
	Menu4_1=new Array("NEWS UND PRESSEMITTEILUNGEN","news.asp?fun=archive_comunicati","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu4_2=new Array("PRESSESCHAU","webpage.asp?ID=10044","",0,23,218,"","","","","","",-1,-1,-1,"","");
	Menu4_3=new Array("PRESSE","webpage.asp?ID=10008","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu5=new Array("MESSEN UND EVENTS","webpage.asp?ID=10041","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu6=new Array("PARTNER","webpage.asp?ID=10016","",0,23,218,"","","","","","",-1,-1,-1,"","");
Menu7=new Array("KONTAKTE","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 ('/resources/legal.htm', 'LEGAL', 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=500,height=500,status=no,scrollbars=yes' ); 
}
