function drawcontent(zanox_tracking_dll,zanox_tracking_param) {
var form_action = "http://www.opodo.de/otpbvpl/Tch/Page/WRProxyInterface.jsp?";
var zanox_tracking_param= zanox_tracking_param + "E";
document.writeln('<script language=\"JavaScript\" type=\"text/javascript\">');
document.writeln('rightnow = new Date();');
document.writeln('var isNS = (document.layers)? true:false;');
document.writeln('function monthval() {');
document.writeln('	var thisyear = rightnow.getFullYear();');
document.writeln('	var nextyear = thisyear + 1;');
document.writeln('	var year = -1;');
document.writeln('	var val = document.Fsearch_250x250.CM_temp.selectedIndex;');
document.writeln('	var dayOut = document.Fsearch_250x250.CD_temp.options[document.Fsearch_250x250.CD_temp.selectedIndex].text;');
document.writeln('		if (val<rightnow.getMonth()) { ');
document.writeln('	       	year = nextyear;');
document.writeln('		}else{');
document.writeln('			year = thisyear;');
document.writeln('		}');
document.writeln('		document.Fsearch_250x250.CY_temp.value = year;');
document.writeln('		var inYear = document.Fsearch_250x250.CY_temp.value;');
document.writeln('		var inMonth = document.Fsearch_250x250.CM_temp.options[document.Fsearch_250x250.CM_temp.selectedIndex].value;');
document.writeln('		var inDay = document.Fsearch_250x250.CD_temp.options[document.Fsearch_250x250.CD_temp.selectedIndex].value;');
document.writeln('		document.Fsearch_250x250.checkindate.value = escape(inMonth + \"/\" + inDay + \"/\" + inYear);	');
document.writeln('}');
document.writeln('function opodoSetDate() {');
document.writeln('	tomorrow = new Date(rightnow.getTime()+(86400000));');
document.writeln('	var firstDate = tomorrow.getDate()-1;');
document.writeln('	var secondDate = tomorrow.getMonth();');
document.writeln('	var thirdDate = rightnow.getFullYear();');
document.writeln('	document.Fsearch_250x250.CD_temp.selectedIndex = firstDate;');
document.writeln('	document.Fsearch_250x250.CM_temp.selectedIndex = secondDate;');
document.writeln('	document.Fsearch_250x250.CY_temp.value = thirdDate;');
document.writeln('	var firstDate2 = document.Fsearch_250x250.CD_temp.options[document.Fsearch_250x250.CD_temp.selectedIndex].value;');
document.writeln('	var concatDate = (secondDate + 1) + \"/\" + (firstDate2) + \"/\" + thirdDate;');
document.writeln('	document.Fsearch_250x250.checkindate.value = escape(concatDate);		');
document.writeln('}');
document.writeln('function opodoValidDate() {');
document.writeln('var firstDay = document.Fsearch_250x250.CD_temp.options[document.Fsearch_250x250.CD_temp.selectedIndex].value;');
document.writeln('var firstMonth = document.Fsearch_250x250.CM_temp.options[document.Fsearch_250x250.CM_temp.selectedIndex].value;');
document.writeln('var firstYear = document.Fsearch_250x250.CY_temp.value;');
document.writeln('var date = new Date(firstYear, firstMonth-1, firstDay);');
document.writeln('var theDate = date.getDate();');
document.writeln('var dest = document.Fsearch_250x250.city_name.value;');
document.writeln('	if (dest == 0) {');
document.writeln('		alert (\"Bitte geben Sie den Zielort ein\");');
document.writeln('		return false;');
document.writeln('			} else {');
document.writeln('			if (rightnow > date) {');
document.writeln('			alert(\"Bitte geben Sie ein gültiges Datum ein\");');
document.writeln('			return false;');
document.writeln('			}');
document.writeln('			if (theDate == null) {');
document.writeln('			alert(\"Bitte geben Sie ein gültiges Datum ein\");');
document.writeln('			return false;');
document.writeln('			} ');
document.writeln('			if (firstDay != theDate) { ');
document.writeln('			alert(\"Bitte geben Sie ein gültiges Datum ein\");');
document.writeln('			return false;			');
document.writeln('			} else { ');
document.writeln('				return true;');
document.writeln('			}	}  }');
document.writeln('if(isNS){');
document.writeln('var widthCheck=window.innerWidth;');
document.writeln('var heightCheck=window.innerHeight;');
document.writeln('window.onResize=resizeFix;');
document.writeln('}');
document.writeln('function resizeFix(){');
document.writeln('if(widthCheck!=window.innerWidth||heightCheck!=window.innerHeight)');
document.writeln('history.go(0);');
document.writeln('}');
document.writeln('var countries = new Array([81,\"Deutschland\"],[64,\"Ägypten\"],[13,\"Australien\"],[16,\"Bahamas\"],[21,\"Belgien\"],[30,\"Brasilien\"],[33,\"Bulgarien\"],[44,\"China\"],[58,\"Dänemark\"],[73,\"Finnland\"],[74,\"Frankreich\"],[84,\"Griechenland\"],[224,\"Großbritannien\"],[97,\"Hong Kong\"],[104,\"Irland\"],[106,\"Italien\"],[108,\"Japan\"],[38,\"Kanada\"],[111,\"Kenia\"],[55,\"Kuba\"],[125,\"Luxemburg\"],[145,\"Marokko\"],[139,\"Mexiko\"],[154,\"Neuseeland\"],[151,\"Niederlande\"],[161,\"Norwegen\"],[14,\"Österreich\"],[172,\"Polen\"],[173,\"Portugal\"],[178,\"Russ. Förderation\"],[205,\"Schweden\"],[206,\"Schweiz\"],[192,\"Singapur\"],[199,\"Spanien\"],[197,\"Südafrika\"],[211,\"Thailand\"],[57,\"Tschechische Rep.\"],[217,\"Türkei\"],[98,\"Ungarn\"],[225,\"Vereinigte Staaten\"],[223,\"Vereinigte Arab. Emirate\"]);		');
document.writeln('var months = new Array([1,\"Jan\"],[2,\"Feb\"],[3,\"Mär\"],[4,\"Apr\"],[5,\"May\"],[6,\"Jun\"],[7,\"Jul\"],[8,\"Aug\"],[9,\"Sep\"],[10,\"Okt\"],[11,\"Nov\"],[12,\"Dez\"]);');
document.writeln('</script>');
if (zanox_tracking_dll){
     document.writeln('<form name=\"Fsearch_250x250\" 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=\"Fsearch_250x250\" action=\"' + form_action + '\" method=\"GET\" target=\"_blank\">');
}
document.writeln('	<INPUT TYPE=\"HIDDEN\" NAME=\"origurl\" VALUE=\"http://search.worldres.com/search/HotelSearch\"><INPUT type=\"hidden\" name=\"CY\" value=\"2002\"><INPUT  type=\"hidden\" name=\"CM\" value=\"10\"><INPUT type=\"hidden\" name=\"CD\" value=\"22\"><INPUT type=\"hidden\" value=\"\" name=\"CY_temp\"><INPUT type=\"hidden\" value=\"2003\" name=\"year_out\"><INPUT type=\"hidden\" value=\"9928\" name=\"FE\"><INPUT type=\"hidden\" value=\"598\" name=\"SI\"><INPUT type=\"hidden\" value=\"3\" name=\"LA\"><INPUT type=\"hidden\" value=\"http://opodo-uk.worldres.com\" name=\"NU\"><INPUT type=\"hidden\" value=\"0\" name=\"checkindate\">');
document.writeln('	<INPUT type=\"hidden\" value=\"\" name=\"Mkt_id\">');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" width=\"250\" bgcolor=\"#ffffff\" border=\"0\">');
document.writeln('	<tr>');
document.writeln('		<td colspan=\"3\"><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_hotel/images/250x250_top.gif\" width=\"250\" height=\"34\" alt=\"\" border=\"0\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" width=\"250\" bgcolor=\"#ffffff\" border=\"0\">');
document.writeln('	<tr>');
document.writeln('		<td bgcolor=\"#ff3300\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"2\" border=\"0\"></td>');
document.writeln('		<td colspan=\"2\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"248\" height=\"2\"></td>');
document.writeln('		<td bgcolor=\"#ff3300\" align=\"left\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"2\" border=\"0\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td bgcolor=\"#ff3300\" valign=\"top\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"25\" border=\"0\"></td>');
document.writeln('		<td valign=\"bottom\" align=\"right\"><font style=\"font : bold 13px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#999966\"><img src=\"http://images.opodo.com/affiliates/global_img/bed_icon_orange.gif\" width=\"21\" height=\"21\" alt=\"\" ');
document.writeln('		border=\"0\">&nbsp;&nbsp;</font></td>');
document.writeln('		<td bgcolor=\"#ffffff\" valign=\"middle\"><font style=\"font : bold 13px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#990033\">Hotelsuche</font></td>');
document.writeln('		<td bgcolor=\"#ff3300\" align=\"left\" valign=\"top\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"25\" border=\"0\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" width=\"250\" border=\"0\" bgcolor=\"#ffffff\">');
document.writeln('	<tr>');
document.writeln('		<td bgcolor=\"#ff3300\" rowspan=\"7\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"131\" border=\"0\"></td>');
document.writeln('		<td colspan=\"3\" align=\"left\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"1\"></td>');
document.writeln('		<td bgcolor=\"#ff3300\" align=\"left\" rowspan=\"7\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"131\" border=\"0\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"20\" height=\"1\"></td>');
document.writeln('		<td colspan=\"2\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"140\" height=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"right\"><font style=\"font : 10px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#000000\">Stadt</font></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"25\"></td>');
document.writeln('		<td valign=\"middle\" align=\"left\"><INPUT maxLength=\"45\" name=\"city_name\" size=\"15\" ');
document.writeln('		style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000; width:130px;\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"right\"><font style=\"font:10px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#000000\">Land</font></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"25\"></td>');
document.writeln('		<td align=\"left\"><span ');
document.writeln('		style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\"><SELECT ');
document.writeln('		style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\" name=\"co\" ');
document.writeln('		width=\"8\"><script language=\"JavaScript\">for(var i=0;i<31;i++) document.write(\"<option value=\'\" + countries[i][0] +\"\'>\"+countries[i][1]+\"</OPTION>\");</script></SELECT></span></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"right\"><font style=\"font : 10px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#000000\">Anreisedatum</font></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"25\"></td>');
document.writeln('		<td align=\"left\" valign=\"middle\"><span style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\"><SELECT ');
document.writeln('		style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\" name=\"CD_temp\" onchange=\"javascript:monthval();\"><script language=\"JavaScript\">for (d=1;d<32;d++) document.write(\"<option value=\\\"\"+d+\"\\\">\"+d+\"</option>\");</script></SELECT></span><img');
document.writeln('		src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"2\" height=\"1\"><span style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\"><SELECT ');
document.writeln('		style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\"');
document.writeln('		name=\"CM_temp\" onchange=\"javascript:monthval();\"><script language=\"JavaScript\">for(var i=0;i<12;i++) document.write(\"<option value=\'\" + months[i][0] + \"\'>\"+months[i][1]+\"</OPTION>\");</script></SELECT></span></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"right\"><font style=\"font : 10px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#000000\">Nächte</font></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"25\"></td>');
document.writeln('		<td align=\"left\"><span style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\"><SELECT style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000;\" ');
document.writeln('		name=\"numofnights\"><script language=\"JavaScript\">for (d=1;d<100;d++) document.write(\"<option value=\\\"\"+d+\"\\\">\"+d+\"</option>\");</script></SELECT></span></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" width=\"250\" border=\"0\" bgcolor=\"#ffffff\">');
document.writeln('	<tr>');
document.writeln('		<td bgcolor=\"#ff3300\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"32\" border=\"0\"></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"13\" height=\"1\"></td>');
document.writeln('		<td align=\"right\" valign=\"middle\"><a href=\"http://www.opodo.de/otpbvpl/Tch/Page/WRProxyInterface.jsp?\" target=\"_blank\"><font color=\"#990033\" style=\"font : 10px Verdana, Arial, Helvetica, sans-serif; text-decoration : none\">Weitere Ziele &nbsp;</font></a></td>');
document.writeln('		<td align=\"left\" valign=\"middle\"><a href=\"http://www.opodo.de/otpbvpl/Tch/Page/WRProxyInterface.jsp?\" target=\"_blank\"><img src=\"http://images.opodo.com/affiliates/global_img/arrow.gif\" width=\"11\" height=\"11\" alt=\"\" border=\"0\"></a></td>');
document.writeln('		<td align=\"right\" colspan=\"1\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"10\" height=\"1\"><A HREF=\"javascript:document.Fsearch_250x250.submit();\" onclick=\"return opodoValidDate();\"><IMG SRC=\"http://images.worldres.com/site_images/opodo_uk/search_button_de.gif\" width=\"55\" height=\"18\" NAME=\"go\" border=\"0\"></A>&nbsp;&nbsp;</td>');
document.writeln('		<td bgcolor=\"#ff3300\" align=\"right\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"32\" border=\"0\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('	');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"250\">');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_hotel/images/250x250_bot.gif\" width=\"250\" height=\"25\" alt=\"\" border=\"0\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('</form>');
document.writeln('<script language=\"JavaScript\" type=\"text/javascript\">');
document.writeln('opodoSetDate();');
document.writeln('if((navigator.userAgent.indexOf(\"Netscape\") != -1) &&');
document.writeln('   (parseInt(navigator.appVersion) != 5.0)){');
document.writeln('resizeFix();');
document.writeln('}</script>');
}
