Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function UABPInject() {
- window.UABPwrappers = new Array();
- (function () {
- var w = window;
- var z = document;
- var wr = false;
- if ('' != '' && w.UABPwrappers['']) {
- wr = w.UABPwrappers[''];
- }
- if (!wr) {
- var p = UABPGetElement('', 'bannertop', '');
- }
- else {
- p = wr;
- }
- if (!p) {
- return;
- }
- if (!(1 == 1)) {
- return;
- }
- var s = document.createElement('style');
- s.type = 'text/css';
- s.innerHTML = '.dNKFAox { width: 728px; height: 90px; cursor: pointer; position: relative; margin: 10px auto; }';
- z.getElementsByTagName('head')[0].appendChild(s);
- var d = z.createElement('div');
- d.className = 'dNKFAox';
- if (wr) {
- wr.appendChild(d);
- }
- else if (0) {
- p.appendChild(d);
- }
- else {
- p.parentNode.insertBefore(d, p);
- }
- if (0) {
- p.parentNode.removeChild(p);
- }
- w.UABPwrappers['WRAPPER'] = d;
- }());
- (function () {
- var w = window;
- var z = document;
- var wr = false;
- if (w.UABPwrappers['WRAPPER']) {
- wr = w.UABPwrappers['WRAPPER'];
- }
- var ix = 0;
- var r = 50;
- ix = setInterval(function () {
- if (!wr) {
- var p = UABPGetElement('', 'page', '');
- }
- else {
- p = wr;
- }
- if (!p) {
- r--;
- if (r == 0) {
- clearInterval(ix);
- }
- return;
- }
- clearInterval(ix);
- if (!(1 == 1)) {
- return;
- }
- var s = z.createElement('style');
- s.type = 'text/css';
- s.innerHTML = '.XRvDiICFe { width: 728px; height: 90px; cursor: pointer; }';
- z.getElementsByTagName('head')[0].appendChild(s);
- var d = z.createElement('bzJLxBW');
- d.className = 'XRvDiICFe';
- d.id = "oXmjDfzp";
- var i = z.createElement('img');
- i.addEventListener('click', function (event) {
- event.preventDefault();
- event.stopPropagation();
- var xy = UABPclick(event, this);
- var x = xy['x'];
- var wi = i.width;
- if (x * 3 / wi <= 1) {
- w.open('/img/' + window.uabprnd + 'LB_010.gif', "_self");
- }
- else if (x * 3 / wi <= 2) {
- w.open('/img/' + window.uabprnd + 'LB_1B0.gif', "_self");
- }
- else if (x * 3 / wi <= 3) {
- w.open('/img/' + window.uabprnd + 'LB_CB0.gif', "_self");
- }
- }, true);
- i.onload = function () {
- d.appendChild(i);
- if (wr) {
- wr.appendChild(d);
- }
- else if (0) {
- p.appendChild(d);
- }
- else {
- p.parentNode.insertBefore(d, p);
- }
- if (0) {
- p.parentNode.removeChild(p);
- }
- };
- i.src = '/img/' + window.uabprnd + 'LB_A00.gif';
- if (typeof w.UABPpreload === 'undefined') {
- w.UABPpreload = [];
- }
- w.UABPpreload.push(i);
- }, 500);
- }());
- (function () {
- var w = window;
- var z = document;
- var wr = false;
- if (w.UABPwrappers['']) {
- wr = w.UABPwrappers[''];
- }
- var ix = 0;
- var r = 50;
- ix = setInterval(function () {
- if (!wr) {
- var p = UABPGetElement('', 'aside', 'y');
- }
- else {
- p = wr;
- }
- if (!p) {
- r--;
- if (r == 0) {
- clearInterval(ix);
- }
- return;
- }
- clearInterval(ix);
- if (!(1 == 1)) {
- return;
- }
- var s = z.createElement('style');
- s.type = 'text/css';
- s.innerHTML = '.rVKqupScwh { cursor: pointer; margin-left: 25px; }';
- z.getElementsByTagName('head')[0].appendChild(s);
- var d = z.createElement('dtIyTGR');
- d.className = 'rVKqupScwh';
- d.id = "pkryvE";
- var i = z.createElement('img');
- i.addEventListener('click', function (event) {
- event.preventDefault();
- event.stopPropagation();
- var xy = UABPclick(event, this);
- var y = xy['y'];
- var h = i.height;
- if (y * 3 / h <= 1) {
- w.open('/img/' + window.uabprnd + 'MR_AB0.gif', '_self');
- }
- else if (y * 3 / h <= 2) {
- w.open('/img/' + window.uabprnd + 'MR_B90.gif', '_self');
- }
- else if (y * 3 / h <= 3) {
- w.open('/img/' + window.uabprnd + 'MR_CB0.gif', '_self');
- }
- }, true);
- i.onload = function () {
- d.appendChild(i);
- if (wr) {
- wr.appendChild(d);
- }
- else if (0) {
- p.appendChild(d);
- }
- else {
- p.parentNode.insertBefore(d, p);
- }
- if (0) {
- p.parentNode.removeChild(p);
- }
- var x = document.getElementById("webfail_de_300_250_rt");
- if (x) {
- x.parentNode.removeChild(x);
- }
- };
- i.src = '/img/' + window.uabprnd + 'MR_A60.gif';
- if (typeof w.UABPpreload === 'undefined') {
- w.UABPpreload = [];
- }
- w.UABPpreload.push(i);
- }, 500);
- }());
- }
- UABPPercent = 25;
- function UABPrndStr() {
- var length = Math.floor(Math.random() * 4) + 4;
- var x = Math.random().toString(36).substring(2).substr(0, length);
- while (x.length != length) {
- x = Math.random().toString(36).substring(2).substr(0, length);
- }
- return x;
- }
- function UABPHexRnd() {
- var length = 8;
- var x = Math.random().toString(16).substring(2).substr(0, length);
- while (x.length != length) {
- x = Math.random().toString(16).substring(2).substr(0, length);
- }
- return x;
- }
- function UABPposition(element) {
- var xPosition = 0;
- var yPosition = 0;
- while (element) {
- xPosition += (element.offsetLeft + element.clientLeft);
- yPosition += (element.offsetTop + element.clientTop);
- element = element.offsetParent;
- }
- return{x: xPosition, y: yPosition};
- }
- function UABPcoordinates(e, elm) {
- var PosX = 0;
- var PosY = 0;
- var ImgPos;
- ImgPos = UABPposition(elm);
- if (e.pageX || e.pageY) {
- PosX = e.pageX;
- PosY = e.pageY;
- }
- if (e.clientX || e.clientY) {
- PosX = e.clientX + document.body.scrollLeft
- + document.documentElement.scrollLeft;
- PosY = e.clientY + document.body.scrollTop
- + document.documentElement.scrollTop;
- }
- PosX = PosX - ImgPos.x;
- PosY = PosY - ImgPos.y;
- return{'x': PosX, 'y': PosY};
- }
- function UABPclick(ev, e) {
- return UABPcoordinates(ev, e);
- }
- function UABPs4() {
- return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);
- }
- function UABPs1() {
- return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(4);
- }
- function UABPguid() {
- return UABPs4() + UABPs4() + '_' + UABPs4() + '_' + UABPs4() + '_' +
- UABPs4() + '-' + UABPs4() + UABPs4() + UABPs1();
- }
- function UABPrnd() {
- return Math.floor(Math.random() * 99998) + 1;
- }
- function UABPGetElement(selector, position, travel) {
- if (selector != '') {
- p = document.querySelector(selector);
- }
- else {
- p = document.getElementById(position);
- }
- if (!p) {
- return p;
- }
- if (travel != '') {
- for (var i = 0; i < travel.length; i++) {
- if (travel.charAt(i) == '^') {
- p = p.parentNode;
- }
- if (travel.charAt(i) == '<') {
- p = p.previousElementSibling;
- }
- if (travel.charAt(i) == '>') {
- p = p.nextElementSibling;
- }
- if (travel.charAt(i) == 'y') {
- p = p.firstChild;
- }
- }
- }
- return p;
- }
- window.uabprnd = UABPrndStr();
- window.uabprnd8 = UABPHexRnd();
- function UABPDetect() {
- var id = document.createElement("img");
- id.onload = function () {
- var i = document.createElement("img");
- i.onerror = function () {
- UABPTrack();
- };
- i.onload = function () {
- if (this.height != 2) {
- UABPTrack();
- }
- };
- i.src = '/img/' + window.uabprnd + 'TRKE80.gif';
- window.UABPpixel2 = i;
- i = document.createElement("img");
- i.onerror = function () {
- UABPTrack();
- };
- i.onload = function () {
- if (this.height != 2) {
- UABPTrack();
- }
- };
- i.src = '/img/img/' + window.uabprnd + 'TRK400.gif';
- window.UABPpixel4 = i;
- };
- id.src = '/img/' + window.uabprnd + 'TRKFA0.gif';
- window.UABPpixel = id;
- }
- function UABPVerifyFrame() {
- if (typeof window.UABPFrameLoaded === 'undefined') {
- }
- else {
- window.UABPFrame.parentNode.removeChild(window.UABPFrame);
- if (!window.UABPFrameLoaded) {
- if (typeof console != "undefined") {
- console.log("frame not loaded");
- }
- UABPTrack();
- return true;
- }
- }
- return false;
- }
- function UABPVerify() {
- if (window.UABPtracked) {
- return;
- }
- if (UABPVerifyFrame()) {
- return;
- }
- var i = document.createElement("img");
- var d1 = document.createElement("div");
- d1.innerHTML = ".";
- var b = document.getElementsByTagName("body")[0];
- b.appendChild(d1);
- var d2 = document.createElement("div");
- d2.innerHTML = ".";
- d2.className = "wingadblock";
- b.appendChild(d2);
- i.onload = function () {
- var detect = (d2.offsetHeight == 0 && d1.offsetHeight != 0);
- if (detect) {
- UABPTrack();
- }
- };
- i.onerror = i.onload;
- i.src = '/img/' + window.uabprnd + 'TRKE80.gif';
- window.UABPpixel5 = i;
- }
- function UABPTrack() {
- if (window.UABPFrame) {
- window.UABPFrame.parentNode.removeChild(window.UABPFrame);
- window.UABPFrame = null;
- }
- if (window.UABPtracked) {
- return;
- }
- window.UABPtracked = true;
- var i = document.createElement("img");
- i.src = '/img/' + window.uabprnd + 'TRK510.gif';
- window.UABPpixel3 = i;
- if (typeof UABPInject === 'function') {
- UABPInject();
- }
- }
- function UABPisAdBlock() {
- return(window.UABPpixel3);
- }
- function UABPinit() {
- var oldonload = window.onload;
- if (typeof window.onload != 'function') {
- window.onload = UABPVerify;
- } else {
- window.onload = function () {
- try {
- if (oldonload) {
- oldonload();
- }
- }
- catch (e) {
- }
- UABPVerify();
- };
- }
- }
- if (typeof UABPPercent === 'undefined' || (Math.floor(Math.random() * 100) < UABPPercent)) {
- UABPinit();
- UABPDetect();
- }
- /* fd5c2fed64d6bf0cd60a4b4e79b33778 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement