Welcome on MPmetal.com forum |
||
MPmetal.com - Steel at the Best Price on the Web | 2024-04-25 | |
© 2002-2008 let cc; function removeCookie(name) { document.cookie = name + '=; Path=/; domain=.mpmetal.com; SameSite=Strict; Expires=Thu, 01 Jan 1970 00:00:01 GMT;' document.cookie = name + '=; Path=/; domain=.www.mpmetal.com; SameSite=Strict; Expires=Thu, 01 Jan 1970 00:00:01 GMT;' document.cookie = name + '=; Path=/; domain=www.mpmetal.com; SameSite=Strict; Expires=Thu, 01 Jan 1970 00:00:01 GMT;' document.cookie = name + '=; Path=/; SameSite=Strict; Expires=Thu, 01 Jan 1970 00:00:01 GMT;'; } document.addEventListener('DOMContentLoaded', function () { if (typeof BootstrapCookieConsentSettings !== 'undefined') { cc = new BootstrapCookieConsentSettings ({contentURL: '/gdpr/', languages:['en','de','fr','it','pt','es'], lang:'en'}); //cc = new BootstrapCookieConsentSettings ({contentURL: '/content/'}); const ccSettings = cc.getSettings(); if (ccSettings && ccSettings.analyses) { var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6739041-1']); _gaq.push(['_trackPageview']); (function() { let ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = 'https://www.googletagmanager.com/gtag/js?id=UA-6739041-1'; let s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-6739041-1'); })(); } else { removeCookie('_gat_gtag_UA_6739041_1'); removeCookie('_gid'); removeCookie('_ga'); removeCookie('ads'); } if (ccSettings && ccSettings.personalization) { const e = document.getElementById('stayloggedin'); if (e) { e.disabled = false; e.checked = true; } } else { removeCookie('login_authWWW'); removeCookie('login_email'); } } else { var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6739041-1']); _gaq.push(['_trackPageview']); (function() { let ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = 'https://www.googletagmanager.com/gtag/js?id=UA-6739041-1'; let s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-6739041-1'); })(); } }); |