// JavaScript Document
document.write('<meta http-equiv="Content-Type" content="text/html; charset=utf-8">');
var vGet; //Value Get for function getDataFromUrl
/*----Set Get value,------*/
//My Menu =mnu1...mnu7

getDataFromUrl();

txt='<table width="947" border="0" cellspacing="0" cellpadding="0">';
txt+='            <tr>';
txt+='              <td width="173" height="63" align="left" valign="bottom" ><a href="index.html"><img src="images/logonew.jpg" width="173" height="63" border="0"></a></td>';
txt+='              <td width="774" align="right" valign="bottom">';
txt+='                <table width="774" height="63" border="0" cellpadding="0" cellspacing="0">';
txt+='                  <tr>';
txt+='                    <td width="465"><table width="463" border="0" cellpadding="0" cellspacing="0">';
txt+='                      <tr>';
txt+='                        <td width="130" align="left" valign="top"><img src="images/traveler-choice.jpg" width="119" height="63"></td>';
txt+='                        <td width="333" align="left" valign="top" class="Greytext_small" style="padding-top:3px">';
txt+='						Top 10 Romantic Hotels in the World :<a href="http://www.tripadvisor.com/TravelersChoiceList-g1-cRomance" target="_blank" class="Greytext_small_link">CAPE SIENNA got 4<sup>th</sup> Place</a><br>                        ';
txt+='                          Top 10 Romantic Hotels in Asia : <a href="http://www.tripadvisor.com/TravelersChoiceList-g2-cRomance" target="_blank" class="Greytext_small_link">CAPE SIENNA got 1<sup>st</sup> Place</a><br>                          ';
txt+='                          Top 10 Relaxation/Spa Hotel in Asia : <a href="http://www.tripadvisor.com/TravelersChoiceList-g2-cRelaxation" target="_blank" class="Greytext_small_link">CAPE SIENNA got 8<sup>th</sup> Place</a></td>';
txt+='                      </tr>';
txt+='                    </table></td>';
txt+='                    <td width="309" align="right" valign="bottom">';
txt+='<table border="0" cellspacing="0" cellpadding="0">';
txt+='<tr>';
txt+='<td align="left" valign="middle" class="Greytext_11"><a href="membership.html" class="Greytext_11">Membership</a></td>';
txt+='<td width="15" align="center" valign="middle" class="Greytext">•</td>';
txt+='<td align="left" valign="middle" class="Greytext_11"><a href="press.html" class="Greytext_11">Press</a></td>';
txt+='<td width="15" align="center" valign="middle" class="Greytext">•</td>';
txt+='<td align="left" valign="middle" class="Greytext"><a href="sitemap.html" class="Greytext_11">Site Map</a></td>';
txt+='<td width="15" align="center" valign="middle" class="Greytext">•</td>';
txt+='<td align="left" valign="middle" class="Greytext_11""><a href="javascript:popweather(\'phuket-weather.html\')" class="Greytext_11">Weather Forecast</a></td>';
txt+='</tr>';
txt+='</table>';
txt+='  </td>';
txt+='                  </tr>';
txt+='                </table></td>';
txt+='            </tr>';
txt+='        </table>';

document.write(txt);

function getDataFromUrl(){
  var url = new String( window.location );
  var len_url = url.length;
  start_data = url.indexOf( "?" );
  if ( start_data < 0 ) return;   var alldata = url.substring( start_data+1, len_url );
  if ( alldata.length>0 ){
    var arraydata = alldata.split( "&" );
    var sub_array = new Array();
      data = arraydata[ 0 ];
      var sub_array = data.split( "=" );
		vGet=sub_array[1];
		return vGet;
    }


}

function popweather(URL) {
	w=300;
	h=250;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0';
	win = window.open(URL,'book',settings);
}
function popmap(URL) {
	w=1030;
	h=515;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=0,resizable=0';
	win = window.open(URL,'book',settings);
}

