if (!window.matrix) {
    window.matrix = new Matrix(
        929,
        '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":"SGD","currency_symbol":"&#36;","currencies":[{"code":"USD","rate":"30.8700008052","name":"United States Dollars","symbol":"&#36;","selected":false},{"code":"GBP","rate":"48.6387734002","name":"United Kingdom Pounds","symbol":"&#163;","selected":false},{"code":"EUR","rate":"40.7336554985","name":"Euro","symbol":"&#8364;","selected":false},{"code":"JPY","rate":"0.3976299458","name":"Japan Yen","symbol":"&#165;","selected":false},{"code":"SGD","rate":"24.4757192030","name":"Singapore Dollars","symbol":"&#36;","selected":true},{"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.9290299354","name":"Australia Dollars","symbol":"&#36;","selected":false},{"code":"SEK","rate":"4.6343002512","name":"Sweden Krona","symbol":"&#107;&#114;","selected":false},{"code":"THB","rate":"1.0000000000","name":"Thailand Baht","symbol":"&#3647;","selected":false},{"code":"ZAR","rate":"3.9825270449","name":"South Africa Rand","symbol":"&#82;","selected":false},{"code":"CAD","rate":"30.8222264105","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.6586172790","name":"Switzerland Francs","symbol":"&#67;&#72;&#70;","selected":false},{"code":"DKK","rate":"5.4808871763","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":"0.00000","HotelID":"929","results":[{"rates":{"20120220":{"p":"330.00","pf":"330","i":"Complimentary Internet Access<br>","dailyInclusions":"Complimentary Internet Access","d":"Mon"},"20120222":{"p":"330.00","pf":"330","i":"Complimentary Internet Access<br>","dailyInclusions":"Complimentary Internet Access","d":"Wed"},"20120223":{"p":"330.00","pf":"330","i":"Complimentary Internet Access<br>","dailyInclusions":"Complimentary Internet Access","d":"Thu"},"20120225":{"p":"212.00","pf":"212","i":"Complimentary Internet Access<br>","dailyInclusions":"Complimentary Internet Access","d":"Sat"},"20120226":{"p":"212.00","pf":"212","i":"Complimentary Internet Access<br>","dailyInclusions":"Complimentary Internet Access","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 3 adults and 1 child. Total guests cannot exceed 3 people.\n - Extra adults will be charged at 83 SGD per night\n - Extra children will be charged at 83 SGD per night\n\nUniquely minimalist in d\u00e9cor, these trendy designed rooms set a standard in modern design. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. With 2 single beds - 26 sqm.","name":"Gallery Room","room_type_name":null,"description":"Uniquely minimalist in d\u00e9cor, these trendy designed rooms set a standard in modern design. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. With 2 single beds - 26 sqm.","title":"Gallery Room","id":"42284","rtId":"3122","rpCode":"3122","invSrc":"W","rack_rate":"377.00","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120220","end_date":"20120819","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 72 hours prior to the check in date and time or you will be charged the full amount of the first changed or cancelled night.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Wireless \/ WiFi","Satellite \/ Cable","Iron & ironing board","Tea\/Coffee Making","Mini bar","Shower","Bathrobes","Desk","Air conditioning","Hairdryer","Broadband"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":3,"max_children":1},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120214":{"p":"412.00","pf":"412","i":"Complimentary Internet access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary Internet access. No cancellation \/ no amendment allowed","d":"Tue"},"20120216":{"p":"283.00","pf":"283","i":"Complimentary Internet access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary Internet access. No cancellation \/ no amendment allowed","d":"Thu"},"20120217":{"p":"212.00","pf":"212","i":"Complimentary Internet access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary Internet access. No cancellation \/ no amendment allowed","d":"Fri"},"20120218":{"p":"212.00","pf":"212","i":"Complimentary Internet access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary Internet access. No cancellation \/ no amendment allowed","d":"Sat"},"20120219":{"p":"259.00","pf":"259","i":"Complimentary Internet access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary Internet access. No cancellation \/ no amendment allowed","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 3 adults and 1 child. Total guests cannot exceed 3 people.\n - Extra adults will be charged at 82 SGD per night\n - Extra children will be charged at 82 SGD per night\n\nUniquely minimalist in d\u00e9cor, these trendy designed rooms set a standard in modern design. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. With 2 single beds - 26 sqm.","name":"AirShow Promo - Gallery","room_type_name":null,"description":"Uniquely minimalist in d\u00e9cor, these trendy designed rooms set a standard in modern design. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. With 2 single beds - 26 sqm.","title":"AirShow Promo - Gallery","id":"42276","rtId":"529257","rpCode":"529257","invSrc":"W","rack_rate":"377.00","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120214","end_date":"20120219","type":"T","text":"Cancellations or changes to bookings for this room will not be permitted for any reason. Once confirmed a booking cannot be refunded or altered in any way.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Satellite \/ Cable","Broadband","Tea\/Coffee Making","Desk","Air conditioning","Mini bar","Bathrobes","Wireless \/ WiFi","Iron & ironing board","Hairdryer","Shower"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":3,"max_children":1},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120213":{"p":"460.00","pf":"460","i":"Complimentary minibar and Internet Access<br>","dailyInclusions":"Complimentary minibar and Internet Access","d":"Mon"},"20120223":{"p":"389.00","pf":"389","i":"Complimentary minibar and Internet Access<br>","dailyInclusions":"Complimentary minibar and Internet Access","d":"Thu"},"20120224":{"p":"365.00","pf":"365","i":"Complimentary minibar and Internet Access<br>","dailyInclusions":"Complimentary minibar and Internet Access","d":"Fri"},"20120225":{"p":"271.00","pf":"271","i":"Complimentary minibar and Internet Access<br>","dailyInclusions":"Complimentary minibar and Internet Access","d":"Sat"},"20120226":{"p":"271.00","pf":"271","i":"Complimentary minibar and Internet Access<br>","dailyInclusions":"Complimentary minibar and Internet Access","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 2 adults and 0 children. Total guests cannot exceed 2 people.\n\nTrendy and modern designed rooms with the comfort for the discerning travellers. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. Room size is 31 sqm with king-sized bed.","name":"Bookend Club","room_type_name":null,"description":"Trendy and modern designed rooms with the comfort for the discerning travellers. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. Room size is 31 sqm with king-sized bed.","title":"Bookend Club","id":"42278","rtId":"3059","rpCode":"3059","invSrc":"W","rack_rate":"495.00","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120212","end_date":"20120819","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 72 hours prior to the check in date and time or you will be charged the full amount of the first changed or cancelled night.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Iron & ironing board","Bath","Tea\/Coffee Making","Desk","Mini bar","Hairdryer","Air conditioning","Wireless \/ WiFi","Satellite \/ Cable","Broadband","Bathrobes"],"guest_fee_info":{"num_guest_included":2,"max_guest":2,"max_adults":2,"max_children":0},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120214":{"p":"471.00","pf":"471","i":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed","d":"Tue"},"20120215":{"p":"471.00","pf":"471","i":"Room only. <br>","dailyInclusions":"","d":"Wed"},"20120216":{"p":"364.00","pf":"364","i":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed","d":"Thu"},"20120217":{"p":"271.00","pf":"271","i":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed","d":"Fri"},"20120218":{"p":"271.00","pf":"271","i":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed","d":"Sat"},"20120219":{"p":"364.00","pf":"364","i":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed<br>","dailyInclusions":"Complimentary minibar and Internet Access. No cancellation \/ no amendment allowed","d":"Sun"}},"blurb":"Rates are for 2 people, maximum 2 adults and 0 children. Total guests cannot exceed 2 people.\n\nTrendy and modern designed rooms with the comfort for the discerning travellers. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. Room size is 31 sqm with king-sized bed.","name":"AirShow Promo - Club","room_type_name":null,"description":"Trendy and modern designed rooms with the comfort for the discerning travellers. Equipped with IDD telephones, mini bar, free broadband internet access, cable TV, electronic safe and coffee\/tea making facilities. Room size is 31 sqm with king-sized bed.","title":"AirShow Promo - Club","id":"42277","rtId":"529259","rpCode":"529259","invSrc":"W","rack_rate":"495.00","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120214","end_date":"20120219","type":"T","text":"Cancellations or changes to bookings for this room will not be permitted for any reason. Once confirmed a booking cannot be refunded or altered in any way.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Hairdryer","Desk","Satellite \/ Cable","Iron & ironing board","Tea\/Coffee Making","Bath","Bathrobes","Air conditioning","Broadband","Mini bar","Wireless \/ WiFi"],"guest_fee_info":{"num_guest_included":2,"max_guest":2,"max_adults":2,"max_children":0},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120213":{"p":"683.00","pf":"683","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Mon"},"20120220":{"p":"683.00","pf":"683","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Mon"},"20120221":{"p":"683.00","pf":"683","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Tue"},"20120222":{"p":"683.00","pf":"683","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Wed"},"20120223":{"p":"683.00","pf":"683","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Thu"},"20120224":{"p":"650.00","pf":"650","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Fri"},"20120225":{"p":"650.00","pf":"650","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","d":"Sat"},"20120226":{"p":"650.00","pf":"650","i":"Inclusive of breakfast for 2, complimentary minibar and Internet access<br>","dailyInclusions":"Inclusive of breakfast for 2, complimentary minibar and Internet access","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 83 SGD per night\n - Extra children will be charged at 83 SGD per night\n\n40 - 60 sqm, 1 king sized bed, river & city view","name":"Suite","room_type_name":null,"description":"40 - 60 sqm, 1 king sized bed, river & city view","title":"Suite","id":"42279","rtId":"776299","rpCode":"776299","invSrc":"W","rack_rate":"918.00","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120212","end_date":"20120819","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 72 hours prior to the check in date and time or you will be charged the full amount of the first changed or cancelled night.","due_date":null}],"freeNights":"","breakfast_included":0,"inclusions":["Bathrobes","Non-smoking or smoking rooms on request","Iron & ironing board","Tea\/Coffee Making","Desk","Alarm clock","Mini bar","Hairdryer","Wireless \/ WiFi","Air conditioning","Satellite \/ Cable","DVD player","Shower over bath","Separate shower & bath","TV","Radio"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":2,"max_children":1},"promotions":[],"minNightStr":"","minNightTip":""}]});

