if("undefined"!=typeof(google)&&"undefined"!=typeof(google.maps)){google.maps.Map.prototype.markers=new Array();google.maps.Map.prototype.getMarkers=function(){return this.markers};google.maps.Map.prototype.clearMarkers=function(){for(var a=0;a<this.markers.length;a++){this.markers[a].setMap(null)}if("undefined"!=typeof(window.storeList)){for(var a in window.storeList){window.storeList[a][1].close()}}this.markers=new Array()};google.maps.Marker.prototype._setMap=google.maps.Marker.prototype.setMap;google.maps.Marker.prototype.setMap=function(a){if(a){a.markers[a.markers.length]=this}this._setMap(a)}}var storeLocator=function(){};storeLocator.prototype.initialize=function(b){var a={zoom:11,mapTypeId:google.maps.MapTypeId.ROADMAP};if("undefined"!=typeof(b)){a.center=new google.maps.LatLng(b[0],b[1])}window.map=new google.maps.Map(document.getElementById("map_canvas"),a)};storeLocator.prototype.getNearbyStores=function(b,g,e){if(null!=b||null!=g||null!=e){window.map.clearMarkers();dojo.empty("dealerList");var d=null!=e&&"undefined"!=typeof(e)?e.lat():null;var c=null!=e&&"undefined"!=typeof(e)?e.lng():null;var a=dijit.byId("locationForm").attr("value").radius;var h="/service/storefinder/?";if(null!=b){h+="address="+b;if(null!=g){h+="&country="+g}}if(null!=d&&null!=c){h+="lat="+d+"&lng="+c}if(null!=a){h+="&r="+a}var f=this;GDownloadUrl(h,function(R){var t=GXml.parse(R);var S=t.documentElement.getElementsByTagName("marker");var u=t.documentElement.getElementsByTagName("location");if(u.length>0){var Q=dojo.create("li",{},dojo.byId("dealerList"));dojo.create("strong",{innerHTML:"Did you mean..."},Q);window.locationList=new Array();for(var O=0;O<u.length;O++){var p=u[O].getAttribute("loc1");var j=u[O].getAttribute("loc2");var C=u[O].getAttribute("lat");var x=u[O].getAttribute("lng");window.locationList.push([C,x]);var Q=dojo.create("li",{},dojo.byId("dealerList"));var o=dojo.create("a",{rel:O},Q);dojo.create("strong",{innerHTML:p},o);dojo.create("span",{innerHTML:j},o);dojo.connect(o,"click",function(){if("undefined"!=typeof(window.locationList)){for(var V in window.locationList){if(V==this.rel){f.getNearbyStores(null,null,new google.maps.LatLng(window.locationList[V][0],window.locationList[V][1]));break}}}})}return}else{if(S.length==0){alert("There are no Ridgeback partner shops in your nearby area."+(a<10?"\nTry to choose a longer distance to see stores near your town.":""));return}else{var H=new google.maps.LatLngBounds();if(null==e||"undefined"==typeof(e)){var v=t.documentElement.getElementsByTagName("current_location");e=new google.maps.LatLng(v[0].getAttribute("lat"),v[0].getAttribute("lng"))}new google.maps.Marker({map:window.map,position:e,icon:window.staticUrl+"image/map_pin_home.png"});H.extend(e);window.storeList=new Array();for(var O=0;O<S.length;O++){var A=new Array();var I=S[O].getAttribute("name");var N=S[O].getAttribute("address");var J=S[O].getAttribute("website");var F=S[O].getAttribute("email");var s=S[O].getAttribute("phone");var K=S[O].getAttribute("fax");var n=S[O].getAttribute("image");var l=parseFloat(S[O].getAttribute("distance"));var U=parseFloat(S[O].getAttribute("lat"));var M=parseFloat(S[O].getAttribute("lng"));var G=new google.maps.LatLng(U,M);var T=new google.maps.Marker({map:window.map,position:G,icon:window.staticUrl+"image/map_pin.png"});A.push(T);var q=dojo.create("div",{className:"dealerInfo"});dojo.create("h4",{innerHTML:I},q);dojo.create("span",{innerHTML:"Distance from your location: "+l+" mile"+(l>1?"s":"")},q);var L=dojo.create("div",{className:"info"},q);dojo.create("img",{src:staticUrl+"image/"+(""!=n?"dealer/"+n:"rb-dealer.jpg")},L);var k=dojo.create("div",{className:"contact"},L);dojo.create("p",{innerHTML:N},k);var P=dojo.create("ul",{className:"contact"},k);if(""!=s){dojo.create("li",{className:"phone",innerHTML:"t: "+s},P)}if(""!=K){dojo.create("li",{className:"fax",innerHTML:"f: "+K},P)}if(""!=J){var B=dojo.create("li",{className:"website"},P);var m=dojo.create("a",{href:J,rel:"nofollow",innerHTML:J.replace("http://","")},B);dojo.connect(m,"onclick",function(i){window.open(this.href,"dealerWebsite");dojo.stopEvent(i)})}if(""!=F){var r=dojo.create("li",{className:"email"},P);var w=dojo.create("a",{href:"mailto:"+F,rel:"nofollow",innerHTML:F},r)}var E=new google.maps.InfoWindow({content:q,position:G});A.push(E);window.storeList.push(A);H.extend(G);var Q=dojo.create("li",{},dojo.byId("dealerList"));var o=dojo.create("a",{rel:O},Q);var z=N.split("<br />");var D=I+" - "+z[z.length-4];if(D.length>30){D=I}dojo.create("strong",{innerHTML:D},o);dojo.create("span",{innerHTML:z[z.length-3]+" "+z[z.length-1]},o);var y=function(){if("undefined"!=typeof(window.storeList)){var W=("undefined"!=typeof(this.tagName)&&"a"==this.tagName.toLowerCase()&&"undefined"!=typeof(this.parentNode)&&"undefined"!=typeof(this.parentNode.parentNode)&&"undefined"!=typeof(this.parentNode.parentNode.id)&&"dealerList"==this.parentNode.parentNode.id?false:true);for(var V in window.storeList){if(W){if(window.storeList[V][0]==this){window.storeList[V][1].open(window.map)}else{window.storeList[V][1].close()}}else{if(V==this.rel){window.storeList[V][1].open(window.map)}else{window.storeList[V][1].close()}}}}};google.maps.event.addListener(T,"click",y);dojo.connect(o,"click",y)}window.map.fitBounds(H);scroller=new jsScroller(document.getElementById("Scroller-1"),208,230);new jsScrollbar(document.getElementById("Scrollbar-Container"),scroller,false)}}})}else{alert("Could not find your location based on the address you entered. Please make sure you entered a valid address.")}};if("undefined"!=typeof(dojo)){dojo.addOnLoad(function(){window.animationDuration=(/(.*)MSIE(.*)/.test(navigator.userAgent)?1:300);if(window.animationDuration>1){window.animationDuration=(/(.*)Trident(.*)/.test(navigator.userAgent)?1:300)}dojo.query("#menu .bikes a").connect("onmouseover",function(){dojo.style("bikeMenuContainer",{opacity:0,visibility:"visible"});dojo.fadeIn({node:"bikeMenuContainer",duration:window.animationDuration,onEnd:function(){window.bikeMenuOpened=true}}).play()});var n=function(){dojo.style("accessoriesSelectionContainer",{opacity:0,visibility:"visible"});dojo.fadeIn({node:"accessoriesSelectionContainer",duration:window.animationDuration,onEnd:function(){window.accessoriesMenuOpened=true}}).play()};dojo.query("#menu .accessories a").connect("onmouseover",n);dojo.query("body#siteIndexIndex #rightArea .accessories a").connect("onclick",function(D){n();dojo.stopEvent(D)});dojo.connect(dojo.byId("bikeMenuContainer"),"onmouseleave",function(){if("undefined"!=typeof(window.bikeMenuOpened)&&window.bikeMenuOpened){window.bikeMenuOpened=false;dojo.fadeOut({node:"bikeMenuContainer",duration:window.animationDuration,onEnd:function(){dojo.style("bikeMenuContainer","visibility","hidden")}}).play()}});dojo.connect(dojo.byId("accessoriesSelectionContainer"),"onmouseleave",function(){if("undefined"!=typeof(window.accessoriesMenuOpened)&&window.accessoriesMenuOpened){window.accessoriesMenuOpened=false;dojo.fadeOut({node:"accessoriesSelectionContainer",duration:window.animationDuration,onEnd:function(){dojo.style("accessoriesSelectionContainer","visibility","hidden")}}).play()}});dojo.query("#infoScreenButton").connect("onclick",function(){if("undefined"==typeof(window.infoScreenAnimation)||!window.infoScreenAnimation){var D=(dojo.hasClass("infoScreenButton","active")?false:true);window.infoScreenAnimation=true;if(D){dojo.style("infoScreenContainer","z-index",1000)}else{dojo.style("infoScreenContainer","z-index",0)}dojo.animateProperty({node:"infoScreen",properties:{marginTop:(D?0:369)},onEnd:function(){window.infoScreenAnimation=false}}).play();if(D){window.infoScreenOpened=true;dojo.addClass("infoScreenButton","active")}else{window.infoScreenOpened=false;dojo.removeClass("infoScreenButton","active")}}});function m(J,E,H){if("undefined"!=typeof(bikeMenuBikesLinks)){bikeMenuBikesLinks.removeClass("active")}dojo.addClass(this,"active");H.empty();var G=dojo.create("strong",{innerHTML:window.productBikeList[E]["products"][J]["name"]});var F=dojo.create("span",{innerHTML:" - &pound;"+window.productBikeList[E]["products"][J]["price"]});var D=dojo.create("a",{href:"/bike/"+window.productBikeList[E]["products"][J]["uri_id"]});var I=dojo.create("img",{src:staticUrl+"image/asset/bikes/"+window.productBikeList[E]["products"][J]["uri_id"]+"/m.jpg"});dojo.place(I,D);var K=dojo.create("p",{innerHTML:window.productBikeList[E]["description"]});dojo.place(G,H[0]);dojo.place(F,H[0]);dojo.place(D,H[0]);dojo.place(K,H[0])}var r=dojo.query("#bikeMenu .series a");var d=dojo.query("#bikeMenu .bikeDetails");bikeMenuBikesLinks=dojo.query("#bikeMenu .bikes a");bikeMenuBikesLinks.connect("onmouseover",function(){m(dojo.indexOf(bikeMenuBikesLinks,this),0,d)});r.connect("onmouseover",function(){if("undefined"!=typeof(window.productBikeList)){r.removeClass("active");dojo.addClass(this,"active");var D=dojo.indexOf(r,this);var G="http://"+window.location.host+"/";var K=dojo.query("#bikeMenu .bikes");if("undefined"==typeof(K)||0==K.length){K=dojo.create("ul",{className:"bikes"});dojo.place(K,r[0].parentNode.parentNode,"after")}if("undefined"!=typeof(window.productBikeList[D]["products"])){var J=dojo.query("#bikeMenu .bikes");J.empty();if("undefined"==typeof(window.bikesInSeriesByPrice)){window.bikesInSeriesByPrice=new Array()}if("undefined"==typeof(window.bikesInSeriesByPrice[D])){window.bikesInSeriesByPrice[D]=dojo.clone(window.productBikeList[D]["products"]);function F(M,L){var O=parseInt(M.price);var N=parseInt(L.price);return(O<N?-1:((O>N)?1:0))}window.bikesInSeriesByPrice[D].sort(F)}for(var E in window.productBikeList[D]["products"]){if(window.productBikeList[D]["products"][E]["price"]==window.bikesInSeriesByPrice[D][(window.bikesInSeriesByPrice[D].length-1)]["price"]){m(E,D,d);break}}for(var E in window.productBikeList[D]["products"]){var I=dojo.create("a",{href:G+"bike/"+window.productBikeList[D]["products"][E]["uri_id"],innerHTML:window.productBikeList[D]["products"][E]["name"]});var H=dojo.create("li",{className:window.productBikeList[D]["style"]});dojo.place(I,H);dojo.place(H,(0<K.length?K[0]:K))}bikeMenuBikesLinks=dojo.query("#bikeMenu .bikes a");bikeMenuBikesLinks.connect("onmouseover",function(){m(dojo.indexOf(bikeMenuBikesLinks,this),D,d)})}}});window.postFeedIndex=0;window.postFeedTotalElements=dojo.query("#postFeed li").length;var c=function(){var D=0-(80*window.postFeedIndex);if(window.postFeedIndex>=window.postFeedTotalElements){window.postFeedIndex=0;D=0}dojo.animateProperty({node:"postFeed",properties:{marginTop:D}}).play();window.postFeedIndex++};c();setInterval(c,5000);dojo.query(".mediaElements a.twitter, .mediaElements a.facebook, body#siteIndexAccessories .pagecontent .brands li a, body#siteIndexAccessories .pagecontent p a, body#siteIndexAccessories .pagecontent a.sideimg").connect("onclick",function(D){window.open(this.href,"external");dojo.stopEvent(D)});var t=dojo.query("#carousel li a");function B(D,E){if("undefined"!=typeof(window.productBikeList[D]["products"])){dojo.query("#header #topBar .halfSize")[0].className=window.productBikeList[D]["style"]+" halfSize";dojo.query("#content .topBar .leftBand").attr("class",window.productBikeList[D]["style"]+" leftBand");dojo.query("#content .topBar .leftBand strong").attr("innerHTML",window.productBikeList[D]["name"]);dojo.query("#content .topBar .leftBand span").attr("innerHTML",window.productBikeList[D]["products"][0]["name"]);dojo.query("#content #leftArea img").attr({src:staticUrl+"image/asset/bikes/"+window.productBikeList[D]["products"][0]["uri_id"]+"/xl.jpg",alt:window.productBikeList[D]["products"][0]["name"]});dojo.query("#content #leftArea a").attr({href:E.replace(/bike\/(.*)/,"")+"bike/"+window.productBikeList[D]["products"][0]["uri_id"]})}}if(null!=t&&"undefined"!=typeof(t)&&0<t.length){dojo.query("#carousel li").removeClass("opened");slideMenu.build("carousel",641,960,10,2,1,(window.activeSeriesIndex+1))}if("siteIndexIndex"==document.body.id){t.connect("onmouseover",function(E){var D=dojo.indexOf(t,this);B(D,this.href)})}if("undefined"!=typeof(dijit.byId)&&null!=dijit.byId){var C=dijit.byId("slideshowContainer");if(null!=C&&"undefined"!=typeof(C)){C.setDataStore(imageItemStore,{count:2,start:0},{imageLargeAttr:"large"})}}dojo.query("form").connect("onsubmit",function(D){if("undfined"!=typeof(dijit.byId)&&null!=dijit.byId){dijit.byId(this.id).validate()}});if("siteIndexIndex"==document.body.id){dojo.query("#rightArea .routes a, #rightArea .facebook a").connect("onclick",function(D){window.open(this.href,"external");dojo.stopEvent(D)});dojo.query("form#dealerFinder input[name='location']").connect("onfocus",function(D){if("Search..."==this.value){this.value=""}});dojo.query("form#dealerFinder input[name='location']").connect("onblur",function(D){if(""==this.value){this.value="Search..."}});dojo.query("form#dealerFinder").connect("onsubmit",function(D){if("Search..."!=document.forms.dealerFinder.location.value&&""!=document.forms.dealerFinder.location.value){window.location=this.action+"?location="+document.forms.dealerFinder.location.value+"&radius="+document.forms.dealerFinder.radius.value}dojo.stopEvent(D)})}else{if("siteIndexDealers"==document.body.id){var e=new storeLocator();if(null!=window.location.toString().match(/location=(.*)/)){e.initialize();e.getNearbyStores(dijit.byId("locationForm").attr("value").location,("undefined"!=visitorCountry?visitorCountry:null))}else{if("undefined"!=visitorCoordinates){var u=new google.maps.LatLng(visitorCoordinates[0],visitorCoordinates[1]);e.initialize();e.getNearbyStores(null,null,u)}else{e.initialize([52.955,-1.149])}}dojo.connect(dijit.byId("locationForm"),"onSubmit",function(E){if(this.validate()){var F=dijit.byId("locationForm").attr("value").location;var D=dijit.byId("locationForm").attr("value").radius;if("undefined"==typeof(window.searchOptions)||("undefined"!=typeof(window.searchOptions[0])&&"undefined"!=typeof(window.searchOptions[1])&&(F!=window.searchOptions[0]||D!=window.searchOptions[1]))){window.searchOptions=new Array();window.searchOptions.push(F);window.searchOptions.push(D);e.getNearbyStores(dijit.byId("locationForm").attr("value").location,("undefined"!=visitorCountry?visitorCountry:null))}}dojo.stopEvent(E)})}else{if("siteBikesFeatures"==document.body.id){if("undefined"!=window.coordinatesProperties){var s=dojo.query("#rightArea .points li");var i=dojo.query("#leftArea dl *");s.connect("onmouseover",function(F){for(var E in s){if(s[E]==this){for(var D in i){if("undefined"!=typeof(i[D].className)&&i[D].className==window.coordinatesProperties[E]){dojo.addClass(i[D],"active")}}break}}});s.connect("onmouseout",function(D){if("undefined"==typeof(window.keepPropertyHighlight)||!window.keepPropertyHighlight){i.removeClass("active")}});if("siteBikesFeatures"==document.body.id){var l=dojo.query("#rightArea");var z=dojo.query("#rightArea img");var y=dojo.query("#content .close");y.connect("onclick",function(D){if("undefined"!=typeof(window.keepPropertyHighlight)&&window.keepPropertyHighlight){l.fadeOut({onEnd:function(){l.style({background:"none",opacity:1,visibility:"visible"});z.style("visibility","visible");s.style("visibility","visible");y.style("visibility","hidden");i.removeClass("active");window.keepPropertyHighlight=false}}).play()}});s.connect("onclick",function(H){var L=this.style.marginTop.match(/([0-9]+)/);var M=this.style.marginLeft.match(/([0-9]+)/);var G=z[0].offsetWidth;var E=z[0].offsetHeight;if("undefined"!=typeof(M[0])&&"undefined"!=typeof(L[0])){window.keepPropertyHighlight=true;z.style("visibility","hidden");s.style("visibility","hidden");var D=z.attr("src");var F=D.toString().replace("xl","xxl");var K=2600/parseInt(G);var I=((parseInt(L[0])*K)-190);if(I>0){I=0-I+30}var J=(((parseInt(M[0])+10)*K)-(Math.round((parseInt(l.style("width"))-parseInt(G))/2)*K));if(J>0){J=0-J+308}l.style({background:"url('"+F+"') no-repeat "+J+"px "+I+"px",opacity:0,visibility:"visible"});l.fadeIn({onEnd:function(){y.style("visibility","visible")}}).play()}})}}}else{if("siteBikesGeometry"==document.body.id){var h=dojo.byId("geometryValues");if(null!=h&&"undefined"!=typeof(h)){var o=dojo.style(h,"width");if(o>205){dojo.query("#leftArea .scrollLeft, #leftArea .scrollRight").style("visibility","visible");window.geometryDetailNum=1;var g=dojo.query("#geometryValues tbody tr:first-child td").length;window.geometryValuesMargin=dojo.style(h,"margin-left");if(0==window.geometryValuesMargin){window.geometryValuesMargin=dojo.style(h,"marginLeft")}var A=68;window.geometryAnimation=false;dojo.query("#leftArea .scrollLeft").connect("onclick",function(D){if(!window.geometryAnimation&&window.geometryDetailNum>1){if(0!=window.geometryValuesMargin){window.geometryAnimation=true;dojo.animateProperty({node:h,properties:{marginLeft:window.geometryValuesMargin+A},onEnd:function(){window.geometryAnimation=false;window.geometryValuesMargin=window.geometryValuesMargin+A}}).play()}window.geometryDetailNum--}dojo.stopEvent(D)});dojo.query("#leftArea .scrollRight").connect("onclick",function(D){if(!window.geometryAnimation&&window.geometryDetailNum<g-2){window.geometryAnimation=true;dojo.animateProperty({node:h,properties:{marginLeft:window.geometryValuesMargin-A},onEnd:function(){window.geometryAnimation=false;window.geometryValuesMargin=window.geometryValuesMargin-A}}).play();window.geometryDetailNum++}dojo.stopEvent(D)})}}}else{if("siteBikesComparison"==document.body.id){dojo.query("#content .topBar .compare a").connect("onmouseover",function(){dojo.style("seriesSelection",{opacity:0,visibility:"visible"});dojo.fadeIn({node:"seriesSelection",duration:window.animationDuration,onEnd:function(){window.seriesSelectionOpened=true}}).play()});dojo.query("#header, #page #footer, #page #content .topBar .left,  #page #content .topBar .right, #page #content #leftArea, #page #content .separator, #page #content #rightArea").connect("onmouseover",function(){if("undefined"!=typeof(window.seriesSelectionOpened)&&window.seriesSelectionOpened){window.seriesSelectionOpened=false;dojo.fadeOut({node:"seriesSelection",duration:window.animationDuration,onEnd:function(){dojo.style("seriesSelection","visibility","hidden")}}).play()}});var f=dojo.byId("bikeListing");if(null!=f&&"undefined"!=typeof(f)){window.comparisonTotalPageNum=f.children.length;window.comparisonCurrentPageNum=1;dojo.query("#rightArea .leftPagination a").connect("onclick",function(D){if(window.comparisonCurrentPageNum>1){window.comparisonCurrentPageNum--;dojo.animateProperty({node:"bikeListing",properties:{marginLeft:parseInt(dojo.style("bikeListing")["marginLeft"])+400}}).play()}dojo.stopEvent(D)});dojo.query("#rightArea .rightPagination a").connect("onclick",function(D){if(window.comparisonCurrentPageNum<window.comparisonTotalPageNum){dojo.animateProperty({node:"bikeListing",properties:{marginLeft:0-((window.comparisonCurrentPageNum*360)+((window.comparisonCurrentPageNum-1)*40))}}).play();window.comparisonCurrentPageNum++}dojo.stopEvent(D)})}}else{if("siteBikesFeedbacks"==document.body.id){var j=dojo.query("#leftArea .feedbacks");var q=100;var b=false;var w=function(){};w.prototype.up=function(){this.animation("up")};w.prototype.down=function(){this.animation("down")};w.prototype.animation=function(F){var E=("up"==F?j[0].offsetTop<190&&!b:j[0].offsetTop>=0&&!b);if(E){b=true;var D=parseInt(j.style("margin-top"));if(0==D){D=parseInt(j.style("marginTop"))}dojo.animateProperty({node:j[0],properties:{marginTop:("up"==F?(D+q):(D-q))},onEnd:function(){b=false}}).play()}};if(j[0].clientHeight>=315){dojo.query("#leftArea .scrollUp, #leftArea .scrollDown").style("display","block");var x=new w();dojo.query("#leftArea .scrollUp").connect("onmouseover",x,x.up);dojo.query("#leftArea .scrollUp").connect("onclick",x,x.up);dojo.query("#leftArea .scrollDown").connect("onmouseover",x,x.down);dojo.query("#leftArea .scrollDown").connect("onclick",x,x.down)}}else{if("membersIndexIndex"==document.body.id){if("undefined"!=typeof(dijit.byId)&&null!=dijit.byId){var k=dijit.byId("contactSlideshowContainer");k.setDataStore(contactSlideshowStore,{count:2,start:0},{imageLargeAttr:"large"})}}else{if("siteIndexAbout"==document.body.id){x=new jsScroller(document.getElementById("Scroller-1"),932,369);new jsScrollbar(document.getElementById("Scrollbar-Container"),x,false)}}}}}}}}dojo.query(".detailButtons .zoom a").connect("onclick",function(E){var D=780;if(screen.width>=1600){D=1500}else{if(screen.width>=1280){D=1200}else{if(screen.width>=1024){D=1000}}}var F=D*0.65;window.open(this.href,"XXL","width="+D+",height="+F+",scrollbars=auto,resizable=yes,status=no");dojo.stopEvent(E)});var a=dojo.byId("bikesInSeriesCarousel");if(null!=a&&"undefined"!=typeof(a)){var p=dojo.style(a.children[0],"width");var v=("blog"==document.body.id?1:3);window.bikesInSeriesCarouselMargin=dojo.style(a,"margin-left");if(0==window.bikesInSeriesCarouselMargin){window.bikesInSeriesCarouselMargin=dojo.style(a,"marginLeft")}window.bikesInSeriesCurrentBike=dojo.indexOf(dojo.query("#bikesInSeriesCarousel li"),dojo.query("#bikesInSeriesCarousel li.active")[0]);window.bikesInSeriesAnimation=false;dojo.query("#footer .leftPagination a").connect("onclick",function(D){if(!window.bikesInSeriesAnimation&&window.bikesInSeriesCurrentBike>0){if(0!=window.bikesInSeriesCarouselMargin){window.bikesInSeriesAnimation=true;dojo.animateProperty({node:a,properties:{marginLeft:window.bikesInSeriesCarouselMargin+p+1},onEnd:function(){window.bikesInSeriesAnimation=false;window.bikesInSeriesCarouselMargin=window.bikesInSeriesCarouselMargin+p+1}}).play()}window.bikesInSeriesCurrentBike--}dojo.stopEvent(D)});dojo.query("#footer .rightPagination a").connect("onclick",function(D){if(!window.bikesInSeriesAnimation&&window.bikesInSeriesCurrentBike<a.children.length-2){window.bikesInSeriesAnimation=true;dojo.animateProperty({node:a,properties:{marginLeft:window.bikesInSeriesCarouselMargin-p-1},onEnd:function(){window.bikesInSeriesAnimation=false;window.bikesInSeriesCarouselMargin=window.bikesInSeriesCarouselMargin-p-1}}).play();window.bikesInSeriesCurrentBike++}dojo.stopEvent(D)})}dojo.query("a.external").connect("onclick",function(D){window.open(this.href,"external");dojo.stopEvent(D)})})};
