function isPLZ(plz) {
   return plz>=1000 && plz<=99999 && !isNaN(plz);
}
function isEmail(email) {
   var idxAt = email.indexOf('@');
   return (idxAt>0 && email.indexOf(".", idxAt)>0)
}
function chkZeichen(teststr, zchn) {
   var i=0;
   zchn = zchn.toUpperCase();
   teststr = teststr.toUpperCase();
   var res = teststr.length>0;
   while(i<teststr.length && res)
      res = !(zchn.indexOf(teststr.charAt(i++))==-1);
   return res;
}
function isTelNr(telNr) {
   return chkZeichen(telNr, '0123456789 ()/-');
}