﻿function PrivacyConfirmCheck(source, args) {
    var chkPrivacyConfirm = GetControl('chkPrivacyConfirm', 'checkbox');

    if (chkPrivacyConfirm != null && chkPrivacyConfirm.checked == false) {
        alert("Please confirm that you have read and agree to the terms of the Email Privacy.");
        args.IsValid = false;
    }
}
function SetEmployeeManditory(value) {
    var EmployerName = document.getElementById("EmployerName");
    var EmployerAddress = document.getElementById("EmployerAddress");
    if (value) {
    EmployerName.style['display'] = 'inline';
    EmployerAddress.style['display'] = 'inline';
    } else {
    EmployerName.style['display'] = 'none';
    EmployerAddress.style['display'] = 'none';
    }
}
