function draw2013(zanox_tracking_dll,zanox_tracking_param) {
	var form_action = "";
	var zanox = zanox_tracking_dll + '?' + zanox_tracking_param + '=';
document.writeln('<SCRIPT language=JavaScript>');
document.writeln('rightnow = new Date();');
document.writeln('function month(i,name) {');
document.writeln('var thisyear = rightnow.getFullYear();');
document.writeln('var nextyear = thisyear + 1;');
document.writeln('var a = \"<option value=\\\"\";');
document.writeln('(i<rightnow.getMonth()) ? a +=nextyear : a +=thisyear;');
document.writeln('(i<9) ? a += \"0\"+(i+1) : a +=(i+1);');
document.writeln('a += \"\\\">\"+name+\"</option>\\n\";');
document.writeln('this.option = a;');
document.writeln('}');
document.writeln('months = new Array(new month(0,\"Jan\"), new month(1,\"Feb\"),new month(2,\"Mär\"),new month(3,\"Apr\"),new month(4,\"Mai\"), new month(5,\"Jun\"), new month(6,\"Jul\"), new month(7,\"Aug\"), new month(8,\"Sep\"), new month(9,\"Okt\"), new month(10,\"Nov\"), new month(11,\"Dez\"));');
document.writeln('');
document.writeln('function opodoSetDate2013() {');
document.writeln('	tomorrow = new Date(rightnow.getTime()+(86400000));');
document.writeln('	document.flightSearch2013.D_Day.selectedIndex = tomorrow.getDate()-1;');
document.writeln('	document.flightSearch2013.D_Month.selectedIndex = tomorrow.getMonth();');
document.writeln('	then = new Date(tomorrow.getTime()+(604800000))');
document.writeln('	document.flightSearch2013.R_Day.selectedIndex = then.getDate()-1;');
document.writeln('	document.flightSearch2013.R_Month.selectedIndex = then.getMonth();');
document.writeln('}');
document.writeln('');
document.writeln('function opodoIsLeapYear(year){');
document.writeln('	((((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0))) ? true : false;');
document.writeln('}');
document.writeln('');
document.writeln('function opodoValidMonthDay(dayVal, monthVal, yearVal){');
document.writeln('	var error = 0;');
document.writeln('	if ((monthVal.substr(4,2) == 4)||(monthVal.substr(4,2) == 6)||(monthVal.substr(4,2) == 9)||(monthVal.substr(4,2) == 11)){');
document.writeln('		if (dayVal>30) error = 1;');
document.writeln('	}');
document.writeln('	else if (monthVal.substr(4,2) == 2){');
document.writeln('		 		if (opodoIsLeapYear(yearVal)){');
document.writeln('				    if (dayVal>29) error = 1;');
document.writeln('				} else if (dayVal>29) error = 1;');
document.writeln('	}');
document.writeln('	return (error == 1) ? false : true;');
document.writeln('}');
document.writeln('');
document.writeln('function opodoCreateDate(day, monthYear) {');
document.writeln('	dayVal = day.options[day.selectedIndex].value;');
document.writeln('	monthYearVal = monthYear.options[monthYear.selectedIndex].value;');
document.writeln('	x = dayVal.substr(0,1);');
document.writeln('	(x == \"0\") ? day = parseInt(dayVal.substr(1,1)) : day = parseInt(dayVal.substr(0,2));');
document.writeln('	y = monthYearVal.substr(4,1);');
document.writeln('	(y == \"0\") ? month = parseInt(monthYearVal.substr(5,1)) : month = parseInt(monthYearVal.substr(4,2));');
document.writeln('	year = parseInt(monthYearVal.substr(0,4));');
document.writeln('	if (year < 1900) year = year + 1900;');
document.writeln('	date = new Date(year, month-1, day);');
document.writeln('	return date;');
document.writeln('}');
document.writeln('function opodoValidReturnDate(formName, elementArray) {');
document.writeln('	firstDayField = eval(\'document.\' + formName + \'.\'  + elementArray[0]);');
document.writeln('	firstMonthField = eval(\'document.\' + formName + \'.\'  + elementArray[1]);');
document.writeln('	secondDayField = eval(\'document.\' + formName + \'.\'  + elementArray[2]);');
document.writeln('	secondMonthField = eval(\'document.\' + formName + \'.\'  + elementArray[3]);');
document.writeln('	firstDay = eval(\'document.\' + formName + \'.\'  + elementArray[0] + \".options[\" + \'document.\' + formName + \'.\' + elementArray[0] + \'.selectedIndex].value\');');
document.writeln('	firstMonth = eval(\'document.\' + formName + \'.\'  + elementArray[1] + \".options[\" + \'document.\' + formName + \'.\' + elementArray[1] + \'.selectedIndex].value\');');
document.writeln('	firstYear = firstMonth.substr(0,4);');
document.writeln('	secondDay = eval(\'document.\' + formName + \'.\'  + elementArray[2] + \".options[\" + \'document.\' + formName + \'.\' + elementArray[2] + \'.selectedIndex].value\');');
document.writeln('	secondMonth = eval(\'document.\' + formName + \'.\'  + elementArray[3] + \".options[\" + \'document.\' + formName + \'.\' + elementArray[3] + \'.selectedIndex].value\');');
document.writeln('	secondYear = secondMonth.substr(0,4);');
document.writeln('	if ((opodoValidMonthDay(firstDay, firstMonth, firstYear))&& (opodoValidMonthDay(secondDay, secondMonth, secondYear))){');
document.writeln('		opodoCreateDate(firstDayField, firstMonthField);');
document.writeln('		outboundDate = date;');
document.writeln('		opodoCreateDate(secondDayField, secondMonthField);');
document.writeln('		returnDate = date;');
document.writeln('		return (outboundDate.valueOf() <= returnDate.valueOf() && (outboundDate.valueOf() >= rightnow.valueOf())) ? true : false;');
document.writeln('	} else {return false;}');
document.writeln('}');
document.writeln('');
document.writeln('function opodoFlightSearchSubmit2013(buttonValue)');
document.writeln('{');
document.writeln('  document.flightSearch2013.whereTo.value = buttonValue;');
document.writeln('  document.flightSearch2013.BE_QUICK_SEARCH_FLAG.value = true;');
document.writeln('  var datesArray= new Array(\'D_Day\', \'D_Month\', \'R_Day\', \'R_Month\');');
document.writeln('  var formN = \'flightSearch2013\';');
document.writeln('');
document.writeln('  if (document.flightSearch2013.A_City.value.length > -1) {');
document.writeln('    if (opodoValidReturnDate(formN, datesArray)) {');
document.writeln('  		return true;');
document.writeln('    } else {');
document.writeln('	  	alert(\"Sie haben ein ungültiges Datum angegeben. Bitte prüfen Sie Ihre Angaben\");');
document.writeln('		return false;');
document.writeln('    }');
document.writeln('  } else {');
document.writeln('    alert(\"Geben Sie bitte einen Ankunftsort ein, und versuchen Sie es erneut\");');
document.writeln('    return false;');
document.writeln('  }');
document.writeln('}');
document.writeln('');
document.writeln('var Dest = new Array ([\"CDG\",\"Paris - CDG\"],[\"AJA\",\"Ajaccio\"],[\"BIA\",\"Bastia\"],[\"BIQ\",\"Biarritz\"],[\"BOD\",\"Bordeaux\"],[\"BES\",\"Brest\"],[\"CFE\",\"Clermont-Ferrand\"],[\"FSC\",\"Figari\"],[\"GNB\",\"Grenoble\"],[\"LIL\",\"Lille\"],[\"LYS\",\"Lyon\"],[\"MRS\",\"Marseille\"],[\"ETZ\",\"Metz Nancy\"],[\"MPL\",\"Montpellier\"],[\"BSL\",\"Mulhouse\"],[\"NTE\",\"Nantes\"],[\"NCE\",\"Nice-Côte dAzur\"],[\"FNI\",\"Nimes\"],[\"ORY\",\"Paris - Orly\"],[\"PUF\",\"Pau\"],[\"PGF\",\"Perpignan\"],[\"RNS\",\"Rennes\"],[\"SXB\",\"Strasbourg\"],[\"TLN\",\"Toulon\"],[\"TLS\",\"Toulouse-Blagnac\"]);');
document.writeln('');
document.writeln('</SCRIPT>');
document.writeln('');
document.writeln('<table width=\"468\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"background-color:#FF3300;\">');
if (zanox_tracking_dll){
     document.writeln('<form name=\"flightSearch2013\" onSubmit=\"return opodoFlightSearchSubmit2013();\" action=\"' + zanox_tracking_dll + '\" method=\"GET\" target=\"_blank\">');
	 document.writeln('<input type=\"hidden\" name=\"' + zanox_tracking_param + '\" value=\"' + form_action + '\">');
} else {
	document.writeln('<form name=\"flightSearch2013\" onSubmit=\"return opodoFlightSearchSubmit2013();\" action=\"' + form_action + '\" method=\"GET\" target=\"_blank\">');
}
document.writeln('	<input type=\"HIDDEN\" NAME=\"Locale\" value=\"de\">');
document.writeln('	<input type=\"HIDDEN\" NAME=\"searchType\" value=\"flight\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"performFlightSearch\"  value=\"TRUE\">');
document.writeln('	<input type=\"hidden\" name= \"BE_QUICK_SEARCH_FLAG\" value=FALSE>');
document.writeln('	<input type=\"HIDDEN\" NAME= \"BE_AIR_IS_FROM_SAVED\"  value=\"TRUE\">');
document.writeln('	<input type=\"hidden\" name= \"HP_QUICKSEARCH_USED\" value=\"TRUE\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"whereTo\" value=\"\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"D_Time\"  value= \"ANY\" >');
document.writeln('	<input type=\"HIDDEN\" NAME= \"BE_AIR_R_Time\"  value= \"ANY\" >');
document.writeln('	<input type=\"HIDDEN\" NAME= \"SEARCH_BY\"  value=\"2\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"_TripType\" value=\"2\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"ClassOfService\"  value=\"E\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"Destination#1_DIRECT_NON_STOP\"  value=\"N\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"Destination%231_Airline%231\"  value=\"\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"Destination%231_Airline%232\"  value=\"\">');
document.writeln('  	<input type=\"HIDDEN\" name= \"Destination%231_Airline%233\"  value=\"\">');
document.writeln('  	<input type=\"HIDDEN\" NAME= \"ARRANGE_BY\" value=\"2\">');
document.writeln('	<input type=\"HIDDEN\" NAME= \"availSubmit\" value=\"*\">');
document.writeln('    <input type=\"HIDDEN\" name= \"availSearchSubmit\" value=\"*\">');
document.writeln('	<input type=\"hidden\" NAME= \"ParamSet\" value=\"1\">');
document.writeln('	<input type=\"hidden\" NAME= \"Prepop\" value=\"N\">');
document.writeln('	<input type=\"hidden\" NAME= \"CMP\" value=\"de-zx-fl-110025\">');
document.writeln('	<tr>');
document.writeln('		<td width=\"13\" rowspan=\"3\" valign=\"top\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_border_left.gif\" width=\"13\" height=\"150\"></td>');
document.writeln('		<td width=\"281\" height=\"12\" valign=\"top\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_border_top.gif\" width=\"281\" height=\"12\"></td>');
document.writeln('		<td width=\"12\" rowspan=\"3\" valign=\"top\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_border_right.gif\" width=\"12\" height=\"150\"></td>');
document.writeln('		<td width=\"162\" rowspan=\"3\" valign=\"top\" style=\"background-color:#FFFFFF;\"><a href=\"' + zanox + 'http://www.opodo.de/otpbvpl/Booking/Page/BE_FlightSearch.jsp?CMP=de-zx-fl-110025\" target=\"_blank\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/l_flug.gif\" width=\"162\" height=\"150\" border=\"0\"></a></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td height=\"125\" valign=\"top\">');
document.writeln('			<table width=\"281\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.writeln('				<tr>');
document.writeln('					<td width=\"162\" height=\"36\" valign=\"top\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/h_flug.gif\" width=\"162\" height=\"19\"></td>');
document.writeln('					<td width=\"119\" valign=\"top\" align=\"right\" style=\"padding-top:9px;\"><a href=\"' + zanox + 'http://www.opodo.de/otpbvpl/Booking/Page/BE_FlightSearch.jsp?CMP=de-zx-fl-110025\" target=\"_blank\" style=\"font:10px Verdana, Arial; color:#FFFFFF;\">Erweiterte Suche</a></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td height=\"1\" colspan=\"2\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_dotted_line.gif\" width=\"281\" height=\"1\"></td>');
document.writeln('				</tr>');
document.writeln('			</table>');
document.writeln('			<table width=\"281\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.writeln('				<tr>');
document.writeln('					<td width=\"24\" height=\"12\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"24\" height=\"12\"></td>');
document.writeln('					<td width=\"58\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"58\" height=\"10\"></td>');
document.writeln('					<td width=\"68\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"68\" height=\"10\"></td>');
document.writeln('					<td width=\"35\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"35\" height=\"10\"></td>');
document.writeln('					<td width=\"43\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"43\" height=\"10\"></td>');
document.writeln('					<td width=\"51\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"51\" height=\"10\"></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td width=\"24\" height=\"17\" align=\"right\" style=\"font:10px Verdana, Arial; color:#FFFFFF;\">Von</td>');
document.writeln('					<td colspan=\"2\" align=\"right\"><select  style=\"width:122px; height:17px; font:10px Verdana, Arial; color:#000000;\" name=\"D_City\">');
document.writeln('                <option value=\"BER\">Berlin</option>');
document.writeln('                <option value=\"BRE\">Bremen</option>');
document.writeln('                <option value=\"DTM\">Dortmund</option>');
document.writeln('                <option value=\"DRS\">Dresden</option>');
document.writeln('                <option value=\"DUS\">Düsseldorf</option>');
document.writeln('                <option value=\"FRA\">Frankfurt</option>');
document.writeln('                <option value=\"HAM\">Hamburg</option>');
document.writeln('                <option value=\"HAJ\">Hannover</option>');
document.writeln('                <option value=\"CGN\">Köln</option>');
document.writeln('                <option value=\"LEJ\">Leipzig</option>');
document.writeln('                <option value=\"MUC\">München</option>');
document.writeln('                <option value=\"FMO\">Münster</option>');
document.writeln('                <option value=\"NUE\">Nürnberg</option>');
document.writeln('                <option value=\"SCN\">Saarbrücken</option>');
document.writeln('                <option value=\"STR\">Stuttgart</option>');
document.writeln('              </select></td>');
document.writeln('					<td width=\"64\" align=\"right\" style=\"font:10px Verdana, Arial; color:#FFFFFF;\">Hin</td>');
document.writeln('					<td width=\"43\" align=\"right\"><select style=\"width:40px; height:17px; font:10px Verdana, Arial; color:#000000;\" name= \"D_Day\" >');
document.writeln('			  <script language=\"JavaScript\">');
document.writeln('				for (d=1;d<32;d++) document.write(\"<option value=\\\"\"+((d<10)?\"0\"+d:d)+\"\\\">\"+((d<10)?\"0\"+d:d)+\"</option>\");</script>');
document.writeln('              </select></td>');
document.writeln('					<td width=\"51\" align=\"right\"><select style=\"width:46px; height:17px; font:10px Verdana, Arial; color:#000000;\" name= \"D_Month\" >');
document.writeln('			  <SCRIPT language=\"JavaScript\">');
document.writeln('			  for(i=0;i<12;i++) document.write(months[i].option);');
document.writeln('			  </SCRIPT>');
document.writeln('              </select></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td height=\"9\" colspan=\"6\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"10\" height=\"9\"></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td height=\"17\" align=\"right\" style=\"font:10px Verdana, Arial; color:#FFFFFF;\">Nach</td>');
document.writeln('					<td colspan=\"2\" align=\"right\"><select  style=\"width:122px; height:17px; font:10px Verdana, Arial; color:#000000;\" name=\"A_City\">');
document.writeln('	<script language=\"JavaScript\">for(var i=0;i<25;i++) document.write(\"<option value=\" + Dest[i][0] +\">\"+Dest[i][1]+\"</OPTION>\");</script>');
document.writeln('	</select></td>');
document.writeln('					<td align=\"right\" style=\"font:10px Verdana, Arial; color:#FFFFFF;\">R&uuml;ck</td>');
document.writeln('					<td align=\"right\"><select style=\"width:40px; height:17px; font:10px Verdana, Arial; color:#000000;\" name= \"R_Day\" >');
document.writeln('                <script language=\"JavaScript\">');
document.writeln('				for (d=1;d<32;d++) document.write(\"<option value=\\\"\"+((d<10)?\"0\"+d:d)+\"\\\">\"+((d<10)?\"0\"+d:d)+\"</option>\");');
document.writeln('				</script>');
document.writeln('              </select></td>');
document.writeln('					<td align=\"right\"><select style=\"width:46px; height:17px; font:10px Verdana, Arial; color:#000000;\" name= \"R_Month\" >');
document.writeln('                <SCRIPT language=\"JavaScript\">');
document.writeln('			  for(i=0;i<12;i++) document.write(months[i].option);');
document.writeln('			  </SCRIPT>');
document.writeln('              </select></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td height=\"9\" colspan=\"6\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_no.gif\" width=\"10\" height=\"9\"></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td height=\"18\" colspan=\"2\" style=\"font:10px Verdana, Arial; color:#FFFFFF;\">Erwachsene</td>');
document.writeln('					<td><select style=\"width:40px; height:17px; font:10px Verdana, Arial; color:#000000;\" name= \"BE_AIR_NUM_OF_ADULTS\">');
document.writeln('                <script language=\"JavaScript\">');
document.writeln('				for (p=1;p<10;p++) document.write(\"<option value=\\\"\"+p+\"\\\">\"+p+\"</option>\");');
document.writeln('				</script>');
document.writeln('              </select></td>');
document.writeln('					<td>&nbsp;</td>');
document.writeln('					<td colspan=\"2\" align=\"right\"><input type=image src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/b_flug.gif\" border=0 name=\"Submit\" value=\"Submit\" width=\"91\" height=\"17\"></td>');
document.writeln('				</tr>');
document.writeln('			</table>');
document.writeln('		</td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td height=\"13\" valign=\"bottom\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_2013_468x150/img/i_border_bottom.gif\" width=\"281\" height=\"13\"></td>');
document.writeln('	</tr>');
document.writeln('</form>');
document.writeln('</table>');
document.writeln('<script language=\"JavaScript\" type=\"text/javascript\">');
document.writeln('opodoSetDate2013();');
document.writeln('</script>');
document.writeln('');
}