')}onloadCallback=function(){grecaptcha.render("recaptcha",{sitekey:"6LcfpUoUAAAAANFEDxmd5wDt-sO_aBvnybU6E-A3",theme:"light",callback:"showBtn"})};$(function(){function n(){$(".message").html("");var n="";return $("#FirstName").val()===""&&(n+="Please enter your first name.
"),$("#LastName").val()===""&&(n+="Please enter your last name.
"),$("#Email").val()===""&&(n+="Please enter your email.
"),$("#Email").val()!==$("#EmailConfirm").val()&&(n+="Your emails do not match.
"),$(".story").css("display")==="block"&&($("#Eighteen").is(":checked")||(n+="Please confirm you are age 19 or over.
")),$(".rma").css("display")==="block",$(".orderinfo").css("display")==="block"&&($("#Address1").val()===""&&(n+="Please enter your Address.
"),$("#City").val()===""&&(n+="Please enter your City.
"),$("#Country").val()===""&&(n+="Please enter your Country.
"),$("#State").val()===""&&(n+="Please enter your State/Province.
")),$(".footwearinfo").css("display")==="block",$(".internationalinfo").css("display")==="block"&&($("#Title").val()==""&&(n+="Please enter your Title or Position.
"),$("#Corpname").val()===""&&(n+="Please enter your Corporate Name.
"),$("#KeyManager").val()===""&&(n+="Please enter your Key Manager Email.
"),$("#IntlPhone").val()===""&&(n+="Please enter your Company Phone.
"),$("#MailAddress").val()===""&&(n+="Please enter your Mailing Address.
"),$("#OtherBrands").val()===""&&(n+="Please enter Other Brands Distributed.
"),$("#Overview").val()===""&&(n+="Please enter an Overview of Your Business.
"),$("#Plan").val()===""&&(n+="Please enter your Plan for bringing Dansko to the market.
")),n!==""?($(".message").html(n),!1):!0}$("#Topic").change(function(){var t=$(this).val(),n;$(".letsgo").show();$(".topiclist li").hide();$("#topic_"+t).show();$(".orderinfo").hide();$(".rma").hide();$(".footwearinfo").hide();$(".internationalinfo").hide();$(".story").hide();$(".addressinfo, .question").show();$(".order").hide();n=$("#Topic option:selected").text();n==="International Affiliates"&&($(".internationalinfo").show(),$(".order").show());(n==="Size and Fit"||n==="Repair")&&$(".footwearinfo").show();n==="Order Status"&&$(".orderinfo").show();n==="Return"&&($(".rma").show(),$(".orderinfo").show());n==="Tell Us Your Story"&&$(".story").show();$("#EmailSubject").val(n)});$("#Question").keyup(function(){$("#Topic").val()!==""&&$(".letsgo").show()});$("body").on("click","#gonow",function(){n()?$("#form1").submit():$("html, body").animate({scrollTop:0},"slow")})})