function handleSubmitContact() {
    var objContact = { "contactInfo": { "firstName": $("#firstName").val(),
        "lastName": $("#surName").val(),
        "subject": $("#subject").val(),
        "email": $("#yourEmail").val(),
        "briefMessage": $("#briefMessage").val(),
        "futureUpdates": $("#receiveUpdates").attr("checked")
    }
    };

    $.ajax({
        type: 'POST',
        url: '/bridged_service/SnRService.svc/SaveContact',
        data: $.toJSON(objContact),
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (data, textStatus, xhr) {
                       thankYouPopup(true);

        },
        error: function (xhr, textStatus, error) {            
            customErrorPopup("Error occurred while processing your request.");
        }
    });
    
}
