function s_CheckForm() {
    var regex = /^[\w\.-]+@[\w\.-]+\.[a-zA-Z]{2,3}$/

    with(document.formular) {
        if (s_name.value == "") {
            alert("Prosím zadejte jméno a příjmení");
            s_name.focus();
            return false;
        }
        if (!regex.test(s_email.value)) {
            alert("Prosím zadejte správně e-mailovou adresu");
            s_email.focus();
            return(false);
        }
    }
    return true;
}


function w_CheckForm() {
    var regex = /^[\w\.-]+@[\w\.-]+\.[a-zA-Z]{2,3}$/

    with(document.formular) {
        if (w_name.value == "") {
            alert("Prosím zadejte jméno a příjmení");
            w_name.focus();
            return false;
        }
        if (!regex.test(w_email.value)) {
            alert("Prosím zadejte správně e-mailovou adresu");
            w_email.focus();
            return(false);
        }
    }
    return true;
}


function s_CheckForm_en() {
    var regex = /^[\w\.-]+@[\w\.-]+\.[a-zA-Z]{2,3}$/

    with(document.formular) {
        if (s_name.value == "") {
            alert("Please, fill the name and surname");
            s_name.focus();
            return false;
        }
        if (!regex.test(s_email.value)) {
            alert("Please, fill the correct e-mail address");
            s_email.focus();
            return(false);
        }
    }
    return true;
}


function w_CheckForm_en() {
    var regex = /^[\w\.-]+@[\w\.-]+\.[a-zA-Z]{2,3}$/

    with(document.formular) {
        if (w_name.value == "") {
            alert("Please, fill the name and surname");
            w_name.focus();
            return false;
        }
        if (!regex.test(w_email.value)) {
            alert("Please, fill the correct e-mail address");
            w_email.focus();
            return(false);
        }
    }
    return true;
}