var loadingImg;!function(e){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))}(navigator.userAgent||navigator.vendor||window.opera),"undefined"==typeof noLoadingImg&&((loadingImg=new Image).src="data:image/svg+xml,%3Csvg viewBox='0 0 38 38' xmlns='http://www.w3.org/2000/svg' stroke='%23000'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate(1 1)' stroke-width='2'%3E%3Ccircle stroke-opacity='.5' cx='18' cy='18' r='18'/%3E%3Cpath d='M36 18c0-9.94-8.06-18-18-18'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 18 18' to='360 18 18' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");var signinValidator,googleAnalyticsTrackEvent=function(e,i,a,t,n){"undefined"!=typeof gtag&&(void 0!==n?void 0===t?gtag("event",i,{event_category:e,event_label:a,non_interaction:n}):gtag("event",i,{event_category:e,event_label:a,value:t,non_interaction:n}):void 0===t?gtag("event",i,{event_category:e,event_label:a}):gtag("event",i,{event_category:e,event_label:a,value:t}))},wsBoxBlockUICss={width:"100%",maxWidth:"600px",left:"0",right:"0",margin:"0 auto",border:"none",padding:"20px 0",backgroundColor:"#fff"},wsBoxBlockUI=function(e,i,a){i=void 0!==i?i:1e3,a=void 0!==a?a:200,$.blockUI({forceIframe:!0,message:e,centerY:!0,baseZ:i,css:wsBoxBlockUICss,fadeIn:a})},signinBlockUI=function(){var e='
Signing in...please wait...
';wsBoxBlockUI(message=e,void 0,fadeIn=0)},generateWSBoxCaptcha=function(){$.ajax({url:"/?event=remote.general.regenerateCaptcha",type:"GET",data:"type=signin",async:!1,cache:!1,dataType:"json",success:function(e){$(".signinKeyImg").attr("src",e+"?"+Math.floor(999*Math.random()))}})},memberFormOption={rules:{username:{required:!0},password:{required:!0},signinKey:{required:!0}},messages:{username:{required:"Username is required"},password:{required:"Password is required"},signinKey:{required:"Key is required"}},errorPlacement:function(e,i){e.css({color:"#a00","font-size":"10px"}),e.insertAfter(i)},submitHandler:function(e){signinBlockUI(),e.submit()}},recaptchachecked=!1;function recaptchaCallback(){recaptchachecked=!0}var signinPageOption={rules:{username:{required:!0},password:{required:!0},signinKey:{required:!0}},messages:{username:{required:"Username is required"},password:{required:"Password is required"},signinKey:{required:"Key is required"}},highlight:function(e,i,a){$(e).parents("li").find(".mdl-textfield").addClass("is-invalid")},unhighlight:function(e,i,a){$(e).parents("li").find(".mdl-textfield").removeClass("is-invalid")},errorPlacement:function(e,i){$(i).parents("li").find(".mdl-textfield").addClass("is-invalid"),e.insertAfter($(i).parents("li").find(".mdl-textfield"))},submitHandler:function(e){if($(".captcha .error").remove(),!recaptchachecked)return $("").appendTo($(".captcha")),!1;$("#signin-form").attr("action","/sign-in/memberloginvalidate/"),signinBlockUI(),e.submit()}};$(function(){Modernizr&&Modernizr.on("webp",function(e){e||$("body").removeClass("webp")}),$.validator&&(signinValidator=$("#signin-form").validate(signinPageOption)),$("#signin-submit2").on("click",function(e){e.preventDefault(),$("#signin-form").submit()}),$("#signin-form").keypress(function(e){var i=$(this).attr("id");return!(e.which&&13==e.which||e.keyCode&&13==e.keyCode)||($("form#"+i).submit(),!1)}),$("a#reloadSigninKey").live("click",function(){generateWSBoxCaptcha()}),$("#signin-wrapper #signin-form #username, #signin-wrapper #signin-form #password").keyup(function(e){0<$("#signin-wrapper #signin-form div.errorMsg").length&&$("#signin-wrapper #signin-form div.errorMsg").remove()}),$("#signin-wrapper #signin-form #username").focus();$("button.submitBtn,button.cancelBtn").hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")}),$("#site-menu li div.tab").parents("li").hover(function(){$(this).hasClass("current")||($("#site-menu li.current")[0]?($(this).removeClass("hover-rest"),$(this).addClass("hover")):($(this).addClass("hover active"),$("#site-menu li:not('.active')").addClass("hover-rest")))},function(){$(this).hasClass("current")||($("#site-menu li.current")[0]?($(this).removeClass("hover"),$(this).addClass("hover-rest")):($("#site-menu li:not('.active')").removeClass("hover-rest"),$(this).removeClass("hover active")))}),$(document).on({click:function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},0),$(this).is(":visible")&&$("#miniMenuItem").slideToggle(350,function(){"block"==$("#miniMenuItem").css("display")?$("#site-header").addClass("open"):$("#site-header").removeClass("open")})}},"a#miniMenu,a#closeMiniMenu"),$(document).on({click:function(e){var i=$(this).parents(".hasSubmenu");if(0<$(".submenu",i).length){if(e.stopPropagation(),e.preventDefault(),!0===e.handled)return!1;"0"==$(".submenu",i).css("opacity")?i.addClass("open"):i.removeClass("open"),e.handled=!0}}},"#miniMenuItem .hasSubmenu > a");$("#site-header .headerBanner").offset(),$("#site-header");var t,i=$("#promoTopBanner");$(window).bind("scroll",function(){600<$(this).scrollTop()?$("a.backToTop").fadeIn():$("a.backToTop").fadeOut()}).bind("load",function(){0 Submitting request...please wait...';wsBoxBlockUI(message=a,baseZ=10005,fadeIn=500),$.ajax({url:"/?event=remote.affiliate.signup",type:"POST",data:i.serialize(),cache:!1,async:!1,dataType:"json",success:function(e){$("error",i).html(""),e.status?window.location=e.message:($(".error",i).html('"),$.unblockUI())},error:function(){$.unblockUI()}})}},$(document.body).on("click","#affiliateBox.fixed .mdl-button",function(e){$("#affiliateBox.fixed form").validate({rules:t.rules,messages:t.messages,highlight:function(e,i,a){t.highlight(arguments)},unhighlight:function(e,i,a){t.unhighlight(arguments)},invalidHandler:function(){},errorPlacement:function(e,i){var a=$(i);elementName=a.attr("name"),"affiliateFirstName"==elementName||"affiliateLastName"==elementName?((i=a.parents(".col."+elementName)).find(".mdl-textfield").addClass("is-invalid"),e.insertAfter(i.find(".mdl-textfield"))):(a.parents(".row").find(".mdl-textfield").addClass("is-invalid"),e.insertAfter(a.parents(".row").find(".mdl-textfield")))},submitHandler:function(e){t.submitHandler(e,$("#affiliateBox.fixed form"))}});$("#affiliateBox.fixed form").valid()&&($("#affiliateBox.fixed form .error").html(""),$("#affiliateBox.fixed form").submit())}),$("#affiliateBox").on("openAffiliatePopup",function(){$("#affiliateBox").removeClass("fixed hide").trigger("resetForm").addClass("fixed")}).on("resetForm",function(){$("#affiliateBox form").trigger("reset");var e=document.querySelectorAll("#affiliateBox .mdl-textfield");Array.prototype.forEach.call(e,function(e){void 0!==e.MaterialTextfield&&e.MaterialTextfield.change()}),$("#affiliateBox form .error").html("")}),$(document).on({click:function(e){e.preventDefault(),$("#affiliateBox.fixed").addClass("hide").delay(300).queue(function(){$(this).removeClass("fixed hide").dequeue()})}},"#affiliateBox.fixed a.close"),$(document).keyup(function(e){27==e.keyCode&&$("#affiliateBox").hasClass("fixed")&&$("#affiliateBox.fixed a.close").trigger("click")}))});var fancyBoxVideoPlay=function(e,i){var a=swfobject.getFlashPlayerVersion().major,t=e.replace("//youtu.be","//youtube.com/embed"),n=document.createElement("video"),o=!(!n.canPlayType||!n.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/no/,"")),n=!(!n.canPlayType||!n.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"').replace(/no/,""));return 0The Adobe Flash Player or an HTML5 supported browser is required to view this video.
- Get the latest Flash Player, or
- Learn more about upgrading to an HTML5 browser
Once installed, visit
Website.com again to view the video, or if you prefer, you can view the video directly at
YouTube.
',type:"html"})),!1},templateShowcaseSkipID="67,178,1677",underScoreNegate=function(e){return function(){return!e.apply(this,arguments)}},isInSkipList=function(e){return 0<=$.inArray(e.toString(),templateShowcaseSkipID.split(","))};function sessionExpires(){self!=top&&(top.location="https://"+window.location.host+"/sign-in")}$(window).bind("resize",function(){$("#miniMenu").is(":visible")||$("#miniMenuItem").hide(function(){$("#site-header").removeClass("open")})}),document.addEventListener("click",function(e){document.contains(document.getElementById("menuResources"))&&!document.querySelector("#site-menu .hasSubmenu.resources").contains(e.target)&&(document.getElementById("menuResources").checked=!1)},!1);