 jQuery(document).ready(function ($) {
        var options = { showErrors: function () { }, onkeyup: function () { }, onfocusout: function () { }, onblur: function () { } };
        var mce_validator = $("#mc-embedded-subscribe-form").validate(options);
        options = { url: 'http://thebostonian.us1.list-manage.com/subscribe/post-json?u=eb81a1bfa6e6c244cff898d56&id=fc0d3d2ce3&c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
          beforeSubmit: function () {
            var blnvalidate = mce_validator.form();
            if (!blnvalidate) { alert('Please enter a valid email address.'); }
            return blnvalidate
          },
          success: mce_success_cb
        };
        $('#mc-embedded-subscribe-form').ajaxForm(options);
      });
      function mce_success_cb(resp) {
        if (resp.result == "success") { window.location = '/en/contact/signup-thanks.aspx'; }
        else { alert('Sorry we cannot process this email address.\n\nPlease revise and re-enter your email address.'); }
      }
