var timeoutid;function MM_findObj(n,d){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_showHideLayers(){var i,p,v,obj,args=MM_showHideLayers.arguments;for(i=0;i<(args.length-2);i+=3)if((obj=MM_findObj(args[i]))!=null){v=args[i+2];if(obj.style){obj=obj.style;v=(v=='show')?'visible':(v=='hide')?'hidden':v}obj.visibility=v}}function CustomShowHide(menuname){mnu=menuname;if(menuname=='howitworks'){clearTimeout(timeoutid);MM_showHideLayers('howitworks','','show');MM_showHideLayers('ourbikes','','hide');MM_showHideLayers('Support','','hide');MM_showHideLayers('StartLease','','hide');MM_showHideLayers('Shops','','hide')}else if(menuname=='ourbikes'){clearTimeout(timeoutid);MM_showHideLayers('howitworks','','hide');MM_showHideLayers('ourbikes','','show');MM_showHideLayers('Support','','hide');MM_showHideLayers('StartLease','','hide');MM_showHideLayers('Shops','','hide')}else if(menuname=='Support'){clearTimeout(timeoutid);MM_showHideLayers('howitworks','','hide');MM_showHideLayers('ourbikes','','hide');MM_showHideLayers('Support','','show');MM_showHideLayers('StartLease','','hide');MM_showHideLayers('Shops','','hide')}else if(menuname=='StartLease'){clearTimeout(timeoutid);MM_showHideLayers('howitworks','','hide');MM_showHideLayers('ourbikes','','hide');MM_showHideLayers('Support','','hide');MM_showHideLayers('StartLease','','show');MM_showHideLayers('Shops','','hide')}else if(menuname=='Shops'){clearTimeout(timeoutid);MM_showHideLayers('howitworks','','hide');MM_showHideLayers('ourbikes','','hide');MM_showHideLayers('Support','','hide');MM_showHideLayers('StartLease','','hide');MM_showHideLayers('Shops','','show')}else if(menuname=='all'){MM_showHideLayers('howitworks','','hide');MM_showHideLayers('ourbikes','','hide');MM_showHideLayers('Support','','hide');MM_showHideLayers('StartLease','','hide');MM_showHideLayers('Shops','','hide');clearTimeout(timeoutid)}}function myTimeout(mnu){MM_showHideLayers(mnu,'','hide')}function Stickit(abc){clearTimeout(timeoutid)}function MM_changeProp(objName,x,theProp,theValue){var obj=MM_findObj(objName);if(obj&&(theProp.indexOf("style.")==-1||obj.style)){if(theValue==true||theValue==false)eval("obj."+theProp+"="+theValue);else eval("obj."+theProp+"='"+theValue+"'")}}function MM_openBrWindow(theURL,winName,features){window.open(theURL,winName,features)}function MM_jumpMenu(targ,selObj,restore){if(selObj.options[selObj.selectedIndex].value.length>0){window.open(selObj.options[selObj.selectedIndex].value,'','');selObj.selectedIndex=0}}function HideAll(){timeoutid=setTimeout("CustomShowHide('all')",1000)}function sfHover(){var sfEls=document.getElementById("navmenu").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfHover"};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfHover\\b"),"")}}var sfEls=document.getElementById("navmenu1").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfHover"};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfHover\\b"),"")}}var sfEls=document.getElementById("navmenu2").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfHover"};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfHover\\b"),"")}}var sfEls=document.getElementById("navmenu3").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfHover"};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfHover\\b"),"")}}}if(window.attachEvent)window.attachEvent("onload",sfHover);