(function () { const urlParams = new URLSearchParams(window.location.search); const networkName = urlParams.get(''); if (networkName) { const d = new Date; d.setTime(d.getTime() + 24 * 60 * 60 * 1000 * 100); document.cookie = 'network' + "=" + networkName + ";path=/;expires=" + d.toGMTString(); } })();