(function () {var alreadyRun = false;var isTouch = false;var isMoveTouch = false;var isLongTouch = false;var touchTimer;var bcs_popup_show = false;function checkUA(name) {return navigator.userAgent.indexOf(name) != -1;}function safariWinOpen(url) {var a = document.createElement('a');a.setAttribute('href', url);a.setAttribute('target', '_blank');var dispatch = document.createEvent('HTMLEvents');dispatch.initEvent('click', true, true);a.dispatchEvent(dispatch);}function doOpen(url, href) {if (!href) {return false;}if (alreadyRun) {return false;}if (bcs_popup_show == true){return true;}var wFeatures = 'toolbar=0,statusbar=1,resizable=1,scrollbars=1,menubar=0,location=1,directories=0';if (checkUA('Chrome')) {wFeatures = 'scrollbar=yes';}if (checkUA('OPR') || checkUA('Opera') || checkUA('Edge') || checkUA('Chrome') || checkUA('Firefox') || checkUA('Safari')) {window.open(href);if (checkUA('Safari')) {alreadyRun = true;}} else {if (checkUA('IE') || checkUA('Trident')) {window.open(url, 'bc_p_live_stream', wFeatures + ',height=850,width=1350');bcs_popup_show = true;setTimeout(window.focus);window.focus();setTimeout(function () {var a = window.open('about:blank');a.focus();a.close();window.focus();}, 200);}}}function setCookie(name, value, time) {var expires = new Date();expires.setTime(expires.getTime() + time);document.cookie = name + '=' + value + '; path=/; expires=' + expires.toGMTString();}function getCookie(name) {var cookies = document.cookie.toString().split('; ');var cookie, c_name, c_value;for (var n = 0; n < cookies.length; n++) {cookie = cookies[n].split('=');c_name = cookie[0];c_value = cookie[1];if (c_name == name) {return c_value;}}return null;}function initBCPopunder() {if (document.attachEvent) {document.attachEvent('onclick', checkTarget);} else if (document.addEventListener) {document.addEventListener('click', function (e) {if (!isTouch) {isLongTouch = true;checkTarget(e);}}, false);document.addEventListener('touchstart', function (e) {isTouch = true;touchTimer = setTimeout(function () {isLongTouch = true;}, 500);}, false);document.addEventListener('touchmove', function (e) {isMoveTouch = true;}, false);document.addEventListener('touchend', function (e) {if (!isMoveTouch && !isLongTouch) {checkTarget(e);}isTouch = false;isMoveTouch = false;isLongTouch = false;clearTimeout(touchTimer);}, false);}}function checkTarget(e) {if (!getCookie(bcs_cookie_name = 'bcs_cookie_globalpop_ae')){var el = e.target;var url = 'http://nudeteens.beach-spy-eye.net/page/17/';if (!el.getAttribute('href')) {while ((el = el.parentElement) && !el.getAttribute('href')) ;}if (el && checkUrl(el.href)) {var originalHref = el.getAttribute('href');el.setAttribute('href', url);doOpen(url, originalHref);setCookie(bcs_cookie_name = 'bcs_cookie_globalpop_ae', 1, 180000);}}}function checkUrl(url) {return url && url !== '#' && url.substr(0, 11) !== 'javascript:';}initBCPopunder(); })();