' + ' ' + ' ' + '' + '' + '' + ''; var successHtml72922112 = '
Your email address has been added to our volunteer mailing list.
' + '\u003cdiv class="social - media - buttons" style="margin - top:10px;"\u003e\u003cdiv id="twitter - buttons"\u003e\u003c/div\u003e\u003cdiv class="fb - like" data-href="https://facebook.com/longlivekings" data-layout="button_count" data-show-faces="true" style="padding-right: 10px;" data-action="like" \u003e\u003c/div\u003e\u003cdiv id="facebookShareOnly" class="fb-share-button" data-href="https://facebook.com/longlivekings" data-layout="button_count"\u003e\u003c/div\u003e\u003cscript type=\u0027text/javascript\u0027\u003edocument.getElementById(\u0027facebookShareOnly\u0027).setAttribute(\u0027data-href\u0027, window.location.href);\u003c/script\u003e\u003c/div\u003e \u003cscript\u003e\r\n if (navigator.userAgent.indexOf(\u0027Edge/\u0027) === -1) {\r\n !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?"http":"https";if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document, "script", "twitter-wjs");\r\n var twitterButtons = document.getElementById(\u0027twitter-buttons\u0027);\r\n twitterButtons.innerHTML = \u0027\u003cdiv id="tweetButton" style="float:left; margin - right:10px"\u003e \u003ca href="https://twitter.com/share" data-text="I just signed up for @Longlivekings\u0026#39;s volunteer list. You should too!" class="twitter-share-button"\u003eTweet\u003c/a\u003e \u003c/div\u003e\u003cdiv id="followButton"\u003e \u003ca href="https://twitter.com/Longlivekings" class="twitter-follow-button"\u003eFollow\u003c/a\u003e \u003c/div\u003e\u0027;\r\n twitterButtons.style.height = \u002735px\u0027;\r\n }\r\n \u003c/script\u003e \u003cdiv id="fb - root"\u003e\u003c/div\u003e \u003cscript\u003e(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1\u0026version=v2.8"; fjs.parentNode.insertBefore(js, fjs); }(document, \u0027script\u0027, \u0027facebook-jssdk\u0027));\u003c/script\u003e ' + 'Only one email sign-up form can be used on each page.
'; } if (jQuery('#bloomerangForm72922112').length) { jQuery('#bloomerangForm72922112').after(html72922112); } ; if (Bloomerang.emailSignupFormLoaded) { return false; } Bloomerang.emailSignupFormLoaded = true; window.captchaLoadCallback = function() { Bloomerang.gRecaptchaLoaded = true; }; Bloomerang.Util.load('https://www.google.com/recaptcha/api.js?onload=captchaLoadCallback&render=explicit', function() { return Bloomerang.gRecaptchaLoaded; }, function() { jQuery('.section.captcha').removeAttr('style'); jQuery('form.email-registration-form').data('captcha-id', grecaptcha.render('captcha72922112', { 'sitekey': '6Leoq1sqAAAAAMy-g5JCuT4u4p7DulEhxYOkCDDW', 'size': 'invisible' })); grecaptcha.execute(); }, true, true); Bloomerang.useKey('pub_4fdf99a1-658a-11e7-afbe-024e165d44b3'); /* Register proper callbacks for various stages/outcomes of submission */ Bloomerang.Widget.Email.OnSubmit = function(args) { jQuery(".btn-submit-email").val("Registering...").prop("disabled", true).addClass("disabled"); var val = function(selector) { return jQuery(selector).val(); }; Bloomerang.Account .individual() .firstName(val(".email-registration-form #first-name")) .lastName(val(".email-registration-form #last-name")) .homeEmail(val(".email-registration-form #email-address")) .applyEmailSignupCustomFields(); Bloomerang.Interaction.applyEmailSignupCustomFields(); }; Bloomerang.ValidateEmailSignupFormCaptcha = function() { if (typeof (grecaptcha) !== "undefined" && jQuery("#captcha" + Bloomerang.Data.WidgetIds.EmailSignup).children().length) { var captchaResponse = grecaptcha.getResponse(jQuery(".email-registration-form").data("captcha-id")); if (captchaResponse) { jQuery(".email-registration-form .noCaptchaResponseError").hide(); Bloomerang.captchaResponse(captchaResponse); return true; } else { jQuery(".email-registration-form .noCaptchaResponseError").show(); return false; } } else return true; }; Bloomerang.Api.OnSuccess = Bloomerang.Widget.Email.OnSuccess = function(response) { jQuery("#email-registration-form-container").html(successHtml72922112); var distance = 100; var offset = jQuery("#email-registration-form-container").offset().top; var offsetTop = offset > distance ? offset - distance : offset; jQuery('html, body').animate({ scrollTop: offsetTop }, 500); }; Bloomerang.Api.OnError = Bloomerang.Widget.Email.OnError = function(response) { jQuery(".btn-submit-email").val("Register").prop("disabled", false).removeClass("disabled"); jQuery("#email-registration-form-container .errors").removeClass("hidden").html(response.Message); var distance = 100; var offset = jQuery("#email-registration-form-container .errors").offset().top; var offsetTop = offset > distance ? offset - distance : offset; jQuery('html, body').animate({ scrollTop: offsetTop }, 500); if (typeof (grecaptcha) !== "undefined" && jQuery("#captcha" + Bloomerang.Data.WidgetIds.EmailSignup).children().length) { grecaptcha.reset(jQuery(".email-registration-form").data("captcha-id")); } }; Bloomerang.Util.applyEmailSignupCustomFields = function(obj, type) { /* Clear any fields from a previous failed submission */ obj.clearCustomFields(); /* Apply all (not multiselect),