function checkForm(form)
{
  var tab = Array("anrede","vorname","nachname","tag","monat","jahr","adress","plz","ort","email","vorw","rufnr","erreichbar1","erreichbar2","berufstatus");
  var pole = Array("p1","p2","p2","p3","p3","p3","p4","p5","p5","p6","p7","p7","p7","p7","p8");

  for(var i = 0; i < tab.length; i++){
    if(document.getElementById(tab[i]).value == ""){
      document.getElementById(pole[i]).style.backgroundColor = "#FFCCA8";
      //alert('Bitte wählen '+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 = "#FFCCA8";
    return false;
  }

}
