coma="'";
aff_html1 ='<form name="form1" action="http://www.paketrupiah.com/cgi-fbin/HotelReservation/User/find-hotel.pl" method="post" enctype="multipart/form-data"> \n';
aff_html1 +='<INPUT  Type="hidden" name="affid" VALUE="';




aff_html2 ='"><INPUT  Type="hidden" name="hname" VALUE="Any Hotel"> \n';
aff_html2 +='<INPUT  Type="hidden" name="htype" VALUE="Any Hotel Type"> \n';
aff_html2 +='<INPUT  Type="hidden" name="hlocation" VALUE="Any Location">  \n'; 
aff_html2 +='<center><br><font size="+1">Kemana Anda akan berlibur ?</font></center>';
aff_html2 +='<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" >  \n';
aff_html2 +='<tr ALIGN=CENTER><td WIDTH="1"></td><td WIDTH="410"></td><td WIDTH="1"></td></tr>  \n';
aff_html2 +='<tr><td COLSPAN="3"><spacer width="1" type="block"></td></tr>  \n';
aff_html2 +='<tr><td><spacer width="1" type="block"></td><td ALIGN=CENTER VALIGN=TOP>  \n';




aff_html2 +='<table BORDER=0 CELLSPACING=0 CELLPADDING=2 WIDTH="100%" > \n';
aff_html2 +='<tr> \n';
aff_html2 +='<td WIDTH="130">&nbsp;</td> \n';
aff_html2 +='<td WIDTH="267">&nbsp;</td> \n';
aff_html2 +='<td WIDTH="13">&nbsp;</td> \n';
aff_html2 +='</tr> \n';

aff_html2 +='<tr> \n';
aff_html2 +='<td valign="center" align="right">check in&nbsp;&nbsp;</td> \n';
aff_html2 +='<td valign="top"> \n';
aff_html2 +='<select name="gcid"> \n';
aff_html2 +='	<option  >------ \n';
aff_html2 +='	<option  VALUE="1">1 \n';
aff_html2 +='	<option  VALUE="2">2 \n';
aff_html2 +='	<option  VALUE="3">3 \n';
aff_html2 +='	<option  VALUE="4">4 \n';
aff_html2 +='	<option  VALUE="5">5 \n';
aff_html2 +='	<option  VALUE="6">6 \n';
aff_html2 +='	<option  VALUE="7">7 \n';
aff_html2 +='	<option  VALUE="8">8 \n';
aff_html2 +='	<option  VALUE="9">9 \n';
aff_html2 +='	<option  VALUE="10">10 \n';
aff_html2 +='	<option  VALUE="11">11 \n';
aff_html2 +='	<option  VALUE="12">12 \n';
aff_html2 +='	<option  VALUE="13">13 \n';
aff_html2 +='	<option  VALUE="14">14 \n';
aff_html2 +='	<option  VALUE="15">15 \n';
aff_html2 +='	<option  VALUE="16">16 \n';
aff_html2 +='	<option  VALUE="17">17 \n';
aff_html2 +='	<option  VALUE="18">18 \n';
aff_html2 +='	<option  VALUE="19">19 \n';
aff_html2 +='	<option  VALUE="20">20 \n';
aff_html2 +='	<option  VALUE="21">21 \n';
aff_html2 +='	<option  VALUE="22">22 \n';
aff_html2 +='	<option  VALUE="23">23 \n';
aff_html2 +='	<option  VALUE="24">24 \n';
aff_html2 +='	<option  VALUE="25">25 \n';
aff_html2 +='	<option  VALUE="26">26 \n';
aff_html2 +='	<option  VALUE="27">27 \n';
aff_html2 +='	<option  VALUE="28">28 \n';
aff_html2 +='	<option  VALUE="29">29 \n';
aff_html2 +='	<option  VALUE="30">30 \n';
aff_html2 +='	<option  VALUE="31">31 \n';
aff_html2 +='</select> \n';

