	var NoOffFirstLineMenus=6;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="#333333";			// Background color when mouse is not over
	var HighBgColor="#CCCCCC";			// Background color when mouse is over
	var FontLowColor="#FFFFFF";			// Font color when mouse is not over
	var FontHighColor="#333333";			// Font color when mouse is over
	var BorderColor="#000000";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=0;			// Borderwidth between elements
	var BorderBtwnSub=1;			// Borderwidth between elements sub items
	var FontFamily="tahoma,arial";	// Font family menu items
	var FontSize=11;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="center";		// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=0;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=0.3;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	var StartLeft=0;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	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=0;				// Left padding
	var TopPaddng=5;			// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=1;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=250;			// delay before menu folds in
	var UnfoldDelay=50;			// 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="MenuPos";				// 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 the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"pics/tri.gif",5,10,BaseHref+"",10,5,BaseHref+"",5,10,BaseHref+"",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	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

	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var BuildOnDemand=1;			// 1/0 When set to 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=1;				// 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 MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="";
	var MenuShadow="";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	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("rollover?"+BaseHref+"menu/nav_lotec.jpg?"+BaseHref+"menu/nav_lotec_over.jpg","../news/news.php","",0,100,109,"","","","","","",-1,-1,-1,"","Own text entered");
	
Menu1=new Array("rollover?"+BaseHref+"menu/nav_sirius.jpg?"+BaseHref+"menu/nav_sirius_over.jpg","sirius.htm","",0,100,110,"","","","","","",-1,-1,-1,"","");

Menu2=new Array("rollover?"+BaseHref+"menu/nav_slr.jpg?"+BaseHref+"menu/nav_slr_over.jpg","","",3,100,110,"","","","","","",-1,-1,-1,"","");
  Menu2_1=new Array("SLR-Look für SL","slr.htm","","",25,130,"","","","","","",-1,-1,-1,"","");	
  Menu2_2=new Array("SLR-Look für SLK","slr_slk.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");	
  Menu2_3=new Array("Flügeltüren für SL","wings.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  
  	
Menu3=new Array("rollover?"+BaseHref+"menu/nav_felgen.jpg?"+BaseHref+"menu/nav_felgen_over.jpg","felgen.htm","",2,100,110,"","","","","","",-1,-1,-1,"","");
  Menu3_1=new Array("Leichtmetallfelgen 19 Zoll","felgen19.htm","",0,25,140,"","","","","","",-1,-1,-1,"","");
  Menu3_2=new Array("Leichtmetallfelgen 20 Zoll","felgen.htm","",0,25,140,"","","","","","",-1,-1,-1,"","");

Menu4=new Array("rollover?"+BaseHref+"menu/nav_motor.jpg?"+BaseHref+"menu/nav_motor_over.jpg","","",5,100,110,"","","","","","",9,1,1,"right","");
  Menu4_1=new Array("Leistungssteigerung SL","upgrades_sl.htm","",0,25,140,"","","","","","",-1,-1,-1,"","");
  Menu4_2=new Array("LOTEC TurboTronic","turbotronic.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu4_3=new Array("LENZ Lambdameter","lambdameter.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu4_4=new Array("Chiptuning","chiptuning.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu4_5=new Array("Allgemeine Preisliste","downloads/preisliste.pdf","",0,25,130,"","","","","","",-1,-1,-1,"","");
  
Menu5=new Array("rollover?"+BaseHref+"menu/nav_motorsport.jpg?"+BaseHref+"menu/nav_motorsport_over.jpg","","",3,100,110,"","","","","","",-1,-1,-1,"","");
  Menu5_1=new Array("Motorsport","motorsport.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu5_2=new Array("Fahrzeugdesign","design.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu5_3=new Array("Firmengeschichte","history.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");

Menu6=new Array("rollover?"+BaseHref+"menu/nav_kontakt.jpg?"+BaseHref+"menu/nav_kontakt_over.jpg","","",3,100,109,"","","","","","",-1,-1,-1,"","");
  Menu6_1=new Array("Kontakt + Anfahrt","map.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu6_2=new Array("Email-Anfrage","formular.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
  Menu6_3=new Array("Impressum","impressum.htm","",0,25,130,"","","","","","",-1,-1,-1,"","");
 
// Over-Function for News and Logos
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}