if (!window.matrix) {
    window.matrix = new Matrix(
        1552,
        'today',
        7,
        'en',
        true);
    window.matrix.enableXDomain('rates.asiawebdirect.com');
}
displayMatrix({"startDate":1329091200000,"endDate":1330214400000,"today":1329091200000,"dates":[{"ts":1329091200000,"fmt":"20120213","inRes":false},{"ts":1329177600000,"fmt":"20120214","inRes":false},{"ts":1329264000000,"fmt":"20120215","inRes":false},{"ts":1329350400000,"fmt":"20120216","inRes":false},{"ts":1329436800000,"fmt":"20120217","inRes":false},{"ts":1329523200000,"fmt":"20120218","inRes":false},{"ts":1329609600000,"fmt":"20120219","inRes":false},{"ts":1329696000000,"fmt":"20120220","inRes":false},{"ts":1329782400000,"fmt":"20120221","inRes":false},{"ts":1329868800000,"fmt":"20120222","inRes":false},{"ts":1329955200000,"fmt":"20120223","inRes":false},{"ts":1330041600000,"fmt":"20120224","inRes":false},{"ts":1330128000000,"fmt":"20120225","inRes":false},{"ts":1330214400000,"fmt":"20120226","inRes":false}],"allDates":[{"ts":1329091200000,"fmt":"20120213","inRes":false},{"ts":1329177600000,"fmt":"20120214","inRes":false},{"ts":1329264000000,"fmt":"20120215","inRes":false},{"ts":1329350400000,"fmt":"20120216","inRes":false},{"ts":1329436800000,"fmt":"20120217","inRes":false},{"ts":1329523200000,"fmt":"20120218","inRes":false},{"ts":1329609600000,"fmt":"20120219","inRes":false},{"ts":1329696000000,"fmt":"20120220","inRes":false},{"ts":1329782400000,"fmt":"20120221","inRes":false},{"ts":1329868800000,"fmt":"20120222","inRes":false},{"ts":1329955200000,"fmt":"20120223","inRes":false},{"ts":1330041600000,"fmt":"20120224","inRes":false},{"ts":1330128000000,"fmt":"20120225","inRes":false},{"ts":1330214400000,"fmt":"20120226","inRes":false}],"hasPrevious":false,"detail":{"beginDate":"20120213","startDate":"20120213","endDate":"20120226"},"currency":"THB","currency_symbol":"&#3647;","currencies":[{"code":"USD","rate":"30.8700008052","name":"United States Dollars","symbol":"&#36;","selected":false},{"code":"GBP","rate":"48.6359209699","name":"United Kingdom Pounds","symbol":"&#163;","selected":false},{"code":"EUR","rate":"40.7417174706","name":"Euro","symbol":"&#8364;","selected":false},{"code":"JPY","rate":"0.3975822109","name":"Japan Yen","symbol":"&#165;","selected":false},{"code":"SGD","rate":"24.4757192030","name":"Singapore Dollars","symbol":"&#36;","selected":false},{"code":"MYR","rate":"10.1948479716","name":"Malaysia Ringgit","symbol":"&#82;&#77;","selected":false},{"code":"HKD","rate":"3.9806320833","name":"Hong Kong Dollars","symbol":"&#36;","selected":false},{"code":"NZD","rate":"25.5202296908","name":"New Zealand Dollars","symbol":"&#36;","selected":false},{"code":"AUD","rate":"32.9352039155","name":"Australia Dollars","symbol":"&#36;","selected":false},{"code":"SEK","rate":"4.6338133023","name":"Sweden Krona","symbol":"&#107;&#114;","selected":false},{"code":"THB","rate":"1.0000000000","name":"Thailand Baht","symbol":"&#3647;","selected":true},{"code":"ZAR","rate":"3.9825270449","name":"South Africa Rand","symbol":"&#82;","selected":false},{"code":"CAD","rate":"30.8222145354","name":"Canada Dollars","symbol":"&#36;","selected":false},{"code":"CNY","rate":"4.9044374820","name":"China Yuan Renmimbi","symbol":"&#165;","selected":false},{"code":"MXN","rate":"2.4112384516","name":"Mexico Pesos","symbol":"&#36;","selected":false},{"code":"INR","rate":"0.6239515076","name":"India Rupees","symbol":"\u20a8","selected":false},{"code":"CHF","rate":"33.6806511267","name":"Switzerland Francs","symbol":"&#67;&#72;&#70;","selected":false},{"code":"DKK","rate":"5.4812764489","name":"Denmark Kroner","symbol":"&#107;&#114;","selected":false}],"skins":{"matrix":{"template_matrix":"<!-- MATRIX -->\n<div id=\"currencyGroup\" name=\"currencyGroup\" isoCode=\"<%=currency%>\">\n  <div name=\"dealBlock\" id=\"dealBlock\" class=\"mtx_dealBlock\">\n  <table id=\"thematrix\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"mtx_theMatrixTable\" align=\"left\">\n<% var col_span = dates.length+2; %>\n<tr class=\"mtx_rowWHITE\">\n\t<td style=\"padding: 0 0 10px 0\" colspan=\"<%=col_span%>\">\n\t<div style=\"float:left\">\n\t\t\t\t<label class=\"rates_in_label\">Show rates in <\/label>\n\t\t\t\t<select name='ccSelect' onchange='setCurrency(this);' class=\"mtx_ccSelect\">\n\t\t\t\t  <% var currCcy; %>\n\t\t\t\t  <% for (var i = 0; i < currencies.length; i++) {\n\t\t\t\t\t   var c = currencies[i];\n\t\t\t\t  %>\n\t\t\t\t\t<option value=\"<%=c.code%>|<%=c.rate%>|<%=c.symbol%>\"<%if (c.selected) { currCcy = c; %> selected=\"selected\"<%}%>><%=c.code%> - <%=c.name%><\/option>\n\t\t\t\t  <% } %>\n\t\t\t\t<\/select>\n\t\t<\/div>\n\t<div style=\"float:left; padding-left:15px\">\n\t\t<span id=\"mtx_loading\" class=\"mtx_legendLoading\"><a class='mtx_loading'>&nbsp;<\/a><\/span>\n\t<\/div>\n\n\t<div style=\"float:right\">\n\t\t\t<div style=\"font-size:11px;\">\n\t\t\t\t<div class=\"mtx_awd_portal\">Check the boxes below<\/div>\n\t\t\t\t<% var tax_string = (parseFloat(ServicePercent)>0) ? 'exclude all' : '<span class=\"mtx_include_word\">include<\/span>'; %>\n\n\t\t\t<\/div>\n\t<\/div>\n\t<div style=\"clear: both; padding-top: 4px;\">\n\t\t<div style=\"float: right; font-weight: bold; font-size: 13px;\">Hover mouse over rates to see inclusions.<\/div>\n\t\t<span style=\"font-size: 13px;\">Prices below are per room and <%=tax_string%> taxes and service fees and will be charged in <strong><%=currCcy.name%><\/strong><\/span>\n\t<\/div>\n\t<\/td>\n<\/tr>\n\n    <%=dateRow%>\n\n<tr id=\"checkbox_row\">\n\t<td class=\"mtx_rowWHITE\">\n\t\t<span class=\"mtx_legendIcon\"><a class='mtx_legendRestrictions'><\/a>*<\/span>&nbsp;<span class=\"mtx_header_smallFont\">Additional restrictions apply.<\/span>\n\t<\/td>\n\t<% for (var i = 0; i < dates.length; i++) { %>\n\t<td class=\"mtx_date_select mtx_date_select_td col<%=i%> head\" style=\"text-align:center;\">\n\t\t<div class=\"mtx_date_select_div\">\n\t\t<input type=\"checkbox\" id=\"deal_check<%=[i]%>\" onclick=\"return toggleDate(this, '<%=dates[i].fmt%>', <%=i%>);\" \/>\n\t\t<span class=\"tip\"><\/span>\n\t\t<\/div>\n\t<\/td>\n\t<% } %>\n\t\n\t<td class=\"mtx_rowWHITE\">&nbsp;<\/td>\n<\/tr>\n\n\n    <!-- Rate Plan Row -->\n    <% for (var i = 0; i < results.length; i++) {\n         var result = results[i];\n         var even = (i % 2) == 1;\n         var cssClass = \"mtx_rowTitle\";\n         var cssRowClass = \"mtx_rowODD\";\n\t\t if (even) {\n\t\t\tcssClass = cssClass + \" mtx_rowTitle_even\";\n\t\t\tcssRowClass = \"mtx_rowEVEN\";\n\t\t }\n    %>\n<% if ((i % 16 == 0) && (i != 0)) { %><%=dateRow%><% } %>\n\t<tr id=\"<%=result.id%>\" class=\"deal_row <%=cssRowClass%>\" onmouseover=\"hilightRow(this);\" onmouseout=\"unHilightRow(this);\">\n        <td id=\"<%=result.id%>_title\" class=\"<%=cssClass%>\">\n        <% if (result.minNightStr!=\"\" || result.freeNights) { %>\n\t\t<div class=\"freenight-cover\">\n        <% if (result.freeNights) { %>\n        \t<div class=\"icon-freenight\" title=\"<%=result.freeNights%>\">FREE NIGHT<\/div>\n        <% } %>\n\t\t  <% if (result.minNightStr != \"\") { %>\n\t\t  <div class=\"min-night\">Min <%=result.minNightStr %> nights<\/div>\n\t\t  <% } %>\n\t\t<\/div>\n\t\t<% } %>\n          <span class=\"room_name\"><%=(result.room_type_name)?result.room_type_name:result.title%><\/span>\n          <% if (result.room_type_name) { %><br \/><%=result.title%><% } %>\n          <div id=\"more_info_wrapper\">\n            <% if (result.breakfast_included) { %>\n            <div class=\"mtxRPBF\">INCL. BREAKFAST<\/div>\n\t            <% } %>\n          \t<div id=\"<%=result.id%>_moreinfo\" class=\"mtxRPMoreInfo\" onclick=\"selectRatePlan('<%=result.id%>', '<%=escape(result.name)%>', '<%=result.rpCode%>', '<%=result.invSrc%>');\"><span>[+] <\/span><span style=\"text-decoration:underline;\">More...<\/span><\/div>\n          \t<div id=\"<%=result.id%>_hideinfo\" class=\"mtxRPMoreInfo\" style=\"display:none\" onclick=\"closeInfo('<%=result.id%>');\"><span>[-] <span><span style=\"text-decoration:underline;\">Hide...<\/span><\/div>\n          <\/div>\n        <\/td>\n        \n        <!-- Rate Cells -->\n        <% for (var j = 0; j < dates.length; j++) { %>\n        <%   var d = new Date(dates[j].ts);\n             var dayOfWeek = d.format('%a');\n             var cssClass = \"mtx_rate mtx_rt_\" + dayOfWeek;\n             if (even) cssClass = cssClass + \"_even\";\n             \n             var rate = result.rates[dates[j].fmt];\n        %>\n          <% if (rate) {\n               if (rate.hot) cssClass = cssClass + \" mtx_HotDeal\";\n               if (rate.restrict) cssClass = cssClass + \" mtx_restrictions\";\n               var rId = result.id + \"_\" + dates[j].fmt;\n          %>\n            <input type=\"hidden\" id=\"incl_<%=rId%>\" value=\"<%=rate.i%>\"\/>\n            <td id=\"<%=rId%>\" onmouseover=\"showRateBlurbField(this, 'incl_<%=rId%>', event);\" onmouseout=\"hideRateBlurb(this);\" class=\"<%=cssClass%> col<%=j%>\">\n                <span class=\"drc\" name=\"drc\"><%=rate.pf%><span class=\"or\"><%=rate.p%><\/span><\/span><%if (rate.restrict) {%><span class=\"mtx_restrictionSymbol\">*<\/span><% } %>\n            <\/td>\n          <% } else {\n               if (even) cssClass = cssClass + \" mtx_sold_even\";\n               else cssClass = cssClass + \" mtx_sold\";\n               if (dates[j].inRes) cssClass = cssClass + \"_res\";\n          %>\n            <td class=\"<%=cssClass%> col<%=j%>\">\n              <span class=\"drc\">SOLD<\/span>\n            <\/td>\n          <% } %>\n            \n        <% } %>\n        \n        <td class=\"mtx_submit <%if (even) {%>mtx_submit_even<%}%>\">\n          <div class=\"mtx_book_button_container\">\n            <div id=\"<%=result.id%>_submit\" class=\"submitDisabled\"  onclick=\"book('<%=result.id%>', '<%=escape(result.name)%>', '<%=result.rtId%>', '<%=result.rpCode%>', '<%=result.invSrc%>');\">&nbsp;<\/div>\n          <\/div>\n        <\/td>\n      <\/tr>\n    <% } %>\n    <% if (results.length == 0) {\n         var colSpan = dates.length + 3;\n    %>\n    <tr><td class=\"mtx_rowTitle\" colspan=\"<%=colSpan%>\">\n      <center>There are no rates available for this period, please enter or change your travelling dates<\/center>\n    <\/td><\/tr>\n    <% } %>\n<\/table>\n  <\/div>\n<\/div>\n","template_dateRow":"<!--  Date Row -->\n<tr>\n  <!-- currency converter cell -->\n  <td class=\"mtx_cc\">\n  \t<div style=\"padding-top:26px; float:left;\">\n\t\t<span class='mtx_legendHotDeals'><span class=\"mtx_HotDealLegend\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span>&nbsp;<span class=\"mtx_header_smallFont\"> Hot deal.<\/span><\/span>\n\t<\/div>\n<% \nvar prev_class = 'mtxPrevDayInActive'; var prev_onclick = '';\nvar prev_7_class = 'mtxPrev7DaysInActive'; var prev_7_onclick = '';\nif (hasPrevious) { \n\tprev_class = 'mtxPrevDay'; prev_onclick = 'onclick=\"mtx_prevPage()\"';\n\tprev_7_class = 'mtxPrev7Days'; var prev_7_onclick = 'onclick=\"mtx_prevPageJump()\"';\n} %>\n    <div id=\"mtxPrev7Cont\">\n    \t<div id=\"mtxPrev7Days\" class=\"<%=prev_7_class%>\" <%=prev_7_onclick%>>&nbsp;<\/div>\n    \t<div id=\"mtxPrev7TL\">&nbsp;<\/div>\n    \t<div id=\"mtxPrev7BL\">&nbsp;<\/div>\n    <\/div>\n  <\/td>\n  <% for (var i = 0; i < dates.length; i++) { %>\n  <%   \n\t   var seconds = dates[i].ts;\n\t   var t = new Date(seconds);\n\t   var offset = t.getTimezoneOffset()*60000;\n\t   var local_seconds = seconds+offset;\n\t   var d = new Date(local_seconds);\n\t   \n       var dayOfWeek = d.format('%a');\n       var cssClass = \"mtx_date mtx_hotel_\" + dayOfWeek;\n       var cDayOfWeek = '<span class=\"mtx_day_of_week\">' + dayOfWeek + '<\/span>'; \n       \n       var cDate = '<span class=\"mtx_date_of_week\">' + d.format('%d') + '<\/span>';\n       var cMonth = '<span class=\"mtx_day_of_week\">' + d.format('%h') + '<\/span>';\n       var cnt_class = (i==dates.length-1) ? ' mtxDateHdrCntLast' : '';\n       \n  %>\n    <td class=\"mtxDateRow <%=cssClass%>\">\n    <div class=\"mtxDateHdrCnt <%=cnt_class%>\">\n\t  <div>\n\t      <%=cDayOfWeek%>\n\t      <br\/>\n\t      <strong><%=cDate%><\/strong>\n\t      <br \/>\n\t      <%=cMonth%>\n      <\/div>\n   <\/div>\n   <\/td>\n  <% } %>\n  <td class=\"mtx_dateSelectCell\">\n    <div id=\"mtxNext7Cont\">\n      <div id=\"mtxNext7Days\" class=\"mtxNext7Days\" onclick=\"mtx_nextPageJump()\">&nbsp;<\/div>\n    \t<div id=\"mtxNext7TL\">&nbsp;<\/div>\n    \t<div id=\"mtxNext7TR\">&nbsp;<\/div>\n    \t<div id=\"mtxNext7BR\">&nbsp;<\/div>\n    <\/div>\n  <\/td>\n<\/tr>\n","template_outline":"<div class=\"mtx_matrixPanel\">\n  <div>\n    <div class=\"mtx_transparenttopright\"><\/div>\n    <div class=\"mtx_transparenttopleft\"><\/div>\n  <\/div>\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n  <tr>\n    <td>\n    <div class=\"checkbox-container\">\n    \t<div class=\"checkbox-top\">\n        \t<div class=\"checkbox-top-left\"><\/div>\n            <div class=\"checkbox-top-right\"><\/div>\n        <\/div>\n        <div class=\"body\">\n          <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n            <tr>\n              <td align=\"left\"><span class=\"big-text\">Check Availability &amp; Rates<\/span><br \/><\/td>\n              <td align=\"right\" class=\"small-text\"><em>Please enter the dates of your stay to check availability<\/em><\/td>\n            <\/tr>\n            <tr>\n              <td height=\"15\" colspan=\"2\" align=\"left\" background=\"http:\/\/rates.asiawebdirect.com\/asahi\/images\/line.jpg\"><\/td>\n            <\/tr>\n          <\/table>\n          <table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n            <tr>\n              <td width=\"30%\" height=\"20\" class=\"big-text-ii\"><strong>Check-in:<\/strong><\/td>\n              <td width=\"10%\" height=\"20\" class=\"big-text-ii\"><strong>Nights:<\/strong><\/td>\n              <td width=\"28%\" height=\"20\" class=\"big-text-ii\"><strong>Check-Out:<\/strong><\/td>\n              <td width=\"32%\" height=\"20\">&nbsp;<\/td>\n            <\/tr>\n            <tr>\n              <td valign=\"middle\">\n              \t<img src=\"http:\/\/rates.asiawebdirect.com\/asahi\/images\/calendar.jpg\" style=\"cursor:pointer;vertical-align:middle\" width=\"22\" height=\"21\" align=\"absbottom\" onclick=\"javascript: \nprefixYear(2);opencalendar('dd\/mm\/yyyy','mtx_check_in',this,'updateMtxDate(\\\\'in\\\\');', event.x, event.y);return false;\" \/>\n\t\t\t\t<label style=\"vertical-align:middle\">\n\t                <input type=\"hidden\" id=\"mtx_check_in\" name=\"mtx_check_in\" value=\"\" \/>\n\t                <select name=\"check_in_date\" id=\"check_in_date\" onchange=\"dateSelectChange(this)\">\n\t                  <option>Mon 01<\/option>\n\t                                <\/select>\n\t                <select name=\"check_in_month\" id=\"check_in_month\" onchange=\"dateSelectChange(this)\">\n\t                  <option>Jan, 2011<\/option>\n\t                <\/select>\n\t             <\/label>\n\t          <\/td>\n              <td valign=\"middle\">\n              \t<select name=\"num_nights\" id=\"num_nights\" onchange=\"updateMtxDate('nights')\">\n                \t<option value=\"1\">01<\/option>\n                \t<option value=\"2\">02<\/option>\n                \t<option value=\"3\">03<\/option>\n                \t<option value=\"4\">04<\/option>\n                \t<option value=\"5\">05<\/option>\n                \t<option value=\"6\">06<\/option>\n                \t<option value=\"7\">07<\/option>\n                \t<option value=\"8\">08<\/option>\n                \t<option value=\"9\">09<\/option>\n                \t<option value=\"10\">10<\/option>\n                \t<option value=\"11\">11<\/option>\n                \t<option value=\"12\">12<\/option>\n                \t<option value=\"13\">13<\/option>\n                \t<option value=\"14\">14<\/option>\n                \t<option value=\"15\">15<\/option>\n                \t<option value=\"16\">16<\/option>\n                \t<option value=\"17\">17<\/option>\n                \t<option value=\"18\">18<\/option>\n                \t<option value=\"19\">19<\/option>\n                \t<option value=\"20\">20<\/option>\n                \t<option value=\"21\">21<\/option>\n                \t<option value=\"22\">22<\/option>\n                \t<option value=\"23\">23<\/option>\n                \t<option value=\"24\">24<\/option>\n                \t<option value=\"25\">25<\/option>\n                \t<option value=\"26\">26<\/option>\n                \t<option value=\"27\">27<\/option>\n                \t<option value=\"28\">28<\/option>\n                \t<option value=\"29\">29<\/option>\n                \t<option value=\"30\">30<\/option>\n                \t<option value=\"31\">31<\/option>\n                <\/select>\n              <\/td>\n              <td valign=\"middle\">\n              \t<img src=\"http:\/\/rates.asiawebdirect.com\/asahi\/images\/calendar.jpg\" style=\"cursor:pointer;vertical-align:middle\" width=\"22\" height=\"21\" align=\"absbottom\" onclick=\"javascript: \nprefixYear(2);opencalendar('dd\/mm\/yyyy','mtx_check_out',this,'updateMtxDate(\\\\'out\\\\');', event.x, event.y);return false;\" \/>\n\t\t\t\t<label style=\"vertical-align:middle\">\n\t              <input type=\"hidden\" id=\"mtx_check_out\" name=\"mtx_check_out\" value=\"\" \/>\n\t              <select name=\"check_out_date\" id=\"check_out_date\" onchange=\"dateSelectChange(this)\">\n\t                <option>Mon 01<\/option>\n\t              <\/select> <select name=\"check_out_month\" id=\"check_out_month\" onchange=\"dateSelectChange(this)\"s_out>\n\t                <option>Jan, 2011<\/option>\n\t              <\/select>\n\t            <\/label>\n\t          <\/td>\n              <td valign=\"middle\"><label for=\"mtx_filterOnRequest\" style=\"vertical-align:middle;\">\n                <input class=\"mtx_filterCell\" id=\"mtx_filterOnRequest\" type=\"checkbox\" style=\"margin-right:2px;padding:0;font-size:11px;\">\n                <span class=\"small-text\" style=\"vertical-align:middle;\">Only show offers with instant confirmation<\/span><\/label><\/td>\n            <\/tr>\n            <tr>\n              <td height=\"10\" colspan=\"4\"><\/td>\n            <\/tr>\n          <\/table>\n        <\/div>\n        \t<div class=\"checkbox-bottom\">\n        \t<div class=\"checkbox-bottom-left\"><\/div>\n            <div class=\"checkbox-button\"><img src=\"http:\/\/rates.asiawebdirect.com\/asahi\/images\/button.jpg\" onclick=\"loadPeriodMatrix()\" style=\"cursor:pointer\" \/><\/div>\n            <div class=\"checkbox-bottom-right\"><\/div>\n        <\/div>\n    <\/div>\n    <\/td>\n  <\/tr>\n<\/table>\n\n  <div id=\"outerdiv\" style=\"clear: both;\">\n    <div id=\"thematrixdiv\" style=\"background-color: white;\">&nbsp;<\/div>\n  <\/div>\n  <div class=\"mtx_transparentbottomright\"><\/div>\n  <div class=\"mtx_transparentbottomleft\"><\/div>\n<\/div>\n<div style=\"display: none\" displayStyle=\"block\" id=\"noDealSelectionError\" class=\"errorMessage\">error<\/div>\n","template_ratePlanBlurb0":"<div class=\"expand-line\">&nbsp;<\/div>\n<div class=\"expand-icon <%=odd_even %>\">&nbsp;<\/div>\n<% if (breakfast_included) { %><div class=\"icon_bf\"><span>Breakfast<br\/> Included<\/span><\/div><% } %>\n<% if (minNightStr != \"\") { %>\n<div class=\"icon_nights\">\n\t<div class=\"nights-count\"><%=minNightStr %><\/div>\n\t<div class=\"nights-text\">\n\t\tNights<br> min. stay\n\t<\/div>\n<\/div>\n<% } %>\n<div class=\"icon-guest\">\n\t<div class=\"guest-occupant2\">Rates for <br>\n                     <%=guest_fee_info.num_guest_included %> <%=(guest_fee_info.num_guest_included>1)?'guests':'guest'%>\n\t<\/div>\n\t<span class=\"more-guests\" onmouseover=\"showRateBlurb(this, 'Max <%=guest_fee_info.max_guest %> guests. Charges may apply for additional guests.')\" onmouseout=\"hideRateBlurb(this)\">(more guests?)<\/span>\n<\/div>","template_ratePlanBlurb1":"<div class=\"expand-line\">&nbsp;<\/div>\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"97%\">\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<div class=\"right-cover\">\n\t\t\t\t\t<div class=\"text-cover .title\">\n\t\t\t\t\t\t<div class=\"not-available-wrapper\"><div class=\"not-available\"><\/div><\/div>\n\t\t\t\t\t\t<span class=\"text-expand-title\"><%=(room_type_name)?room_type_name:name %><\/span><br>\n\t\t\t\t\t\t<% if (room_type_name) { %><span class=\"text-expand-subtitle\"><%=name %><\/span><% } %>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"free_nights_description\" class=\"free_nights_description\"><label class=\"mtx_discount\"><%=free_nights_description%><\/label><\/div>\n\t\t\t\t\t<div class=\"text-cover\">\n\t\t\t\t\t\t<span class=\"text-expand\"><%=description %><\/span>\n\t\t\t\t\t\t<div class=\"inclusions\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\n\t\t\t\t\t<% if (inclusions.length > 0) { %>\n\t\t\t\t\t<div class=\"feature-cover\">\n\t\t\t\t\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t<td align=\"left\" valign=\"top\" width=\"10%\"><div\n\t\t\t\t\t\t\t\t\t\t\tclass=\"features\">Features:<\/div>\n\t\t\t\t\t\t\t\t\t<\/td>\n\t\t\t\t\t\t\t\t\t<td align=\"left\" valign=\"top\" width=\"90%\"><div\n\t\t\t\t\t\t\t\t\t\t\tclass=\"subfeature-cover\">\n\t\t\t\t\t\t\t\t\t\t\t<ul class=\"sub-feature\">\n\t\t\t\t\t\t\t\t\t\t\t\t<% for (var i=0; i<inclusions.length; i++) { %>\n\t\t\t\t\t\t\t\t\t\t\t\t<li><%=inclusions[i] %><\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t<% } %>\n\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/td>\n\t\t\t\t\t\t\t\t<\/tr>\n\t\t\t\t\t\t\t<\/tbody>\n\t\t\t\t\t\t<\/table>\n\t\t\t\t\t\t<div class=\"clear\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<% } %>\n\t\t\t\t\t\n\t\t\t\t\t<div class=\"total-cover\">\n\t\t\t\t\t\t<div class=\"first-row\">\n\t\t\t\t\t\t\t<div class=\"total_currency\"><span class=\"total_currency_symbol_sup\" name=\"ccs\"><%=symbol%><\/span><span class=\"text-total-number\" name=\"drc\"><%=total%><span class=\"or\"><%=tatal_local%><\/span><\/span><\/div>\n\t\t\t\t\t\t\t<div class=\"text-total\">Total: <\/div>\n\t\t\t\t\t\t\t<div class=\"save-icon\" style=\"display:<%=display%>\"><span class=\"rack_rate\" name=\"ccs\"><%=symbol%><\/span><span class=\"rack_rate\" name=\"drc\"><%=rack_rate%><span class=\"or\"><%=rack_rate_local%><\/span><\/span> SAVE <span class=\"saved_currency_symbol\" name=\"ccs\"><%=symbol%><\/span><span class=\"save-text\" name=\"drc\"><%=saved%><span class=\"or\"><%=saved_local%><\/span><\/span>\n\t\t\t\t\t\t\t\t<div class=\"right-background\"><\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div style=\"clear:both\"><\/div>\n\t\t\t\t\t\t\t<div class=\"total-nights\">for <span class=\"total-nights-number\"><%=total_nights%> <%=(total_nights>1)?'nights':'night'%><\/span><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"second-row\">\n\t\t\t\t\t\t\t<div class=\"button-container\">\n\t\t\t\t\t\t\t\t<div class=\"btn-pink\" onclick=\"book('<%=id%>', '<%=escape(name)%>', '<%=rtId%>', '<%=rpCode%>', '<%=invSrc%>');\"><%=bookState%><\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"total-description\">\n\t\t\t\t\t\t\t\t<strong>Payment:<\/strong> <% if(deposit==100) { %>Full pre-payment is required to secure your booking at this price.<% } else { %>Pay just <%=deposit%>% deposit to secure your booking.<% } %><br\/>\n\t\t\t\t\t\t\t\t<strong>Cancellation Policy:<\/strong><span class=\"cancellation_policy\"> <%=cancellation_policy%><\/span>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t<\/div>\n\t\t\t<\/td>\n\t\t<\/tr>\n\t<\/tbody>\n<\/table>\n<div id=\"mtxRatePlanNoDateSelected\" class=\"mtxRatePlanNoDateSelected\" style=\"display:none\">Please select your preferred dates to see how much you'll save.<\/div>"}},"ServicePercent":"15.75400","HotelID":"1552","results":[{"rates":{"20120225":{"p":"5897.22","pf":"5,897","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Oasis Rooms are located on the 2nd and 3rd Floor with balcony, either king size bed or two queen size beds available.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Oasis Rooms are located on the 2nd and 3rd Floor with balcony, either king size bed or two queen size beds available.","d":"Sat"},"20120226":{"p":"5897.22","pf":"5,897","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Oasis Rooms are located on the 2nd and 3rd Floor with balcony, either king size bed or two queen size beds available.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Oasis Rooms are located on the 2nd and 3rd Floor with balcony, either king size bed or two queen size beds available.","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 2 adults and 1 child. Total guests cannot exceed 3 people.\n - Extra adults will be charged at 1100 THB per night\n - Extra children will be charged at 225 THB per night\n\nDeluxe Oasis Room (40.5 sqm) \n- Decorated in a contemporary Thai fashion, each of the resort's Deluxe Oasis rooms occupy over 40.5 square meters of living space with an additional 10 square meter balcony to enjoy the fertile resources of Khao Lak.","name":"Deluxe Oasis Room","room_type_name":null,"description":"Deluxe Oasis Room (40.5 sqm) <br \/>\n- Decorated in a contemporary Thai fashion, each of the resort's Deluxe Oasis rooms occupy over 40.5 square meters of living space with an additional 10 square meter balcony to enjoy the fertile resources of Khao Lak.","title":"Deluxe Oasis Room","id":"75218","rtId":"94798","rpCode":"94798","invSrc":"W","rack_rate":"10109.52","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120225","end_date":"20120817","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 28 days prior to the check in date and time or you will be charged the full amount of the booking.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Desk","DVD player","TV","Opening windows","Tea\/Coffee Making","Mini bar","Bath","CD player","Clothes line \/ airer","Iron & ironing board","Hairdryer","Refrigerator - bar size","Bathrobes","Non-smoking only","Air conditioning","Balcony \/ courtyard","Broadband","Wireless \/ WiFi","Fireplace","Free in-house movies","Separate shower & bath","Shower","Satellite \/ Cable"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":2,"max_children":1},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120224":{"p":"6571.19","pf":"6,571","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Lanai Rooms are located on Ground Floor with large terrace and two sun loungers, either king size bed or two queen size beds available.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Lanai Rooms are located on Ground Floor with large terrace and two sun loungers, either king size bed or two queen size beds available.","d":"Fri"},"20120225":{"p":"6571.19","pf":"6,571","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Lanai Rooms are located on Ground Floor with large terrace and two sun loungers, either king size bed or two queen size beds available.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Lanai Rooms are located on Ground Floor with large terrace and two sun loungers, either king size bed or two queen size beds available.","d":"Sat"},"20120226":{"p":"6571.19","pf":"6,571","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Lanai Rooms are located on Ground Floor with large terrace and two sun loungers, either king size bed or two queen size beds available.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Lanai Rooms are located on Ground Floor with large terrace and two sun loungers, either king size bed or two queen size beds available.","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 2 adults and 1 child. Total guests cannot exceed 3 people.\n - Extra adults will be charged at 1100 THB per night\n - Extra children will be charged at 225 THB per night\n\nDeluxe Lanai Room (40.5 Sqm) \n- The Deluxe Lanai rooms are situated at the ground floor offers even more extra space with a 23.5 square metres wooden balcony and patio to enjoy while soaking in the sun on a crisp, clear Khao Lak day.","name":"Deluxe Lanai Room","room_type_name":null,"description":"Deluxe Lanai Room (40.5 Sqm) <br \/>\n- The Deluxe Lanai rooms are situated at the ground floor offers even more extra space with a 23.5 square metres wooden balcony and patio to enjoy while soaking in the sun on a crisp, clear Khao Lak day.","title":"Deluxe Lanai Room","id":"75220","rtId":"131922","rpCode":"131922","invSrc":"W","rack_rate":"11373.21","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120224","end_date":"20120817","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 28 days prior to the check in date and time or you will be charged the full amount of the booking.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Iron & ironing board","Separate shower & bath","Refrigerator - bar size","Tea\/Coffee Making","Opening windows","Hairdryer","Mini bar","TV","CD player","Bathrobes","Shower","Desk","Fireplace","Non-smoking only","Broadband","Wireless \/ WiFi","Balcony \/ courtyard","Satellite \/ Cable","Air conditioning","Bath","Trouser press","Free in-house movies"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":2,"max_children":1},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120226":{"p":"6908.17","pf":"6,908","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Jacuzzi Rooms open bathroom private in-room Jacuzzi, only king size bed available.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Deluxe Jacuzzi Rooms open bathroom private in-room Jacuzzi, only king size bed available.","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 2 adults and 0 children. Total guests cannot exceed 2 people.\n\nThe Deluxe Jacuzzi Rooms feature a defining open bathroom concept that creates spaciousness highlighting private in-room Jacuzzi and rain shower. Living space includes Large screen LED TV 40\", DVD\/CD player.","name":"Deluxe Jacuzzi Room","room_type_name":null,"description":"The Deluxe Jacuzzi Rooms feature a defining open bathroom concept that creates spaciousness highlighting private in-room Jacuzzi and rain shower. Living space includes Large screen LED TV 40\", DVD\/CD player.","title":"Deluxe Jacuzzi Room","id":"75216","rtId":"265190","rpCode":"265190","invSrc":"W","rack_rate":"11962.93","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120226","end_date":"20120817","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 28 days prior to the check in date and time or you will be charged the full amount of the booking.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Alarm clock","Radio","TV","Non-smoking or smoking rooms on request","Hairdryer","Balcony \/ courtyard","Air conditioning","Desk","Opening windows","DVD player","Wireless \/ WiFi","Separate shower & bath","In-room spa bath \/ Jacuzzi","Satellite \/ Cable","Bathrobes"],"guest_fee_info":{"num_guest_included":2,"max_guest":2,"max_adults":2,"max_children":0},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120225":{"p":"12215.67","pf":"12,215","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Ocean Front Villas are right on the beach with an uninterrupted ocean view, only King Size bed available, suitable for two persons only.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Ocean Front Villas are right on the beach with an uninterrupted ocean view, only King Size bed available, suitable for two persons only.","d":"Sat"},"20120226":{"p":"12215.67","pf":"12,215","i":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Ocean Front Villas are right on the beach with an uninterrupted ocean view, only King Size bed available, suitable for two persons only.<br>","dailyInclusions":"Inclusive of Breakfast for up to 2 persons, free Wi-Fi Ocean Front Villas are right on the beach with an uninterrupted ocean view, only King Size bed available, suitable for two persons only.","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 2 adults and 0 children. Total guests cannot exceed 2 people.\n\nOur flagship accommodations, the Ocean Front Villas are exquisitely decorated and are situated perfectly--right on the beach with an uninterrupted ocean view. Each villa is situated on 134 square metre plots with 64 square metres of personal space within.","name":"Ocean Front Villa","room_type_name":null,"description":"Our flagship accommodations, the Ocean Front Villas are exquisitely decorated and are situated perfectly--right on the beach with an uninterrupted ocean view. Each villa is situated on 134 square metre plots with 64 square metres of personal space within.","title":"Ocean Front Villa","id":"75217","rtId":"98149","rpCode":"98149","invSrc":"W","rack_rate":"21903.96","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120225","end_date":"20120817","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 28 days prior to the check in date and time or you will be charged the full amount of the booking.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Hairdryer","Shower","Dial-up","Mini bar","Bathrobes","Wireless \/ WiFi","Balcony \/ courtyard","Opening windows","Desk","Broadband","Trouser press","Satellite \/ Cable","Free in-house movies","In-room spa bath \/ Jacuzzi","Iron & ironing board","Bath","DVD player","Ceiling fans","Non-smoking only","Fans","CD player","Refrigerator - bar size","Separate shower & bath","Tea\/Coffee Making","Air conditioning","TV"],"guest_fee_info":{"num_guest_included":2,"max_guest":2,"max_adults":2,"max_children":0},"promotions":[],"minNightStr":"","minNightTip":""}]});