aff_html2 +='<select name="gcim"> \n';
aff_html2 +='	<option  >------ \n';
aff_html2 +='	<option  VALUE="1">January \n';
aff_html2 +='	<option  VALUE="2">February \n';
aff_html2 +='	<option  VALUE="3">March \n';
aff_html2 +='	<option  VALUE="4">April \n';
aff_html2 +='	<option  VALUE="5">May \n';
aff_html2 +='	<option  VALUE="6">June \n';
aff_html2 +='	<option  VALUE="7">July \n';
aff_html2 +='	<option  VALUE="8">August \n';
aff_html2 +='	<option  VALUE="9">September \n';
aff_html2 +='	<option  VALUE="10">October \n';
aff_html2 +='	<option  VALUE="11">November \n';
aff_html2 +='	<option  VALUE="12">December \n';
aff_html2 +='</select> \n';
aff_html2 +='&nbsp;<select name="gciy"> \n';
aff_html2 +='	<option  VALUE="2007">2007 \n';
aff_html2 +='	<option  VALUE="2008">2008 \n';
aff_html2 +='	<option  VALUE="2009">2009 \n';
aff_html2 +='	<option  VALUE="2010">2010 \n';
aff_html2 +='</select> \n';
aff_html2 +='</td><td>&nbsp;</td></tr> \n';





aff_html2 +='<tr><td valign="center" align="right"> \n';
aff_html2 +='check out&nbsp;&nbsp;</td><td valign="top"> \n';
aff_html2 +='<select name="gcod"> \n';
aff_html2 +='	<option  >------ \n';
aff_html2 +='	<option  VALUE="1">1 \n';
aff_html2 +='	<option  VALUE="2">2 \n';
aff_html2 +='	<option  VALUE="3">3 \n';
aff_html2 +='	<option  VALUE="4">4 \n';
aff_html2 +='	<option  VALUE="5">5 \n';
aff_html2 +='	<option  VALUE="6">6 \n';
aff_html2 +='	<option  VALUE="7">7 \n';
aff_html2 +='	<option  VALUE="8">8 \n';
aff_html2 +='	<option  VALUE="9">9 \n';
aff_html2 +='	<option  VALUE="10">10 \n';
aff_html2 +='	<option  VALUE="11">11 \n';
aff_html2 +='	<option  VALUE="12">12 \n';
aff_html2 +='	<option  VALUE="13">13 \n';
aff_html2 +='	<option  VALUE="14">14 \n';
aff_html2 +='	<option  VALUE="15">15 \n';
aff_html2 +='	<option  VALUE="16">16 \n';
aff_html2 +='	<option  VALUE="17">17 \n';
aff_html2 +='	<option  VALUE="18">18 \n';
aff_html2 +='	<option  VALUE="19">19 \n';
aff_html2 +='	<option  VALUE="20">20 \n';
aff_html2 +='	<option  VALUE="21">21 \n';
aff_html2 +='	<option  VALUE="22">22 \n';
aff_html2 +='	<option  VALUE="23">23 \n';
aff_html2 +='	<option  VALUE="24">24 \n';
aff_html2 +='	<option  VALUE="25">25 \n';
aff_html2 +='	<option  VALUE="26">26 \n';
aff_html2 +='	<option  VALUE="27">27 \n';
aff_html2 +='	<option  VALUE="28">28 \n';
aff_html2 +='	<option  VALUE="29">29 \n';
aff_html2 +='	<option  VALUE="30">30 \n';
aff_html2 +='	<option  VALUE="31">31 \n';
aff_html2 +='</select> \n';
aff_html2 +='<select name="gcom"> \n';
aff_html2 +='	<option  >------ \n';
aff_html2 +='	<option  VALUE="1">January \n';
aff_html2 +='	<option  VALUE="2">February \n';
aff_html2 +='	<option  VALUE="3">March \n';
aff_html2 +='	<option  VALUE="4">April \n';
aff_html2 +='	<option  VALUE="5">May \n';
aff_html2 +='	<option  VALUE="6">June \n';
aff_html2 +='	<option  VALUE="7">July \n';
aff_html2 +='	<option  VALUE="8">August \n';
aff_html2 +='	<option  VALUE="9">September \n';
aff_html2 +='	<option  VALUE="10">October \n';
aff_html2 +='	<option  VALUE="11">November \n';
aff_html2 +='	<option  VALUE="12">December \n';
aff_html2 +='</select> \n';
aff_html2 +='&nbsp;<select name="gcoy"> \n';
aff_html2 +='	<option  VALUE="2007">2007 \n';
aff_html2 +='	<option  VALUE="2008">2008 \n';
aff_html2 +='	<option  VALUE="2009">2009 \n';
aff_html2 +='	<option  VALUE="2010">2010 \n';

