var jsVersionPreventCache = "20261021"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"17","title":" Is it now ? Summer Promotion","description":"Enjoy the summer and get free Wifi!","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=f5b9adf0aa28b7b8b2b62ebe9fc0b20b&l=en&nrNights=2&preselect=promo19&startDay=2026-10-25","image":"https:\/\/secure.guestcentric.net\/bin\/8503d231fe67a33e\/thumb-hotelcovell21-2-of-10-5.jpg"},{"id":"15","title":"Flash Promotion","description":"Next weekend is for chappions","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=f5b9adf0aa28b7b8b2b62ebe9fc0b20b&l=en&nrNights=5&preselect=promo17&startDay=2026-10-23","image":"https:\/\/secure.guestcentric.net\/bin\/8503d231fe67a33e\/thumb-quarto-211-4311.jpg"},{"id":"27","title":"Summer Promo","description":"This is for you","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=f5b9adf0aa28b7b8b2b62ebe9fc0b20b&l=en&nrNights=2&preselect=promo30&startDay=2026-10-23","image":"https:\/\/secure.guestcentric.net\/bin\/8503d231fe67a33e\/thumb-vila-foz-hotel-amp-spa-spa-21-2.webp"},{"id":"14","title":"weekend Promotion","description":"Enjoy the weekend and get free Wifi.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=f5b9adf0aa28b7b8b2b62ebe9fc0b20b&l=en&nrNights=2&preselect=promo16&startDay=1969-12-31","image":"https:\/\/secure.guestcentric.net\/bin\/8503d231fe67a33e\/thumb-hotel-covell-bannerch1_living3.jpg"}]', 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()})}}();