document.write('<table width="193" border="0" cellpadding="1" cellspacing="0" bgcolor="#000000" align="center"><form action="http://www.secure-res.com/res/vn2/checka.asp?hotelid=2784" method="get" name="mpscheckaressrch" target="_blank">                            <tr>                              <td width="191" ><table width="186" border="0" cellpadding="3" cellspacing="0">                                  <tr>                                    <td width="192" valign="middle" bgcolor="#FFFFFF"><table width="185" border="0" cellpadding="2" cellspacing="0">                                        <tr>                                          <td valign="top" bgcolor="#F0F8FF"><table width="181" border="0" cellspacing="0" cellpadding="0">                                              <tr>                                                <td colspan="2" class="bookrm"><div align="center">BOOK A ROOM </div></td>                                              </tr>                                              <tr>                                                <td colspan="2" class="restxt">Check-In Date:</td>                                              </tr>                                              <tr>                                                <td width="87%"><SELECT name=month size=1 class="resfield">                                                    <OPTION value=1>Jan</OPTION>                                                    <OPTION value=2>Feb</OPTION>                                                    <OPTION value=3>Mar</OPTION>                                                    <OPTION value=4>Apr</OPTION>                                                    <OPTION value=5>May</OPTION>                                                    <OPTION value=6>June</OPTION>                                                    <OPTION value=7>July</OPTION>                                                    <OPTION value=8>Aug</OPTION>                                                    <OPTION value=9>Sept</OPTION>                                                    <OPTION selected value=10>Oct</OPTION>                                                    <OPTION value=11>Nov</OPTION>                                                    <OPTION value=12>Dec</OPTION>                                                  </SELECT>                                                    <SELECT name=day size=1 class="resfield">                                                      <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 selected 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>                                                    <SELECT name=year size=1 class="resfield">  '); 
var temp_date=new Date()
temp_year = temp_date.getFullYear();
for(i=temp_year;i<temp_year+3;i++){
	document.write('<option value="'+i+'">'+i+'</option> ');
}
document.write('                              </SELECT></td>                                                <td width="13%"><A HREF="#" onClick="cal.showCalendar(\'anchor\',getDateString(document.mpscheckaressrch.year,document.mpscheckaressrch.month,document.mpscheckaressrch.day)); return false;" NAME="anchor" ID="anchor"><img src="http://www.shemcreekinn.com/images/calendar.gif" width="20" height="20" border="0"></A></td>                                              </tr>                                            </table><div align="center"><strong class="restxt">Corp/Promotion Code:</strong><br> <input input name="PromoCode" type="text" class="resfield" size="12" maxlength="20" /></div>                                              <table width="181" border="0" cellspacing="0" cellpadding="0">                                                <tr>                                                  <td width="50%"><div align="center"><strong class="restxt">Nights:</strong><br>                                                          <select size="1" name="nights" ID="Select6" class="resfield">                                                            <OPTION value=1>1</OPTION>                                                            <OPTION value=2>2</OPTION>                                                            <OPTION selected 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>                                                          </select>                                                  </div></td>                                                  <td width="50%"><div align="center"><strong class="restxt">Rooms:</strong><br>                                                          <select size="1" name="rooms" ID="Select9" class="resfield">                                                            <OPTION selected value=1>1</OPTION>                                                            <OPTION value=2>2</OPTION>                                                            <OPTION value=3>3</OPTION>                                                            <OPTION value=4>4</OPTION>                                                          </select>                                                  </div></td>                                                </tr>                                                <tr>                                                  <td width="50%" height="33"><div align="center"><strong class="restxt">Adults:</strong><br>                                                          <select size="1" name="adults" ID="Select8" class="resfield">                                                            <OPTION selected 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>                                                          </select>                                                  </div></td>                                                  <td width="50%"><div align="center"><strong class="restxt">Children:</strong><br>                                                          <select size="1" name="children" ID="Select7" class="resfield">                                                            <OPTION selected value=0>0</OPTION>                                                            <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>                                                          </select>                                                  </div></td>                                                </tr>                                              </table>                                            <table width="181" border="0" cellspacing="0" cellpadding="0">                                                <tr>                                                  <td><div align="center" style="padding-top:3"><a href="#" onclick="document.mpscheckaressrch.submit();"><img src="http://www.shemcreekinn.com/images/check-avail.gif" width="121" height="22" border=0></a><a href="http://www.secure-res.com/res/vn3/agent-login.aspx?hotelid=2784" class="restxt">Travel Agents</a><input type="hidden" name="hotelid" value="2784" />                  </div></td>                                                </tr>                                            </table></td>                                        </tr>                                    </table></td>                                  </tr>                              </table></td>                            </tr>                          </form></table>');