   
(function () {
    var k = window.kooboo = window.kooboo || {};
    k.Services = k.Services || {};
     (function (k) {
    'use strict';
    var messenger = {
        postMessage: function (message, targetFrame, targetDomain) {
            if (targetFrame !== window) {
                targetFrame.postMessage(message, targetDomain);
            } else {
                window.postMessage(message, window.location.origin);
            }
        },
        isInHostingPage: function () {
            return parent !== window;
        }
    };

    k.Services.messageService = messenger;
})(kooboo);;
})();
 
(function (w, $) {
    var config = w.CookiePolicyConfig = w.CookiePolicyConfig || {};
    $.extend(config,
    {
        customClose: false,
        policyWidth: "860",
        policyHeight: "600",
        homePageUrl: "https://www.pinnacle.com/en/cookiepolicy/index",
        iframeId: "cookiepolicy",
        uiType: "desktop",
        allUITypes: {
            mobile:"mobile",
            desktop:"desktop"
        },
        loaderJsUrl: "https://www.pinnacle.com/Cms_Data/Sites/CookiePolicy/Scripts/loader/loader.js",
        cookieName: "CookiePolicyAccepted",
        cookieLifeTime:365,
            
            referDomain: "https://www.pinnacle.com",
            
                    
            allBannerPositions:
            {
                top: "top",
                bottom: "bottom"
            },
            bannerPosition:"top"
            
     });

    
    $.ajax({
        type: "GET",
        url: config.loaderJsUrl,
        dataType: "script",
        cache: true
    });
})(window, jQuery);
