﻿var lang="",root="http://www.pri.dev.vertisoftpme.com/",arrLangTxt="",arrLangVid="",isIE6=false,isIE=false; function feedPrd(a,b,c){lang==""&&setLang();var d=a.parentNode;d=a.nextSibling.firstChild;var e="";if(b)e+='<a href="'+a.href+'" class="hdrPrdImg"><img src="'+b+'" alt=""></a>';e+='<span class="hdrPrdBtn"><a href="'+a.href+'"><img src="/medias/communs/mstr_placeholder.gif" alt=""></a></span>';e+="<h1>"+a.innerHTML+"</h1>";if(c)e+="<p>"+c+"</p>";e+='<a class="hdrPrdAct" href="'+root+"Content/"+arrLangTxt[0]+'/dealer_locator.aspx">'+arrLangTxt[1]+'</a>  <em>&nbsp;</em> <a class="hdrPrdAct" href="'+root+ "Content/"+arrLangTxt[0]+'/brochure_req.aspx">'+arrLangTxt[2]+"</a>";if(isIE6||isIE)e+='<iframe class="navMask"></iframe>';d.innerHTML=e;a.onmouseover=null} function setLang(){lang=document.getElementById("body").className;if(lang=="fr"){arrLangTxt=new Array("fr-CA","Trouver un concessionnaire","Demande de catalogue");arrLangVid=new Array("Bateaux de p\u00eache","Bateaux pont\u00e9s","Pontons","Performance")}else{arrLangTxt=new Array("en-US","Find a Dealer","Brochure Request");arrLangVid=new Array("Fishing Boats","Deck Boats","Pontoons","Performance")}} $(document).ready(function(){$("#mstrFtrZone").addClass("hasJS");setTimeout("$('#mstrFtrZone').animate({'height': '102px'}, 1000);",500)});function imprimer(a){if(window.print)window.print();else a=="fr"?alert("Votre navigateur n'est pas compatible avec l'impression directe.\n\nPour imprimer, allez dans le menu Fichier de votre navigateur et choisissez \"Imprimer\"."):alert('Your browser does not support direct printing.\n\nTo print, go to the File menu of your browser and select "Print".')} function refer(a){window.open(root+"content/"+a+"/send2afriend.aspx?LanguageID="+a+"&RefererUrl="+encodeURIComponent(location.href),"","width=586,height=330");return false}function swapStyle(){switch(getActiveStyleSheet()){case "larger":setActiveStyleSheet("largest");break;case "largest":setActiveStyleSheet("normal");break;default:setActiveStyleSheet("larger");break}} function setActiveStyleSheet(a){var b,c;for(b=0;c=document.getElementsByTagName("link")[b];b++)if(c.getAttribute("rel").indexOf("style")!=-1&&c.getAttribute("title")){c.disabled=true;if(c.getAttribute("title")==a)c.disabled=false}}function getActiveStyleSheet(){var a,b;for(a=0;b=document.getElementsByTagName("link")[a];a++)if(b.getAttribute("rel").indexOf("style")!=-1&&b.getAttribute("title")&&!b.disabled)return b.getAttribute("title");return null} function getPreferredStyleSheet(){var a,b;for(a=0;b=document.getElementsByTagName("link")[a];a++)if(b.getAttribute("rel").indexOf("style")!=-1&&b.getAttribute("rel").indexOf("alt")==-1&&b.getAttribute("title"))return b.getAttribute("title");return null}function createCookie(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+c*24*60*60*1E3);c="; expires="+d.toGMTString()}else c="";document.cookie=a+"="+b+c+"; path=/"} function readCookie(a){a=a+"=";for(var b=document.cookie.split(";"),c=0;c<b.length;c++){for(var d=b[c];d.charAt(0)==" ";)d=d.substring(1,d.length);if(d.indexOf(a)==0)return d.substring(a.length,d.length)}return null}window.onload=function(){var a=readCookie("style");a=a?a:getPreferredStyleSheet();setActiveStyleSheet(a)};window.onunload=function(){var a=getActiveStyleSheet();createCookie("style",a,365)};var cookie=readCookie("style"),title=cookie?cookie:getPreferredStyleSheet();setActiveStyleSheet(title); function toggleSub(a){var b=document.getElementById("prdSubTabBg"),c=document.getElementById("pPlan"),d=document.getElementById("pPhotos"),e=document.getElementById("pVideo");switch(a){case 1:b.className="clearfix plan";c.style.display="block";d.style.display="none";e.style.display="none";break;case 2:b.className="clearfix photos";c.style.display="none";d.style.display="block";e.style.display="none";initCarousel();break;case 3:b.className="clearfix video";c.style.display="none";d.style.display="none"; e.style.display="block";break}}var activeElement=1; function toggleVid(a){var b=document.getElementById("vidTabsBg"),c=document.getElementById("pFishboats"),d=document.getElementById("pDeckboats"),e=document.getElementById("pPontoons"),f=document.getElementById("pPerf");switch(a){case 1:b.className="clearfix fishboats";c.style.display="block";d.style.display="none";e.style.display="none";f.style.display="none";break;case 2:b.className="clearfix deckboats";c.style.display="none";d.style.display="block";e.style.display="none";f.style.display="none"; break;case 3:b.className="clearfix pontoons";c.style.display="none";d.style.display="none";e.style.display="block";f.style.display="none";break;case 4:b.className="clearfix perf";c.style.display="none";d.style.display="none";e.style.display="none";f.style.display="block";break}activeElement=a} function feedVid(a){lang==""&&setLang();var b=a.parentNode.previousSibling,c="";document.getElementById("vidCatTtl").innerHTML=arrLangVid[activeElement-1];document.getElementById("vidName").innerHTML=b.innerHTML+" - "+a.innerHTML;b=new SWFObject("/medias/communs/videoplayer.swf","videoplayer","320","200","8.0.0","#F9F9F9");b.addVariable("file",a.href);b.addVariable("width","320");b.addVariable("height","200");b.addVariable("volume","100");b.addVariable("usefullscreen","false");isIE||b.addParam("wmode", "opaque");b.addVariable("autostart","true");b.addVariable("frontcolor","0x5B5B5B");document.getElementById("vidScreen").style.display="block";b.write("vidPlayer");b.write("vidPlayer")==false&&disableVideo("vidPlayer");return false} function disableVideo(a){a=document.getElementById(a);var b='<span>Le lecteur Adobe Flash doit \u00eatre install\u00e9 sur votre navigateur pour visualiser nos vid\u00e9os.<br /><br /><a href="http://www.adobe.com/go/getflashplayer" target="_blank">T\u00e9l\u00e9chargez la derni\u00e8re version ici</a></span>';if(lang=="en")b='<span>Adobe Flash Player must be installed on your browser to watch our videos.<br /><br /><a href="http://www.adobe.com/go/getflashplayer" target="_blank">Download the latest version here</a></span>'; a.className="txtContenu vidBoxMsg";a.innerHTML=b}function startSlide(){lang==""&&setLang();var a=new SWFObject("/medias/communs/slideshow/slideshow.swf","acc_flash","650","373","6.0.0","#FFFFFF");a.addParam("wmode","transparent");a.addVariable("XMLpath","/medias/"+lang);a.write("accFlash");if(a.write("accFlash")==false)document.getElementById("accFlash").innerHTML='<img src="/medias/communs/slideshow/image04.jpg" alt="">'}if(typeof deconcept=="undefined")var deconcept={}; if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={}; deconcept.SWFObject=function(a,b,c,d,e,f,g,h,i,j){if(document.getElementById){this.DETECT_KEY=j?j:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];a&&this.setAttribute("swf",a);b&&this.setAttribute("id",b);c&&this.setAttribute("width",c);d&&this.setAttribute("height",d);e&&this.setAttribute("version",new deconcept.PlayerVersion(e.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(); if(!window.opera&&document.all&&this.installedVer.major>7)deconcept.SWFObject.doPrepUnload=true;f&&this.addParam("bgcolor",f);this.addParam("quality",g?g:"high");this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);this.setAttribute("xiRedirectUrl",h?h:window.location);this.setAttribute("redirectUrl","");i&&this.setAttribute("redirectUrl",i)}}; deconcept.SWFObject.prototype={useExpressInstall:function(a){this.xiSWFPath=!a?"expressinstall.swf":a;this.setAttribute("useExpressInstall",true)},setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(a,b){this.params[a]=b},getParams:function(){return this.params},addVariable:function(a,b){this.variables[a]=b},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a= [],b,c=this.getVariables();for(b in c)a[a.length]=b+"="+c[b];return a},getSWFHTML:function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';a+= ' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var b=this.getParams();for(var c in b)a+=[c]+'="'+b[c]+'" ';c=this.getVariablePairs().join("&");if(c.length>0)a+='flashvars="'+c+'"';a+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+ '" style="'+this.getAttribute("style")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />';b=this.getParams();for(c in b)a+='<param name="'+c+'" value="'+b[c]+'" />';c=this.getVariablePairs().join("&");if(c.length>0)a+='<param name="flashvars" value="'+c+'" />';a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall"))if(this.installedVer.versionIsValid(new deconcept.PlayerVersion([6,0,65]))&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall", true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){(typeof a=="string"?document.getElementById(a):a).innerHTML=this.getSWFHTML();return true}else this.getAttribute("redirectUrl")!=""&&document.location.replace(this.getAttribute("redirectUrl")); return false}}; deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var b=navigator.plugins["Shockwave Flash"];if(b&&b.description)a=new deconcept.PlayerVersion(b.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){b=1;for(var c=3;b;)try{c++;b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);a=new deconcept.PlayerVersion([c, 0,0])}catch(d){b=null}}else{try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(f){if(a.major==6)return a}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(g){}}if(b!=null)a=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}return a}; deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major)return false;if(this.major>a.major)return true;if(this.minor<a.minor)return false;if(this.minor>a.minor)return true;if(this.rev<a.rev)return false;return true}; deconcept.util={getRequestParameter:function(a){var b=document.location.search||document.location.hash;if(a==null)return b;if(b){b=b.substring(1).split("&");for(var c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return b[c].substring(b[c].indexOf("=")+1)}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){for(var a=document.getElementsByTagName("OBJECT"),b=a.length-1;b>=0;b--){a[b].style.display="none";for(var c in a[b])if(typeof a[b][c]=="function")a[b][c]=function(){}}}; if(deconcept.SWFObject.doPrepUnload)if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}if(!document.getElementById&&document.all)document.getElementById=function(a){return document.all[a]}; var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject;