//document.getElementById('mrbox3').style.width = '1100px';
//document.getElementById('mrbox3').style.height = '200px';
//document.getElementById('mrbox3').style.position = 'relative';
//document.getElementById('mrbox3').style.border = '1px solid silver';
//document.getElementById('mrbox3').style.background = '#fff';
//document.getElementById('mrbox3').style.backgroundImage='';
//document.getElementById('mrbox3').style.backgroundRepeat='no-repeat';
//document.getElementById('mrbox3').style.backgroundPosition='bottom left';
//document.getElementById('mrbox3').style.overflow = 'hidden';
//document.getElementById('mrbox3').style.fontFamily = 'Verdana,Arial,Sans-Serif';
//document.getElementById('mrbox3').style.fontSize = '12px';
//document.getElementById('mrbox3').style.color = 'black';
//document.getElementById('mrbox3').style.fontWeight = 'bold';
//document.getElementById('mrbox3').style.zIndex = '99';
var language = "IT";
var destination_arr=new Array();
destination_arr["EN"] ="Destination";
destination_arr["ES"] ="Destino";
destination_arr["IT"] ="Destinazione";
destination_arr["DE"] ="Reiseziel";
destination_arr["FR"] ="Destination";

var checkin_arr=new Array();
checkin_arr["EN"] ="Check-in";
checkin_arr["ES"] ="Entrada";
checkin_arr["IT"] ="Arrivo";
checkin_arr["DE"] ="Anreisedatum";
checkin_arr["FR"] ="Arriv�e";

var checkout_arr=new Array();
checkout_arr["EN"] ="Check-out";
checkout_arr["ES"] ="Salida";
checkout_arr["IT"] ="Partenza";
checkout_arr["DE"] ="Abreisedatum";
checkout_arr["FR"] ="D�part";

var maxpers_arr=new Array();
maxpers_arr["EN"] ="Guest";
maxpers_arr["ES"] ="Hu�spedes";
maxpers_arr["IT"] ="Ospiti";
maxpers_arr["DE"] ="G�ste";
maxpers_arr["FR"] ="H�tes";

document.write('<link rel="stylesheet" media="screen" type="text/css" href="http://www.scannerhotel.com/css/datepicker_custom.css" />'+
'<link rel="stylesheet" href="http://www.scannerhotel.com/css/datepicker.css" type="text/css" />'+
'<script type="text/javascript" src="http://www.scannerhotel.com/js/jquery.js"></script>'+
   '<script type="text/javascript" src="http://www.scannerhotel.com/js/eye.js"></script>'+
   ' <script type="text/javascript" src="http://www.scannerhotel.com/js/cal_language.js"></script>'+
	'<script type="text/javascript" src="http://www.scannerhotel.com/js/datepicker.js"></script>'+
     '<script type="text/javascript" src="http://www.scannerhotel.com/js/cal_layout.js?ver=1.0.2"></script>'+
	 '<script type="text/javascript" src="http://www.scannerhotel.com/js/datediff.js"></script>'+
     '<script type="text/javascript">'+
'function isIE(){'+
	'var browser=navigator.appName;'+
	'if (browser=="Microsoft Internet Explorer"){'+
		 	'return(1);'+
		'}else{'+
		 	'return(0);'+
	'}'+
'}'+
	 	'if (isIE()) {'+
				'document.write(\'<link rel="stylesheet" href="http://www.scannerhotel.com/css/hotel_display_ie.css" type="text/css" />\');'+
		 	'}else{'+
		 		'document.write(\'<link rel="stylesheet" href="http://www.scannerhotel.com/css/hotel_display.css" type="text/css" />\');'+
		 	'}'+
'</script>');
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
var daylength= 1*24*60*60*1000;
var checkin = day + "/" + month + "/" + year;
var then = new Date(currentTime*1+daylength);
month = then.getMonth() + 1;
day = then.getDate();
year = then.getFullYear();
var checkout= day + "/" + month + "/" + year;
document.write(' <div class="research" style="font-size:12px;width:620px;border:3px solid #EAF2B0;float:left;background-color:#EAF2B0;color:#386320;">'+
	' <form action="http://www.scannerhotel.com/partners_landing.php" method="post" target="_blank" name="search_form" id="search_form"  >'+	
	   '<table border="0">'+
	   '	<tr>'+
			'<td><div id="destination_lb">'+destination_arr[language]+'</div></td>'+
				'<td width="10"></td>'+
				'<td><div id="checkin_lb">  '+checkin_arr[language]+'  </div></td>'+
				'<td width="10"></td>'+
				'<td><div id="checkout_lb">'+checkout_arr[language]+'</div></td>'+
				'<td width="10"></td>'+
				'<td><div id="guest_lb">'+maxpers_arr[language]+'</div></td>'+
				'<td width="10"></td><td></td>'+
		'</tr>'+
		'</div> '+
	  	'<tr>'+
			'<td>'+
				'<input style="width: 200px" type="text" id="destination" name="destination" value="" /> '+
			'</td>'+
			'<td></td>'+
			'<td width="110" valign="top">'+
 		  		'<input   id="inputDateIN" name="inputDateIN" style="width: 75px; float:left;"  value="'+checkin+'" onchange="$(\'#inputDateIN\').DatePickerHide();" /><div class="calendar"><img  class ="inputDateIN"  style="cursor: pointer;" name="imgInputDateIN" id="imgInputDateIN" src="http://scannerhotel.com//img/calendar.jpg" /></div>'+
			'</td>'+
			'<td></td>'+
			'<td width="110" valign="top">'+
				'<input   id="inputDateOUT" name = "inputDateOUT" style="cursor: pointer;width: 75px; float:left;" value="'+checkout+'" onchange="$(\'#inputDateOUT\').DatePickerHide();" /><div class="calendar"><img  class ="inputDateOUT" style="cursor: pointer;"  name="imgInputDateOUT" id="imgInputDateOUT" src="http://scannerhotel.com//img/calendar.jpg" /></div>'+
	  		'</td>'+
			'<td></td>'+
	  		'<td valign="top">'+
	  			'<select id="max_pers" name="max_pers">'+
							'<option value="1">1</option>'+
							'<option value="2" selected>2</option>'+
							'<option value="3">3</option>'+
							'<option value="4">4</option>'+
							'<option value="5">5</option>'+
				'</select>'+
			'</td>'+
			'<td></td>'+
			'<td>'+
				'<input id="search" type="submit" style="cursor: pointer; border:0px; height:24px; width:77px; background: transparent url(http://scannerhotel.com/img/research_'+language+'.png) no-repeat scroll left top;" value="" name="search"/>'+
			'</td>'+
		'</tr>'+
	'</table>'+
		'<input id="sel_currency" type="hidden" name="sel_currency" value="EUR" size="10"/>'+
		'<input id="REmax_pers" type="hidden" name="REmax_pers" value="2" size="3"/>'+
		'<input id="REinputDateOUT" type="hidden" name="REinputDateOUT" value="11/05/2010" size="15"/>'+
		'<input id="REinputDateIN" type="hidden" name="REinputDateIN" value="11/05/2010" size="15"/>'+
		'<input id="RElanguagecode" type="hidden" name="RElanguagecode" value="EN" size="15"/>'+
		'<input type="hidden"   value="" id="hotel_ids"  name="hotel_ids" />'+
		'<input type="hidden"   value="" id="hotel_nr"  name="hotel_nr" />'+
		'</form>'+
		'</div>');

