 /***********************************************
*	(c) Ger Versluis 2000 version 13.20 October 12, 2005    *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=8;			// 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="green";			// Background color when mouse is not over
	var HighBgColor="black";			// Background color when mouse is over
	var FontLowColor="black";			// Font color when mouse is not over
	var FontHighColor="black";			// Font color when mouse is over
	var BorderColor="black";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=0;			// Border width sub items
 	var BorderBtwnMain=0;			// Borderwidth between elements
	var BorderBtwnSub=1;			// Borderwidth between elements sub items
	var FontFamily="arial";	// Font family menu items
	var FontSize=12;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";		// 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=.2;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// 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=5;				// Left padding
	var TopPaddng=-1;			// 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=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="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="http://www.thermobar.se/";				// 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+"",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 OverFormElements=1;			// Set this to 0 when the menu does not need to cover form elements.
	var RememberStatus=1;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
	var BuildOnDemand=0;			// 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=0;				// 1/0 When set to 0 Menu scales with browser text size setting
						// 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(.......

	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

						// 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 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="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	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("rollover?"+BaseHref+"gfx/menu/produkter.jpg?"+BaseHref+"gfx/menu/produkter_hi.jpg","30.php","",3,28,100,"","","","","","",-1,-1,-1,"","Produkter");
	Menu1_1=new Array("rollover?"+BaseHref+"gfx/menu/TB.jpg?"+BaseHref+"gfx/menu/TB_hi.jpg","30.php","",10,28,100,"","","","","","",-1,-1,-1,"","ThermoBar");
		Menu1_1_1=new Array("TB 30 ISO","30sommar.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 30");
		Menu1_1_2=new Array("ThermoBar 30","30.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 30");
		Menu1_1_3=new Array("ThermoBar 40","40.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 40");
		Menu1_1_4=new Array("ThermoBar 80","80.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 80");
		Menu1_1_5=new Array("TB 80 ISO","80sommar.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 80 ISO");
		Menu1_1_6=new Array("TB 80 DP","80DP.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 80 DP");
		Menu1_1_7=new Array("ThermoBar 130","130.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 130");
		Menu1_1_8=new Array("TB 130 ISO","130sommar.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 130 ISO");
		Menu1_1_9=new Array("ThermoBar 250","250.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 250");
		Menu1_1_10=new Array("TB 250 ISO","250sommar.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","ThermoBar 250 ISO");
	Menu1_2=new Array("rollover?"+BaseHref+"gfx/menu/tillbehor.jpg?"+BaseHref+"gfx/menu/tillbehor_hi.jpg","rojo.php","",10,28,100,"","","","","","",-1,-1,-1,"","Tillbehör");
		Menu1_2_1=new Array("Flottor Rojo","rojo.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Rojo");
		Menu1_2_2=new Array("Flottör Topaz","topaz.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Topaz");
		Menu1_2_3=new Array("Ventilenhet 22","ventil22.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Ventil22");
		Menu1_2_4=new Array("Konsol 22","konsol22.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Konsol22");
		Menu1_2_5=new Array("AquaStrax","aquastrax.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","AquaStrax");
		Menu1_2_6=new Array("Spiralslang","spiral.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Spiralslang");
		Menu1_2_7=new Array("Varmslang","varm.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Varmslang");
		Menu1_2_8=new Array("Vattentimer","timer.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Vattentimer");
		Menu1_2_9=new Array("Lock","lock.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Lock");
		Menu1_2_10=new Array("Lampa","lampa.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Lampa");
	Menu1_3=new Array("rollover?"+BaseHref+"gfx/menu/reservdelar.jpg?"+BaseHref+"gfx/menu/reservdelar_hi.jpg","stickpropp.php","",5,28,100,"","","","","","",-1,-1,-1,"","Reservdelar");
		Menu1_3_1=new Array("Stickpropp","stickpropp.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Stickpropp");
		Menu1_3_2=new Array("Bottenpropp","bottenpropp.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Bottenpropp");
		Menu1_3_3=new Array("Spännrem","spannrem.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Spännrem");
		Menu1_3_4=new Array("Transformator","transformator.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Transformator");
		Menu1_3_5=new Array("Kontaktplatta","kontaktplatta.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Kontaktplatta");
		//Menu1_3_2=new Array("Installation","inst.php","",0,0,0,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Installation");
		//Menu1_3_3=new Array("Skötselråd","tips.php","",0,0,0,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Tips");
		//Menu1_3_4=new Array("Hjalmars hörna","hjalmars-hoerna.php","",0,0,0,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Hjalmars hörna");

Menu2=new Array("rollover?"+BaseHref+"gfx/menu/butik.jpg?"+BaseHref+"gfx/menu/butik_hi.jpg","catalog/index.php?cPath=21&language=se","",0,28,80,"","","","","","",-1,-1,-1,"","Butik");
Menu3=new Array("rollover?"+BaseHref+"gfx/menu/nyheter.jpg?"+BaseHref+"gfx/menu/nyheter_hi.jpg","news.php","",0,28,100,"","","","","","",-1,-1,-1,"","Nyheter");
Menu4=new Array("rollover?"+BaseHref+"gfx/menu/dokument.jpg?"+BaseHref+"gfx/menu/dokument_hi.jpg","broschyr.php","",0,28,120,"","","","","","",-1,-1,-1,"","Broschyrer");
	//Menu4_1=new Array("Hästar & vatten","hastar.php","",0,20,120,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Hästar & vatten");
Menu5=new Array("rollover?"+BaseHref+"gfx/menu/fragor.jpg?"+BaseHref+"gfx/menu/fragor_hi.jpg","faq.php","",0,28,60,"","","","","","",-1,-1,-1,"","FAQ");
Menu6=new Array("rollover?"+BaseHref+"gfx/menu/thermobar.jpg?"+BaseHref+"gfx/menu/thermobar_hi.jpg","om_oss.php","",15,28,130,"","","","","","",-1,-1,-1,"","Om oss");
	Menu6_1=new Array("Om oss","om_oss.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Om oss");
	Menu6_2=new Array("Funktion","funkinstall.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Funktion/Installation");
	Menu6_3=new Array("Bildgalleri","galleri.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Bildgalleri");
	Menu6_4=new Array("Video","javascript:NewWin=window.open('http://www.youtube.com/user/MrThermoBar','NWin');window['NewWin'].focus()","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Videogalleri");
	Menu6_5=new Array("Hjalmars hörna","hjalmars-hoerna.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Hjalmars hörna");
	Menu6_6=new Array("Envis av Naturen","envis.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Envis");
	Menu6_7=new Array("Redaktionellt","redaktionellt.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Redaktionellt");
	Menu6_8=new Array("Kyla och vätskebrist","kyla.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Kyla");
	Menu6_9=new Array("Hästar & vatten","hastar.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Hästar");
	Menu6_10=new Array("ThermoBars fördelar","fordelar.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Fördelar");
	Menu6_11=new Array("Lediga platser","lediga_platser.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","lediga platser");
	Menu6_12=new Array("Mässor","massor.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Mässor");
	Menu6_13=new Array("Partners","partners.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Partners");
	Menu6_14=new Array("Direktförsäljning","direktforsaljning.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Direktförs");
	Menu6_15=new Array("Vår filosofi","filosofi.php","",0,20,130,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Vår filosofi");
	//Menu6_7=new Array("Om Thermobar","om.php","",0,0,0,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Om Thermobar");
Menu7=new Array("rollover?"+BaseHref+"gfx/menu/kontakt.jpg?"+BaseHref+"gfx/menu/kontakt_hi.jpg","kontakt.php","",4,28,100,"","","","","","",-1,-1,-1,"","Kontakt");
	Menu7_1=new Array("Kontakta oss","kontakt.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Kontakt");
	Menu7_2=new Array("Återförsäljare","aterforsaljare.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Återförsäljare");
	Menu7_3=new Array("Medarbetare","medarbetare.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Medarbetare");
	Menu7_4=new Array("Referenser","referenser.php","",0,20,100,"#757F43","#989865","#ffffff","#ffffff","#000000","",-1,-1,-1,"","Referenser");
Menu8=new Array("rollover?"+BaseHref+"gfx/menu/kopevillkor.jpg?"+BaseHref+"gfx/menu/kopevillkor_hi.jpg","catalog/conditions.php","",0,28,110,"","","","","","",-1,-1,-1,"","Köpvillkor");
