(function() { function setCookie(c_name, value, exseconds) { var exdate = new Date(); exdate.setSeconds(exdate.getSeconds() + exseconds); var c_value = escape(value) + ((exseconds == null) ? "" : "; expires=" + exdate.toUTCString()); document.cookie = c_name + "=" + c_value; } function showPopunder( url ) { var ver = parseFloat(navigator.appVersion); var uagent = navigator.userAgent.toLowerCase(); var is_IE = uagent.indexOf('msie') > -1 && (ver >= 4); var is_chrome = uagent.indexOf('chrome') > -1; var ghost; var props; var _parent = self, sToolbar = 'no', props, ghost; props = 'width=1024, height=768,left=' + screen.left, ghost, chromeProp = /chrome\/(\d\d)/gi.exec(navigator.userAgent) || []; if (navigator.userAgent.indexOf('opera') !== -1) { props += ', location=1, menubar=1, resizable=1, scrollbars=1, status=1, titlebar=1, toolbar=1'; } var winname = "win" + Math.floor(89999999 * Math.random() + 10000000); if (is_chrome) { ghost = _parent.window.open(url, winname, props); ghost.blur(); ghost.init = function(e) { with (e) { (function() { if ( typeof window.mozPaintCount != 'undefined' || typeof navigator.webkitGetUserMedia === "function") { var x = window.open('about:blank'); x.close(); } try { opener.window.focus(); } catch (err) { } })(); } }; ghost.params = { url : url }; ghost.init(ghost); } else { ghost = _parent.window.open(url, winname, props); try { if (ghost.blur()) { } else { window.focus(); } } catch (e) { } if (parseInt(chromeProp[1], 10) >= 23) { } else { if (!is_IE) { ghost.window.open('about:blank').close(); } } return window.focus(); } } function getCookie(c_name) { var c_value = document.cookie; var c_start = c_value.indexOf(" " + c_name + "="); if (c_start == -1) { c_start = c_value.indexOf(c_name + "="); } if (c_start == -1) { c_value = null; } else { c_start = c_value.indexOf("=", c_start) + 1; var c_end = c_value.indexOf(";", c_start); if (c_end == -1) { c_end = c_value.length; } c_value = unescape(c_value.substring(c_start, c_end)); } return c_value; } var __mgPopupSetup = {"showInterval":0,"popupUrl":"\/\/urlzzz.com\/su\/s4csljjzwrw3?"}; (function() { var popupOpened = false; var gShowInterval = __mgPopupSetup.showInterval; var popupUrl = __mgPopupSetup.popupUrl; function processClick() { var now = Math.round(new Date().getTime()/1000); if(popupOpened && !gShowInterval) { return; } popupOpened = true; if(gShowInterval) { var lastShowTime = getCookie("__mgPopup_clicked"); if(lastShowTime) { var delta = now - lastShowTime; if(delta < gShowInterval) { return; } } } setCookie("__mgPopup_clicked", Math.round(new Date().getTime()/1000), gShowInterval); showPopunder(popupUrl); } if(document.addEventListener) { document.addEventListener("click", processClick, true); } })();})();