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_120x600.CM_temp.selectedIndex;');
document.writeln('	var dayOut = document.Fsearch_120x600.CD_temp.options[document.Fsearch_120x600.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_120x600.CY_temp.value = year;');
document.writeln('		var inYear = document.Fsearch_120x600.CY_temp.value;');
document.writeln('		var inMonth = document.Fsearch_120x600.CM_temp.options[document.Fsearch_120x600.CM_temp.selectedIndex].value;');
document.writeln('		var inDay = document.Fsearch_120x600.CD_temp.options[document.Fsearch_120x600.CD_temp.selectedIndex].value;');
document.writeln('		document.Fsearch_120x600.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_120x600.CD_temp.selectedIndex = firstDate;');
document.writeln('	document.Fsearch_120x600.CM_temp.selectedIndex = secondDate;');
document.writeln('	document.Fsearch_120x600.CY_temp.value = thirdDate;');
document.writeln('	var firstDate2 = document.Fsearch_120x600.CD_temp.options[document.Fsearch_120x600.CD_temp.selectedIndex].value;');
document.writeln('	var concatDate = (secondDate + 1) + \"/\" + (firstDate2) + \"/\" + thirdDate;');
document.writeln('	document.Fsearch_120x600.checkindate.value = escape(concatDate);	');
document.writeln('}');
document.writeln('function opodoValidDate() {');
document.writeln('var firstDay = document.Fsearch_120x600.CD_temp.options[document.Fsearch_120x600.CD_temp.selectedIndex].value;');
document.writeln('var firstMonth = document.Fsearch_120x600.CM_temp.options[document.Fsearch_120x600.CM_temp.selectedIndex].value;');
document.writeln('var firstYear = document.Fsearch_120x600.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_120x600.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ßbrit."\],[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,\"Russland"\],[205,\"Schweden"\],[206,\"Schweiz"\],[192,\"Singapur"\],[199,\"Spanien"\],[197,\"Südafrika"\],[211,\"Thailand"\],[57,\"Tschechien"\],[217,\"Türkei"\],[98,\"Ungarn"\],[225,\"USA"\],[223,\"V. 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_120x600\" 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_120x600\" 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=\"2003\" 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-de.worldres.com\" name=\"NU\"><INPUT type=\"hidden\" value=\"0\" name=\"checkindate\">');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" width=\"120\" border=\"0\">');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/uk/uk_hotel_qs_aff/120x600_top.gif\" width=\"120\" height=\"65\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" width=\"120\" bgcolor=\"#F7F7E5\" border=\"0\">');
document.writeln('	<tr>');
document.writeln('		<td rowspan=\"2\"><img src=\"http://images.opodo.com/affiliates/uk/uk_hotel_qs_aff/greenpod.gif\" width=\"1\" height=\"25\"></td>');
document.writeln('		<td align=\"left\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"95\" height=\"2\"></td>');
document.writeln('		<td align=\"left\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td rowspan=\"2\" align=\"right\"><img src=\"http://images.opodo.com/affiliates/uk/uk_hotel_qs_aff/greenpod.gif\" width=\"1\" height=\"25\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td align=\"left\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td valign=\"bottom\" align=\"left\"><font style=\"font : bold 13px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#999966\">Hotelsuche</font></td>');
document.writeln('		<td align=\"left\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('<table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#F7F7E5\" width=\"120\" border=\"0\">');
document.writeln('	<tr>');
document.writeln('		<td rowspan=\"15\"><img src=\"http://images.opodo.com/affiliates/uk/uk_hotel_qs_aff/greenpod.gif\" width=\"1\" height=\"257\"></td>');
document.writeln('		<td colspan=\"4\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"95\" height=\"1\"></td>');
document.writeln('		<td rowspan=\"15\" align=\"right\"><img src=\"http://images.opodo.com/affiliates/uk/uk_hotel_qs_aff/greenpod.gif\" width=\"1\" height=\"257\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td valign=\"bottom\" align=\"left\" colspan=\"2\"><font style=\"font : 10px Verdana, Arial, Helvetica, sans-serif;\" color=\"#000000\">Stadt</font></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"center\" colspan=\"4\"><INPUT maxLength=\"45\" name=\"city_name\" size=\"12\" ');
document.writeln('		style=\"font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: #000000; width:100px;\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td valign=\"bottom\" align=\"left\" colspan=\"2\"><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=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"center\" colspan=\"4\"><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<41;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><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td valign=\"bottom\" align=\"left\" colspan=\"2\"><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=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td valign=\"middle\" align=\"center\" colspan=\"4\"><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;\"');
document.writeln('		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 ');
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;\" ');
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><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td valign=\"bottom\" align=\"left\" colspan=\"2\"><font style=\"font : 10px Verdana, Arial, Helvetica, sans-serif;\" ');
document.writeln('		color=\"#000000\">Anzahl der Übernachtungen</font></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"20\"></td>');
document.writeln('		<td><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=\"numofnights\"><script language=\"JavaScript\">for (d=1;d<100;d++) document.write(\"<option value=\\\"\"+d+\"\\\">\"+d+\"</option>\");</script></SELECT></span></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('		<td align=\"right\"><A HREF=\"javascript:document.Fsearch_120x600.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></td>');
document.writeln('		<td><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"5\" height=\"1\"></td>');
document.writeln('	</tr>');
document.writeln('	<tr>');
document.writeln('		<td colspan=\"4\"><img src=\"http://images.opodo.com/affiliates/global_img/pixel.gif\" width=\"1\" height=\"5\"></td>');
document.writeln('	</tr>');
document.writeln('</table>');
document.writeln('<img src=\"http://images.opodo.com/affiliates/de/de_qs_aff_hotel/images/120x600_bot.gif\" width=\"120\" height=\"251\" alt=\"\" border=\"0\">');
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('}');
document.writeln('</script>');
document.writeln('</form>');
}