
document.write('<div class="pagetop4"> ');

var opt = Math.floor((Math.random() * 5));
if (opt == 0)
{
document.write(' <span class="font10B">Favourite Hotels<br></span>');
document.write('<a href="/hotel_ag.php?hotel=patong_byd_lofts" target="_blank" title="View hotel details and book discount room" >Byd Lofts  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=laguna_outrigger" target="_blank" title="View hotel details and book discount room">Outrigger Laguna (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=mai_khao_west_sands" target="_blank" title="View hotel details and book discount room">West Sands  (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=patong_millennium" target="_blank" title="View hotel details and book discount room" >Millennium Resort  (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=patong_yorkshire_inn" target="_blank" title="View hotel details and book discount room" >Yorkshire Inn  (3 star)</a>');
}
else if (opt == 1)
{
document.write(' <span class="font10B">Hotels with serviced apartments<br></span>');
document.write('<a href="/hotel_ag.php?hotel=patong_byd_lofts" target="_blank" title="View hotel details and book discount room" >Byd Lofts  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=laguna_outrigger" target="_blank" title="View hotel details and book discount room">Outrigger Laguna  (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=laguna_holiday_club" target="_blank" title="View hotel details and book discount room">Laguna Holiday Club  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=panwa_bel_air" target="_blank" title="View hotel details and book discount room" >Panwa Bel Air  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=kamala_bell_pool" target="_blank" title="View hotel details and book discount room" >Bell Pool Villa  (3 star)</a>');
}
else if (opt == 2)
{
document.write(' <span class="font10B">Good Hotels for Kids<br></span>');
document.write('<a href="/hotel_ag.php?hotel=laguna_beach_resort" target="_blank" title="View hotel details and book discount room" >Laguna Beach Resort  (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=karon_talay" target="_blank" title="View hotel details and book discount room">Talay Beach Resort  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=kamala_beach_resort" target="_blank" title="View hotel details and book discount room">Kamala Beach Resort  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=panwa_bel_air" target="_blank" title="View hotel details and book discount room" >Panwa Bel Air  (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=karon_movenpick" target="_blank" title="View hotel details and book discount room" >Karon Movenpick  (5 star)</a>');
}
else if (opt == 3)
{
document.write(' <span class="font10B">Top 5 Beachfront Hotels<br></span>');
document.write('<a href="/hotel_ag.php?hotel=patong_la_flora" target="_blank" title="View hotel details and book discount room" >Patong La Flora (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=karon_centara_grand" target="_blank" title="View hotel details and book discount room">Karon Centara Grand (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=kata_thani" target="_blank" title="View hotel details and book discount room">Katathani Resort (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=nai_thorn_white_beach" target="_blank" title="View hotel details and book discount room" >Andaman White Beach(4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=surin_phuket" target="_blank" title="View hotel details and book discount room" >Surin Phuket Hotel (5 star)</a>');
}
else if (opt == 4)
{
document.write(' <span class="font10B">Island Getaway Hotels<br></span>');
document.write('<a href="/hotel_ag.php?hotel=coral_island_resort" target="_blank" title="View hotel details and book discount room" >Coral Island Resort (3 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=racha_hotel" target="_blank" title="View hotel details and book discount room">The Racha (5 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=koh_yao_paradise" target="_blank" title="View hotel details and book discount room">Paradise Koh Yao Noi (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=koh_yao_elixir" target="_blank" title="View hotel details and book discount room" >Elixir Koh Yao Yai (4 star)</a>');
document.write('<a href="/hotel_ag.php?hotel=racha_raya" target="_blank" title="View hotel details and book discount room" >Ban Raya (3.5 star)</a>');
}

document.write('  </div> ');

document.write('  <div class="pagetop1"> ');
document.write('  <table width="100%" cellpadding=0 cellspacing=0> ');
document.write('    <tr><td width="25%" class="toptable"><a href="/hotel_ag.php?hotel=phuket" title="Lowest rates on hotel bookings" target="_blank">Hotels</a></td> ');
document.write('	<td width="25%" class="toptable"><a href="/connect_to.php?serv=FareBuzz" target="_blank" title="Discount international flights">Flights</a></td> ');
document.write('    <td width="25%" class="toptable"><a href="http://www.easydaythailand.com/contact-know-phuket.php" target="_blank" title="Join-on or personalised Phuket tours" rel="nofollow" onClick="');
document.write("_gaq.push(['_trackEvent','Outbound','ClickEDtop'"); 
document.write(',this.href];">Tours</a></td> ');
document.write('    <td width="25%"><a href="/insurance.htm" name="link2" id="link2"');
document.write('	onMouseOver="MM_showMenu(window.mm_menu_2_0,150,5,null,', "'link2')", '" ');
document.write('	onMouseOut="MM_startTimeout();" >Insurance <img src="/Images/arrows.gif" hspace="10" vspace="3" border="0"></a> </td>');
document.write('  </tr></table> ');
document.write('  </div> ');

document.write('  <div class="pagetop2"> ');

var pic = new Array('<img src="Photos/top_ind1.jpg" width="660" height="100"><br>',
					'<img src="Photos/top_ind2.jpg" width="660" height="100"><br>',
					'<img src="Photos/top_ind3.jpg" width="660" height="100"><br>',
					'<img src="Photos/top_ind4.jpg" width="660" height="100"><br>');
var max = pic.length;
var num = Math.floor((Math.random() * max));
document.writeln(pic[num]);

document.write('  </div> ');

document.write('  <div class="pagetop3"> ');
document.write('    <table width="100%" cellpadding=0 cellspacing=0> ');
document.write('      <tr> ');
document.write('        <td class="toptable"><a href="/Articles.htm" title="Articles about issues in Phuket & Thailand"> ');
document.write('          Articles</a></td> ');
document.write('        <td class="toptable" width="100px"><a href="/tools.php" title="Exchange rates, weather forecast, sunrise & sunset times">Tools</a></td> ');
document.write('        <td class="toptable"><a href="/news.php" title="Phuket news stories">Phuket News</a></td> ');
document.write('        <td class="toptable"><a href="/news_thai.php" title="Thailand news stories">Thai News</a></td> ');
document.write('        <td width="320px" align="right"> ');
document.write('          <form action="http://www.knowphuket.com/search.htm" id="cse-search-box"> ');
document.write('            <input type="hidden" name="cx" value="partner-pub-3790324421718746:nfpxfl450ye"> ');
document.write('            <input type="hidden" name="cof" value="FORID:10"> ');
document.write('            <input type="hidden" name="ie" value="ISO-8859-1"> ');
document.write('            <input type="text" name="q" size="25"> ');
document.write('            <input type="submit" name="sa" value="Search Our Site"> ');
document.write('          </form> ');
document.write('          <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script> ');
document.write('        </td> ');
document.write('      </tr> ');
document.write('    </table> ');
document.write('  </div> ');



