/*
  
*/

function validateContact ( $array )
{
   var i = 0;
   var msg = '';
   for (i;i<$array.length;++i)
   {
     xname = $array[i]
     if (xname == 'Vorname') {msg += 'Bitte Vorname ausfüllen.\n';}
     if (xname == 'Nachname') {msg += 'Bitte Nachname ausfüllen.\n';}
     if (xname == 'EMail') {msg += 'Bitte E-Mail ausfüllen.\n';}
     if (xname == 'StrasseNr') {msg += 'Bitte Strasse/Nr. ausfüllen.\n';}
     if (xname == 'PLZ') {msg += 'Bitte PLZ ausfüllen.\n';}
     if (xname == 'Ort') {msg += 'Bitte Ort ausfüllen.\n';}
     if (xname == 'Mitteilung') {msg += 'Bitte Mitteilung ausfüllen.\n';}
   }
   alert(msg);
}