function checkForm(form)
{
  var tab = Array("klient","kod","zuzycie");
  var pole = Array("b1","b2","b3");

  for(var i = 0; i < tab.length; i++){
    if(document.getElementById(tab[i]).value == ""){
      document.getElementById(pole[i]).style.backgroundColor = "#FFDCE8";
      //alert('Proszę wypełnić pole '+tab[i]);
      return false;
    }
    else{
      document.getElementById(pole[i]).style.backgroundColor = "#FFFFFF";
    }
  }

  if (document.getElementById("zust").checked==''){
    //alert('Sie müssen unsere Datenschutzerklärung akzeptieren!');
    document.getElementById("p11").style.backgroundColor = "#FFDCE8";
    return false;
  }

}