{"id":401,"date":"2025-06-02T19:54:55","date_gmt":"2025-06-02T19:54:55","guid":{"rendered":"https:\/\/theodorehotel.ca\/?page_id=401"},"modified":"2026-04-14T17:29:44","modified_gmt":"2026-04-14T23:29:44","slug":"elementor-401","status":"publish","type":"page","link":"https:\/\/theodorehotel.ca\/","title":{"rendered":"MAIN"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"401\" class=\"elementor elementor-401\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-85be9c1 e-con-full e-flex e-con e-parent\" data-id=\"85be9c1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2897655 elementor-widget__width-auto elementor-hidden-mobile elementor-widget elementor-widget-image-carousel\" data-id=\"2897655\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;slides_to_show&quot;:&quot;3&quot;,&quot;slides_to_scroll&quot;:&quot;1&quot;,&quot;image_spacing_custom&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:0,&quot;sizes&quot;:[]},&quot;navigation&quot;:&quot;none&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;infinite&quot;:&quot;yes&quot;,&quot;speed&quot;:500,&quot;image_spacing_custom_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;image_spacing_custom_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"image-carousel.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-image-carousel-wrapper swiper\" role=\"region\" aria-roledescription=\"carousel\" aria-label=\"Image Carousel\" dir=\"ltr\">\n\t\t\t<div class=\"elementor-image-carousel swiper-wrapper\" aria-live=\"off\">\n\t\t\t\t\t\t\t\t<div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"1 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2025\/08\/Patio-2-300x225-1.jpg\" alt=\"Hotel patio\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"2 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2025\/08\/Celebrating-768x576-1-300x225.jpg\" alt=\"Celebrating-768x576\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"3 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2026\/04\/Theodore-Motor-Hotel2-300x157.webp\" alt=\"Theodore Motor Hotel\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"4 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2025\/05\/Night-Patio-300x225.jpg\" alt=\"Night-Patio\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"5 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2026\/04\/VLT-300x217.webp\" alt=\"VLT\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"6 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2026\/04\/ATM-162x300.webp\" alt=\"ATM\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"7 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2026\/04\/Theodore-Motor-Hotel1-1.jpeg\" alt=\"Theodore Motor Hotel\" \/><\/figure><\/div><div class=\"swiper-slide\" role=\"group\" aria-roledescription=\"slide\" aria-label=\"8 of 8\"><figure class=\"swiper-slide-inner\"><img decoding=\"async\" class=\"swiper-slide-image\" src=\"https:\/\/theodorehotel.ca\/wp-content\/uploads\/2026\/04\/Theodore-Motor-Hotel3-300x209.webp\" alt=\"Theodore Motor Hotel\" \/><\/figure><\/div>\t\t\t<\/div>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b606efa e-con-full e-flex elementor-invisible e-con e-parent\" data-id=\"b606efa\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;animation&quot;:&quot;rotateInDownLeft&quot;,&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-210ba90 elementor-widget__width-inherit elementor-invisible elementor-widget elementor-widget-wp-widget-mod_vikbooking_horizontalsearch\" data-id=\"210ba90\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;rotateInDownLeft&quot;}\" data-widget_type=\"wp-widget-mod_vikbooking_horizontalsearch.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n<div class=\"vbmodhorsearchmaindiv vbo-horizsearch-standardformat-wrap\">\n\t<form action=\"https:\/\/theodorehotel.ca\/index.php\/room-avaliable\/?task=search\" method=\"post\" id=\"vbo-mod-horsearch-form-325\">\n\t\t<input type=\"hidden\" name=\"task\" value=\"search\" \/>\n\t\t<div class=\"vbmodhorsearchcheckindiv\">\n\t\t\t<label for=\"checkindatemod325\">Check-in date<\/label>\n\t\t\t<div class=\"input-group\">\n\t\t\t\t<input type=\"text\" name=\"checkindate\" id=\"checkindatemod325\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly\/>\n\t\t\t\t<i class=\"far fa-calendar-days vbo-caltrigger\"><\/i>\t\t\t\t<input type=\"hidden\" name=\"checkinh\" value=\"14\"\/>\n\t\t\t\t<input type=\"hidden\" name=\"checkinm\" value=\"0\"\/>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"vbmodhorsearchcheckoutdiv\">\n\t\t\t<label for=\"checkoutdatemod325\">Check-out date<\/label>\n\t\t\t<div class=\"input-group\">\n\t\t\t\t<input type=\"text\" name=\"checkoutdate\" id=\"checkoutdatemod325\" size=\"10\" autocomplete=\"off\" onfocus=\"this.blur();\" readonly\/>\n\t\t\t\t<i class=\"far fa-calendar-days vbo-caltrigger\"><\/i>\t\t\t\t<input type=\"hidden\" name=\"checkouth\" value=\"11\"\/>\n\t\t\t\t<input type=\"hidden\" name=\"checkoutm\" value=\"0\"\/>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t<div class=\"vbmodhorsearchtotnights\" id=\"vbjstotnightsmod325\"><\/div>\n\t\t\t<div class=\"vbmodhorsearchrac\">\n\t\t\n\t\t\t<div class=\"vbmodhorsearchroomsel\">\n\t\t\t\t<label for=\"vbmodformroomsn325\">Rooms<\/label>\t\t\t\t<span class=\"vbhsrnselsp\"><select name=\"roomsnum\" id=\"vbmodformroomsn325\" onchange=\"vbSetRoomsAdultsMod325(this.value);\">\n<option value=\"1\">1<\/option>\n<option value=\"2\">2<\/option>\n<option value=\"3\">3<\/option>\n<option value=\"4\">4<\/option>\n<option value=\"5\">5<\/option>\n<option value=\"6\">6<\/option>\n<option value=\"7\">7<\/option>\n<\/select><\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"vbmodhorsearchroomdentr\">\n\t\t\t\t\n\t\t\t\t<div class=\"vbmodhorsearchroomdentrfirst\">\n\t\t\t\t\t<span class=\"horsrnum\">Room 1<\/span>\t\t\t\t\t<div class=\"horsanumdiv\">\n\t\t\t\t\t\t<label class=\"horsanumlb\" for=\"vbo-mhs-adults-325\">Adults<\/label>\n\t\t\t\t\t\t<span class=\"horsanumsel\"><select name=\"adults[]\" id=\"vbo-mhs-adults-325\" onchange=\"vbCountTotGuests325();\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><option value=\"11\">11<\/option><option value=\"12\">12<\/option><option value=\"13\">13<\/option><option value=\"14\">14<\/option><option value=\"15\">15<\/option><\/select><\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"horscnumdiv\">\n\t\t\t\t\t\t<label class=\"horscnumlb\" for=\"vbo-mhs-children-325\">Children<\/label>\n\t\t\t\t\t\t<span class=\"horscnumsel\"><select name=\"children[]\" id=\"vbo-mhs-children-325\" onchange=\"vbCountTotGuests325();\"><option value=\"0\">0<\/option><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><option value=\"11\">11<\/option><option value=\"12\">12<\/option><option value=\"13\">13<\/option><option value=\"14\">14<\/option><option value=\"15\">15<\/option><\/select><\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t<div class=\"vbmoreroomscontmod\" id=\"vbmoreroomscontmod325\"><\/div>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t<div class=\"vbmodhorsearchbookdiv\">\n\t\t\t<button type=\"submit\" id=\"vbo-mod-horsearch-sbt-325\" class=\"btn vbsearchinputmodhors vbo-pref-color-btn\">Search<\/button>\n\t\t<\/div>\n\n\t\t<script type=\"text\/javascript\">\n\t\t\tjQuery(function() {\n\t\t\t\tjQuery('button#vbo-mod-horsearch-sbt-325').on('click', function(e) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tjQuery(this).prop('disabled', true);\n\t\t\t\t\tjQuery(this).html('<i class=\"fas fa-circle-notch fa-spin fa-fw\"><\/i> ' + jQuery(this).text());\n\t\t\t\t\tjQuery(this).closest('form').submit();\n\t\t\t\t});\n\t\t\t});\n\t\t<\/script>\n\t\t<\/form>\n<\/div>\n\n<div class=\"vbo-modhs-js-helpers\" style=\"display: none;\">\n\t<div class=\"vbo-modhs-add-element-html\">\n\t\t<div class=\"vbmodhorsearchroomdentr\">\n\t\t\t<span class=\"horsrnum\">Room %d<\/span>\n\t\t\t<div class=\"horsanumdiv\">\n\t\t\t\t<label style=\"display: none;\" for=\"vbo-mhs-adults-325-hid\">Adults<\/label>\n\t\t\t\t<span class=\"horsanumsel\"><select name=\"adults[]\" id=\"vbo-mhs-adults-325-hid\" onchange=\"vbCountTotGuests325();\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><option value=\"11\">11<\/option><option value=\"12\">12<\/option><option value=\"13\">13<\/option><option value=\"14\">14<\/option><option value=\"15\">15<\/option><\/select><\/span>\n\t\t\t\t\t\t\t<div class=\"horscnumdiv\">\n\t\t\t\t\t<label style=\"display: none;\" for=\"vbo-mhs-children-325-hid\">Children<\/label>\n\t\t\t\t\t<span class=\"horscnumsel\"><select name=\"children[]\" id=\"vbo-mhs-children-325-hid\" onchange=\"vbCountTotGuests325();\"><option value=\"0\">0<\/option><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><option value=\"11\">11<\/option><option value=\"12\">12<\/option><option value=\"13\">13<\/option><option value=\"14\">14<\/option><option value=\"15\">15<\/option><\/select><\/span>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n<script type=\"text\/javascript\">\nfunction vboModHorSearchSendRequest(elem, formId) {\n\tvar form_el = document.getElementById('vbo-mod-horsearch-form-' + formId);\n\tif (!form_el) {\n\t\tconsole.error('form not found', formId);\n\t\treturn false;\n\t}\n\n\t\/\/ valid all form required fields\n\tif (typeof form_el.checkValidity === 'function' && !form_el.checkValidity()) {\n\t\t\/\/ modern browsers will support this HTML5 method to check the form required fields\n\t\talert(Joomla.JText._('VBO_PLEASE_FILL_FIELDS'));\n\t\treturn false;\n\t}\n\n\t\/\/ make sure the dates have been selected\n\tvar checkin_date_el = jQuery(form_el).find('input[name=\"checkindate\"]');\n\tvar checkout_date_el = jQuery(form_el).find('input[name=\"checkoutdate\"]');\n\tif (!checkin_date_el.length || !checkin_date_el.val().length || !checkout_date_el.length || !checkout_date_el.val().length) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\t\/\/ make sure the dates are not identical to have a min stay of 1 night\n\t\/\/ as by default the datepicker could set equal dates to the hidden fields.\n\tif (checkin_date_el.val() == checkout_date_el.val()) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\n\t\/\/ disable the send request button to avoid double submissions\n\telem.disabled = true;\n\t\n\t\/\/ get form values\n\tvar qstring = jQuery(form_el).serialize();\n\n\t\/\/ make sure the task is not set\n\tqstring = qstring.replace('task=search', '');\n\tqstring = qstring.replace('view=search', '');\n\n\t\/\/ make the ajax request to the controller\n\tjQuery.ajax({\n\t\ttype: \"POST\",\n\t\turl: \"https:\/\/theodorehotel.ca\/wp-admin\/admin-ajax.php?task=submit_inquiry&Itemid=1131&action=vikbooking&vik_ajax_client=site\",\n\t\tdata: qstring\n\t}).done(function(res) {\n\t\tif (!res.hasOwnProperty('status')) {\n\t\t\talert('Invalid response');\n\t\t\t\/\/ re-enable the button\n\t\t\telem.disabled = false;\n\t\t\treturn false;\n\t\t}\n\t\tif (!res.status) {\n\t\t\talert(res.error);\n\t\t\t\/\/ re-enable the button\n\t\t\telem.disabled = false;\n\t\t\treturn false;\n\t\t}\n\t\t\/\/ show success message by replacing all fields\n\t\tjQuery('.vbo-mod-horsearch-inquiry-fields').html('<p class=\"vbo-mod-horsearch-inquiry-mess-success\">' + Joomla.JText._('VBO_THANKS_INQ_SUBMITTED') + '<\/p>');\n\t\t\/\/ remove submit button container\n\t\tjQuery('.vbo-mod-horsearch-inquiry-submit').remove();\n\t}).fail(function(err) {\n\t\talert(err.responseText);\n\t\t\/\/ re-enable the button\n\t\telem.disabled = false;\n\t});\n}\n\nfunction vboModHorSearchBookOnline(formId) {\n\tvar form_el = document.getElementById('vbo-mod-horsearch-form-' + formId);\n\tif (!form_el) {\n\t\tconsole.error('form not found', formId);\n\t\treturn false;\n\t}\n\n\t\/\/ we need to let a button of type button trigger the submit of the \"check availability\"\n\t\/\/ or in case of inquiry, the browser will check the validity of the required fields.\n\n\t\/\/ we only check if the dates have been selected\n\tvar checkin_date_el = jQuery(form_el).find('input[name=\"checkindate\"]');\n\tvar checkout_date_el = jQuery(form_el).find('input[name=\"checkoutdate\"]');\n\tif (!checkin_date_el.length || !checkin_date_el.val().length || !checkout_date_el.length || !checkout_date_el.val().length) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\n\t\/\/ make sure the dates are not identical to have a min stay of 1 night\n\t\/\/ as by default the datepicker could set equal dates to the hidden fields.\n\tif (checkin_date_el.val() == checkout_date_el.val()) {\n\t\talert(Joomla.JText._('VBO_PLEASE_SEL_DATES'));\n\t\treturn false;\n\t}\n\n\t\/\/ simply submit the form to start the booking process\n\tform_el.submit();\n\n\treturn true;\n}\n\nfunction vbAddElementMod325() {\n\tvar ni = document.getElementById('vbmoreroomscontmod325');\n\tvar numi = document.getElementById('vbroomhelpermod325');\n\tvar num = (document.getElementById('vbroomhelpermod325').value -1) + 2;\n\tnumi.value = num;\n\tvar newdiv = document.createElement('div');\n\tvar divIdName = 'vb'+num+'racont';\n\tnewdiv.setAttribute('id', divIdName);\n\t\/\/ build HTML content to append to new element\n\tvar new_element_html = document.getElementsByClassName('vbo-modhs-add-element-html')[0].innerHTML;\n\t\/\/ set room number\n\tlet rp_rgx = new RegExp('%d', 'g');\n\tnew_element_html = new_element_html.replace(rp_rgx, num);\n\t\/\/ get rid of label tag (Web Accessibility)\n\tlet lbl_rgx = new RegExp(\/<label\\s.+>.+<\\\/label>\/, 'g');\n\tnew_element_html = new_element_html.replace(lbl_rgx, '');\n\t\/\/ get rid of any id attribute (Web Accessibility)\n\tlet idattr_rgx = new RegExp(\/id=\"[^\\\"]+\"\/, 'g');\n\tnew_element_html = new_element_html.replace(idattr_rgx, '');\n\t\/\/ set HTML content and append element\n\tnewdiv.innerHTML = new_element_html;\n\tni.appendChild(newdiv);\n}\n\nfunction vbSetRoomsAdultsMod325(totrooms) {\n\tvar actrooms = parseInt(document.getElementById('vbroomhelpermod325').value);\n\tvar torooms = parseInt(totrooms);\n\tvar difrooms;\n\tif (torooms > actrooms) {\n\t\tdifrooms = torooms - actrooms;\n\t\tfor (var ir = 1; ir <= difrooms; ir++) {\n\t\t\tvbAddElementMod325();\n\t\t}\n\t}\n\tif (torooms < actrooms) {\n\t\tfor (var ir = actrooms; ir > torooms; ir--) {\n\t\t\tif (ir > 1) {\n\t\t\t\tvar rmra = document.getElementById('vb' + ir + 'racont');\n\t\t\t\trmra.parentNode.removeChild(rmra);\n\t\t\t}\n\t\t}\n\t\tdocument.getElementById('vbroomhelpermod325').value = torooms;\n\t}\n\tif (document.getElementById('vbmodhorsearch-hum-guests-rooms325')) {\n\t\tdocument.getElementById('vbmodhorsearch-hum-guests-rooms325').innerText = torooms;\n\t\tvbCountTotGuests325();\n\t}\n}\n\nfunction vbCountTotGuests325() {\n\tif (!document.getElementById('vbmodhorsearch-hum-guests-rooms325')) {\n\t\treturn;\n\t}\n\tvar totadults = 0;\n\tvar totchildren = 0;\n\tjQuery('#vbmodhorsearch-hum-guests-count325').parent().find('select[name=\"adults[]\"]').each(function() {\n\t\tvar curel = jQuery(this).find('option:selected');\n\t\tif (curel.length) {\n\t\t\ttotadults += parseInt(curel.val());\n\t\t}\n\t});\n\tjQuery('#vbmodhorsearch-hum-guests-adults325').text(totadults);\n\tif (jQuery('#vbmodhorsearch-hum-guests-children325').length) {\n\t\tjQuery('#vbmodhorsearch-hum-guests-count325').parent().find('select[name=\"children[]\"]').each(function() {\n\t\t\tvar curel = jQuery(this).find('option:selected');\n\t\t\tif (curel.length) {\n\t\t\t\ttotchildren += parseInt(curel.val());\n\t\t\t}\n\t\t});\n\t\tjQuery('#vbmodhorsearch-hum-guests-children325').text(totchildren);\n\t}\n}\n\nfunction vbCalcNightsMod325() {\n\tvar vbcheckin = document.getElementById('checkindatemod325').value;\n\tvar vbcheckout = document.getElementById('checkoutdatemod325').value;\n\tif (vbcheckin.length > 0 && vbcheckout.length > 0) {\n\t\tvar vbcheckinp = vbcheckin.split(\"\/\");\n\t\tvar vbcheckoutp = vbcheckout.split(\"\/\");\n\t\t\tvar vbinmonth = parseInt(vbcheckinp[0]);\n\t\tvbinmonth = vbinmonth - 1;\n\t\tvar vbinday = parseInt(vbcheckinp[1], 10);\n\t\tvar vbcheckind = new Date(vbcheckinp[2], vbinmonth, vbinday);\n\t\tvar vboutmonth = parseInt(vbcheckoutp[0]);\n\t\tvboutmonth = vboutmonth - 1;\n\t\tvar vboutday = parseInt(vbcheckoutp[1], 10);\n\t\tvar vbcheckoutd = new Date(vbcheckoutp[2], vboutmonth, vboutday);\n\t\t\t\tvar vbdivider = 1000 * 60 * 60 * 24;\n\t\tvar vbints = vbcheckind.getTime();\n\t\tvar vboutts = vbcheckoutd.getTime();\n\t\tif (vboutts > vbints) {\n\t\t\t\/\/var vbnights = Math.ceil((vboutts - vbints) \/ (vbdivider));\n\t\t\tvar utc1 = Date.UTC(vbcheckind.getFullYear(), vbcheckind.getMonth(), vbcheckind.getDate());\n\t\t\tvar utc2 = Date.UTC(vbcheckoutd.getFullYear(), vbcheckoutd.getMonth(), vbcheckoutd.getDate());\n\t\t\tvar vbnights = Math.ceil((utc2 - utc1) \/ vbdivider);\n\t\t\tif (vbnights > 0) {\n\t\t\t\tdocument.getElementById('vbjstotnightsmod325').innerHTML = '<div class=\"vbo-horizsearch-numnights-inner\"><span>Nights:<\/span> <span>'+vbnights+'<\/span><\/div>';\n\t\t\t} else {\n\t\t\t\tdocument.getElementById('vbjstotnightsmod325').innerHTML = '';\n\t\t\t}\n\t\t} else {\n\t\t\tdocument.getElementById('vbjstotnightsmod325').innerHTML = '';\n\t\t}\n\t} else {\n\t\tdocument.getElementById('vbjstotnightsmod325').innerHTML = '';\n\t}\n}\n<\/script>\n\n<input type=\"hidden\" id=\"vbroomhelpermod325\" value=\"1\"\/>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b227f84 e-con-full e-flex e-con e-parent\" data-id=\"b227f84\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_theme","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-401","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/pages\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":452,"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/pages\/401\/revisions"}],"predecessor-version":[{"id":2579,"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/pages\/401\/revisions\/2579"}],"wp:attachment":[{"href":"https:\/\/theodorehotel.ca\/index.php\/wp-json\/wp\/v2\/media?parent=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}