if (!window.matrix) {
    window.matrix = new Matrix(
        45050,
        'today',
        7,
        'en',
        true);
    window.matrix.enableXDomain('rates.asiawebdirect.com');
}
displayMatrix({"startDate":1329091200000,"endDate":1330214400000,"today":1329177600000,"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":"HKD","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":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":true},{"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":"9.09091","HotelID":"45050","results":[{"rates":{"20120221":{"p":"1080.00","pf":"1,080","i":"Complimentary broadband internet access, Daily housekeeping, Free local calls<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, Daily housekeeping, Free local calls","d":"Tue"},"20120222":{"p":"1080.00","pf":"1,080","i":"Complimentary broadband internet access, Daily housekeeping, Free local calls<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, Daily housekeeping, Free local calls","d":"Wed"}},"blurb":"Rates are for 2 people, maximum 2 adults and 0 children. Total guests cannot exceed 2 people.\n\nRates are for two (2) persons.  Maximum occupancy is two (2) persons.  Bedding configuration is DOUBLE BED only, no twin.","name":"Studio - Min 2 Night","room_type_name":null,"description":"Rates are for two (2) persons.  Maximum occupancy is two (2) persons.  Bedding configuration is DOUBLE BED only, no twin.","title":"Studio - Min 2 Night","id":"79645","rtId":"935577","rpCode":"935577","invSrc":"W","rack_rate":"2772.73","deposit":100,"restrictions":{"MinNightsStay":[{"startDate":"20120221","endDate":"20120229","dayOfWeek":null,"numNights":2,"relation":"atLeast","periodCheck":"stayBased"}],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120127","end_date":"20130125","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":["Broadband","Opening windows","Satellite \/ Cable","Non-smoking or smoking rooms on request","Kitchenette (basic facilities)","Refrigerator - bar size","Iron & ironing board","Bath","TV","Hairdryer","Air conditioning"],"guest_fee_info":{"num_guest_included":2,"max_guest":2,"max_adults":2,"max_children":0},"promotions":[],"minNightStr":2,"minNightTip":"Bookings must be for at least 2 nights.<br\/>"},{"rates":{"20120214":{"p":"1136.36","pf":"1,136","i":"Free broadband internet access, Free local calls, Daily housekeeping<br>","dailyInclusions":"Free broadband internet access, Free local calls, Daily housekeeping","d":"Tue"},"20120221":{"p":"1136.36","pf":"1,136","i":"Free broadband internet access, Free local calls, Daily housekeeping<br>","dailyInclusions":"Free broadband internet access, Free local calls, Daily housekeeping","d":"Tue"},"20120222":{"p":"1136.36","pf":"1,136","i":"Free broadband internet access, Free local calls, Daily housekeeping<br>","dailyInclusions":"Free broadband internet access, Free local calls, Daily housekeeping","d":"Wed"}},"blurb":"Rates are for 2 people, maximum 2 adults and 0 children. Total guests cannot exceed 2 people.\n\nRates are for two (2) persons.  Maximum occupancy is two (2) persons.  Bedding configuration is DOUBLE BED only, no twin.","name":"Studio","room_type_name":null,"description":"Rates are for two (2) persons.  Maximum occupancy is two (2) persons.  Bedding configuration is DOUBLE BED only, no twin.","title":"Studio","id":"79644","rtId":"103979","rpCode":"103979","invSrc":"W","rack_rate":"2772.73","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120127","end_date":"20130125","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":["Bath","Opening windows","Kitchenette (basic facilities)","Hairdryer","Air conditioning","Iron & ironing board","Satellite \/ Cable"],"guest_fee_info":{"num_guest_included":2,"max_guest":2,"max_adults":2,"max_children":0},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120222":{"p":"1252.73","pf":"1,252","i":"Complimentary broadband internet access, daily housekeeping, free local calls, late check-out till 14:00pm (subject to availability)<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, daily housekeeping, free local calls, late check-out till 14:00pm (subject to availability)","d":"Wed"},"20120223":{"p":"1381.82","pf":"1,381","i":"Complimentary broadband internet access, daily housekeeping, free local calls, late check-out till 14:00pm (subject to availability)<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, daily housekeeping, free local calls, late check-out till 14:00pm (subject to availability)","d":"Thu"}},"blurb":"Rates are for 2 people, maximum 3 adults and 2 children. Total guests cannot exceed 4 people.\n - Extra adults will be charged at 250 HKD per night\n\nRates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding configuration is 1 Queen Bed. Room features sofa and living area. Extra bed is charged at HKD250 per person per night.","name":"Executive - Min 2 nights","room_type_name":null,"description":"Rates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding configuration is 1 Queen Bed. Room features sofa and living area. Extra bed is charged at HKD250 per person per night.","title":"Executive - Min 2 nights","id":"79646","rtId":"391191","rpCode":"391191","invSrc":"W","rack_rate":"2954.55","deposit":100,"restrictions":{"MinNightsStay":[{"startDate":"20120222","endDate":"20120229","dayOfWeek":null,"numNights":2,"relation":"atLeast","periodCheck":"stayBased"}],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120213","end_date":"20120817","type":"T","text":"Cancellations or changes to bookings for this room must be made at least 24 hours 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":["Opening windows","Iron & ironing board","Air conditioning","Shower","Satellite \/ Cable","Hairdryer","Kitchenette (basic facilities)","DVD player"],"guest_fee_info":{"num_guest_included":2,"max_guest":4,"max_adults":3,"max_children":2},"promotions":[],"minNightStr":2,"minNightTip":"Bookings must be for at least 2 nights.<br\/>"},{"rates":{"20120221":{"p":"1295.45","pf":"1,295","i":"Complimentary broadband internet access, daily housekeeping, Free local calls, Late check out till 14:00pm (Subject to availabilit)<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, daily housekeeping, Free local calls, Late check out till 14:00pm (Subject to availabilit)","d":"Tue"},"20120222":{"p":"1295.45","pf":"1,295","i":"Complimentary broadband internet access, daily housekeeping, Free local calls, Late check out till 14:00pm (Subject to availabilit)<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, daily housekeeping, Free local calls, Late check out till 14:00pm (Subject to availabilit)","d":"Wed"},"20120223":{"p":"1425.45","pf":"1,425","i":"Complimentary broadband internet access, daily housekeeping, Free local calls, Late check out till 14:00pm (Subject to availabilit)<br><br\/> A minimum night stay of 2 nights applies.","dailyInclusions":"Complimentary broadband internet access, daily housekeeping, Free local calls, Late check out till 14:00pm (Subject to availabilit)","d":"Thu"}},"blurb":"Rates are for 2 people, maximum 3 adults and 2 children. Total guests cannot exceed 4 people.\n - Extra adults will be charged at 250 HKD per night\n\nRates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding onfiguration is 1 Queen Bed. Extra bed is charged at HKD250 per person per night.","name":"Premier-Min 2 Nights stay","room_type_name":null,"description":"Rates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding onfiguration is 1 Queen Bed. Extra bed is charged at HKD250 per person per night.","title":"Premier-Min 2 Nights stay","id":"79643","rtId":"229106","rpCode":"229106","invSrc":"W","rack_rate":"3227.27","deposit":100,"restrictions":{"MinNightsStay":[{"startDate":"20120218","endDate":"20120229","dayOfWeek":null,"numNights":2,"relation":"atLeast","periodCheck":"stayBased"}],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120127","end_date":"20130125","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":["Iron & ironing board","Kitchenette (basic facilities)","Hairdryer","Satellite \/ Cable","Bath","Air conditioning","Opening windows"],"guest_fee_info":{"num_guest_included":2,"max_guest":4,"max_adults":3,"max_children":2},"promotions":[],"minNightStr":2,"minNightTip":"Bookings must be for at least 2 nights.<br\/>"},{"rates":{"20120222":{"p":"1318.18","pf":"1,318","i":"Free broadband internet, Free local call, Daily housekeeping<br>","dailyInclusions":"Free broadband internet, Free local call, Daily housekeeping","d":"Wed"},"20120223":{"p":"1454.55","pf":"1,454","i":"Free broadband internet, Free local call, Daily housekeeping<br>","dailyInclusions":"Free broadband internet, Free local call, Daily housekeeping","d":"Thu"}},"blurb":"Rates are for 2 people, maximum 3 adults and 2 children. Total guests cannot exceed 3 people.\n - Extra adults will be charged at 250 HKD per night\n\nRates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding configuration is 1 Queen Bed. Room features sofa and living area. Extra bed is charged at HKD250 per person per night.","name":"Studio Executive","room_type_name":null,"description":"Rates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding configuration is 1 Queen Bed. Room features sofa and living area. Extra bed is charged at HKD250 per person per night.","title":"Studio Executive","id":"79647","rtId":"106950","rpCode":"106950","invSrc":"W","rack_rate":"2954.55","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120213","end_date":"20130211","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":["Shower","Kitchenette (basic facilities)","Opening windows","Iron & ironing board","Air conditioning","Satellite \/ Cable","Hairdryer","DVD player"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":3,"max_children":2},"promotions":[],"minNightStr":"","minNightTip":""},{"rates":{"20120214":{"p":"1363.64","pf":"1,363","i":"Free Broadband Internet, <br\/>Free Local Call,Daily housekeeping<br>","dailyInclusions":"Free Broadband Internet, \nFree Local Call,Daily housekeeping","d":"Tue"},"20120221":{"p":"1363.64","pf":"1,363","i":"Free Broadband Internet, <br\/>Free Local Call,Daily housekeeping<br>","dailyInclusions":"Free Broadband Internet, \nFree Local Call,Daily housekeeping","d":"Tue"},"20120222":{"p":"1363.64","pf":"1,363","i":"Free Broadband Internet, <br\/>Free Local Call,Daily housekeeping<br>","dailyInclusions":"Free Broadband Internet, \nFree Local Call,Daily housekeeping","d":"Wed"},"20120223":{"p":"1500.00","pf":"1,500","i":"Free Broadband Internet, <br\/>Free Local Call,Daily housekeeping<br>","dailyInclusions":"Free Broadband Internet, \nFree Local Call,Daily housekeeping","d":"Thu"}},"blurb":"Rates are for 2 people, maximum 3 adults and 2 children. Total guests cannot exceed 3 people.\n - Extra adults will be charged at 250 HKD per night\n\nRates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding onfiguration is 1 Queen Bed. Extra bed is charged at HKD250 per person per night.","name":"Studio Premier","room_type_name":null,"description":"Rates are for two (2) persons.  Maximum occupancy is three (3) persons.  Bedding onfiguration is 1 Queen Bed. Extra bed is charged at HKD250 per person per night.","title":"Studio Premier","id":"79648","rtId":"106951","rpCode":"106951","invSrc":"W","rack_rate":"3227.27","deposit":100,"restrictions":{"MinNightsStay":[],"MaxNightsStay":[],"OnRequest":[],"DayUse":[],"ClosedToArrival":[],"ClosedToDeparture":[]},"ratePlanInvalidDates":null,"cancellation_policy":[{"start_date":"20120213","end_date":"20130211","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":["Kitchenette (basic facilities)","Satellite \/ Cable","Broadband","Opening windows","DVD player","Hairdryer","Bath","Iron & ironing board","Air conditioning"],"guest_fee_info":{"num_guest_included":2,"max_guest":3,"max_adults":3,"max_children":2},"promotions":[],"minNightStr":"","minNightTip":""}]});

