///////////////////// Hotel booking form////////////////////

document.write('<scr'+'ipt language="Javascript" type="text/javascript" src="http://www.res99.com/cal/calendarv2.js"></scr'+'ipt><scr'+'ipt language="javascript" type="text/javascript" SRC="http://www.res99.com/hotelsrch.js"></scr'+'ipt>');

document.write('<scr'+'ipt language="JavaScript" src="http://travelpage.res99.com/lastmindeals_search.js"></scr'+'ipt>');

document.write('<link rel="stylesheet" type="text/css" href="http://www.res99.com/cal/calendarv2.css" media="all" >');

function submitForm()
{
            b_valid = true;
            if(!htlDoaCal.returnSelectedDate("doa_yy","doa_mm","doa_dd"))
                        b_valid = false;
 
            if(!htlDodCal.returnSelectedDate("dod_yy","dod_mm","dod_dd"))
                        b_valid = false;
 
            return (b_valid);
 
}


function newHotelSearchBanner(){
document.write('<table width="283" border=0 bordercolor=red cellpadding=0 cellspacing=0 style="border:1px solid #004B9F" background="http://www.mapsofworld.com/referrals/images/bg.jpg" style="background-repeat:no-repeat;width:283px;height:214px;"><td><td valign="middle" height="45" align="center"></td></tr><td><td valign="top"><FORM NAME="resrvForm" ACTION="http://reservations.mapsofworld.com/nexres/search/search_results.cgi" METHOD=GET onSubmit="return submitForm()" style="margin-bottom:0px;"><INPUT TYPE=hidden NAME="avail" VALUE="Y"> <INPUT TYPE=hidden NAME="num_rooms" VALUE="1"><INPUT TYPE=hidden NAME="num_adults" VALUE="2"><INPUT TYPE=hidden NAME="smoking_pref" VALUE="NP"> <INPUT TYPE=hidden NAME="bed_type" VALUE="NP"> <INPUT TYPE=hidden NAME="src" VALUE="10020144"><input type=hidden name="currency_id" value="USD"><input type=hidden name="tab" value="tab0"> <TABLE BORDER="0" CELLPADDING="0" width="283" CELLSPACING="0"><TR><TD><TABLE BORDER="0" bordercolor="red" CELLPADDING="1" width="100%" height="168" CELLSPACING="0" align="center"><TR><TD align="right" valign="middle" style="padding-right:10px;width:120px;"><font face="verdana,arial,helvetica" size="-2"><B>Check-in date:</B></font></TD> <td style="width:162px;" class="formfield">						<INPUT NAME="chk_in" id="chk_in" value="MM/DD/YYYY" type="text" onfocus="htlDoaCal.showCalendar(calArray,this);this.select(); " size=16 style="font-family:verdana;font-size:11px;" />                  							<INPUT TYPE="HIDDEN" NAME="doa_mm" id="doa_mm" />                            <INPUT TYPE="HIDDEN" NAME="doa_dd" id="doa_dd" />                            <INPUT TYPE="HIDDEN" NAME="doa_yy" id="doa_yy" />						</td></TR><TR><TD style="padding-right:10px;" align="right" valign="middle"><font face="verdana,arial,helvetica" size="-2"><B>Check-out date:</B></font></TD><td class="formfield">							<input name="chk_out" id="chk_out" value="MM/DD/YYYY" type="text" onfocus="htlDodCal.showCalendar(calArray,this);this.select(); " size=16 style="font-family:verdana;font-size:11px;"  />							 <INPUT TYPE="HIDDEN" NAME="dod_mm" id="dod_mm" />                            <INPUT TYPE="HIDDEN" NAME="dod_dd" id="dod_dd" />                            <INPUT TYPE="HIDDEN" NAME="dod_yy" id="dod_yy" />						</td></TR><tr border="0"><td style="padding-right:10px;padding-bottom:0px;" align=right valign="middle"><font face="verdana,arial,helvetica" size="-2"><B>Hotel Name:</B></font></td><td><font face="verdana,arial,helvetica" size="-2"> <INPUT TYPE="TEXT" NAME="name" id="name" SIZE="20" VALUE="" readOnly="true" style="width:140px;height:20px;FONT-SIZE:11PX;"><INPUT TYPE="hidden" NAME="city" SIZE="14" VALUE="" style="width:112px;height:20px;"><INPUT TYPE="hidden" NAME="country" SIZE="14" VALUE="" style="width:112px;height:20px;"></td></tr><tr><td height=60><img src="http://www.mapsofworld.com/images/usa-hotel/tvly_120x60.png" width="120" height="60" border="0" alt=""></td><td valign="top" style="padding-top:2px;"><INPUT TYPE="image" VALUE="Search Now" NAME="Go" src="http://www.mapsofworld.com/referrals/images/check_availability.jpg" ALIGN=absmiddle BORDER="0" ></font><div align="center" style="padding-top:5px;"><a href="http://www.mapsofworld.com/referrals/airlines/flights.html"><font style="font-family:verdana;font-weight:normal;color:#0000f0;text-decoration:underline;font-size:10px;">Book Flights Only</font></a><br><a href="http://reservations.mapsofworld.com/nexres/search/power_search.cgi?src=10020144&lang=ENG"><font style="font-family:verdana;font-weight:normal;color:#0000f0;text-decoration:underline;font-size:10px;">Advanced Hotel Search</font></a></div></TD></TR></TABLE></TD></TR></TABLE></FORM> 			<div class="caltpbg_a" id="calendarBoxArrive" style="display:none" >		<div id="calendarBoxArrive_box">					<span class="cal_title" style="float:left ">Select check-in date</span>			<a class="close-calendar" href="javascript:void(null);" onclick="htlDoaCal.hideCal();return false;"><IMG SRC="http://images.wctravel.com/images-general/calendar/calClose.gif" WIDTH=17 HEIGHT=13 BORDER=0></a>			<div style="clear:both "></div>			<div id="cal1Container" class="calendar" onclick="return false;"></div>		</div></div><!-- caltpbg --><div class="caltpbg_b" id="calendarBoxDepart" style="display:none" >		<div id="calendarBoxDepart_box">			<span class="cal_title" style="float:left ">Select check-out date</span>			<a class="close-calendar" href="javascript:void(null);" onclick="htlDodCal.hideCal();return false;"><IMG SRC="http://images.wctravel.com/images-general/calendar/calClose.gif" WIDTH=17 HEIGHT=13 BORDER=0></a>			<div style="clear:both "></div>			<div id="cal2Container" class="calendar" onclick="return false;"></div>		</div></div><!-- caltpbg --></td></tr></table>');
initCal();
}

///////////////////// Hotel booking form////////////////////