
/* start ~/Content/scripts/installer.js*/
WL.registerOnloadEvent(function(){initDownloadCtas();$("#onlineInstall").click(onClickGoToService)});function onClickGoToService(b){b.preventDefault();var f=b.target.href,a=0,c=20;$("#atlasImage").remove();var d=function(){var e=$("#atlasImage").get(0);if((!e.complete||e.naturalWidth===undefined||e.naturalWidth===0)&&a<c){a++;setTimeout(function(){d()},50)}else{window.location.href=f}};setTimeout(function(){d()},50)}function onClickInstall(a){WL.Atlas.TriggerEvent("atDLNow")}function initDownloadCtas(){Modal.Setup($("a.install, a.downloadItNow").not("#wlWave3InstallCta"),"/Ajax/Get/TermsOfUse",{SuppressTrackView:true,ClassName:"wlTermsOfUseModal",OnReady:function(){initWave3InstallButtons()},PageName:"Download Terms of Use"})}function initWave3InstallButtons(){var a=$("#wlWave3InstallCta").unbind("click").click(function(c){setTimeout(function(){if(Modal.Requested){Modal.Requested.Hide()}},200)});var b=$("#ProductID");if(b.length>0){switch(b.val()){case"Messenger":a.addClass("atDownloadMessenger").removeClass("atDLNow");break}}if(navigator.userAgent.toLowerCase().indexOf("msie 6")>-1){a.attr("target","__blank")}};
/* end ~/Content/scripts/installer.js */