/*
  
*/

function validateFeedback ( $array )
{
   var i = 0;
   var msg = '';
   for (i;i<$array.length;++i)
   {
     xname = $array[i]
     if (xname == 'xfrm_recipient') {msg += 'Bitte Standort auswählen.\n';}
     if (xname == 'Angebotspalette') {msg += 'Bitte Angebotspalette auswählen.\n';}
     if (xname == 'Geschmack') {msg += 'Bitte Geschmack ausfüllen.\n';}
     if (xname == 'OptischerEindruck') {msg += 'Bitte Optischer Eindruck ausfüllen.\n';}
     if (xname == 'Service') {msg += 'Bitte Service ausfüllen.\n';}
     if (xname == 'PreisLeistungsVerhaeltnis') {msg += 'Bitte Preis-Leistungs-Verhältnis ausfüllen.\n';}
     if (xname == 'Kommentar') {msg += 'Bitte Kommentar ausfüllen.\n';}
   }
   alert(msg);
}

function validateContact ( $array )
{
   var i = 0;
   var msg = '';
   for (i;i<$array.length;++i)
   {
     xname = $array[i]
     if (xname == 'Anrede') {msg += 'Bitte Anrede auswählen.\n';}
     if (xname == 'Vorname') {msg += 'Bitte Vorname ausfüllen.\n';}
     if (xname == 'Nachname') {msg += 'Bitte Nachname ausfüllen.\n';}
     if (xname == 'StrasseHNr') {msg += 'Bitte Straße, HNr. ausfüllen.\n';}
     if (xname == 'PLZOrt') {msg += 'Bitte PLZ, Ort ausfüllen.\n';}
     if (xname == 'EMail') {msg += 'Bitte E-Mail ausfüllen.\n';}
     if (xname == 'Nachricht') {msg += 'Bitte Nachricht ausfüllen.\n';}
     if (xname == 'Aufmerksam') {msg += 'Bitte "Auf Kulinario aufmerksam geworden durch" auswählen.\n';}
   }
   alert(msg);
}

function validatePresse ( $array )
{
   var i = 0;
   var msg = '';
   for (i;i<$array.length;++i)
   {
     xname = $array[i]
     if (xname == 'Name') {msg += 'Bitte Name ausfüllen.\n';}
     if (xname == 'EMail') {msg += 'Bitte E-Mail ausfüllen.\n';}
   }
   alert(msg);
}
