var jsVersionPreventCache = "ci-347-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"347","title":"Acqua & Relax","description":"Inclui uma aula de hidrogin\u00e1stica! ","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=2&preselect=promo357&startDay=2026-09-18","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-banner_acqua-amp-relax_golfmar-1.webp"},{"id":"286","title":"Natal","description":"Inclui Surpresa de Natal","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo296&startDay=2026-12-24","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-natal_gm_banner-1.webp"},{"id":"338","title":"Esp\u00edrito Equestre","description":"Jantar buffet e batismo a cavalo inclu\u00eddos","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo348&startDay=2026-04-10","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-espirito-equestre-banner-hotel-golf-mar-1.webp"},{"id":"25","title":"Tarifa Flex\u00edvel","description":"Pague apenas no hotel. Usufrua de vantagens exclusivas!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo30&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-golfa-mar_flexivel-1.webp"},{"id":"352","title":"Escapadinha \u00e0 Beira-Mar - 15%","description":"Reserve j\u00e1 com 15% desconto!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo362&startDay=2026-11-01","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-offer-hotel-golf-mar-2.webp"},{"id":"64","title":"Grey Season - Tarifa +55 anos","description":"Tem 55 anos ou mais? Obtenha um upgrade gr\u00e1tis!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo71&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-old-1.webp"},{"id":"41","title":"Meia Pens\u00e3o","description":"Tarifa Flex\u00edvel em Meia Pens\u00e3o (\u00e1gua inclu\u00edda)","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo48&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-meia-pensa-o-1.webp"},{"id":"336","title":"Love Moments","description":"O amor est\u00e1 \u00e0 beira-mar!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo346&startDay=2026-04-10","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-love-moments-banner-hotel-golf-mar-1.webp"},{"id":"13","title":"N\u00e3o Reembols\u00e1vel","description":"Poupe 10 \u20ac com a nossa tarifa n\u00e3o reembols\u00e1vel.","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo18&startDay=2026-11-11","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-banner-site-1.webp"},{"id":"348","title":"R\u00c9VEILLON 2026-2027","description":"3 Noites de Festa - Midnight in Winter","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=3&preselect=promo358&startDay=2026-12-31","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-banner_gm-1.webp"},{"id":"272","title":"Short Break","description":"Desfrute de 15% em estadias superiores a 3 noites!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=3&preselect=promo282&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-short-break-hotel-golf-mar-1.webp"},{"id":"337","title":"Stress Free","description":"Liberte-se do stress no nosso Spa!","linkLabel":"Clique para mais informa\u00e7\u00f5es","link":"10","bookBtn":"https:\/\/book.hotelgolfmarvimeiro.pt\/?gc=cfcba4e51d3a326d08c1fe7bc4f95b0d&l=pt&nrNights=1&preselect=promo347&startDay=2026-04-10","image":"https:\/\/secure.guestcentric.net\/bin\/675c042f395bdfb4\/thumb-stress-free-banner-hotel-golf-mar-1.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()})}}();