function validateFormularInscriere() {
    if ($("#nume").val() == '' ||
        $("#prenume").val() == '' || 
        $("#nick").val() == '' || 
        $("#poza").val() == '' || 
        $("#nume_parinte").val() == '' || 
        $("#prenume_parinte").val() == '' || 
        $("#telefon").val() == '' || 
        $("#email").val() == '' || 
        $("input[name=raspundere]").is(':checked') == false || 
        $("input[name=regulament]").is(':checked') == false ||  
        $("input[name=personale]").is(':checked') == false 
    ) {
        alert("Va rugam completati toate campurile");
        return false;
    }
}


function dataValida(str){
    var patt1=new RegExp("^[0-3]{1}[0-9]{1}/[0-1][0-9]/19[0-9]{2}$"); 
    return patt1.test(str);    
}