function CheckForm()
{
var Form = document.Anmeldung, Veranst_gew = false, i=0;
if( Form.Veranstaltung.length > 0 )
{
while( Form.Veranstaltung[i] )
{
if( Form.Veranstaltung[i++].checked == true )
Veranst_gew = true;
}
}
else
{
if( Form.Veranstaltung.checked == true )
Veranst_gew = true;
}
if ( Veranst_gew == false )
{
alert ( "Bitte wählen Sie die gewünschte Veranstaltung aus." );
return false;
}
}