/*********************************************** * (c) Ger Versluis 2000 version 12.00 27 May 2004 * * You may use this script on non commercial sites. * * www.burmees.nl/menu * * You may remove all comments for faster loading * ************************************************/ var NoOffFirstLineMenus=9; // 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="Black"; // Background color when mouse is not over var HighBgColor="#404040"; // Background color when mouse is over var FontLowColor="white"; // Font color when mouse is not over var FontHighColor="white"; // Font color when mouse is over var BorderColor="white"; // Border color var BorderWidthMain=1; // Border width main items var BorderWidthSub=1; // Border width sub items var BorderBtwnMain=1; // Border width between elements main items var BorderBtwnSub=1; // Border width between elements sub items var FontFamily="verdana,arial,comic sans ms,technical"; // Font family menu items var FontSize=9; // 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.0; // horizontal overlap child/ parent var ChildVerticalOverlap=0.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=3; // Left padding var TopPaddng=2; // 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://usa.vacula.com/newsite/meny/"; // BaseHref lets you specify the root directory for relative links. //var BaseHref="http://www.vacula.com/newsite/meny/"; // 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("" // For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/" var Arrws=[BaseHref+"tri.gif",10,20,BaseHref+"tridown.gif",10,20,BaseHref+"trileft.gif",5,10,BaseHref+"triup.gif",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=2; // 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. // // // // 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=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 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="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=75)"; 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("Home","../first.php","",1,20,64,"","","","","","",-1,-1,-1,"",""); Menu1_1=new Array("www.vacula.com","javascript:top.location.href=\"http://www.vacula.com\" ","",0,20,99,"","","","","","",-1,-1,-1,"",""); Menu2=new Array("About US","../about_us/about_us.php","",0,20,84,"","","","","","",-1,-1,-1,"",""); //Menu2=new Array("Open in new","javascript:NewWin=window.open(\"file.htm\",\"NWin\");window[\"NewWin\"].focus()","",0,20,0,"purple","yellow","yellow","purple","","",-1,1,-1,"",""); Menu3=new Array("Products","","",7,20,92,"","","","","","",-1,-1,-1,"",""); // här skall vi köra in grejer från databasen hela menyn på produkter skall var databas styrda Menu3_1=new Array("Brake Service","","",7,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_1_1=new Array("DrainTwin – Pressure / Vacuum Bleeder","../produkter/products.php?product_id=5","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_1_2=new Array("DrainOne - Pressure Bleeder","../produkter/products.php?product_id=26","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_1_3=new Array("DrainMan – Vacuum Brake Bleeder","../produkter/products.php?product_id=6","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_1_4=new Array("DrainMan Autokit - Vacuum brake bleeder","../produkter/products.php?product_id=24","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_1_5=new Array("DX2.5 2.5 Liter Canister","../produkter/products.php?product_id=35","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_1_6=new Array("EasyCheck – Brake Fluid Tester","../produkter/products.php?product_id=8","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_1_7=new Array("Motorcycle Brake Bleeder","../produkter/products.php?product_id=7","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_2=new Array("Fluid Handling","","",5,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_2_1=new Array("Coolant Refiller","../produkter/products.php?product_id=9","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_2_2=new Array("DX12 12-Liter Canister","../produkter/products.php?product_id=34","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_2_3=new Array("DX2.5 2.5 Liter Canister","../produkter/products.php?product_id=36","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_2_4=new Array("Fluid Evacuator","../produkter/products.php?product_id=11","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_2_5=new Array("MultiVac – Fluid Evacuator","../produkter/products.php?product_id=10","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_3=new Array("Electronics","","",1,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_3_1=new Array("VoltCheck – Diagnostic Electrical Tester","../produkter/products.php?product_id=12","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_4=new Array("Body Tools","","",1,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_4_1=new Array("RustEater – Spot blaster","../produkter/products.php?product_id=13","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_5=new Array("A/C Cleaner","","",1,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_5_1=new Array("DeoWash – A/C Cleaner","../produkter/products.php?product_id=14","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_6=new Array("Blowguns","","",1,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_6_1=new Array("BlackStar 020 - Blowgun","../produkter/products.php?product_id=25","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_7=new Array("Pneumatic Products from CEJN","","",5,20,180,"","","","","","",-1,-1,-1,"left",""); Menu3_7_1=new Array("Couplings & Nipples","../produkter/products.php?product_id=29","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_7_2=new Array("Filter, Regulator, and Lubricator Systems","../produkter/products.php?product_id=32","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_7_3=new Array("Hose & Cable Reels","../produkter/products.php?product_id=31","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_7_4=new Array("Hose Kits","../produkter/products.php?product_id=30","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu3_7_5=new Array("Series 208 Blowguns","../produkter/products.php?product_id=28","",0,20,220,"","","","","","",-1,-1,-1,"left",""); Menu4=new Array("News","../nyheter/news.php","",0,20,79,"","","","","","",-1,-1,-1,"",""); Menu5=new Array("Contact","../contact/contact.php","",20,20,79,"","","","","","",-1,-1,-1,"",""); Menu5_1=new Array("Australia","../contact/contact.php?popup_country=Australia","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_2=new Array("Brazil","../contact/contact.php?popup_country=Brazil","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_3=new Array("Canada","../contact/contact.php?popup_country=Canada","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_4=new Array("China","../contact/contact.php?popup_country=China","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_5=new Array("Denmark","../contact/contact.php?popup_country=Denmark","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_6=new Array("France","../contact/contact.php?popup_country=France","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_7=new Array("Germany","../contact/contact.php?popup_country=Germany","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_8=new Array("Great Britain","../contact/contact.php?popup_country=Great Britain","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_9=new Array("Italy","../contact/contact.php?popup_country=Italy","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_10=new Array("Japan","../contact/contact.php?popup_country=Japan","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_11=new Array("Korea","../contact/contact.php?popup_country=Korea","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_12=new Array("Mexico","../contact/contact.php?popup_country=Mexico","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_13=new Array("Netherlands","../contact/contact.php?popup_country=Netherlands","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_14=new Array("Norway","../contact/contact.php?popup_country=Norway","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_15=new Array("Portugal","../contact/contact.php?popup_country=Portugal","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_16=new Array("Singapore","../contact/contact.php?popup_country=Singapore","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_17=new Array("Spain","../contact/contact.php?popup_country=Spain","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_18=new Array("Sweden","../contact/contact.php?popup_country=Sweden","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_19=new Array("Switzerland","../contact/contact.php?popup_country=Switzerland","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu5_20=new Array("USA","../contact/contact.php?popup_country=USA","",0,20,120,"","","","","","",-1,-1,-1,"left",""); Menu6=new Array("Downloads","../downloads/download.php","",3,20,84,"","","","","","",-1,-1,-1,"",""); Menu6_1=new Array("Brochures","../downloads/download.php?download_category_id=2","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu6_2=new Array("Instruction Manuals","../downloads/download.php?download_category_id=3","",0,20,120,"","","","","","",-1,-1,-1,"left","");Menu6_3=new Array("Spare Part List","../downloads/download.php?download_category_id=4","",0,20,120,"","","","","","",-1,-1,-1,"left",""); Menu7=new Array("FAQ","../faq/faq.php","",7,20,80,"","","","","","",-1,-1,-1,"",""); Menu7_1=new Array("Coolant Refiller","../faq/faq.php?faq_category_id=3","",0,20,180,"","","","","","",-1,-1,-1,"left","");Menu7_2=new Array("DrainMan","../faq/faq.php?faq_category_id=2","",0,20,180,"","","","","","",-1,-1,-1,"left","");Menu7_3=new Array("DrainTwin","../faq/faq.php?faq_category_id=4","",0,20,180,"","","","","","",-1,-1,-1,"left","");Menu7_4=new Array("EasyCheck","../faq/faq.php?faq_category_id=7","",0,20,180,"","","","","","",-1,-1,-1,"left","");Menu7_5=new Array("SpiderReel - LA, SA, LW styles","../faq/faq.php?faq_category_id=5","",0,20,180,"","","","","","",-1,-1,-1,"left","");Menu7_6=new Array("SpiderReel - SE, LE styles","../faq/faq.php?faq_category_id=6","",0,20,180,"","","","","","",-1,-1,-1,"left","");Menu7_7=new Array("VoltCheck","../faq/faq.php?faq_category_id=8","",0,20,180,"","","","","","",-1,-1,-1,"left",""); Menu8=new Array("www.cejn.com","javascript:NewWin=window.open(\"http://www.cejn.com\",\"NWin\");window[\"NewWin\"].focus()","",0,20,99,"","","","","","",-1,-1,-1,"",""); Menu9=new Array("Search","../search/search.php","",0,20,84,"","","","","","",-1,-1,-1,"","");