aff_html2 +='</select></td> \n';
aff_html2 +='<td>&nbsp;</td></tr> \n';


aff_html2 +='<tr><td valign="center" align="right"> \n';
aff_html2 +='region&nbsp;&nbsp;</td><td valign="top"> \n';



aff_html2 +='  <select name="hregion"> \n';
aff_html2 +='<option value="Bali Barat : Menjangan">Bali Barat : Menjangan</option>\n';
aff_html2 +='<option value="Bali Pusat : Ubud, Bedugul, Kintamani, Tabanan">Bali Pusat : Ubud, Bedugul, Kintamani, Tabanan</option>\n';
aff_html2 +='<option value="Bali Selatan : Kuta, Tuban, Nusadua, Jimbaran, Sanur" selected>Bali Selatan : Kuta, Tuban, Nusadua, Jimbaran, Sanur</option>\n';
aff_html2 +='<option value="Bali Timur : Candi Dasa, Canggu, Karangasem">Bali Timur : Candi Dasa, Canggu, Karangasem</option>\n';
aff_html2 +='<option value="Bali Utara : Singaraja, Lovina">Bali Utara : Singaraja, Lovina</option>\n';
aff_html2 +='<option value="Banten : Anyer, Carita, Cilegon, Merak, Tangerang">Banten : Anyer, Carita, Cilegon, Merak, Tangerang</option>\n';
aff_html2 +='<option value="Batam dan Riau">Batam dan Riau</option>\n';
aff_html2 +='<option value="Jakarta Barat">Jakarta Barat</option>\n';
aff_html2 +='<option value="Jakarta Pusat">Jakarta Pusat</option>\n';
aff_html2 +='<option value="Jakarta Pusat : Central Business District">Jakarta Pusat : Central Business District</option>\n';
aff_html2 +='<option value="Jakarta Selatan">Jakarta Selatan</option>\n';
aff_html2 +='<option value="Jakarta Timur">Jakarta Timur</option>\n';
aff_html2 +='<option value="Jakarta Utara dan Pulau Seribu">Jakarta Utara dan Pulau Seribu</option>\n';
aff_html2 +='<option value="Jawa Barat : Bandung">Jawa Barat : Bandung</option>\n';
aff_html2 +='<option value="Jawa Barat : Bekasi, Cikarang, Kuningan, Cirebon">Jawa Barat : Bekasi, Cikarang, Kuningan, Cirebon</option>\n';
aff_html2 +='<option value="Jawa Barat : Bogor, Puncak">Jawa Barat : Bogor, Puncak</option>\n';
aff_html2 +='<option value="Jawa Barat : Sukabumi, Pelabuhan Ratu">Jawa Barat : Sukabumi, Pelabuhan Ratu</option>\n';
aff_html2 +='<option value="Jawa Tengah : Semarang, Solo">Jawa Tengah : Semarang, Solo</option>\n';
aff_html2 +='<option value="Jawa Timur : Surabaya, Bromo">Jawa Timur : Surabaya, Bromo</option>\n';
aff_html2 +='<option value="Kalimantan Barat">Kalimantan Barat</option>\n';
aff_html2 +='<option value="Kalimantan Selatan">Kalimantan Selatan</option>\n';
aff_html2 +='<option value="Kalimantan Tengah">Kalimantan Tengah</option>\n';
aff_html2 +='<option value="Kalimantan Timur">Kalimantan Timur</option>\n';
aff_html2 +='<option value="Nusa Tenggara Barat : Lombok, Dompu">Nusa Tenggara Barat : Lombok, Dompu</option>\n';
aff_html2 +='<option value="Sulawesi Selatan">Sulawesi Selatan</option>\n';
aff_html2 +='<option value="Sulawesi Utara">Sulawesi Utara</option>\n';
aff_html2 +='<option value="Jambi">Jambi</option>\n';
aff_html2 +='<option value="Sumatera Barat">Sumatera Barat</option>\n';
aff_html2 +='<option value="Sumatera Selatan">Sumatera Selatan</option>\n';
aff_html2 +='<option value="Sumatera Utara">Sumatera Utara</option>\n';
aff_html2 +='<option value="Yogyakarta">Yogyakarta</option>\n';

