
                var errors = [ $("#errorReason-PasswordMatch").text() ];
                show_errors("#register-error", errors);
                $('#register-confirm').focus();
            } else {
                requestAccount(given, family, email, password, {})
                    .done(function() {
                        if (state == 'Automatic') {
                            $('#register-error').slideUp();
                            window.location.reload();
                        } else {
        