<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title=" Hotels.com" directory_title="Search Hotels.com for all your hotel needs." description="Free Search at Hotel.com. Find the best rates on all your vacation needs ." author="Jason Whitfield" author_location="LA, CA" author_email="jasonwlax@gmail.com"
author_photo="http://www.malibucc.com/jwggd.jpg" author_aboutme="Like to surf and make gadgets." author_link="http://www.malibucc.com" author_quote="Live for Today." screenshot="http://www.malibucc.com/hts.jpg" thumbnail="http://www.malibucc.com/ht.jpg" width="400" height="400" scaling="true" render_inline="never" scrolling="false" category="tools" category2="lifestle"/> 
<Content type="html"><![CDATA[
<center>
<!-- START SEARCH --><script language="javascript"><!-- // NOTE: customize variables in this javascript block as appropriate. var defaultAdults="2"; var cellStyle=""; var childHelp="Please provide the ages of children in each room. Children's ages should be their age at the time of travel."; var adultHelp=""; var textRooms="<strong>Rooms</strong>"; var textAdults="<strong>Adults</strong> (ages 19+)"; var textChildren="<strong>Children</strong> (0-18)"; var textChildError="Please specify the ages of all children."; var pad='<img src="http://travel.ian.com/images/p.gif" width="5" height="1">'; // NOTE: Question marks ("?") get replaced with a numeric value var textRoomX="Room ?"; var textChildX="<strong>Age of Child ?</strong>";
//--></script><script language="javascript"><!--function loadDates() { var calendar = new Date(); var calendar2 = new Date(); var cal var cal2 var date; var month; var year; var date2; var month2; var year2;
 //Here is the variable to change for to advance the arrival Date var advanceArrival = 14;
 //Here is the variable to change for to advance the departure Date var advanceDeparture = 16;
 //Set the arrival Days calendar.setDate(calendar.getDate()+ advanceArrival); date = calendar.getDate(); month = calendar.getMonth();
 //Set the Departure Days calendar2.setDate(calendar2.getDate()+advanceDeparture); date2 = calendar2.getDate(); month2 = calendar2.getMonth();
 document.forms['myform'].arrivalMonth.value=month; document.forms['myform'].arrivalDay.value=date; document.forms['myform'].departureMonth.value=month2; document.forms['myform'].departureDay.value=date2; }
 //start new script code // Checks if browser is Netscape 2.0x since the options array properties don't work with Netscape 2.0x function isBrowserSupp() { // Get the version of the browser version = parseFloat( navigator.appVersion );
 if ( ( version >= 2.0 ) && ( version < 2.1 ) && ( navigator.appName.indexOf( "Netscape" ) != -1 ) ) { return false; } else { return true; }
 return true; }
 function isLeapYear( yrStr ) { var leapYear = false; var year = parseInt( yrStr, 10 ); // every fourth year is a leap year if ( year % 4 == 0 ) { leapYear = true; // unless it's a multiple of 100 if( year % 100 == 0 ) { leapYear = false; // unless it's a multiple of 400 if( year % 400 == 0 ) { leapYear=true; } } } return leapYear; }
 function getDaysInMonth( mthIdx, YrStr ) { // all the rest have 31 var maxDays = 31 // expect Feb. (of course) if( mthIdx == 1 ) { if( isLeapYear( YrStr ) ) { maxDays=29; } else { maxDays=28; } }
 // thirty days hath... if( mthIdx == 3 || mthIdx == 5 || mthIdx == 8 || mthIdx == 10 ) { maxDays=30; } return maxDays; }
 //the function which does some magic to the date fields // return non-zero if it is the last day of the month function adjustDate( mthIdx, Dt ) { var value = 0;
 var today = new Date() var theYear = parseInt( today.getYear(), 10 )
 if( mthIdx < today.getMonth() ) { theYear = ( parseInt( today.getYear(), 10 ) + 1 ) } if( theYear < 100 ) { theYear = "19" + theYear } else { if( ( theYear - 100 ) < 10 ) { theYear = "0" + ( theYear - 100 ) } else { theYear = ( theYear - 100 ) + "" } theYear = "20" + theYear }
 var numDays = getDaysInMonth( mthIdx, theYear );
 if( mthIdx == 1 ) { if( Dt.options.selectedIndex + 2 < numDays ) { return 0; } else { if( Dt.options.selectedIndex + 1 > numDays) { Dt.options.selectedIndex=numDays - 1; } //check for leap year if( (Dt.options.selectedIndex + 1) == numDays ) { return 1; } else { return 4; } } }
 if( Dt.options.selectedIndex + 2 < numDays ) { value = 0; } else { if ( Dt.options.selectedIndex + 1 > numDays ) { Dt.options.selectedIndex--; value = 3; } else if ( Dt.options.selectedIndex + 1 == numDays ) { //index is 31 or 30 value = 2; } else { value = 4; } } return value; }
 //changes departure month when arrival month is changed function amadChange( inM, inD, outM, outD ) { if ( !isBrowserSupp() ) { return; }
 var res = adjustDate( inM.options.selectedIndex, inD ); if( res != 0 ) { outD.options.selectedIndex = 0; if ( inM.options.selectedIndex == 11 ) { outM.options.selectedIndex = 0 } else if( res == 4 ) { outM.options.selectedIndex=inM.options.selectedIndex + 1; outD.options.selectedIndex = 0; } else { outM.options.selectedIndex=inM.options.selectedIndex + 1; outD.options.selectedIndex = 1; } } else { outM.options.selectedIndex = inM.options.selectedIndex; if (outD.options.selectedIndex <= inD.options.selectedIndex) { outD.options.selectedIndex = inD.options.selectedIndex + 2; } } return; }
 function dmddChange( outM, outD ) { if ( !isBrowserSupp() ) { return; }
 adjustDate( outM.options.selectedIndex, outD ); return; }//--></script>
<script langauage="javascript"><!--function update(themonth,theday){ document.forms[fName].elements[formType+'Day'].options[theday - 1].selected = true; document.forms[fName].elements[formType+'Month'].options[themonth].selected = true;
 testWindow.close();}
function loadCalendar(viewMonth) {
testWindow.document.close();testWindow.document.open();
var day_of_week = new Array("S","M","T","W","T","F","S");var month_of_year = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var dateObj = new Date();var year = dateObj.getYear(); // Returns yearvar month = dateObj.getMonth(); // Returns month (0-11)var today = dateObj.getDate(); // Returns day (1-31)var weekday = dateObj.getDay(); // Returns day (1-31)
var DAYS_OF_WEEK = 7; // "constant" for number of days in a weekvar DAYS_OF_MONTH = 31; // "constant" for number of days in a monthvar cal; // Used for printing
if (viewMonth < month) {year = year + 1;}
if(year < 1900){year += 1900; //done to solve the problem of netscape and mozilla returning year in form 10X for years > 2000}
month = viewMonth;dateObj.setDate(1); // Start the calendar day at '1'dateObj.setMonth(month); // Start the calendar month at nowdateObj.setYear((year));
// VARIABLES FOR FORMATTINGvar prevM = month - 1;var nextM = month + 1;
if (nextM == 12) {nextM = 0;}
if (prevM == -1) {prevM = 11;}
// BEGIN CODE FOR CALENDARcal = '<html><head><title>Calendar</title></head><body>';cal += '<style>body,td{cursor: default; font-family: sans-serif;font-size:12px;}</style>';
 cal += '<div style="width:150px" align="center">';cal += '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" width="100%" style="border-left:#d0d0d0 px solid; border-top:#d0d0d0 px solid;border-right:#d0d0d0 px solid">' + '<tr bgcolor="#c0c0c0">'; cal += '<td><a href="javascript:" onClick="window.opener.loadCalendar(' + prevM + ');"><img src="http://www.hotels.com/images/left.gif" border="0"></a></td>';cal += '<td + DAYS_OF_WEEK><CENTER><B>';cal += month_of_year[month] + ' ' + year + '</B>' + '</td>' ; cal += '<td align="right"><a href="javascript:" onClick="window.opener.loadCalendar(' + nextM + ');"><img src="http://www.hotels.com/images/right.gif" border="0"></a></td>';cal += '</tr></table>'; cal += '<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2" width="100%" bordercolor="#d0d0d0">' + '<tr>';
 /////////////////////////////////// // DO NOT EDIT BELOW THIS POINT // ///////////////////////////////////
// LOOPS FOR EACH DAY OF WEEKfor(index=0; index < DAYS_OF_WEEK; index++) { // PRINTS DAY cal += '<td align="center" style="font-size:10px;">' + day_of_week[index] + '</td>';}
cal += '</td>' + '</tr>';cal += '<tr>';
// FILL IN BLANK GAPS UNTIL TODAY'S DAYfor(index=0; index < dateObj.getDay(); index++) { cal += '<td>' + ' &nbsp; ' + '</td>'; }
// LOOPS FOR EACH DAY IN CALENDAR for(index=0; index < DAYS_OF_MONTH; index++) { if( dateObj.getDate() > index ) { // RETURNS THE NEXT DAY TO PRINT week_day =dateObj.getDay();
 // START NEW ROW FOR FIRST DAY OF WEEK if(week_day == 0) { cal += '<tr>'; }
 if(week_day != DAYS_OF_WEEK) { // SET VARIABLE INSIDE LOOP FOR INCREMENTING PURPOSES var day = dateObj.getDate();
 // PRINTS DAY cal += '<td align="center">' + "<span onclick='window.opener.update(" + month + "," + day + ")' style='cursor:hand;font-size:12px;'>" + day + "</span>" + '</td>'; }
 // END ROW FOR LAST DAY OF WEEK if(week_day == DAYS_OF_WEEK) { cal += '</tr>'; } }
 // INCREMENTS UNTIL END OF THE MONTH dateObj.setDate(dateObj.getDate()+1);
 }// end for loop
cal += '</td></tr>'; cal += ' <tr><td align="center" colspan="7"><a href="javascript:window.close();">close</a></td></tr></table>' cal += '</div>'cal += '</body></html>';
// PRINT CALENDARtestWindow.document.write(cal);}
var testWindow;var formType;var fName;
function openCalendar(formName,type) {formType=type;fName=formName;testWindow = window.open('','dates','width=170,height=200,resizable=1,status=1,menubar=0,location=0');loadCalendar(document.forms[fName].elements[formType+'Month'].selectedIndex);}//--></script>
<script language="javascript"><!--function setCityInformation(_city, _state, _country) {clearTextBox(document.forms["myform"].cityText);document.forms["myform"].city.value = _city;document.forms["myform"].stateProvince.value = _state;document.forms["myform"].country.value = _country;}
function clearTextBox(_textbox) {_textbox.value = "";}
function validate(form) {if (form.numberOfRooms.selectedIndex == 8) {window.location = "http://travel.ian.com/index.jsp?pageName=groups&cid=131241&locale=en_US";return false;}
if (document.forms["myform"].cityText.value != "") {document.forms["myform"].stateProvince.value = "";document.forms["myform"].country.value = "";document.forms["myform"].city.value = document.forms["myform"].cityText.value;}
return submitGuestInfoForm(form);}//--></script><style>body, td, input, select {font-size:11px; font-family: Arial, Helvetica,sans-serif;}a:link, a:active, a:visited, a:hover {color:#000000;}
.masterHEADER { color:#000000; font-weight: bold; font-size: 12px; letter-spacing:1px;}div#form-border {border:solid 5px #6699cc;width:400px;} div#form-border2 {border:solid 5px #eef6fd;width:auto;padding:10px;}div.hrule-blue {margin: 0; padding: 0; background-image: url(http://www.hotels.com/images/chrysalis/global/hr_bluedots.gif); background-repeat: repeat-x; background-position: center; height: 1px;}
.form-color { background: #eef6fd;width:100%;} /*changes inside color and bevel edge - change width here*/
a.tablink:link, a.tablink:active, a.tablink:visited {color:#FFFFFF;text-decoration:none;}a.tablink:hover {color:#FFFFFF;text-decoration:underline;}
.hotel-tab {background: #6699cc; color: #FFFFFF; font-weight: bold; font-size: 12px;} /*change bg color*/.rental-tab {background: #00487D; color: #FFFFFF; font-weight: bold;}.car-tab {background: #00487D; color: #FFFFFF; font-weight: bold;}.air-tab {background: #00487D; color: #FFFFFF; font-weight: bold;}.cruise-tab {background: #00487D; color: #FFFFFF; font-weight: bold;}</style>
<table width="400px" cellspacing="0" cellpadding="0" border="0"> <tr>
 <td class="hotel-tab" width="1"><img src="http://travel.ian.com/images/p.gif" width="1" height="2" alt="" border="0"></td> <td colspan="9"><img src="http://travel.ian.com/images/p.gif" width="1" height="1" alt="" border="0"></td> <tr> <td width="20%" class="hotel-tab" align="center">hotels</td> <!-- vr set --> <td width="5"><img src="http://travel.ian.com/images/p.gif" width="5" height="30" alt="" border="0"></td> <td width="40%" align="center" class="rental-tab"><a href="http://www.tkqlhce.com/click-2854086-10444473?url=http%3A%2F%2Ftravel.ian.com%2Findex.jsp%3Fcid%3D131241%26pageName%3Dcondos%26locale%3Den_US" class="tablink">vacation rentals</a></td> <!-- /vr set-->
 <td width="100%" align="center">&nbsp;</td> </tr></table><div id="form-border"><div id="form-border2"><form action="http://www.kqzyfj.com/interactive" style="margin:0px;" target="new" onsubmit="return validate(this);" name="myform" method="post" id="myform"><input type="hidden" name="cid" value="131241"><input type="hidden" name="pageName" value="hotSearch"><input type="hidden" name="validateCity" value="true"><input type="hidden" name="mode" value="2"><input type="hidden" name="submitted" value="true"><input type="hidden" name="netOnly" value="false"><input type="hidden" name="locale" value="en_US"><input type="hidden" name="specials" value="false"><input type="hidden" name="city" value="">
<input type="hidden" name="stateProvince" value=""><input type="hidden" name="country" value=""><input type="hidden" name="validateDates" value="false"><input type="hidden" name="showPopUp" value="true"><input type="hidden" name="passThrough" value="true">
<div style="margin-bottom: 5px;" class="masterHEADER">DESTINATION</div>
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="5"> <tr valign="top" class="form-color"> <td><strong>Enter a City</strong><br /><input type="radio" name="radcity" id="radCityText" onclick="document.forms['myform'].cityText.focus();" checked> <input maxlength="40" size="20" value="" onclick="document.forms['myform'].cityText.focus();" onfocus="clearTextBox(document.forms['myform'].cityText);document.myform.radCityText.checked=true;" name="cityText"></td>
 </tr></table><div class="hrule-blue" style="margin: 0; padding: 0;"><img src="images/spacer.gif" width="1" height="1" alt="" /></div><table width="100%" align="center" border="0" cellspacing="0" cellpadding="5"> <tr valign="top"> <td class="form-color"><strong>Most popular cities</strong><br /> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td valign=top width="30%"><input onclick="javascript:setCityInformation('New York', 'NY', 'US');" type="radio" value="New York City" name="radcity">New York<br>
 <input onclick="javascript:setCityInformation('Atlanta', 'GA', 'US');" type="radio" value="Atlanta" name="radcity">Atlanta<br> <input onclick="javascript:setCityInformation('Boston', 'MA', 'US');" type="radio" value="Boston" name="radcity">Boston<br> <input onclick="javascript:setCityInformation('Chicago', 'IL', 'US');" type="radio" value="Chicago" name="radcity">Chicago<br></td> <td valign=top width="30%"><input onclick="javascript:setCityInformation('Las Vegas', 'NV', 'US');" type="radio" value="Las Vegas" name="radcity">Las Vegas<br> <input onclick="javascript:setCityInformation('London', '', 'GB');" type="radio" value="London" name="radcity">London<br> <input onclick="javascript:setCityInformation('Los Angeles', 'CA', 'US');" type="radio" value="Los Angeles" name="radcity">Los Angeles<br>
 <input onclick="javascript:setCityInformation('Miami', 'FL', 'US');" type="radio" value="Miami" name="radcity">Miami<br></td> <td valign=top width="40%"><input onclick="javascript:setCityInformation('Orlando', 'FL', 'US');" type="radio" value="Orlando" name="radcity">Orlando<br> <input onclick="javascript:setCityInformation('Paris', '', 'FR');" type="radio" value="Paris" name="radcity">Paris<br> <input onclick="javascript:setCityInformation('San Diego', 'CA', 'US');" type="radio" value="San Diego" name="radcity">San Diego<br> <input onclick="javascript:setCityInformation('San Francisco', 'CA', 'US');" type="radio" value="San Francisco" name="radcity">San Francisco<br></td> </tr>
 </table> </td> </tr></table><div style="margin-bottom: 5px; margin-top: 10px;" class="masterHEADER">TRAVEL DETAILS</div><table width="100%" align="center" border="0" cellspacing="0" cellpadding="5"> <tr valign="top"> <td class="form-color"> <table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr>
 <td><strong>Check-In:</strong><br> <select class="" onchange="amadChange(document.myform.arrivalMonth, document.myform.arrivalDay, document.myform.departureMonth, document.myform.departureDay)" name=arrivalMonth> <option value=0>January</option> <option value=1>February</option> <option value=2>March</option> <option value=3>April</option>
 <option value=4>May</option> <option value=5>June</option> <option value=6>July</option> <option value=7>August</option> <option value=8>September</option> <option value=9>October</option>
 <option value=10>November</option> <option value=11>December</option> </select>  <select class="" onchange="amadChange(document.myform.arrivalMonth, document.myform.arrivalDay, document.myform.departureMonth, document.myform.departureDay)" name="arrivalDay"> <option value=1>1</option> <option value=2>2</option> <option value=3>3</option>
 <option value=4>4</option> <option value=5>5</option> <option value=6>6</option> <option value=7>7</option> <option value=8>8</option> <option value=9>9</option>
 <option value=10>10</option> <option value=11>11</option> <option value=12>12</option> <option value=13>13</option> <option value=14>14</option> <option value=15>15</option>
 <option value=16>16</option> <option value=17>17</option> <option value=18>18</option> <option value=19>19</option> <option value=20>20</option> <option value=21>21</option>
 <option value=22>22</option> <option value=23>23</option> <option value=24>24</option> <option value=25>25</option> <option value=26>26</option> <option value=27>27</option>
 <option value=28>28</option> <option value=29>29</option> <option value=30>30</option> <option value=31>31</option> </select> <a href="http://www.jdoqocy.com/click-2854086-10444473?url=javascript%3AopenCalendar%28%27myform%27%2C+%27arrival%27%29%3B"><img src="http://www.hotels.com/images/chrysalis/icons/calendar.gif" border="0" align="top"></a> </td>
 <td width="10">&nbsp;</td> <td><strong>Check-Out:</strong><br> <select class="" onchange="dmddChange(document.myform.departureMonth,document.myform.departureDay)" name="departureMonth"> <option value=0>January</option> <option value=1>February</option> <option value=2>March</option> <option value=3>April</option>
 <option value=4>May</option> <option value=5>June</option> <option value=6>July</option> <option value=7>August</option> <option value=8>September</option> <option value=9>October</option>
 <option value=10>November</option> <option value=11>December</option> </select>  <select class="" onchange="dmddChange(document.myform.departureMonth,document.myform.departureDay)" name="departureDay"> <option value=1>1</option> <option value=2>2</option> <option value=3>3</option>
 <option value=4>4</option> <option value=5>5</option> <option value=6>6</option> <option value=7>7</option> <option value=8>8</option> <option value=9>9</option>
 <option value=10>10</option> <option value=11>11</option> <option value=12>12</option> <option value=13>13</option> <option value=14>14</option> <option value=15>15</option>
 <option value=16>16</option> <option value=17>17</option> <option value=18>18</option> <option value=19>19</option> <option value=20>20</option> <option value=21>21</option>
 <option value=22>22</option> <option value=23>23</option> <option value=24>24</option> <option value=25>25</option> <option value=26>26</option> <option value=27 selected>27</option>
 <option value=28>28</option> <option value=29>29</option> <option value=30>30</option> <option value=31>31</option> </select> <a href="http://www.kqzyfj.com/click-2854086-10444473?url=javascript%3AopenCalendar%28%27myform%27%2C+%27departure%27%29%3B"><img src="http://www.hotels.com/images/chrysalis/icons/calendar.gif" border="0" align="top"></a> </td>
 </tr> </table>  </td> </tr></table><div class="hrule-blue" style="margin: 0; padding: 0;"><img src="images/spacer.gif" width="1" height="1" alt="" /></div><table width="100%" align="center" border="0" cellspacing="0" cellpadding="5"> <tr valign="top"> <td class="form-color"><div style="width:300px;" id="hot-search-params"></div></td> </tr>
<!-- NOTE: DO NOT MODIFY THIS JAVASCRIPT BLOCK --><script language="javascript"><!-- var adultsPerRoom=new Array(defaultAdults); var childrenPerRoom=new Array(); var childAgesPerRoom=new Array(); var numRooms=1; var maxChildren=0;
 refresh();
 function setChildAge(room, child, age) { if (childAgesPerRoom[room] == null) { childAgesPerRoom[room] = new Array(); } childAgesPerRoom[room][child] = age; }
 function setNumAdults(room, numAdults) { adultsPerRoom[room] = numAdults; }
 function setNumChildren(room, numChildren) { childrenPerRoom[room] = numChildren; refresh(); }
 function setNumRooms(x) { numRooms = x; for (i = 0; i < x; i++) { if (adultsPerRoom[i] == null) { adultsPerRoom[i] = 2; } if (childrenPerRoom[i] == null) { childrenPerRoom[i] = 0; } } refresh(); }
 function renderRoomSelect() { var x = ''; x += '<select name="numberOfRooms" onchange="setNumRooms(this.options[this.selectedIndex].value);">'; for (var i = 1; i < 9; i++) { x += '<option value="'+i+'"'+(numRooms == i ? ' selected' : '')+'>' + i; } x += '</select>'; return x; }
 function refresh() { maxChildren = 0; for (var i = 0; i < numRooms; i++) { if (childrenPerRoom[i] > maxChildren) { maxChildren = childrenPerRoom[i]; } }
 var x = ''; if (adultHelp.length > 0) { x = adultHelp + "<p>\n"; }
 if (numRooms > 8) { x += textRooms; x += renderRoomSelect();
 } else { x += '<table border="0" cellspacing="2" cellpadding="0" width="100%">\n'; x += '<tr><td'+cellStyle+'>'+textRooms+pad+'</td>'; x += '<td'+cellStyle+'>'+renderRoomSelect()+pad+'</td>';
 x += '<td'+cellStyle+'><nobr>'+textAdults+pad+'</nobr></td><td'+cellStyle+'><nobr>'+textChildren+pad+'</nobr></td></tr>\n'; 
 for (var i = 0; i < numRooms; i++) { x += '<tr>'; if (numRooms == 1) { x+= '<td >Room 1</td>'; } 
 if (numRooms > 1) { x += '<td'+cellStyle+'><nobr>'+getValue(textRoomX, i+1)+pad + '</nobr></td>'; } x += '<td>&nbsp;</td>'; x += '<td'+cellStyle+'>'; x += buildSelect('room-' + i + '-adult-total', 'setNumAdults(' + i + ', this.options[this.selectedIndex].value)', 1, 4, adultsPerRoom[i]); x += '</td><td'+cellStyle+'>'; x += buildSelect('room-' + i + '-child-total', 'setNumChildren(' + i + ', this.options[this.selectedIndex].value)', 0, 3, childrenPerRoom[i]); x += '</td></tr>\n'; }
 x += '</table>\n';
 var didHeader = false; for (var i = 0; i < numRooms; i++) { if (childrenPerRoom[i] > 0) { if (!didHeader) { x += '<table border="0" cellpadding="0" cellspacing="2">\n'; x += '<tr><td'+cellStyle+' colspan="'+(maxChildren+1)+'">'; x += '<img src="http://travel.ian.com/images/p.gif" width="1" height="5"><br>'; x += childHelp; x += '<img src="http://travel.ian.com/images/p.gif" width="1" height="5"><br>'; x += '</td></tr>\n<tr><td'+cellStyle+'>&nbsp;</td>'; for (var j = 0; j < maxChildren; j++) { x += '<td'+cellStyle+'><nobr>'+getValue(textChildX, j+1)+pad+'</nobr></td>\n'; } didHeader = true; } x += '</tr>\n<tr><td'+cellStyle+'><nobr>'+getValue(textRoomX, i+1)+pad+'</nobr></td>'; for (var j = 0; j < childrenPerRoom[i]; j++) { x += '<td'+cellStyle+'>'; var def = -1; if (childAgesPerRoom[i] != null) { if (childAgesPerRoom[i][j] != null) { def = childAgesPerRoom[i][j]; } } x += '<select name="room-'+i+'-child-'+j+'-age" onchange="setChildAge('+i+', '+j+', this.options[this.selectedIndex].value);">'; x += '<option value="-1"'+(def == -1 ? ' selected' : '')+'>-?-'; x += '<option value="0"'+(def == 0 ? ' selected' : '')+'>&lt;1'; for (var k = 1; k <= 18; k++) { x += '<option value="'+k+'"'+(def == k ? ' selected' : '')+'>'+k; } x += '</td>'; } if (childrenPerRoom[i] < maxChildren) { for (var j = childrenPerRoom[i]; j < maxChildren; j++) { x += '<td'+cellStyle+'>&nbsp;</td>'; } } x += '</tr>\n'; } } if (didHeader) { x += '</table>\n'; } }
 document.getElementById("hot-search-params").innerHTML = x; }
 function buildSelect(name, onchange, min, max, selected) { var x = '<select name="' + name + '"'; if (onchange != null) { x += ' onchange="' + onchange + '"'; } x +='>\n'; for (var i = min; i <= max; i++) { x += '<option value="' + i + '"'; if (i == selected) { x += ' selected'; }
 x += '>' + i + '\n'; } x += '</select>'; return x; }
 function validateGuests(form) { if (numRooms < 9) { var missingAge = false; for (var i = 0; i < numRooms; i++) { var numChildren = childrenPerRoom[i]; if (numChildren != null && numChildren > 0) { for (var j = 0; j < numChildren; j++) { if (childAgesPerRoom[i] == null || childAgesPerRoom[i][j] == null || childAgesPerRoom[i][j] == -1) { missingAge = true; } } } }
 if (missingAge) { alert(textChildError); return false; } else { return true; } } else { return true; } }
 function submitGuestInfoForm(form) { if (!validateGuests(form)) { return false; }
 return true; }
 function getValue(str, val) { return str.replace(/\?/g, val); } loadDates();//--></script></table><table cellspacing="0" cellpadding="0" border="0" width="100%" style="padding-top: 10px;"> <tr> <td><strong>partnered with <span style="color: #b40014">hotels.com</span></strong></td> <td align="right" ><input type="Image" src="http://www.hotels.com/images/chrysalis/btn/big_go.gif" value="Search"></td> </tr>
</table>

<input type="hidden" name="aid" value="10444473"/><input type="hidden" name="pid" value="2854086"/><input type="hidden" name="url" value="http://travel.ian.com/index.jsp"/></form></div></div><!-- END SEARCH --><img src="http://www.lduhtrp.net/image-2854086-10444473" width="1" height="1" border="0"/>
]]></Content></Module>
















































