aff_html1  ='<form action="http://www.indo.com/cgi-fbin/HotelReservation/User/find-hotel.pl" method="post" name="form1"> \n';
aff_html1 +='<input type="hidden" name="affid" value="0"> \n';
aff_html1 +='<input type="hidden" name="mode" value="SEARCH"> \n';
aff_html1 +='<div align="center"> \n';
aff_html1 +='<table width="436" cellpadding="0" border="0" bordercolor="#009933" cellspacing="0"> \n';
aff_html1 +='<tr bgcolor="#009933"> \n'; 
aff_html1 +='<td height=1 width="3"> \n'; 
aff_html1 +='</td> \n';
aff_html1 +='<td height=1 colspan=2 width="427"> \n';
aff_html1 +='<p align="center"><spacer height="1" width="1" type="block"><font color="#FFFFFF"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Win a \n';
aff_html1 +='<a href="http://www.indo.com/contestSignature/index.html"><font size=+1 color="yellow">FREE trip to Bali!</font></a><br>From anywhere in the world...</font></b></font></p>\n';
aff_html1 +='</td> \n';
aff_html1 +='<td height=1 width="4">  \n';
aff_html1 +='</td> \n';
aff_html1 +='</tr> \n';
aff_html1 +='<tr>  \n';
aff_html1 +='<td nowrap width="3" bgcolor="#009933">&nbsp \n';
aff_html1 +='<td nowrap width="83"><font color="#333333" face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>&nbsp;check in</b></font><b><font color="#808080" face="Verdana, Arial, Helvetica, sans-serif" size="2">&nbsp;</font></b></td> \n';
aff_html1 +='<td width="342">&nbsp \n'; 
aff_html1 +='<select name="gcid"> \n';
aff_html1 +='<option  >------ \n';
aff_html1 +='<option  value="1"  >1 \n'; 
aff_html1 +='<option  value="2"  >2  \n';
aff_html1 +='<option  value="3"  >3  \n';
aff_html1 +='<option  value="4"  >4 \n'; 
aff_html1 +='<option  value="5"  >5  \n';
aff_html1 +='<option  value="6"  >6  \n';
aff_html1 +='<option  value="7"  >7  \n';
aff_html1 +='<option  value="8"  >8  \n';
aff_html1 +='<option  value="9"  >9  \n';
aff_html1 +='<option  value="10"  >10  \n';
aff_html1 +='<option  value="11"  >11  \n';
aff_html1 +='<option  value="12"  >12  \n';
aff_html1 +='<option  value="13"  >13  \n';
aff_html1 +='<option  value="14"  >14  \n';
aff_html1 +='<option  value="15"  >15  \n';
aff_html1 +='<option  value="16"  >16  \n'; 
aff_html1 +='<option  value="17"  >17  \n';
aff_html1 +='<option  value="18"  >18  \n';
aff_html1 +='<option  value="19"  >19  \n';
aff_html1 +='<option  value="20"  >20  \n';
aff_html1 +='<option  value="21"  >21  \n';
aff_html1 +='<option  value="22"  >22  \n';
aff_html1 +='<option  value="23"  >23  \n';
aff_html1 +='<option  value="24"  >24  \n';
aff_html1 +='<option  value="25"  >25  \n';
aff_html1 +='<option  value="26"  >26  \n';
aff_html1 +='<option  value="27"  >27  \n';
aff_html1 +='<option  value="28"  >28  \n';
aff_html1 +='<option  value="29"  >29  \n';
aff_html1 +='<option  value="30"  >30  \n';
aff_html1 +='<option  value="31"  >31  \n';
aff_html1 +='</select> \n'; 
aff_html1 +='&nbsp;&nbsp;  \n';
aff_html1 +='<select name="gcim"> \n';
aff_html1 +='<option  >------ \n';
aff_html1 +='<option value="1" >January \n'; 
aff_html1 +='<option value="2" >February  \n';
aff_html1 +='<option value="3" >March  \n';
aff_html1 +='<option value="4" >April  \n';
aff_html1 +='            <option value="5" >May  \n';
aff_html1 +='            <option value="6" >June  \n';
aff_html1 +='            <option value="7" >July  \n';
aff_html1 +='            <option value="8" >August  \n';
aff_html1 +='            <option value="9" >September  \n';
aff_html1 +='            <option value="10" >October  \n';
aff_html1 +='            <option value="11" >November  \n';
aff_html1 +='            <option value="12" >December  \n';
aff_html1 +='          </select> \n';
aff_html1 +='          &nbsp;&nbsp;  \n';
aff_html1 +='          <select name="gciy" class="a5" > \n';
aff_html1 +='            <option value="2001" selected>2001</option> \n';
aff_html1 +='            <option value="2002">2002</option> \n';
aff_html1 +='          </select> \n';
aff_html1 +='        </td> \n';
aff_html1 +='        <td width="4" bgcolor="#009933">&nbsp \n';
aff_html1 +='        </td> \n';
aff_html1 +='      </tr> \n';
aff_html1 +='      <tr>  \n';
aff_html1 +='          <td nowrap width="3" bgcolor="#009933">&nbsp;</td> \n';
aff_html1 +='          <td nowrap width="83"><font color="#333333" face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>&nbsp;check out</b></font></td> \n';
aff_html1 +='        <td width="342">&nbsp \n';
aff_html1 +='          <select name="gcod"> \n';
aff_html1 +='            <option  >------ \n';
aff_html1 +='            <option value="1" >1  \n';
aff_html1 +='            <option value="2" >2  \n';
aff_html1 +='            <option value="3" >3  \n';
aff_html1 +='            <option value="4" >4  \n';
aff_html1 +='            <option value="5" >5  \n';
aff_html1 +='            <option value="6" >6  \n';
aff_html1 +='            <option value="7" >7  \n';
aff_html1 +='            <option value="8" >8  \n';
aff_html1 +='            <option value="9" >9  \n';
aff_html1 +='            <option value="10" >10  \n';
aff_html1 +='            <option value="11" >11  \n';
aff_html1 +='            <option value="12" >12  \n';
aff_html1 +='            <option value="13" >13  \n';
aff_html1 +='            <option value="14" >14  \n';
aff_html1 +='            <option value="15" >15  \n';
aff_html1 +='            <option value="16" >16  \n';
aff_html1 +='            <option value="17" >17  \n';
aff_html1 +='            <option value="18" >18  \n';
aff_html1 +='            <option value="19" >19  \n';
aff_html1 +='            <option value="20" >20  \n';
aff_html1 +='            <option value="21" >21  \n';
aff_html1 +='            <option value="22" >22  \n';
aff_html1 +='            <option value="23" >23  \n';
aff_html1 +='            <option value="24" >24  \n';
aff_html1 +='            <option value="25" >25  \n';
aff_html1 +='            <option value="26" >26  \n';
aff_html1 +='            <option value="27" >27  \n';
aff_html1 +='            <option value="28" >28  \n';
aff_html1 +='            <option value="29" >29  \n';
aff_html1 +='            <option value="30" >30  \n';
aff_html1 +='            <option value="31" >31  \n';
aff_html1 +='          </select> \n';
aff_html1 +='          &nbsp;&nbsp  \n';
aff_html1 +='          <select name="gcom"> \n';
aff_html1 +='            <option  >------ \n';
aff_html1 +='            <option value="1" >January  \n';
aff_html1 +='            <option value="2" >February  \n';
aff_html1 +='            <option value="3" >March  \n';
aff_html1 +='            <option value="4" >April  \n';
aff_html1 +='            <option value="5" >May  \n';
aff_html1 +='            <option value="6" >June  \n';
aff_html1 +='            <option value="7" >July  \n';
aff_html1 +='            <option value="8" >August  \n';
aff_html1 +='            <option value="9" >September  \n';
aff_html1 +='            <option value="10" >October  \n';
aff_html1 +='            <option value="11" >November  \n';
aff_html1 +='            <option value="12" >December  \n';
aff_html1 +='          </select> \n';
aff_html1 +='          &nbsp;&nbsp  \n';
aff_html1 +='          <select name="gcoy"> \n';
aff_html1 +='            <option value="2001" selected>2001 </option> \n';
aff_html1 +='            <option value="2002">2002 </option> \n';
aff_html1 +='          </select>&nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" name="dummy" value="search"> \n';
aff_html1 +='        </td> \n';
aff_html1 +='        <td width="4" bgcolor="#009933">&nbsp \n';
aff_html1 +='        </td> \n';
aff_html1 +='      </tr> \n';
aff_html1 +='        <tr bgcolor="#009933">  \n';
aff_html1 +='          <td nowrap width="3">  \n';
aff_html1 +='          </td> \n';
aff_html1 +='          <td nowrap width="427" colspan="2">  \n';
aff_html1 +='            <p align="center"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">Only by <a href="http://www.indo.com" style="color: #CCFFCC">indo.com</a> - the international  \n';
aff_html1 +='              gateway to Bali &amp; Indonesia!</font> \n';
aff_html1 +='          </td> \n';
aff_html1 +='          <td nowrap width="4">  \n';
aff_html1 +='          </td> \n';
aff_html1 +='      </tr> \n';
aff_html1 +='      <tr>  \n';
aff_html1 +='          <input type="hidden" name="gqty" value="1"> \n';
aff_html1 +='      </tr> \n';
aff_html1 +='      <tr> \n';
aff_html1 +='          <input type="hidden" name="hregion" value="Any Region"> \n';
aff_html1 +='        </tr> \n';
aff_html1 +='    </table> \n';
aff_html1 +='          </div> \n';
aff_html1 +='  </form> \n';
aff_html1 +='</body> \n';
aff_html1 +='</html> \n';

document.write(aff_html1);

function local_date () {

startoffset = 30;
duration = 7;
servertz = -5;
  
theday = new Date ();
theday2 = new Date ();

theyearfirst = document.forms[0].gciy.options[0].value;
thetz = theday.getTimezoneOffset ();

epoch = theday.getTime () + (24 * 3600 * startoffset + 60 * thetz + 3600 * servertz) * 1000;

theday.setTime (epoch);
thedate = theday.getDate ();
themonth = theday.getMonth () + 1;
theyear = theday.getFullYear ();

theyearoffset = theyear - theyearfirst;

document.forms[0].gcid.options[thedate].selected = true;
document.forms[0].gcim.options[themonth].selected = true;
document.forms[0].gciy.options[theyearoffset].selected = true;

epoch2 = epoch + 24 * 3600 * duration * 1000;

theday2.setTime (epoch2);
thedate2 = theday2.getDate ();
themonth2 = theday2.getMonth () + 1;
theyear2 = theday2.getFullYear ();

theyearoffset2 = theyear2 - theyearfirst;

document.forms[0].gcod.options[thedate2].selected = true;
document.forms[0].gcom.options[themonth2].selected = true;
document.forms[0].gcoy.options[theyearoffset2].selected = true;

}

