$(function () {
    $('.sendbtn2,.button').click(function () {
        var section = $(this).data('section');
        var url = "login.php?section=" + section;
        if ($(this).data('id')) {
            url += "&id=" + $(this).data('id');
        }

        location.href = url;
    });

    $('#reviewform').validate({
        errorPlacement: function (label, element) {
        }
    });
    $('#guideform').validate({
        errorPlacement: function (label, element) {
        }
    });
});