aff_html2 +=' </SELECT> \n';

aff_html2 +='</td> \n';
aff_html2 +='<td>&nbsp;</td></tr> \n';



aff_html2 +='<tr><td valign="center" align="right"> \n';
aff_html2 +='# kamar&nbsp;&nbsp;</td><td valign="top"> \n';
aff_html2 +='<input  type="text" name="gqty" value="1" size="3" maxlength="3"></td><td>&nbsp;</td></tr><tr><td valign="center" align="right"> \n';
aff_html2 +='harga&nbsp;&nbsp;</td><td> \n';
aff_html2 +='<select name="aratehigh"> \n';
aff_html2 +='	<option SELECTED VALUE="">bebas\n';
aff_html2 +='	<option  VALUE="1000000">&lt; Rp. 1.000.000 \n';
aff_html2 +='	<option  VALUE="500000">&lt; Rp. 500.000 \n';
aff_html2 +='	<option  VALUE="200000">murah\n';
aff_html2 +='</select></td><td>&nbsp;</td></tr>\n';
aff_html2 +='<tr>';
aff_html2 +='<td align="right">kode promosi</td>';
aff_html2 +='<td colspan="2"><input type="text" name="promocode" value="" size="8"><font color="#FF0000" size="1">* Jika ada</font></td></tr>';
aff_html2 +='<tr><td>&nbsp;</td><td colspan=2><input alt="Find Now My Hotel!"  class="a2a" type="image" name="dummy" border="0" SRC="http://www.paketrupiah.com/images/cari.gif">';





aff_html3  ='<INPUT TYPE="hidden" NAME="mode" VALUE="SEARCH">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \n';
aff_html3 +='<a href="http://www.paketrupiah.com/cgi-fbin/HotelReservation/User/find-hotel.pl?affid=';

aff_html3a ='"><img src="http://www.paketrupiah.com/images/pencarian.gif" border="0"></a></td> \n';
aff_html3a +='</tr> \n';
aff_html3a +='</table> \n';
aff_html3a +='</td><td><spacer width="1" type="block"></td></tr> \n';
aff_html3a +='<tr><td COLSPAN="3"><spacer width="1" type="block"></td></tr> \n';
aff_html3a +='</table> \n';
aff_html3a +='</form> \n';

aff_html3a +='<table cellpadding="2" cellspacing="0" width="100%">';
aff_html3a +='	<tr>';
aff_html3a +='		<td align="center">';
		
aff_html3a +='<a href="javascript:OpenCertDetails()"><img border="0" src="http://www.paketrupiah.com/images/stamp100_small.gif"></a>&nbsp;';
aff_html3a +='<img border="0" src="http://www.paketrupiah.com/images/patalogo.gif">&nbsp;';
		
aff_html3a +='		</td>';
aff_html3a+='	</tr>';
aff_html3a +='</table>';

function OpenCertDetails() {
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=IDPTBA1-1', 'anew', config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}

function local_date(){
startoffset = 7;
duration = 1;
servertz = +7;
  
theday = new Date ();
theday2 = new Date ();

theyearfirst = document.form1.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.form1.gcid.options[thedate].selected = true;
document.form1.gcim.options[themonth].selected = true;
document.form1.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.form1.gcod.options[thedate2].selected = true;
document.form1.gcom.options[themonth2].selected = true;
document.form1.gcoy.options[theyearoffset2].selected = true;

}







function affiliate_id(xx){
	aff_html=aff_html1+xx+aff_html2+aff_html3+xx+aff_html3a;
        document.write(aff_html);
}