\/noscript>\n\n"}])); var mndCookieHideCloseButton = 'true'; var mndIsSecureShop = true; function mndGetTrackingCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } var mndCustomJs = function() { } if (mndCookieGACode !== '') { var mndCookieGACodeArray = mndCookieGACode.split(','); if(mndCookieGAOptIn === 'true' && mndGetTrackingCookie('mnd-ga-opted-in') !== 'true') { mndCookieGACodeArray.forEach(function(el, index, array){ var gaProperty = mndCookieGACodeArray[index]; var disableStr = 'ga-disable-' + gaProperty; if (mndIsSecureShop !== undefined && mndIsSecureShop === true) { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2118 23:59:59 UTC; path=/; secure'; } else { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2118 23:59:59 UTC; path=/;'; } window[disableStr] = true; }); } else { mndCookieGACodeArray.forEach(function(el, index, array){ var gaProperty = mndCookieGACodeArray[index]; var disableStr = 'ga-disable-' + gaProperty; if (mndGetTrackingCookie(disableStr) === 'true') { window[disableStr] = true; } }); } } window.dataLayer = window.dataLayer || []; for(var i = 0; i < mndCookieCustomTrackingCookiesJSON.length; i++) { var obj = mndCookieCustomTrackingCookiesJSON[i]; if(obj.Name != '' && obj.Cookie != '') { if(obj.Setting === 'Opt-In' && mndGetTrackingCookie(obj.Cookie) !== 'true') { if (mndIsSecureShop !== undefined && mndIsSecureShop === true) { document.cookie = obj.Cookie+'=false; expires=Thu, 31 Dec 2118 23:59:59 UTC; path=/; secure'; } else { document.cookie = obj.Cookie+'=false; expires=Thu, 31 Dec 2118 23:59:59 UTC; path=/;'; } } if(obj.Setting === 'Opt-Out' && mndGetTrackingCookie(obj.Cookie) != 'false') { if (mndIsSecureShop !== undefined && mndIsSecureShop === true) { document.cookie = obj.Cookie+'=true; expires=Thu, 31 Dec 2118 23:59:59 UTC; path=/; secure'; } else { document.cookie = obj.Cookie+'=true; expires=Thu, 31 Dec 2118 23:59:59 UTC; path=/;'; } } } if(obj.Cookie != '') { var layerName = obj.Cookie; arr = []; if(mndGetTrackingCookie(obj.Cookie) === 'true') { arr[layerName] = 'active'; window.dataLayer.push(arr); } else { arr[layerName] = 'inactive'; window.dataLayer.push(arr); } } }