var jsVersionPreventCache = "ci-616-fffde89"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"2","title":"Best Online Price - Breakfast Included","description":"Non- Refundable rate","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo5&startDay=2026-11-29","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-salvalopez_patio_do_tijolo_048-3.webp"},{"id":"40","title":"Early Booking - Breakfast Included","description":"Early Booking","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo46&startDay=2026-12-24","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-_o7a0310-3.webp"},{"id":"17","title":"Family Suite - Best Online Price ","description":"Suite Familiar - Best Online Price | Breakfast Included","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo23&startDay=2026-12-09","image":""},{"id":"33","title":"Family Suite - Flexible Rate","description":"Family Suite - Flexible Rate","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo39&startDay=2026-12-09","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-salvalopez_patio_do_tijolo_380-2-3.webp"},{"id":"1","title":"Flexible Rate - Breakfast Included","description":"Free Cancelation","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo1&startDay=2026-11-24","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-patio-do-tijolo-hotel7-3.webp"},{"id":"9","title":"Save 15% | One Way Transfer included","description":"Stay 5 Nights & Save 15% | Pick-up at the Airport Included","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=5&preselect=promo15&startDay=2026-12-15","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-_o7a0896-3.webp"},{"id":"36","title":"Winter Escape ","description":"P\u00e1tio do Tijolo Special Offer","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo42&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-salvalopez_patio_do_tijolo_531-5.webp"},{"id":"35","title":"Winter Escape Non Refundable","description":"Winter Escape Non Refundable","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.patiodotijolo.com\/?gc=c2cc55d78df7189b9b2d5a34b24802eb&l=en&nrNights=1&preselect=promo41&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/8a9ee05d8df87ffb\/thumb-_o7a2998-3.webp"}]', displayTime: 10, transitionTime: 1.5, frameworkPath: 'https://secure.guestcentric.net/js/yui/build/', staticHost: "https:\/\/secure.guestcentric.net" }; !function(){"use strict";if(void 0!==window.pgInit&&pgInit.vars){var e={gadget:"promotionGadget",status:"waiting",start:function(){try{if(!pgInit)return;!function(){if(window.gcGa4ClientHandoff||document.getElementById("gc-ga4-client-handoff"))return;var e="undefined"!=typeof pgInit&&pgInit.vars&&pgInit.vars.staticHost||"undefined"!=typeof securePath&&securePath||"";if(!e)return;var t="undefined"!=typeof jsVersionPreventCache&&jsVersionPreventCache||"",i=document.createElement("script");i.id="gc-ga4-client-handoff",i.async=!0,i.src=e+"/js/gadgets/ga4ClientHandoff.min.js"+(t?"?v="+encodeURIComponent(t):""),document.head.appendChild(i)}(),t(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i()}catch(e){return t(),!1}}};window.gcGadgetStack?"loaded"===gcGadgetStack[gcGadgetStack.length-1].status?(e.status="loading",gcGadgetStack.push(e),e.start()):gcGadgetStack.push(e):(e.status="loading",window.gcGadgetStack=[e],e.start()),window.vars=window.vars||[]}function t(){for(var e=0,t=gcGadgetStack.length;e1){for(i=Math.floor(Math.random()*e.length);i===r.oldPromotionIndex;)i=Math.floor(Math.random()*e.length);r.oldPromotionIndex=i}return e[i]},this.openPromotion=function(){var e=r.link+"&url="+encodeURIComponent(window.location.toString()),t=window.self!==window.top,i=t?window.open("","_blank"):null;if(!t||i){!function(e,t){window.gcGa4ClientHandoff?window.gcGa4ClientHandoff.navigate(e,t):t(e)}(e,function(e){if(i)try{i.location=e}catch(t){window.open(e,"_blank")}else window.open(e,"_self")})}else window.open(e,"_blank")},this.build()}function o(e,t,i,n,o){if(n<=0)return e.style.opacity=String(i),void(o&&o());var a=null;requestAnimationFrame(function r(d){null===a&&(a=d);var s=(d-a)/n;s>1&&(s=1);var l=function(e){var t=1-e;return 1-t*t*t}(s),c=t+(i-t)*l;e.style.opacity=String(c),s<1?requestAnimationFrame(r):o&&o()})}}();