  var Voorspellingen_Show__Data_submitted = false;

  function Voorspellingen_Show__checkData(scoreSystem) {
    if(Voorspellingen_Show__Data_submitted == true) {
      alert('Je voorspelling wordt al opgeslagen.');
      return false;
    }
    Voorspellingen_Show__Data_submitted = true;

    var total = arrWedstrijdGUIDs.length;
    for(var i = 0; i < total; i++) {
      var currWedstrijdGUID = arrWedstrijdGUIDs[i];
      var objSetTeam1 = $('voorspellingSetsTeam_1_' + currWedstrijdGUID);
      var objSetTeam2 = $('voorspellingSetsTeam_2_' + currWedstrijdGUID);
      
      if(objSetTeam1.value == '' || objSetTeam2.value == '') {
        alert('Nog niet alle standen zijn ingevuld!');
        objSetTeam1.focus();
        Voorspellingen_Show__Data_submitted = false;
        return false;
      }

      var stand = objSetTeam1.value + '-' + objSetTeam2.value;


      // Welk type score-systeem wordt gebruikt (1) ieder set een punt (2) 4-0 [5 pnt] (3) 3-2 [2 pnt]
      if(scoreSystem == 1) {
        if(stand != '4-0' && stand != '3-1' && stand != '2-2' && stand != '1-3' && stand != '0-4') {
          alert('Ongeldige stand ingevoerd!');
          objSetTeam1.focus();
          Voorspellingen_Show__Data_submitted = false;
          return false;
        }
      }
      if(scoreSystem == 2) {
        if(stand != '4-0' && stand != '3-1' && stand != '3-2' && stand != '2-3' && stand != '1-3' && stand != '0-4') {
          alert('Ongeldige stand ingevoerd!');
          objSetTeam1.focus();
          Voorspellingen_Show__Data_submitted = false;
          return false;
        }
      }
      if(scoreSystem == 3) {
        if(stand != '3-0' && stand != '3-1' && stand != '3-2' && stand != '2-3' && stand != '1-3' && stand != '0-3') {
          alert('Ongeldige stand ingevoerd!');
          objSetTeam1.focus();
          Voorspellingen_Show__Data_submitted = false;
          return false;
        }
      }
    }

    var submitter = trim($('submitter').value);
    if(submitter == '') {
      alert('Er is nog geen naam ingevoerd!');
      $('submitter').focus();
      Voorspellingen_Show__Data_submitted = false;
      return false;
    }

    var code = trim($('code').value);
    if(code == '') {
      alert('Er is nog geen Validatiecode ingevoerd!');
      $('code').focus();
      Voorspellingen_Show__Data_submitted = false;
      return false;
    }

    return true;
  }
