
<header>
	<script type="text/javascript">
		function chkFormular () {
			var anzahl = 50;
			var i = 1;
			while(i < anzahl){
				var vorname_feld = 'vorname'+i;
  				if (document.Formular[vorname_feld].value == "") {
    				alert("Please fill out the first name of visitor " + i + "!");
    				document.Formular[vorname_feld].focus();
    				return false;
  				}

				var nachname_feld = 'nachname'+i;
  				if (document.Formular[nachname_feld].value == "") {
    				alert("Please fill out the family name of visitor " + i + "!");
    				document.Formular[nachname_feld].focus();
    				return false;
  				}
			i++;

			}
		}
	</script>
</header>
<form  name="Formular" action="/wp-content/plugins/Katana/TenguCupFormular/en/anmeldungspeichern.php" method="post" onsubmit="return chkFormular()">
<table width="975px" border="0" cellspacing="0" cellpadding="0">
	<tr height="30px">
		<input type="hidden" name="anzahl" value=""/>
		<input type="hidden" name="email" value=""/>
		<td colspan="3"></td>
	</tr>
	<tr>
		<td colspan="4"></td>
		<td colspan="2" align="center" bgcolor="FE2E2E" style="border-left:2px solid #610B0B; border-top:2px solid #610B0B; border-right:2px solid #610B0B;"><font face="Arial"><b>Overnight stay</b></font></td>
	</tr>

	<tr height="30px" bgcolor="FE2E2E">
		<td width="110px" style="padding-left:10px;">First name:</td>
		<td width="110px" style="padding-left:10px;">Family name:</td>
		<td width="50px" align="center">Barbeque</td>
		<td width="50px" align="center">Vegetarian</td>
		<td width="100px" align="center" style="border-left:2px solid #610B0B;">Fri/Sat</td>
		<td width="50px" align="center" style="border-right:2px solid #610B0B;">Sat/Sun</td>
	</tr><h1>TypeError thrown</h1><p>Unsupported operand types: string + int</p>