Logo

Hello, Choose a country.

Jamaica

Jamaica

Cayman Islands

Cayman Islands

Guyana

Guyana

Trinidad & Tobago

Trinidad & Tobago

Scroll to Top
(function () { 'use strict'; function init() { var cfg = window.gkBanner; if (!cfg) return; var banner = document.querySelector('.promo-campaign-banner'); if (!banner) return; // 1. Clickable image link overlay if (cfg.imageLink) { var a = document.createElement('a'); a.href = cfg.imageLink; a.className = 'gk-banner-link-overlay'; a.setAttribute('aria-label', 'Banner link'); banner.appendChild(a); } // 2. Sticky mode — close button with dismiss if (cfg.mode === 'sticky') { if (localStorage.getItem('gk-banner-sticky-closed') === '1') { banner.style.display = 'none'; return; } banner.appendChild(createCloseButton(function () { localStorage.setItem('gk-banner-sticky-closed', '1'); banner.style.display = 'none'; })); } // 3. Popup mode if (cfg.mode === 'popup') { var dismissKey = 'gk-banner-popup-dismissed'; if (localStorage.getItem(dismissKey) === '1') return; setTimeout(function () { var overlay = document.createElement('div'); overlay.className = 'gk-banner-popup-overlay'; var inner = document.createElement('div'); inner.className = 'gk-banner-popup-inner'; var cloned = banner.cloneNode(true); // Remove any close/link elements added to the inline banner cloned.querySelectorAll('.gk-banner-close, .gk-banner-link-overlay').forEach(function (el) { el.remove(); }); // Re-add link overlay inside popup clone if applicable if (cfg.imageLink) { var pa = document.createElement('a'); pa.href = cfg.imageLink; pa.className = 'gk-banner-link-overlay'; pa.setAttribute('aria-label', 'Banner link'); cloned.appendChild(pa); } var popupClose = createCloseButton(function () { localStorage.setItem(dismissKey, '1'); if (document.body.contains(overlay)) document.body.removeChild(overlay); }); inner.appendChild(cloned); inner.appendChild(popupClose); overlay.appendChild(inner); document.body.appendChild(overlay); // Click outside to dismiss overlay.addEventListener('click', function (e) { if (e.target === overlay) { localStorage.setItem(dismissKey, '1'); if (document.body.contains(overlay)) document.body.removeChild(overlay); } }); }, 3000); } } function createCloseButton(onClick) { var btn = document.createElement('button'); btn.className = 'gk-banner-close'; btn.setAttribute('type', 'button'); btn.setAttribute('aria-label', 'Close banner'); btn.innerHTML = '×'; btn.addEventListener('click', onClick); return btn; } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', init); } else { init(); } })();