(function (window, document) {function getFromLocalStorageOMG(name) { try { if (window.localStorage) { return window.localStorage.getItem(name); } return ''; } catch (e) { console.log(e) } };function getCookieOMG(cname) { try { var name = cname + '=';var decodedCookie = decodeURIComponent(document.cookie);var ca = decodedCookie.split(';');for (var i = 0; i < ca.length; i++) {var c = ca[i]; while (c.charAt(0) == ' ') {c = c.substring(1);} if (c.indexOf(name) == 0) { return c.substring(name.length, c.length);}} return '';} catch (e) { console.log(e) } };function insertImageTagOMG(tag) {var bodyElement = document.getElementsByTagName('body')[0];if (bodyElement != null) {var x = document.createElement('IMG');x.setAttribute('src', tag); x.setAttribute('width', '1'); x.setAttribute('height', '1'); bodyElement.appendChild(x); } else { var iNew = document.createElement('img');iNew.src = tag;var s0 = document.getElementsByTagName('script')[0];s0.parentNode.insertBefore(iNew, s0); }};var newtag = 'https://track.omguk.com/e/si/?appid=2&mid=2123853&pid=38848&status=&';var cookieValue = getCookieOMG('OMG-2123853');var lsValue = '';var finalValue = cookieValue || lsValue;if (newtag.indexOf('channel') > -1 && finalValue.indexOf('channel') > -1) { finalValue = finalValue.substring(0, finalValue.indexOf('&channel')); };newtag += finalValue;insertImageTagOMG(newtag);}(window, document));