Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var w = void 0,
- y = !0,
- z = null,
- I = !1;
- (function (v, j, zb) {
- function db(a) {
- return /[\\\"<>\.;]/.exec(a) != z && typeof encodeURIComponent != A ? encodeURIComponent(a) : a
- }
- function W(a, b) {
- if (eb) {
- var c = b ? "visible" : "hidden";
- X && L(a) ? L(a).style.visibility = c : fb("#" + a, "visibility:" + c)
- }
- }
- function fb(a, b, c, e) {
- if (!p.c || !p.P) {
- var g = q.getElementsByTagName("head")[0];
- if (g) {
- c = c && "string" == typeof c ? c : "screen";
- e && (Fa = O = z);
- if (!O || Fa != c) e = q.createElement("style"), e.setAttribute("type", "text/css"), e.setAttribute("media", c), O = g.appendChild(e), p.c && (p.d && typeof q.styleSheets !=
- A && 0 < q.styleSheets.length) && (O = q.styleSheets[q.styleSheets.length - 1]), Fa = c;
- p.c && p.d ? O && typeof O.addRule == P && O.addRule(a, b) : O && typeof q.createTextNode != A && O.appendChild(q.createTextNode(a + " {" + b + "}"))
- }
- }
- }
- function na(a) {
- var b = p.l;
- a = a.split(".");
- a[0] = parseInt(a[0], 10);
- a[1] = parseInt(a[1], 10) || 0;
- a[2] = parseInt(a[2], 10) || 0;
- return b[0] > a[0] || b[0] == a[0] && b[1] > a[1] || b[0] == a[0] && b[1] == a[1] && b[2] >= a[2] ? y : I
- }
- function L(a) {
- var b = z;
- try {
- b = q.getElementById(a)
- } catch (c) {}
- return b
- }
- function gb(a) {
- var b = L(a);
- b && "OBJECT" ==
- b.nodeName && (p.c && p.d ? (b.style.display = "none", function () {
- if (4 == b.readyState) {
- var c = L(a);
- if (c) {
- for (var e in c) "function" == typeof c[e] && (c[e] = z);
- c.parentNode.removeChild(c)
- }
- } else setTimeout(arguments.callee, 10)
- }()) : b.parentNode.removeChild(b))
- }
- function Ga(a, b, c) {
- var e, g = L(c);
- if (p.h && 312 > p.h) return e;
- if (g)
- if (typeof a.id == A && (a.id = c), p.c && p.d) {
- var h = "",
- d;
- for (d in a) a[d] != Object.prototype[d] && ("data" == d.toLowerCase() ? b.movie = a[d] : "styleclass" == d.toLowerCase() ? h += ' class\x3d"' + a[d] + '"' : "classid" != d.toLowerCase() &&
- (h += " " + d + '\x3d"' + a[d] + '"'));
- d = "";
- for (var f in b) b[f] != Object.prototype[f] && (d += '\x3cparam name\x3d"' + f + '" value\x3d"' + b[f] + '" /\x3e');
- g.outerHTML = '\x3cobject classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + h + "\x3e" + d + "\x3c/object\x3e";
- oa[oa.length] = a.id;
- e = L(a.id)
- } else {
- f = q.createElement(P);
- f.setAttribute("type", pa);
- for (var k in a) a[k] != Object.prototype[k] && ("styleclass" == k.toLowerCase() ? f.setAttribute("class", a[k]) : "classid" != k.toLowerCase() && f.setAttribute(k, a[k]));
- for (h in b) b[h] != Object.prototype[h] &&
- "movie" != h.toLowerCase() && (a = f, d = h, k = b[h], c = q.createElement("param"), c.setAttribute("name", d), c.setAttribute("value", k), a.appendChild(c));
- g.parentNode.replaceChild(f, g);
- e = f
- }
- return e
- }
- function Ha(a) {
- var b = q.createElement("div");
- if (p.d && p.c) b.innerHTML = a.innerHTML;
- else if (a = a.getElementsByTagName(P)[0])
- if (a = a.childNodes)
- for (var c = a.length, e = 0; e < c; e++)!(1 == a[e].nodeType && "PARAM" == a[e].nodeName) && 8 != a[e].nodeType && b.appendChild(a[e].cloneNode(y));
- return b
- }
- function Ab(a) {
- if (p.c && p.d && 4 != a.readyState) {
- var b =
- q.createElement("div");
- a.parentNode.insertBefore(b, a);
- b.parentNode.replaceChild(Ha(a), b);
- a.style.display = "none";
- (function () {
- 4 == a.readyState ? a.parentNode.removeChild(a) : setTimeout(arguments.callee, 10)
- })()
- } else a.parentNode.replaceChild(Ha(a), a)
- }
- function Ia(a, b, c, e) {
- qa = y;
- Ja = e || z;
- hb = {
- success: I,
- id: c
- };
- var g = L(c);
- if (g) {
- "OBJECT" == g.nodeName ? (fa = Ha(g), ra = z) : (fa = g, ra = c);
- a.id = ib;
- if (typeof a.width == A || !/%$/.test(a.width) && 310 > parseInt(a.width, 10)) a.width = "310";
- if (typeof a.height == A || !/%$/.test(a.height) && 137 >
- parseInt(a.height, 10)) a.height = "137";
- q.title = q.title.slice(0, 47) + " - Flash Player Installation";
- e = p.c && p.d ? "ActiveX" : "PlugIn";
- e = "MMredirectURL\x3d" + H.location.toString().replace(/&/g, "%26") + "\x26MMplayerType\x3d" + e + "\x26MMdoctitle\x3d" + q.title;
- b.flashvars = typeof b.flashvars != A ? b.flashvars + ("\x26" + e) : e;
- p.c && (p.d && 4 != g.readyState) && (e = q.createElement("div"), c += "SWFObjectNew", e.setAttribute("id", c), g.parentNode.insertBefore(e, g), g.style.display = "none", function () {
- 4 == g.readyState ? g.parentNode.removeChild(g) :
- setTimeout(arguments.callee, 10)
- }());
- Ga(a, b, c)
- }
- }
- function Ka() {
- return !qa && na("6.0.65") && (p.d || p.P) && !(p.h && 312 > p.h)
- }
- function La(a) {
- var b = z;
- if ((a = L(a)) && "OBJECT" == a.nodeName) typeof a.SetVariable != A ? b = a : (a = a.getElementsByTagName(P)[0]) && (b = a);
- return b
- }
- function Ma() {
- var a = S.length;
- if (0 < a)
- for (var b = 0; b < a; b++) {
- var c = S[b].id,
- e = S[b].ba,
- g = {
- success: I,
- id: c
- };
- if (0 < p.l[0]) {
- var h = L(c);
- if (h)
- if (na(S[b].oa) && !(p.h && 312 > p.h)) W(c, y), e && (g.success = y, g.Q = La(c), e(g));
- else if (S[b].N && Ka()) {
- g = {};
- g.data = S[b].N;
- g.width = h.getAttribute("width") ||
- "0";
- g.height = h.getAttribute("height") || "0";
- h.getAttribute("class") && (g.kb = h.getAttribute("class"));
- h.getAttribute("align") && (g.align = h.getAttribute("align"));
- for (var d = {}, h = h.getElementsByTagName("param"), f = h.length, k = 0; k < f; k++) "movie" != h[k].getAttribute("name").toLowerCase() && (d[h[k].getAttribute("name")] = h[k].getAttribute("value"));
- Ia(g, d, c, e)
- } else Ab(h), e && e(g)
- } else if (W(c, y), e) {
- if ((c = La(c)) && typeof c.SetVariable != A) g.success = y, g.Q = c;
- e(g)
- }
- }
- }
- function jb(a) {
- if (typeof H.addEventListener != A) H.addEventListener("load",
- a, I);
- else if (typeof q.addEventListener != A) q.addEventListener("load", a, I);
- else if (typeof H.attachEvent != A) {
- var b = H;
- b.attachEvent("onload", a);
- aa[aa.length] = [b, "onload", a]
- } else if ("function" == typeof H.onload) {
- var c = H.onload;
- H.onload = function () {
- c();
- a()
- }
- } else H.onload = a
- }
- function kb(a) {
- X ? a() : sa[sa.length] = a
- }
- function ba() {
- if (!X) {
- try {
- var a = q.getElementsByTagName("body")[0].appendChild(q.createElement("span"));
- a.parentNode.removeChild(a)
- } catch (b) {
- return
- }
- X = y;
- for (var a = sa.length, c = 0; c < a; c++) sa[c]()
- }
- }
- function lb(a) {
- return /[\\\"<>\.;]/.exec(a) !=
- z && typeof encodeURIComponent != x ? encodeURIComponent(a) : a
- }
- function Y(a, b) {
- if (mb) {
- var c = b ? "visible" : "hidden";
- Z && M(a) ? M(a).style.visibility = c : nb("#" + a, "visibility:" + c)
- }
- }
- function nb(a, b, c, e) {
- if (!n.c || !n.P) {
- var g = u.getElementsByTagName("head")[0];
- if (g) {
- c = c && "string" == typeof c ? c : "screen";
- e && (Na = Q = z);
- if (!Q || Na != c) e = u.createElement("style"), e.setAttribute("type", "text/css"), e.setAttribute("media", c), Q = g.appendChild(e), n.c && (n.d && typeof u.styleSheets != x && 0 < u.styleSheets.length) && (Q = u.styleSheets[u.styleSheets.length -
- 1]), Na = c;
- n.c && n.d ? Q && typeof Q.addRule == R && Q.addRule(a, b) : Q && typeof u.createTextNode != x && Q.appendChild(u.createTextNode(a + " {" + b + "}"))
- }
- }
- }
- function ta(a) {
- var b = n.l;
- a = a.split(".");
- a[0] = parseInt(a[0], 10);
- a[1] = parseInt(a[1], 10) || 0;
- a[2] = parseInt(a[2], 10) || 0;
- return b[0] > a[0] || b[0] == a[0] && b[1] > a[1] || b[0] == a[0] && b[1] == a[1] && b[2] >= a[2] ? y : I
- }
- function M(a) {
- var b = z;
- try {
- b = u.getElementById(a)
- } catch (c) {}
- return b
- }
- function ob(a) {
- var b = M(a);
- b && "OBJECT" == b.nodeName && (n.c && n.d ? (b.style.display = "none", function () {
- if (4 == b.readyState) {
- var c =
- M(a);
- if (c) {
- for (var e in c) "function" == typeof c[e] && (c[e] = z);
- c.parentNode.removeChild(c)
- }
- } else setTimeout(arguments.callee, 10)
- }()) : b.parentNode.removeChild(b))
- }
- function Oa(a, b, c) {
- var e, g = M(c);
- if (n.h && 312 > n.h) return e;
- if (g)
- if (typeof a.id == x && (a.id = c), n.c && n.d) {
- var h = "",
- d;
- for (d in a) a[d] != Object.prototype[d] && ("data" == d.toLowerCase() ? b.movie = a[d] : "styleclass" == d.toLowerCase() ? h += ' class\x3d"' + a[d] + '"' : "classid" != d.toLowerCase() && (h += " " + d + '\x3d"' + a[d] + '"'));
- d = "";
- for (var f in b) b[f] != Object.prototype[f] &&
- (d += '\x3cparam name\x3d"' + f + '" value\x3d"' + b[f] + '" /\x3e');
- g.outerHTML = '\x3cobject classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + h + "\x3e" + d + "\x3c/object\x3e";
- ua[ua.length] = a.id;
- e = M(a.id)
- } else {
- f = u.createElement(R);
- f.setAttribute("type", va);
- for (var k in a) a[k] != Object.prototype[k] && ("styleclass" == k.toLowerCase() ? f.setAttribute("class", a[k]) : "classid" != k.toLowerCase() && f.setAttribute(k, a[k]));
- for (h in b) b[h] != Object.prototype[h] && "movie" != h.toLowerCase() && (a = f, d = h, k = b[h], c = u.createElement("param"),
- c.setAttribute("name", d), c.setAttribute("value", k), a.appendChild(c));
- g.parentNode.replaceChild(f, g);
- e = f
- }
- return e
- }
- function Pa(a) {
- var b = u.createElement("div");
- if (n.d && n.c) b.innerHTML = a.innerHTML;
- else if (a = a.getElementsByTagName(R)[0])
- if (a = a.childNodes)
- for (var c = a.length, e = 0; e < c; e++)!(1 == a[e].nodeType && "PARAM" == a[e].nodeName) && 8 != a[e].nodeType && b.appendChild(a[e].cloneNode(y));
- return b
- }
- function Bb(a) {
- if (n.c && n.d && 4 != a.readyState) {
- var b = u.createElement("div");
- a.parentNode.insertBefore(b, a);
- b.parentNode.replaceChild(Pa(a),
- b);
- a.style.display = "none";
- (function () {
- 4 == a.readyState ? a.parentNode.removeChild(a) : setTimeout(arguments.callee, 10)
- })()
- } else a.parentNode.replaceChild(Pa(a), a)
- }
- function Qa(a, b, c, e) {
- wa = y;
- Ra = e || z;
- pb = {
- success: I,
- id: c
- };
- var g = M(c);
- if (g) {
- "OBJECT" == g.nodeName ? (ga = Pa(g), xa = z) : (ga = g, xa = c);
- a.id = qb;
- if (typeof a.width == x || !/%$/.test(a.width) && 310 > parseInt(a.width, 10)) a.width = "310";
- if (typeof a.height == x || !/%$/.test(a.height) && 137 > parseInt(a.height, 10)) a.height = "137";
- u.title = u.title.slice(0, 47) + " - Flash Player Installation";
- e = n.c && n.d ? "ActiveX" : "PlugIn";
- e = "MMredirectURL\x3d" + J.location.toString().replace(/&/g, "%26") + "\x26MMplayerType\x3d" + e + "\x26MMdoctitle\x3d" + u.title;
- b.flashvars = typeof b.flashvars != x ? b.flashvars + ("\x26" + e) : e;
- n.c && (n.d && 4 != g.readyState) && (e = u.createElement("div"), c += "SWFObjectNew", e.setAttribute("id", c), g.parentNode.insertBefore(e, g), g.style.display = "none", function () {
- 4 == g.readyState ? g.parentNode.removeChild(g) : setTimeout(arguments.callee, 10)
- }());
- Oa(a, b, c)
- }
- }
- function Sa() {
- return !wa && ta("6.0.65") && (n.d ||
- n.P) && !(n.h && 312 > n.h)
- }
- function Ta(a) {
- var b = z;
- if ((a = M(a)) && "OBJECT" == a.nodeName) typeof a.SetVariable != x ? b = a : (a = a.getElementsByTagName(R)[0]) && (b = a);
- return b
- }
- function Ua() {
- var a = T.length;
- if (0 < a)
- for (var b = 0; b < a; b++) {
- var c = T[b].id,
- e = T[b].ba,
- g = {
- success: I,
- id: c
- };
- if (0 < n.l[0]) {
- var h = M(c);
- if (h)
- if (ta(T[b].oa) && !(n.h && 312 > n.h)) Y(c, y), e && (g.success = y, g.Q = Ta(c), e(g));
- else if (T[b].N && Sa()) {
- g = {};
- g.data = T[b].N;
- g.width = h.getAttribute("width") || "0";
- g.height = h.getAttribute("height") || "0";
- h.getAttribute("class") && (g.kb =
- h.getAttribute("class"));
- h.getAttribute("align") && (g.align = h.getAttribute("align"));
- for (var d = {}, h = h.getElementsByTagName("param"), f = h.length, k = 0; k < f; k++) "movie" != h[k].getAttribute("name").toLowerCase() && (d[h[k].getAttribute("name")] = h[k].getAttribute("value"));
- Qa(g, d, c, e)
- } else Bb(h), e && e(g)
- } else if (Y(c, y), e) {
- if ((c = Ta(c)) && typeof c.SetVariable != x) g.success = y, g.Q = c;
- e(g)
- }
- }
- }
- function rb(a) {
- if (typeof J.addEventListener != x) J.addEventListener("load", a, I);
- else if (typeof u.addEventListener != x) u.addEventListener("load",
- a, I);
- else if (typeof J.attachEvent != x) {
- var b = J;
- b.attachEvent("onload", a);
- ca[ca.length] = [b, "onload", a]
- } else if ("function" == typeof J.onload) {
- var c = J.onload;
- J.onload = function () {
- c();
- a()
- }
- } else J.onload = a
- }
- function sb(a) {
- Z ? a() : ya[ya.length] = a
- }
- function da() {
- if (!Z) {
- try {
- var a = u.getElementsByTagName("body")[0].appendChild(u.createElement("span"));
- a.parentNode.removeChild(a)
- } catch (b) {
- return
- }
- Z = y;
- for (var a = ya.length, c = 0; c < a; c++) ya[c]()
- }
- }
- function G(a, b) {
- function c() {}
- c.prototype = b.prototype;
- a.prototype = new c;
- a.prototype.constructor =
- a;
- a.ob = b.prototype;
- b.prototype.constructor == Object.prototype.constructor && (b.prototype.constructor = b)
- }
- function tb(a) {
- this.a = d.parseJSON(d.D(a));
- v.globalInfo = {};
- d.log(this.a);
- if (this.a.ukDomain && this.a.ukUri && !v.udata && !this.a.dontGoToUK) {
- var b = this,
- c = setTimeout(function () {
- b.ma()
- }, 5E3);
- d.$(this.a.ukDomain, this.a.ukUri, function (a) {
- clearTimeout(c);
- d.parseJSON(d.D(a));
- v.globalInfo.udata = a;
- b.ma()
- }, "jsf")
- } else !this.a.foreignUid && this.a.matchingUrl && this.xa(this.a.matchingUrl), this.ma()
- }
- function ub() {}
- function K() {}
- function za() {}
- function Va() {}
- function Wa() {}
- function Xa() {}
- function ea() {}
- function Ya() {}
- function Aa() {}
- function Za() {}
- function $a() {}
- function ha() {}
- function ia() {}
- function ab() {}
- var x = "undefined",
- R = "object",
- va = "application/x-shockwave-flash",
- qb = "SWFObjectExprInst",
- J = v,
- u = j,
- U = navigator,
- vb = I,
- ya = [
- function () {
- if (vb) {
- var a = u.getElementsByTagName("body")[0],
- b = u.createElement(R);
- b.setAttribute("type", va);
- var c = a.appendChild(b);
- if (c) {
- var e = 0;
- (function () {
- if (typeof c.GetVariable != x) {
- var g = c.GetVariable("$version");
- g && (g = g.split(" ")[1].split(","), n.l = [parseInt(g[0], 10), parseInt(g[1], 10), parseInt(g[2], 10)])
- } else if (10 > e) {
- e++;
- setTimeout(arguments.callee, 10);
- return
- }
- a.removeChild(b);
- c = z;
- Ua()
- })()
- } else Ua()
- } else Ua()
- }
- ],
- T = [],
- ua = [],
- ca = [],
- ga, xa, Ra, pb, Z = I,
- wa = I,
- Q, Na, mb = y,
- n, Cb = typeof u.getElementById != x && typeof u.getElementsByTagName != x && typeof u.createElement != x,
- Ba = U.userAgent.toLowerCase(),
- Ca = U.platform.toLowerCase(),
- Db = Ca ? /win/.test(Ca) : /win/.test(Ba),
- Eb = Ca ? /mac/.test(Ca) : /mac/.test(Ba),
- Fb = /webkit/.test(Ba) ? parseFloat(Ba.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,
- "$1")) : I,
- bb = !+"\v1",
- ja = [0, 0, 0],
- F = z;
- if (typeof U.plugins != x && typeof U.plugins["Shockwave Flash"] == R) {
- if ((F = U.plugins["Shockwave Flash"].description) && !(typeof U.mimeTypes != x && U.mimeTypes[va] && !U.mimeTypes[va].enabledPlugin)) vb = y, bb = I, F = F.replace(/^.*\s+(\S+\s+\S+$)/, "$1"), ja[0] = parseInt(F.replace(/^(.*)\..*$/, "$1"), 10), ja[1] = parseInt(F.replace(/^.*\.(.*)\s.*$/, "$1"), 10), ja[2] = /[a-zA-Z]/.test(F) ? parseInt(F.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0
- } else if (typeof J.ActiveXObject != x) try {
- var wb = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
- if (wb && (F = wb.GetVariable("$version"))) bb = y, F = F.split(" ")[1].split(","), ja = [parseInt(F[0], 10), parseInt(F[1], 10), parseInt(F[2], 10)]
- } catch (Wb) {}
- n = {
- j: Cb,
- l: ja,
- h: Fb,
- c: bb,
- d: Db,
- P: Eb
- };
- n.j && ((typeof u.readyState != x && "complete" == u.readyState || typeof u.readyState == x && (u.getElementsByTagName("body")[0] || u.body)) && da(), Z || (typeof u.addEventListener != x && u.addEventListener("DOMContentLoaded", da, I), n.c && n.d && (u.attachEvent("onreadystatechange", function () {
- "complete" == u.readyState && (u.detachEvent("onreadystatechange",
- arguments.callee), da())
- }), J == top && function () {
- if (!Z) {
- try {
- u.Ha.doScroll("left")
- } catch (a) {
- setTimeout(arguments.callee, 0);
- return
- }
- da()
- }
- }()), n.h && function () {
- Z || (/loaded|complete/.test(u.readyState) ? da() : setTimeout(arguments.callee, 0))
- }(), rb(da)));
- n.c && n.d && v.attachEvent("onunload", function () {
- for (var a = ca.length, b = 0; b < a; b++) ca[b][0].detachEvent(ca[b][1], ca[b][2]);
- a = ua.length;
- for (b = 0; b < a; b++) ob(ua[b]);
- for (var c in n) n[c] = z;
- n = z;
- for (var e in d.p) d.p[e] = z;
- d.p = z
- });
- ub.prototype = {
- U: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
- L: "left:-10000px;top:-10000px;height:1px;width:1px;position:absolute;",
- O: function () {
- return !v.addEventListener && !j.querySelector && v.attachEvent
- },
- u: function () {
- if ("BackCompat" == j.compatMode && 10 > d.Wa()) return I;
- var a = j.createElement("div");
- a.style.cssText = "position:fixed";
- return a.style.position.match("fixed") ? y : I
- },
- Xa: function (a) {
- a.matchUrl && (this.M(a.matchUrl).style.cssText = this.L)
- },
- ca: function (a) {
- if (0 == a.limit && 0 == a.period) return y;
- if (this.ha(a.periodName) == z) {
- var b = parseInt(this.ha(a.limitName));
- if (0 ==
- a.limit || isNaN(b) || b < a.limit) return y
- }
- return I
- },
- Wa: function () {
- var a = 999; - 1 != navigator.appVersion.indexOf("MSIE") && (a = parseFloat(navigator.appVersion.split("MSIE")[1]));
- return a
- },
- Ba: function (a) {
- var b = new Date,
- c = parseInt(this.ha(a.limitName), 10),
- c = isNaN(c) ? 1 : c + 1;
- b.setTime(b.getTime() + 6E4 * parseInt(a.period, 10));
- this.pa(a.periodName, 1, b, "/");
- b.setTime(b.getTime() + 432E5);
- this.pa(a.limitName, c, b, "/")
- },
- pa: function (a, b) {
- var c = arguments,
- e = c.length,
- g = 2 < e ? c[2] : z,
- h = 3 < e ? c[3] : z,
- d = 4 < e ? c[4] : z;
- j.cookie = a + "\x3d" + encodeURIComponent(b) +
- (g == z ? "" : "; expires\x3d" + g.toGMTString()) + (h == z ? "" : "; path\x3d" + h) + (d == z ? "" : "; domain\x3d" + d) + ((5 < e ? c[5] : I) == y ? "; secure" : "")
- },
- na: function () {
- var a, b = j.createElement("div"),
- c = ["Khtml", "Ms", "O", "Moz", "Webkit"],
- e = c.length;
- a = function (a) {
- if (a in b.style) return y;
- for (a = a.replace(/^[a-z]/, function (a) {
- return a.toUpperCase()
- }); e--;)
- if (c[e] + a in b.style) return y;
- return I
- };
- return a("boxShadow") && a("borderRadius")
- },
- log: function (a) {
- console && (console.log ? console.log(arguments) : console.debug && console.debug(arguments))
- },
- ha: function (a) {
- var b = " " + j.cookie;
- a = " " + a + "\x3d";
- var c = z,
- e = 0,
- g = 0;
- 0 < b.length && (e = b.indexOf(a), -1 != e && (e += a.length, g = -1 == b.indexOf(";", e) ? b.length : b.indexOf(";", e), c = decodeURIComponent(b.substring(e, g))));
- return c
- },
- Ja: function (a, b) {
- var c = "",
- e = "",
- g, h, d, f, k, j = 0;
- b &= 255;
- a = this.nb(a);
- for (h = 0; h < a.length; e += String.fromCharCode(b ^ a.charCodeAt(h)), h++);
- for (a = e; j < a.length;) g = a.charCodeAt(j++), e = a.charCodeAt(j++), h = a.charCodeAt(j++), d = g >> 2, g = (g & 3) << 4 | e >> 4, f = (e & 15) << 2 | h >> 6, k = h & 63, isNaN(e) ? f = k = 64 : isNaN(h) && (k = 64),
- c = c + this.U.charAt(d) + this.U.charAt(g) + this.U.charAt(f) + this.U.charAt(k);
- return c
- },
- D: function (a, b) {
- a = a.replace(/[\-]/g, "+").replace(/[_]/g, "/");
- for (var c = [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- 49, 50, 51, -1, -1, -1, -1, -1
- ], e, g, h = 0, d = [], f = 0, k = 0, h = 0; h < a.length; h++) g = a.charCodeAt(h), e = c[g & 127], -1 === e ? this.log("Illegal characters (code\x3d" + g + ") in position " + h) : (k = k << 6 | e, f += 6, 8 <= f && (f -= 8, "\x3d" !== a.charAt(h) && d.push(k >> f & 255), k &= (1 << f) - 1));
- if (b) {
- c = [];
- b &= 255;
- for (e = 0; e < d.length; c.push(b ^ d[e]), e++);
- d = c
- }
- return this.mb(d)
- },
- mb: function (a) {
- for (var b = [], c = 0, e = a.length, g, h, d; c < e;) g = a[c], h = a[c + 1], d = a[c + 2], 128 > g ? (b.push(String.fromCharCode(g)), c += 1) : 191 < g && 224 > g ? (b.push(String.fromCharCode((g & 31) << 6 | h & 63)),
- c += 2) : (b.push(String.fromCharCode((g & 15) << 12 | (h & 63) << 6 | d & 63)), c += 3);
- return b.join("")
- },
- nb: function (a) {
- a = a.replace(/\r\n/g, "\n");
- for (var b = "", c = 0; c < a.length; c++) {
- var e = a.charCodeAt(c);
- 128 > e ? b += String.fromCharCode(e) : (127 < e && 2048 > e ? b += String.fromCharCode(e >> 6 | 192) : (b += String.fromCharCode(e >> 12 | 224), b += String.fromCharCode(e >> 6 & 63 | 128)), b += String.fromCharCode(e & 63 | 128))
- }
- return b
- },
- bb: function (a) {
- function b(a, b) {
- var d = a[0],
- l = a[1],
- m = a[2],
- f = a[3],
- d = e(d, l, m, f, b[0], 7, -680876936),
- f = e(f, d, l, m, b[1], 12, -389564586),
- m = e(m, f, d, l, b[2], 17, 606105819),
- l = e(l, m, f, d, b[3], 22, -1044525330),
- d = e(d, l, m, f, b[4], 7, -176418897),
- f = e(f, d, l, m, b[5], 12, 1200080426),
- m = e(m, f, d, l, b[6], 17, -1473231341),
- l = e(l, m, f, d, b[7], 22, -45705983),
- d = e(d, l, m, f, b[8], 7, 1770035416),
- f = e(f, d, l, m, b[9], 12, -1958414417),
- m = e(m, f, d, l, b[10], 17, -42063),
- l = e(l, m, f, d, b[11], 22, -1990404162),
- d = e(d, l, m, f, b[12], 7, 1804603682),
- f = e(f, d, l, m, b[13], 12, -40341101),
- m = e(m, f, d, l, b[14], 17, -1502002290),
- l = e(l, m, f, d, b[15], 22, 1236535329),
- d = g(d, l, m, f, b[1], 5, -165796510),
- f = g(f, d, l, m, b[6], 9, -1069501632),
- m = g(m, f, d, l, b[11], 14, 643717713),
- l = g(l, m, f, d, b[0], 20, -373897302),
- d = g(d, l, m, f, b[5], 5, -701558691),
- f = g(f, d, l, m, b[10], 9, 38016083),
- m = g(m, f, d, l, b[15], 14, -660478335),
- l = g(l, m, f, d, b[4], 20, -405537848),
- d = g(d, l, m, f, b[9], 5, 568446438),
- f = g(f, d, l, m, b[14], 9, -1019803690),
- m = g(m, f, d, l, b[3], 14, -187363961),
- l = g(l, m, f, d, b[8], 20, 1163531501),
- d = g(d, l, m, f, b[13], 5, -1444681467),
- f = g(f, d, l, m, b[2], 9, -51403784),
- m = g(m, f, d, l, b[7], 14, 1735328473),
- l = g(l, m, f, d, b[12], 20, -1926607734),
- d = c(l ^ m ^ f, d, l, b[5], 4, -378558),
- f = c(d ^ l ^ m, f, d, b[8], 11, -2022574463),
- m = c(f ^ d ^ l, m, f, b[11], 16, 1839030562),
- l = c(m ^ f ^ d, l, m, b[14], 23, -35309556),
- d = c(l ^ m ^ f, d, l, b[1], 4, -1530992060),
- f = c(d ^ l ^ m, f, d, b[4], 11, 1272893353),
- m = c(f ^ d ^ l, m, f, b[7], 16, -155497632),
- l = c(m ^ f ^ d, l, m, b[10], 23, -1094730640),
- d = c(l ^ m ^ f, d, l, b[13], 4, 681279174),
- f = c(d ^ l ^ m, f, d, b[0], 11, -358537222),
- m = c(f ^ d ^ l, m, f, b[3], 16, -722521979),
- l = c(m ^ f ^ d, l, m, b[6], 23, 76029189),
- d = c(l ^ m ^ f, d, l, b[9], 4, -640364487),
- f = c(d ^ l ^ m, f, d, b[12], 11, -421815835),
- m = c(f ^ d ^ l, m, f, b[15], 16, 530742520),
- l = c(m ^ f ^ d, l, m, b[2], 23, -995338651),
- d = h(d, l, m, f, b[0], 6, -198630844),
- f = h(f, d, l, m, b[7], 10, 1126891415),
- m = h(m, f, d, l, b[14], 15, -1416354905),
- l = h(l, m, f, d, b[5], 21, -57434055),
- d = h(d, l, m, f, b[12], 6, 1700485571),
- f = h(f, d, l, m, b[3], 10, -1894986606),
- m = h(m, f, d, l, b[10], 15, -1051523),
- l = h(l, m, f, d, b[1], 21, -2054922799),
- d = h(d, l, m, f, b[8], 6, 1873313359),
- f = h(f, d, l, m, b[15], 10, -30611744),
- m = h(m, f, d, l, b[6], 15, -1560198380),
- l = h(l, m, f, d, b[13], 21, 1309151649),
- d = h(d, l, m, f, b[4], 6, -145523070),
- f = h(f, d, l, m, b[11], 10, -1120210379),
- m = h(m, f, d, l, b[2], 15, 718787259),
- l = h(l, m, f, d, b[9], 21, -343485551);
- a[0] = k(d, a[0]);
- a[1] =
- k(l, a[1]);
- a[2] = k(m, a[2]);
- a[3] = k(f, a[3])
- }
- function c(a, b, c, e, d, g) {
- b = k(k(b, a), k(e, g));
- return k(b << d | b >>> 32 - d, c)
- }
- function e(a, b, e, d, g, f, h) {
- return c(b & e | ~b & d, a, b, g, f, h)
- }
- function g(a, b, e, d, g, f, h) {
- return c(b & d | e & ~d, a, b, g, f, h)
- }
- function h(a, b, e, d, g, f, h) {
- return c(e ^ (b | ~d), a, b, g, f, h)
- }
- function d(a) {
- var c = a.length,
- e = [1732584193, -271733879, -1732584194, 271733878],
- g;
- for (g = 64; g <= a.length; g += 64) {
- for (var f = a.substring(g - 64, g), h = [], k = w, k = 0; 64 > k; k += 4) h[k >> 2] = f.charCodeAt(k) + (f.charCodeAt(k + 1) << 8) + (f.charCodeAt(k + 2) <<
- 16) + (f.charCodeAt(k + 3) << 24);
- b(e, h)
- }
- a = a.substring(g - 64);
- f = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
- for (g = 0; g < a.length; g++) f[g >> 2] |= a.charCodeAt(g) << (g % 4 << 3);
- f[g >> 2] |= 128 << (g % 4 << 3);
- if (55 < g) {
- b(e, f);
- for (g = 0; 16 > g; g++) f[g] = 0
- }
- f[14] = 8 * c;
- b(e, f);
- return e
- }
- function f(a) {
- for (var b = 0; b < a.length; b++) {
- for (var c = a[b], e = "", d = 0; 4 > d; d++) e += j[c >> 8 * d + 4 & 15] + j[c >> 8 * d & 15];
- a[b] = e
- }
- return a.join("")
- }
- function k(a, b) {
- return a + b & 4294967295
- }
- var j = "0123456789abcdef".split("");
- "5d41402abc4b2a76b9719d911017c592" != f(d("hello")) && (k = function (a,
- b) {
- var c = (a & 65535) + (b & 65535);
- return (a >> 16) + (b >> 16) + (c >> 16) << 16 | c & 65535
- });
- return f(d(a))
- },
- ka: function (a, b, c, e) {
- var d = navigator.userAgent.toLowerCase(); - 1 != d.indexOf("safari") && -1 == d.indexOf("chrome") && (e = e || "width\x3d" + v.screen.width + ",height\x3d" + v.screen.height + ",left\x3d0,top\x3d0,menubar\x3dno,location\x3dno,resizable\x3dyes,scrollbars\x3dyes,status\x3dno");
- a = v.open(a, c || "", e);
- b || (a.blur(), v.focus())
- },
- e: function (a) {
- var b = +new Date % 1E6;
- return "/?" + b + "\x3d" + this.Ja(a.replace("/?", ""), b)
- },
- p: {
- fb: function (a,
- b, c, e) {
- if (n.j && a && b) {
- var d = {};
- d.id = a;
- d.oa = b;
- d.N = c;
- d.ba = e;
- T[T.length] = d;
- Y(a, I)
- } else e && e({
- success: I,
- id: a
- })
- },
- Qa: function (a) {
- if (n.j) return Ta(a)
- },
- I: function (a, b, c, e, d, h, j, f, k, s) {
- var C = {
- success: I,
- id: b
- };
- n.j && !(n.h && 312 > n.h) && a && b && c && e && d ? (Y(b, I), sb(function () {
- c += "";
- e += "";
- var r = {};
- if (k && typeof k === R)
- for (var t in k) r[t] = k[t];
- r.data = a;
- r.width = c;
- r.height = e;
- t = {};
- if (f && typeof f === R)
- for (var l in f) t[l] = f[l];
- if (j && typeof j === R)
- for (var m in j) t.flashvars = typeof t.flashvars != x ? t.flashvars + ("\x26" + m + "\x3d" + j[m]) :
- m + "\x3d" + j[m];
- if (ta(d)) l = Oa(r, t, b), r.id == b && Y(b, y), C.success = y, C.Q = l;
- else {
- if (h && Sa()) {
- r.data = h;
- Qa(r, t, b, s);
- return
- }
- Y(b, y)
- }
- s && s(C)
- })) : s && s(C)
- },
- lb: function () {
- mb = I
- },
- T: n,
- Oa: function () {
- return {
- Za: n.l[0],
- cb: n.l[1],
- gb: n.l[2]
- }
- },
- ia: ta,
- Ga: function (a, b, c) {
- if (n.j) return Oa(a, b, c)
- },
- ib: function (a, b, c, e) {
- n.j && Sa() && Qa(a, b, c, e)
- },
- hb: function (a) {
- n.j && ob(a)
- },
- Fa: function (a, b, c, e) {
- n.j && nb(a, b, c, e)
- },
- Ca: sb,
- Da: rb,
- Ra: function (a) {
- var b = u.location.search || u.location.hash;
- if (b) {
- /\?/.test(b) && (b = b.split("?")[1]);
- if (a == z) return lb(b);
- for (var b = b.split("\x26"), c = 0; c < b.length; c++)
- if (b[c].substring(0, b[c].indexOf("\x3d")) == a) return lb(b[c].substring(b[c].indexOf("\x3d") + 1))
- }
- return ""
- },
- La: function () {
- if (wa) {
- var a = M(qb);
- a && ga && (a.parentNode.replaceChild(ga, a), xa && (Y(xa, y), n.c && n.d && (ga.style.display = "block")), Ra && Ra(pb));
- wa = I
- }
- }
- },
- parseJSON: function (a) {
- return eval("(" + a + ")")
- },
- $: function (a, b, c, e) {
- e = e || "jclb";
- if (c) {
- var g = "jsonp" + String(Math.random()).slice(4);
- b += "\x26" + e + "\x3dwindow." + g;
- v[g] = function (a) {
- scriptOk = y;
- v[g] = w;
- try {
- delete v[g]
- } catch (b) {}
- d.log("Callback called");
- c(a)
- }
- }
- b = this.e(b);
- e = this.r("script");
- e.src = a + b;
- return e
- },
- M: function (a, b) {
- var c = this.r("img", b);
- c.src = a;
- return c
- },
- Z: function (a, b) {
- var c = this.r("iframe", b);
- c.src = a;
- return c
- },
- r: function (a, b) {
- var c = j.createElement(a);
- b ? b.appendChild(c) : j.body.appendChild(c);
- return c
- },
- Ta: function () {
- var a = 0,
- b = 0;
- v.screen ? (b = v.screen.width, a = v.screen.height) : v.Ya && (a = v.Ya.awt.Toolkit.getDefaultToolkit().getScreenSize(), b = a.width, a = a.height);
- return "\x26width\x3d" + b + "\x26height\x3d" + a
- },
- $a: function (a, b) {
- function c(a) {
- a = [navigator.userAgent, [screen.width, screen.height, screen.colorDepth].join("x"), (new Date).getTimezoneOffset(), !! window.sessionStorage, !! window.localStorage, a != z ? a.version : "undefined", (a != z ? a.fonts : []).join("::"), e(navigator.plugins, function (a) {
- return [a.name, a.description, e(a, function (a) {
- return [a.type, a.suffixes].join("~")
- }).join(",")].join("::")
- }).join(";")].join("###");
- a = h.bb(a);
- h.M(b + "?t\x3dfr\x26fr\x3d" + a).style.cssText = h.L;
- h.log("FR: " + a)
- }
- function e(a, b) {
- for (var c, e = 0, d = a.length, f = []; e < d; e++) c = b(a[e], e), c != z && (f[f.length] =
- c);
- return f
- }
- var d = {
- quality: "high",
- bgcolor: "#F7F7F7",
- allowscriptaccess: "always",
- scale: "noscale",
- salign: "tl",
- align: "l",
- wmode: "opaque"
- };
- this.J = this.p.ia("1");
- var h = this,
- j = this.r("div");
- j.style.cssText = "left:-10000px;height:1px;width:1px;position:absolute;";
- var f = window.document.createElement("div");
- f.id = "plshldr_" + +new Date;
- j.appendChild(f);
- this.J ? (window["frcb_" + f.id] = c, this.p.I(a + "img/fr.swf?v\x3d1", f.id, "1", "1", "10.0.0", "", {
- clb: "frcb_" + f.id
- }, d, {})) : c(z)
- },
- Pa: function () {
- function a(a, b) {
- return "\x26jsBrowser\x3d" +
- (a + (b ? "_" + b : "")).toUpperCase()
- }
- var b = v.chrome != w,
- c = j.getBoxObjectFor != z || v.mozInnerScreenX != z,
- e = "ontouchstart" in window;
- return v.ya != w && v.ya_cf != w ? a("yandex") : b && e ? a("chrome", "mobile") : b ? a("chrome") : c && e ? a("mobile", "firefox") : c ? a("firefox") : v.operamini != w ? a("opera", "mini") : v.opera != w ? a("opera") : ""
- },
- W: function (a) {
- function b() {
- return self.innerHeight ? self.innerHeight : j.documentElement && j.documentElement.clientHeight ? j.documentElement.clientHeight : j.body ? j.body.clientHeight : 600
- }
- function c() {
- var a = 0,
- b = 0;
- if ("number" == typeof v.pageYOffset) b = v.pageYOffset, a = v.pageXOffset;
- else if (j.body && (j.body.scrollLeft || j.body.scrollTop)) b = j.body.scrollTop, a = j.body.scrollLeft;
- else if (j.documentElement && (j.documentElement.scrollLeft || j.documentElement.scrollTop)) b = j.documentElement.scrollTop, a = j.documentElement.scrollLeft;
- return [a, b]
- }
- switch (a.type) {
- case "top":
- a.C.style.top = c()[1] + "px";
- break;
- case "center":
- a.C.style.top = b() / 2 + c()[1] - a.C.offsetHeight + "px";
- break;
- default:
- a.C.style.top = b() + c()[1] - a.C.offsetHeight + "px"
- }
- },
- Sa: function (a) {
- return j.referrer && -1 == a.indexOf("\x26ref\x3d") ? "\x26ref\x3d" + encodeURIComponent(j.referrer) : ""
- },
- Va: function (a) {
- return -1 == a.indexOf("\x26ref\x3d") ? "\x26ref\x3d" + encodeURIComponent(v.location.href) : ""
- },
- Ka: function (a, b) {
- return -1 !== a.indexOf(b, a.length - b.length)
- },
- k: function () {
- var a = (j.compatMode || this.ja) && !this.Y ? "CSS1Compat" == j.compatMode ? j.documentElement.clientHeight : j.body.clientHeight : (j.eb || j.defaultView).innerHeight;
- d.log(a);
- return a
- },
- ra: function () {
- return (j.compatMode || this.ja) && !this.Y ? "CSS1Compat" == j.compatMode ? j.documentElement.clientWidth : j.body.clientWidth : (j.eb || j.defaultView).innerWidth
- },
- o: function () {
- return Math.max(v.pageYOffset || j.documentElement.scrollTop, j.body.scrollTop)
- }
- };
- tb.prototype = {
- a: {},
- n: {},
- f: z,
- ma: function () {
- function a(a) {
- d.$a(b.a.scriptsDomain, b.a.rotatorDomain);
- a = d.parseJSON(d.D(a));
- d.log("Success RT, ", a);
- d.Xa(a);
- b.n = a;
- b.a.rtUri.replace("/?", "");
- var c = {
- br: Gb,
- as: Hb,
- tl: Ib,
- cf: Jb,
- vkm: Kb,
- rot: Lb,
- popup: Mb,
- mppund: Nb,
- tsr: Ob,
- scr: Pb,
- pin: Qb,
- mdirect: Rb
- };
- if (a.ads)
- for (var h =
- 0; h < a.ads.length; h++) {
- var j = c[a.ads[h].format];
- j ? (d.log(a.ads[h].clickUri), a.ads[h].clickUri += d.Va(a.ads[h].clickUri), d.log("Rendering,", a.ads[h]), d.log(a.ads[h].clickUri), j.m(a.ads[h])) : d.log("Cant render ad:", a.ads[h])
- }
- }
- var b = this,
- c = this.a.rtUri.replace("/?", "");
- this.a.rotatorDomain && this.a.rtUri && d.$(this.a.rotatorDomain, this.a.rtUri + this.Ua(c) + d.Ta() + d.Pa() + d.Sa(c), a)
- },
- xa: function (a) {
- d.M(a).style.cssText = "width:1px;height:1px;position:absolute;left:-10000px;"
- },
- Ua: function (a) {
- var b = "";
- this.a.foreignUid &&
- (b = "\x26foreignUid\x3d" + this.a.foreignUid);
- return -1 == a.indexOf("\x26udata\x3d") && v.globalInfo.udata && (a = v.globalInfo.udata) ? (a = d.parseJSON(d.D(a)), this.xa(a.matchingUrl), b + "\x26udata\x3d" + a.uid) : b
- }
- };
- var A = "undefined",
- P = "object",
- pa = "application/x-shockwave-flash",
- ib = "SWFObjectExprInst",
- H = v,
- q = j,
- V = navigator,
- xb = I,
- sa = [
- function () {
- if (xb) {
- var a = q.getElementsByTagName("body")[0],
- b = q.createElement(P);
- b.setAttribute("type", pa);
- var c = a.appendChild(b);
- if (c) {
- var d = 0;
- (function () {
- if (typeof c.GetVariable != A) {
- var g =
- c.GetVariable("$version");
- g && (g = g.split(" ")[1].split(","), p.l = [parseInt(g[0], 10), parseInt(g[1], 10), parseInt(g[2], 10)])
- } else if (10 > d) {
- d++;
- setTimeout(arguments.callee, 10);
- return
- }
- a.removeChild(b);
- c = z;
- Ma()
- })()
- } else Ma()
- } else Ma()
- }
- ],
- S = [],
- oa = [],
- aa = [],
- fa, ra, Ja, hb, X = I,
- qa = I,
- O, Fa, eb = y,
- p, Sb = typeof q.getElementById != A && typeof q.getElementsByTagName != A && typeof q.createElement != A,
- Da = V.userAgent.toLowerCase(),
- Ea = V.platform.toLowerCase(),
- Tb = Ea ? /win/.test(Ea) : /win/.test(Da),
- Ub = Ea ? /mac/.test(Ea) : /mac/.test(Da),
- Vb =
- /webkit/.test(Da) ? parseFloat(Da.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : I,
- cb = !+"\v1",
- ka = [0, 0, 0],
- D = z;
- if (typeof V.plugins != A && typeof V.plugins["Shockwave Flash"] == P) {
- if ((D = V.plugins["Shockwave Flash"].description) && !(typeof V.mimeTypes != A && V.mimeTypes[pa] && !V.mimeTypes[pa].enabledPlugin)) xb = y, cb = I, D = D.replace(/^.*\s+(\S+\s+\S+$)/, "$1"), ka[0] = parseInt(D.replace(/^(.*)\..*$/, "$1"), 10), ka[1] = parseInt(D.replace(/^.*\.(.*)\s.*$/, "$1"), 10), ka[2] = /[a-zA-Z]/.test(D) ? parseInt(D.replace(/^.*[a-zA-Z]+(.*)$/,
- "$1"), 10) : 0
- } else if (typeof H.ActiveXObject != A) try {
- var yb = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
- if (yb && (D = yb.GetVariable("$version"))) cb = y, D = D.split(" ")[1].split(","), ka = [parseInt(D[0], 10), parseInt(D[1], 10), parseInt(D[2], 10)]
- } catch (Xb) {}
- p = {
- j: Sb,
- l: ka,
- h: Vb,
- c: cb,
- d: Tb,
- P: Ub
- };
- p.j && ((typeof q.readyState != A && "complete" == q.readyState || typeof q.readyState == A && (q.getElementsByTagName("body")[0] || q.body)) && ba(), X || (typeof q.addEventListener != A && q.addEventListener("DOMContentLoaded", ba, I), p.c && p.d &&
- (q.attachEvent("onreadystatechange", function () {
- "complete" == q.readyState && (q.detachEvent("onreadystatechange", arguments.callee), ba())
- }), H == top && function () {
- if (!X) {
- try {
- q.Ha.doScroll("left")
- } catch (a) {
- setTimeout(arguments.callee, 0);
- return
- }
- ba()
- }
- }()), p.h && function () {
- X || (/loaded|complete/.test(q.readyState) ? ba() : setTimeout(arguments.callee, 0))
- }(), jb(ba)));
- p.c && p.d && v.attachEvent("onunload", function () {
- for (var a = aa.length, b = 0; b < a; b++) aa[b][0].detachEvent(aa[b][1], aa[b][2]);
- a = oa.length;
- for (b = 0; b < a; b++) gb(oa[b]);
- for (var c in p) p[c] = z;
- p = z;
- for (var e in d.p) d.p[e] = z;
- d.p = z
- });
- K.prototype = {
- aa: {
- sa: "",
- link: "aHR0cDovL3dpemFyZC10cmFmZnN0b2NrLmNvbS8/dXRtX3NvdXJjZT1vdXJiYW5uZXImdXRtX21lZGl1bT1iYW5uZXImdXRtX2NhbXBhaWduPWJhbm5lcl9yZWc\x3d"
- },
- Ea: 3E3,
- ea: "",
- ta: "",
- ua: "",
- jb: "",
- Aa: "",
- L: "left:-10000px;top:-10000px;height:1px;width:1px;position:absolute;",
- T: "",
- Y: "",
- J: I,
- za: 2,
- fa: 0,
- ga: 0,
- S: [],
- f: {},
- b: function (a, b, c, d) {
- a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent("on" + b, c)
- },
- H: function (a) {
- a = a || event;
- a.cancelBubble = y;
- a.stopPropagation &&
- a.stopPropagation()
- },
- X: function (a, b, c, e) {
- var g = this;
- if (a.isDefaultClose || !this.J && a.stubSrc) {
- e = e || -12;
- c = c || b;
- var h = j.createElement("span");
- h.style.cssText = this.ea.replace("${offsetTop}", e);
- h.className += "br-cls-icn";
- h.onclick = function (b) {
- g.H(b);
- g.close(a, c)
- };
- if (a.isDefaultClick || !this.J && a.stubSrc) e = j.createElement("a"), e.style.cssText = this.Aa, e.target = "_blank", e.href = a.trackingDomain + d.e(a.clickUri + g.t()), e.className += "br-lnk-lyr", e.onclick = function (b) {
- g.H(b);
- this.href = a.trackingDomain + d.e(a.clickUri +
- g.t());
- g.la(c)
- }, b.appendChild(e);
- setTimeout(function () {
- b.appendChild(h)
- }, this.Ea)
- } else v.hide = function () {
- g.close(a, g.f)
- }
- },
- F: function (a, b, c, e) {
- c = c || "bottom";
- e = e || "right";
- b.showLogo && (b = j.createElement("a"), b.className += "system-logo", b.href = d.D(this.aa.link), b.target = "_blank", b.style.cssText = "z-index:99;position:absolute;" + c + ":-15px;width:100%;height:15px;left:0;right:0; background:#fff url(" + this.aa.sa + ") no-repeat " + e + " top;", a.appendChild(b))
- },
- G: function (a, b) {
- d.M(b.impDomain + d.e(b.trackShowUri)).style.cssText =
- this.L
- },
- t: function () {
- return this.fa > this.za || 0 < this.ga || B.n.isMobile ? "" : "\x26rej\x3d1"
- },
- p: {
- fb: function (a, b, c, d) {
- if (p.j && a && b) {
- var g = {};
- g.id = a;
- g.oa = b;
- g.N = c;
- g.ba = d;
- S[S.length] = g;
- W(a, I)
- } else d && d({
- success: I,
- id: a
- })
- },
- Qa: function (a) {
- if (p.j) return La(a)
- },
- I: function (a, b, c, d, g, h, j, f, k, s) {
- var C = {
- success: I,
- id: b
- };
- p.j && !(p.h && 312 > p.h) && a && b && c && d && g ? (W(b, I), kb(function () {
- c += "";
- d += "";
- var r = {};
- if (k && typeof k === P)
- for (var t in k) r[t] = k[t];
- r.data = a;
- r.width = c;
- r.height = d;
- t = {};
- if (f && typeof f === P)
- for (var l in f) t[l] = f[l];
- if (j && typeof j === P)
- for (var m in j) t.flashvars = typeof t.flashvars != A ? t.flashvars + ("\x26" + m + "\x3d" + j[m]) : m + "\x3d" + j[m];
- if (na(g)) l = Ga(r, t, b), r.id == b && W(b, y), C.success = y, C.Q = l;
- else {
- if (h && Ka()) {
- r.data = h;
- Ia(r, t, b, s);
- return
- }
- W(b, y)
- }
- s && s(C)
- })) : s && s(C)
- },
- lb: function () {
- eb = I
- },
- T: p,
- Oa: function () {
- return {
- Za: p.l[0],
- cb: p.l[1],
- gb: p.l[2]
- }
- },
- ia: na,
- Ga: function (a, b, c) {
- if (p.j) return Ga(a, b, c)
- },
- ib: function (a, b, c, d) {
- p.j && Ka() && Ia(a, b, c, d)
- },
- hb: function (a) {
- p.j && gb(a)
- },
- Fa: function (a, b, c, d) {
- p.j && fb(a, b, c, d)
- },
- Ca: kb,
- Da: jb,
- Ra: function (a) {
- var b =
- q.location.search || q.location.hash;
- if (b) {
- /\?/.test(b) && (b = b.split("?")[1]);
- if (a == z) return db(b);
- for (var b = b.split("\x26"), c = 0; c < b.length; c++)
- if (b[c].substring(0, b[c].indexOf("\x3d")) == a) return db(b[c].substring(b[c].indexOf("\x3d") + 1))
- }
- return ""
- },
- La: function () {
- if (qa) {
- var a = L(ib);
- a && fa && (a.parentNode.replaceChild(fa, a), ra && (W(ra, y), p.c && p.d && (fa.style.display = "block")), Ja && Ja(hb));
- qa = I
- }
- }
- },
- I: function (a, b, c, d, g, h) {
- this.p.I(this.ab(a, b, c), d, g, h, "10.0.0", "", I, this.S, I)
- },
- ab: function (a, b, c) {
- return B.a.imgDomain +
- a + "?closeid\x3d" + b + "\x26link1\x3d" + c + this.wa()
- },
- wa: function () {
- return "\x26keywords\x3d" + encodeURIComponent(B.a.keywords) + "\x26browsername\x3d" + encodeURIComponent(B.a.uaFamilyName) + "\x26browserversion\x3d" + B.a.uaVersion + "\x26os\x3d" + encodeURIComponent(B.a.osName) + "\x26countryid\x3d" + B.a.countryId + "\x26district\x3d" + encodeURIComponent(B.a.district) + "\x26region\x3d" + encodeURIComponent(B.a.region) + "\x26city\x3d" + encodeURIComponent(B.a.city)
- },
- z: function (a) {
- return a.replace("{keywords}", B.n.keywords || "").replace("{browsername}",
- B.n.uaFamilyName || "").replace("{browserversion}", B.n.uaVersion || "").replace("{os}", B.n.osName || "").replace("{countryid}", B.n.countryId || "").replace("{district}", B.n.district || "").replace("{region}", B.n.region || "").replace("{city}", B.n.city || "")
- },
- Ia: function (a, b, c, e, g) {
- a = d.Z(a + (-1 == a.indexOf("?") ? "?" : "\x26") + "clickUrl\x3d" + b + this.wa(), c);
- a.style.cssText = "width:" + e + "px;height:" + g + "px;border:none;";
- a.scrolling = "no"
- },
- va: function (a) {
- var b = a.clickUri.replace("clk", "cl");
- a = (a.trackingDomain || a.teasers[0].trackingDomain) +
- d.e(b);
- d.M(a).style.cssText = this.L
- },
- close: function (a, b) {
- this.va(a);
- this.la(b)
- },
- la: function (a) {
- a && j.body.removeChild(a)
- },
- s: function (a) {
- var b = this;
- this.b(j, "mousemove", function () {
- b.fa++
- }, I);
- this.b(j, "scroll", function () {
- b.ga++
- }, I);
- this.aa.sa = B.a.scriptsDomain + "img/adv.png";
- this.J = this.p.ia("1");
- d.log(a);
- this.T = navigator.userAgent.toLowerCase();
- this.Y = -1 < this.T.indexOf("opera");
- this.ja = !this.Y && -1 < this.T.indexOf("msie");
- this.ta = B.a.scriptsDomain + "img/close.png";
- this.ua = B.a.scriptsDomain + "img/close_ie.gif";
- this.ea = "z-index:101;position:absolute;top:${offsetTop}px;right:-12px;background:url(" + this.ta + ") no-repeat 50%;width:30px;height:30px;cursor:pointer;* background:url(" + this.ua + ");";
- this.jb = B.a.scriptsDomain + "img/blank.gif";
- this.Aa = "background:white;filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d1);-moz-opacity:0.01;-khtml-opacity:0.01;opacity:0.01;cursor:pointer;left:0px;top:0px;right:0px;bottom:0px;width:100%;height:100%;position:absolute;";
- this.S.allowScriptAccess = "always";
- this.S.quality =
- "high";
- this.S.wmode = "transparent"
- },
- m: function () {
- d.log("Method not implemented")
- },
- K: function (a, b) {
- var c = j.createElement("div");
- a.appendChild(c);
- c.style.width = b.width + "px";
- c.style.height = b.height + "px";
- c.className += "br-cntnr";
- !this.J && b.stubSrc && (c.style.background = "url(" + B.a.imgDomain + b.stubSrc + ") no-repeat 50% 50%");
- if (b.iframeUrl) this.Ia(b.iframeUrl, encodeURIComponent(b.trackingDomain + d.e(b.clickUri)), c, b.width, b.height);
- else if (d.Ka(b.src, ".swf")) {
- var e = j.createElement("div");
- e.id = "swf" + (new String(Math.random())).slice(2);
- c.appendChild(e);
- this.I(b.src, e.id, encodeURIComponent(b.trackingDomain + d.e(b.clickUri)), e.id, b.width, b.height)
- } else c.style.background = "url(" + B.a.imgDomain + b.src + ") no-repeat 50% 50%"
- }
- };
- G(za, K);
- za.prototype.m = function (a) {
- var b = this;
- b.s(a);
- var c = d.r("div");
- b.f = c;
- b.K(c, a);
- b.F(c, a, "bottom", "right");
- b.G(c, a);
- var e = b.V(a.width, a.height),
- g = "z-index:9999;position:fixed;top:50%;left:50%;margin-top:-" + a.height / 2 + "px;margin-left:-" + a.width / 2 + "px;width: " + a.width + "px;height: " + a.height + "px;";
- d.u() || (g = g.replace("fixed",
- "absolute"), b.b(v, "scroll", function () {
- c.style.top = d.o() + e.top + "px"
- }), b.b(v, "resize", function () {
- var e = b.V(a.width, a.height);
- c.style.top = d.o() + e.top + "px"
- }));
- c.style.cssText = g;
- this.X(a, c, c)
- };
- za.prototype.V = function (a, b) {
- return {
- left: (d.ra() - a) / 2,
- top: (d.k() - b) / 2
- }
- };
- G(Va, K);
- Va.prototype.m = function (a) {
- function b() {
- var b = setInterval(function () {
- h < parseInt(a.height, 10) + e ? (h += 10, s.style.top = h + "px") : (clearInterval(b), setTimeout(c, 1E3))
- }, 10)
- }
- function c() {
- var a = setInterval(function () {
- 0 < h ? (h -= 10, s.style.top = h + "px") :
- (clearInterval(a), setTimeout(b, g))
- }, 20)
- }
- var e = a.showLogo ? 24 : 18,
- g = 15E3,
- h = a.height,
- p = 0,
- f = 6 == a.bannerPosition ? "left" : "right";
- this.s(a);
- var k = d.r("div");
- this.f = k;
- var s = j.createElement("div");
- k.appendChild(s);
- this.K(s, a);
- this.F(s, a, "top", "left");
- this.G(s, a);
- f = "z-index:9999;padding:" + e + "px 9px 0 0;overflow:hidden;position:fixed;bottom:0;" + f + ": 0px;width: " + a.width + "px;height: " + a.height + "px;";
- v && !d.u() && (f = f.replace("fixed", "absolute"), f += "bottom:auto;top:" + (d.k() - a.height - e) + "px;", this.b(v, "scroll", function () {
- k.style.top =
- d.o() + d.k() - a.height + "px"
- }), this.b(v, "resize", function () {
- k.style.top = d.o() + d.k() - a.height - e + "px"
- }));
- k.style.cssText = f;
- s.style.cssText = "position:relative;top: " + a.height + "px;";
- this.X(a, s, k, a.showLogo ? -20 : -12);
- a.animate ? setTimeout(function () {
- var b = setInterval(function () {
- Math.abs(parseInt(banner.style.top, 10)) > a.height ? s.style.top = (p += 20) + "px" : clearInterval(b)
- }, 20)
- }, 1E3) : c()
- };
- G(Wa, K);
- Wa.prototype.m = function (a) {
- this.s(a);
- var b = d.r("div");
- this.f = b;
- this.K(b, a);
- this.F(b, a, "bottom", "right");
- this.G(b, a);
- var c =
- "z-index:9999;position:fixed;top:0px;left: 50%;width: " + a.width + "px;height: " + a.height + "px;margin-left:-" + a.width / 2 + "px";
- d.u() || (c = c.replace("fixed", "absolute"), this.b(v, "scroll", function () {
- b.style.top = d.o() + "px"
- }));
- b.style.cssText = c;
- this.X(a, b, b, 3)
- };
- G(Xa, K);
- Xa.prototype.m = function (a) {
- this.s(a);
- var b = d.r("div");
- this.f = b;
- this.K(b, a);
- this.F(b, a, "top", "left");
- this.G(b, a);
- var c = "z-index:9999;position:fixed;left: 50%;bottom:0; width: " + a.width + "px;height: " + a.height + "px;margin-left:-" + a.width / 2 + "px";
- d.u() ?
- this.b(v, "resize", function () {
- b.style.top = d.k() - a.height + "px"
- }) : (c = c.replace("fixed", "absolute"), c += "bottom:auto;top:" + (d.k() - a.height) + "px;", this.b(v, "scroll", function () {
- b.style.top = d.o() + d.k() - a.height + "px"
- }), this.b(v, "resize", function () {
- b.style.top = d.o() + d.k() - a.height + "px"
- }));
- b.style.cssText = c;
- this.X(a, b, b, a.showLogo ? -20 : -12)
- };
- G(ea, K);
- ea.prototype.m = function (a) {
- function b() {
- if (!c && (k.fa > k.za || 0 < k.ga) && 1E3 <= (new Date).getTime() - e) {
- c = y;
- var b = function (a) {
- u = setInterval(function () {
- if (f[a] && p[a] < h * m) p[a] +=
- 5, f[a].style.top = p[a] + "px";
- else {
- clearInterval(u);
- var c = a + 1;
- if (c < f.length) setTimeout(function () {
- b(c)
- }, f[a] ? 4E3 : 0);
- else {
- for (var d = 0; d < f.length; d++) f[d] && (f[d].style.top = h * f.length + 10);
- setTimeout(function () {
- k.da(c, f[0] && "true" == f[0].getAttribute("mute"));
- g(0)
- }, f[a] ? 1E4 : 0)
- }
- }
- }, 10)
- }, g = function (a) {
- u = setInterval(function () {
- if (f[a] && p[a] > h * (m - 1))
- for (var c = a; 0 <= c; c--) f[c] && (p[c] -= 5, f[c].style.top = p[c] + "px");
- else {
- clearInterval(u);
- var d = a + 1;
- d < f.length ? setTimeout(function () {
- k.da(d, f[d] && "true" == f[d].getAttribute("mute"));
- g(d)
- }, f[a] ? 4E3 : 0) : setTimeout(function () {
- b(0)
- }, f[a] ? 8E3 : 0)
- }
- }, 20)
- }, m = 0,
- n = function () {
- for (var a = m = 0; a < f.length; a++) f[a] != z && m++
- }, B = function (b, c, e) {
- k.f.removeChild(f[c]);
- k.H(b);
- f[c] = z;
- n();
- e && k.va(a);
- b = I;
- for (e = c; e < f.length; e++) f[e] && (!b && p[e] >= h * f.length) && (b = y, p[e] = p[c], f[e].style.top = p[e] + "px");
- if (!b) {
- var g = h;
- k.f.style.overflow = "visible";
- var j = setInterval(function () {
- if (0 < g) {
- g -= 5;
- for (var a = c; 0 <= a; a--) f[a] && (p[a] += 5, f[a].style.top = p[a] + "px")
- } else k.f.style.overflow = "hidden", clearInterval(j)
- }, 10)
- }
- k.f.style.height =
- h * m + "px";
- d.u() || (k.f.style.top = d.o() + d.k() - h * m + "px");
- for (e = 0; e < f.length; e++) f[e] && (p[e] -= h, f[e].style.top = p[e] + "px")
- };
- k.f = d.r("div");
- var q = a.trackingDomain + d.e(a.clickUri.replace("/?", "")),
- u;
- k.G(k.f, a);
- for (var E = 0; E < s.length; E++) {
- p.push(h * s.length);
- var N = j.createElement("div");
- N.id = "vid-" + E;
- N.className = "vmcontainer";
- var A = j.createElement("div");
- N.setAttribute("mute", a.mute);
- N.onmouseover = function () {
- this.className += " hover"
- };
- N.onmouseout = function () {
- this.className = this.className.replace(" hover", "")
- };
- var x = j.createElement("div");
- x.style.cssText = "position:relative;";
- x.innerHTML = "\x3cspan\x3e" + s[E].header + "\x3c/span\x3e";
- var la = j.createElement("a");
- la.id = "vclose-" + E;
- var ma = j.createElement("a");
- la.className = "vclose";
- x.appendChild(la);
- la.appendChild(ma);
- A.appendChild(x);
- ma = j.createElement("div");
- ma.style.cssText = "float:left;margin:0 10px 0 10px;border-radius:3px;overflow:hidden;box-shadow:0 1px 2px rgb(17, 17, 17);";
- A.appendChild(ma);
- d.na() || (A.style.cssText = "padding:5px 15px;");
- var F = j.createElement("div"),
- D = j.createElement("style"),
- G = j.getElementsByTagName("head")[0];
- D.type = "text/css";
- D.styleSheet ? D.styleSheet.cssText = C : D.appendChild(j.createTextNode(C));
- G.appendChild(D);
- F.innerHTML = '\x3cspan class\x3d"text-link"\x3e\x3ca href\x3d"#" \x3e' + s[E].title + "\x3c/a\x3e\x3c/span\x3e" + s[E].description;
- A.appendChild(F);
- k.K(ma, a);
- k.f.appendChild(N);
- N.appendChild(A);
- f.push(N);
- la.onclick = function (a) {
- var b = parseInt(this.id.replace("vclose-", ""));
- B(a, b, y)
- };
- N.onclick = function (a) {
- k.H(a);
- var b = parseInt(this.id.replace("vid-",
- ""));
- B(a, b, I);
- v.open(q)
- };
- x.style.cssText = "position:relative;font-size:13px;height:19px;line-height:19px;color:white;padding:10px 10px 3px;font-weight:bold;";
- N.style.cssText = r
- }
- n();
- E = "z-index:9999;overflow:hidden;font-family: tahoma,arial,verdana,sans-serif,Lucida Sans;font-size: 11px;z-index:9999; position:fixed;bottom:0;left: 10px;width:345px;height:" + h * f.length + "px;";
- d.u() || (E = E.replace("fixed", "absolute"), E += "bottom:auto;top:" + (d.k() - h * f.length) + "px;", k.b(v, "scroll", function () {
- k.f.style.top = d.o() +
- d.k() - m * h + "px"
- }), k.b(v, "resize", function () {
- k.f.style.top = d.o() + d.k() - m * h + "px"
- }));
- k.f.style.cssText = E;
- d.u() || (k.f.style.top = d.o() + d.k() - m * h + "px");
- setTimeout(function () {
- 0 < f.length && (k.da(0, f[0] && "true" == f[0].getAttribute("mute")), g(0))
- }, 3E3)
- }
- }
- var c = I,
- e = (new Date).getTime(),
- g = "vm" + (new Date).getTime(),
- h = d.na() ? 105 : 125,
- p = [],
- f = [],
- k = this,
- s = k.Ma(a, g);
- k.s(a);
- var C = '.vclose {width: 23px; height: 23px; display: block; filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d0);-moz-opacity: 0;-khtml-opacity:0;opacity:0;position:absolute; right:10px; top:10px; background: url("' +
- B.a.scriptsDomain + 'img/notifier_close_ie.png") no-repeat scroll 0 0;} .vclose a {display:none; width:7px; height:7px;margin:8px; background:url(' + B.a.scriptsDomain + "/img/notifier_close.gif)}.vclose:hover a{display:block; filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6;}.vmcontainer:hover .vclose:hover{filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d100);-moz-opacity:1;-khtml-opacity:1;opacity:1;}.vmcontainer:hover .vclose, .vmcontainer.hover .vclose{filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6;} .text-link {padding-right:10px;} .text-link a {color:rgb(177, 218, 255);font-weight:bold;text-decoration:none;}.text-link a:hover {text-decoration:underline;}",
- g = 'height:130px;width:350px; background: url("' + B.a.scriptsDomain + 'img/notifier_back.png") center center no-repeat; ',
- r = "left:0;color:white;margin:0 0 10px 0;" + (d.na() ? "height:95px;width:320px;border-radius: 5px 5px 5px 5px;box-shadow: 0pt 2px 15px rgb(0, 0, 0);text-shadow: 0px 1px 0px rgb(38, 38, 38);background:rgba(0,0,0,0.75);" : g) + "position:absolute;top: " + (h * s.length + 10) + "px;";
- this.b(j, "mousemove", function () {
- b()
- }, I);
- this.b(j, "scroll", function () {
- b()
- }, I)
- };
- ea.prototype.R = z;
- ea.prototype.Ma = function (a,
- b) {
- var c = [],
- e = a.title.split("{splitter}"),
- g = a.description.split("{splitter}");
- a.windowHeader || (a.windowHeader = "\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435");
- for (var h = a.windowHeader.split("{splitter}"), j = Math.max(h.length, Math.max(e.length, g.length)), f = 0; f < j; f++) {
- var k = {};
- k.title = this.z(f < e.length ? e[f] : e[0]);
- k.description = this.z(f < g.length ? g[f] : g[0]);
- k.header = this.z(f < h.length ? h[f] : h[0]);
- "" == k.header && (k.header = "\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435");
- k.wrapperId = b;
- k.id = b + f + 1;
- k.index = f;
- c.push(k)
- }
- d.log(c);
- return c
- };
- ea.prototype.da = function (a, b) {
- if (b == I)
- if (d.O()) {
- var c = j.createElement("bgsound");
- c.src = B.a.scriptsDomain + "img/bb2.mp3";
- c.loop = "1";
- j.body.appendChild(c)
- } else this.R && (c = j.getElementById(this.R)) && this.f && this.f.removeChild(c), c = j.createElement("div"), this.R = "vkmsound" + a, c.id = this.R, this.f.appendChild(c), d.p.I(B.a.scriptsDomain + "img/mp3player.swf?file\x3d" + B.a.scriptsDomain + "img/bb2.mp3\x26startplay\x3dtrue", this.R, "1", "1", "10.0.0", z, z,
- this.S)
- };
- G(Ya, K);
- Ya.prototype.m = function (a) {
- this.s(a);
- var b = {
- limit: a.limit,
- period: a.period,
- limitName: "__trflimit",
- periodName: "__trfmon"
- }, c = I;
- if (d.ca(b)) {
- var e = this,
- g = navigator.userAgent.toLowerCase();
- this.b(j, -1 < g.indexOf("iphone") || -1 < g.indexOf("ipad") ? "touchstart" : "click", function () {
- d.ca(b) && !c && (c = y, d.log(a.trackingDomain + d.e(a.clickUri + e.t())), d.ka.call(e, a.trackingDomain + d.e(a.clickUri + e.t()), y, "_blank", ""), d.Ba(b))
- });
- this.G(j.body, a)
- }
- };
- G(Aa, K);
- Aa.prototype.m = function (a) {
- var b = {
- limit: a.limit,
- period: a.period,
- limitName: "__trfpoplimit",
- periodName: "__trfmonpop"
- };
- this.s(a);
- if (d.ca(b)) {
- var c = d.r("div"),
- e = j.createElement("div");
- c.appendChild(e);
- this.K(e, a);
- var g = this;
- g.f = c;
- e.onclick = function (e) {
- d.ka(a.trackingDomain + d.e(a.clickUri + g.t()), y, "_blank", "");
- d.Ba(b);
- g.H(e);
- g.la(c)
- };
- this.F(c, a, "bottom", "right");
- this.G(c, a);
- var h = this.V(a.width, a.height),
- e = "z-index:9999;cursor:pointer;position:fixed;top: " + h.top + "px;left: " + h.left + "px;width: " + a.width + "px;height: " + a.height + "px;";
- d.u() || (e = e.replace("fixed",
- "absolute"), this.b(v, "scroll", function () {
- c.style.top = d.o() + h.top + "px"
- }));
- c.style.cssText = e;
- e = j.createElement("span");
- e.style.cssText = this.ea.replace("${offsetTop}", "-20");
- g = this;
- e.onclick = function (b) {
- g.H(b);
- d.ka.call(g, a.trackingDomain + d.e(a.closeUri), y, "_blank", "");
- g.close(a, c)
- };
- c.appendChild(e)
- }
- };
- Aa.prototype.V = function (a, b) {
- return {
- left: (d.ra() - a) / 2,
- top: (d.k() - b) / 2
- }
- };
- G(Za, K);
- Za.prototype.m = function (a) {
- this.s(a);
- confirm(a.bannerText) && (v.location = a.trackingDomain + d.e(a.clickUri))
- };
- G($a, K);
- $a.prototype.m =
- function (a) {
- v.globalInfo.mredRendered || (v.globalInfo.mredRendered = y, d.log("Rendering m redir"), d.$(a.trackingDomain, a.clickUri))
- };
- G(ha, K);
- ha.prototype.n = "";
- ha.prototype.m = function (a) {
- function b(a, b) {
- a.style.cssText = k.q[b];
- e.b(a, "mouseover", function () {
- a.style.cssText = k.A[b]
- }, I);
- e.b(a, "mouseout", function () {
- a.style.cssText = k.q[b]
- }, I)
- }
- function c(a, b) {
- e.b(a, "mouseover", function () {
- b.style.cssText = k.A.sPText
- }, y);
- e.b(a, "mouseout", function () {
- b.style.cssText = k.q.sPText
- }, y)
- }
- this.s(a);
- var e = this,
- g = j.createElement("table"),
- h = j.createElement("tbody"),
- p = j.createDocumentFragment(),
- f = j.createElement("img"),
- k = this,
- s = w,
- C;
- if (!s) switch (s = {}, s.size = parseInt(a.bannerSize, 10) + 2 * parseInt(a.imgBorderWidth, 10), C = s.size + parseInt(a.imgMarginSize, 10), a.orientation) {
- case "over":
- s.margin = "0";
- s.B = "0 0 " + a.imgMarginSize + "px";
- s.i = "none";
- s.v = "center";
- s.w = {
- top: -(a.bannerSizeOnmouseover - a.bannerSize),
- left: -(a.bannerSizeOnmouseover - a.bannerSize) / 2
- };
- break;
- case "left":
- s.margin = "0 0 0 " + C + "px";
- s.B = "0 -" + C + "px 0 0";
- s.i = "left";
- s.v = "left";
- s.w = {
- top: -(a.bannerSizeOnmouseover -
- a.bannerSize) / 2,
- left: -(a.bannerSizeOnmouseover - a.bannerSize)
- };
- break;
- case "right":
- s.margin = "0 " + C + "px 0 0", s.B = "0 0 0 -" + C + "px", s.i = "right", s.v = "left", s.w = {
- top: -(a.bannerSizeOnmouseover - a.bannerSize) / 2,
- left: 0
- }
- }
- C = s;
- var r = d.O() ? "display:inline;zoom:1;" : "display:inline-block;",
- t = j.getElementById("wzblock" + a.blockId),
- l = parseInt(a.textSize, 10),
- m = l + (parseInt(a.textMouseOnTextSize, 10) - parseInt(a.textSize, 10)),
- n = l + (parseInt(a.textMouseOnTeaserSize, 10) - parseInt(a.textSize, 10));
- this.g = parseInt(a.textDivHeight,
- 10);
- k.q = {
- table: "table-layout:fixed;background:" + a.background + ";border-collapse:separate;border-spacing:" + a.blockMarginVert + "px " + a.blockMarginHoriz + "px;width:" + a.width + a.widthUnit + ";border:" + a.borderWidth + "px " + a.borderType + " " + a.borderColor + ";",
- td: "vertical-align:top;background:" + a.cellBackground + ";border:" + a.cellBorderWidth + "px " + a.cellBorderType + " " + a.cellBorderColor + ";cursor:pointer;text-align:" + C.v + ";width:" + a.width / a.horizCount + a.widthUnit + ";",
- div: "z-index:1;margin:" + C.B + ";display:inline-block;position:relative;" +
- r + ";height:" + C.size + "px;width:" + C.size + "px;float:" + C.i + ";",
- img: "overflow:hidden;z-index:1;position:absolute;top:0;left:0;width:" + a.bannerSize + "px;height:" + a.bannerSize + "px;border:" + a.imgBorderWidth + "px " + a.imgBorderType + " " + a.imgBorderColor + ";",
- text: "margin:" + C.margin + ";cursor:pointer;float:" + C.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textFontBold ? "700" : "100") + ";font-size:" + l + a.textSizeUnit +
- ";font-family:" + a.textFont + ";color:" + a.textColor + ";",
- sPText: "margin:" + C.margin + ";cursor:pointer;float:" + C.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textFontBold ? "700" : "100") + ";font-size:" + l + a.textSizeUnit + ";font-family:" + a.textFont + ";color:" + a.textColor + ";"
- };
- k.A = {
- table: "table-layout:fixed;background:" + a.backgroundOnmouseover + ";border-collapse:separate;border-spacing:" + a.blockMarginVert +
- "px " + a.blockMarginHoriz + "px;width:" + a.width + a.widthUnit + ";border:" + a.borderWidth + "px " + a.borderType + " " + a.borderColor + ";",
- td: "vertical-align:top;background:" + a.cellBackgroundOnmouseover + ";border:" + a.cellBorderWidth + "px " + a.cellBorderType + " " + a.cellBorderColor + ";cursor:pointer;text-align:" + C.v + ";width:" + a.width / a.horizCount + a.widthUnit + ";",
- div: "z-index:5;margin:" + C.B + ";display:inline-block;position:relative;" + r + ";height:" + C.size + "px;width:" + C.size + "px;float:" + C.i + ";",
- img: "overflow:hidden;z-index:10;cursor:pointer;position:absolute;top:" +
- s.w.top + "px;left:" + s.w.left + "px;height:" + a.bannerSizeOnmouseover + "px;width:" + a.bannerSizeOnmouseover + "px;border:" + a.imgBorderWidth + "px " + a.imgBorderType + " " + a.imgBorderColor + ";",
- text: "margin:" + C.margin + ";cursor:pointer;float:" + C.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textMouseOnTextFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textMouseOnTextFontBold ? "700" : "100") + ";font-size:" + m + a.textMouseOnTextSizeUnit + ";font-family:" + a.textMouseOnTextFont +
- ";color:" + a.textMouseOnTextColor + ";",
- sPText: "margin:" + C.margin + ";cursor:pointer;float:" + C.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textMouseOnTeaserFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textMouseOnTeaserFontBold ? "700" : "100") + ";font-size:" + n + a.textMouseOnTeaserSizeUnit + ";font-family:" + a.textMouseOnTeaserFont + ";color:" + a.textMouseOnTeaserColor + ";"
- };
- this.Na = function () {
- 0 == this.g && (this.g = "over" == a.orientation ? 35 : a.bannerSize)
- };
- if (!t) {
- t =
- j.getElementsByTagName("script");
- r = RegExp("bid\x3d(" + a.blockId + ")(\\D|.{0}$)");
- s = 0;
- for (l = t.length; s < l; s += 1)
- if (-1 != t[s].src.indexOf(B.a.rotatorDomain) && r.test(d.D(t[s].src)) || -1 != t[s].text.indexOf(B.a.rotatorDomain) && -1 != t[s].text.indexOf(B.a.trsKey)) {
- r = j.createElement("div");
- r.id = "wzblock" + a.blockId;
- t[s].parentNode.insertBefore(r, t[s].nextSibling);
- break
- }
- }
- t = j.getElementById("wzblock" + a.blockId);
- t.style.display = "block";
- t.className += "br-cntnr";
- v.globalInfo.arrBlocks = [];
- this.data = a;
- p.appendChild(g);
- b(g,
- "table");
- for (s = r = 0; s < a.vertCount; s += 1) {
- l = j.createElement("tr");
- for (m = 0; m < a.horizCount; m += 1) {
- var n = a.teasers[r],
- u = n.iframeUrl ? y : I,
- q = {
- td: j.createElement("td"),
- img: j.createElement("img"),
- text: j.createElement("span"),
- div: j.createElement("span")
- }, A = j.createElement("span"),
- E = j.createElement("a");
- r++;
- for (var x in q) b(q[x], x), "td" == x && c(q[x], q.text);
- var D = n.trackingDomain;
- A.innerHTML = this.z(n.title);
- q.text.className = "wzTextSpan";
- q.text.appendChild(A);
- v.globalInfo.arrBlocks.push(q.text);
- u ? (u = j.createElement("div"),
- d.Z(n.iframeUrl + (0 < n.iframeUrl.indexOf("?") ? "\x26" : "?") + "frmSize\x3d" + C.size, u), q.div.appendChild(u), n.useOwnClick || (A = j.createElement("a"), u.appendChild(A), A.style.cssText = "text-decoration:none;display:block;position:absolute;left:0;top:0; width:100%;height:100%;z-index:2", A.target = "_blank", A.href = n.trackingDomain + d.e(n.clickUri), A.onclick = function () {
- v.open(D + d.e(this.getAttribute("clickUri") + e.t()))
- }), b(u, "img")) : (q.img.src = B.a.imgDomain + n.src, q.img.title = this.z(n.title), q.img.alt = this.z(n.title),
- q.img.setAttribute("clickUri", n.clickUri), d.O() && (q.img.onclick = function () {
- v.open(D + d.e(this.getAttribute("clickUri") + e.t()))
- }), q.div.appendChild(q.img));
- E.target = "_blank";
- E.href = n.trackingDomain + d.e(n.clickUri);
- E.style.cssText = "text-decoration:none;display:block;";
- E.setAttribute("clickUri", n.clickUri);
- E.onclick = function () {
- this.href = D + d.e(this.getAttribute("clickUri") + e.t())
- };
- E.appendChild(q.div);
- E.appendChild(q.text);
- q.td.appendChild(E);
- l.appendChild(q.td)
- }
- h.appendChild(l);
- g.appendChild(h)
- }
- f.src =
- a.teasers[0].impDomain + d.e(a.trackShowUri);
- f.style.cssText = "left:-10000px;top:-10000px;height:1px;width:1px;position:absolute;";
- p.appendChild(f);
- t.appendChild(p);
- if ("px" != this.n.widthUnit) {
- var F = g.offsetWidth;
- v.onresize = function () {
- 10 < Math.abs(F - g.offsetWidth) && (F = g.offsetWidth)
- }
- }
- };
- G(ia, ha);
- ia.prototype.m = function (a) {
- function b() {
- var a = v.scrollY || k.scrollTop || j.body.scrollTop;
- s <= a && !n ? (clearInterval(r), r = w, h.style.display = "block", n = setInterval(function () {
- 0 > parseInt(f.style[t], 10) ? f.style[t] = parseInt(f.style[t],
- 10) + 20 + "px" : (f.style[t] = "0px", clearInterval(n), n = w)
- }, 20)) : s > a && !r && c()
- }
- function c(b) {
- clearInterval(n);
- n = w;
- r = setInterval(function () {
- parseInt(f.style[t], 10) > 0 - e.width ? f.style[t] = parseInt(f.style[t], 10) - 20 + "px" : (f.style[t] = 0 - e.width + "px", clearInterval(r), r = w, b ? e.close(a, h) : h.style.display = "none")
- }, 20)
- }
- this.s(a);
- var e = this,
- g = "wzScroller" + (new Date).getTime(),
- h = j.createElement("div"),
- p = j.createElement("div"),
- f = j.createElement("div"),
- k = j.documentElement,
- s = 200,
- n, r, t, l = "z-index:10000;overflow:hidden;bottom:0;height:100%;width:100%;background:none;",
- m = "margin:20px 0 0;position:absolute;top:0;width:100%;height:100%;",
- q = "position:absolute;width:100%;height:20px;top:-20px;";
- this.n = a;
- switch (a.bannerPosition) {
- case 6:
- t = "left";
- l += "left: 0;";
- m += "padding:0 30px 5px 5px;background:url(" + B.a.scriptsDomain + "img/bottom_l.png) no-repeat 100% bottom;";
- q += "right:0;background:url(" + B.a.scriptsDomain + "img/top_l.png) no-repeat 100% 0;";
- break;
- default:
- t = "right", l += "right: 0;", m += "padding:0 5px 5px 30px;background:url(" + B.a.scriptsDomain + "img/bottom_r.png) no-repeat 0 bottom;",
- q += "left:0;background:url(" + B.a.scriptsDomain + "img/top_r.png) no-repeat 0 0;"
- }
- this.height = this.width = 0;
- f.innerHTML = '\x3cspan style\x3d"float: left;font: bold 14px Arial; color: #701C1F;"\x3e\u0427\u0418\u0422\u0410\u0419\u0422\u0415 \u0422\u0410\u041a\u0416\u0415\x3c/span\x3e\x3cspan style\x3d"float: right; font: 12px/16px Arial; color:#666;cursor: pointer;" id\x3d"close_' + g + '"\x3e\u0417\u0430\u043a\u0440\u044b\u0442\u044c\x3c/span\x3e\x3cdiv style\x3d"clear: both;"\x3e\x3c/div\x3e';
- f.appendChild(p);
- f.className += "br-cntnr";
- p.style.cssText = q;
- f.style.cssText = m;
- f.id = g;
- d.u() ? l += "position:fixed;" : (l += "position:absolute;", d.W({
- C: h
- }), this.b(v, "scroll", function () {
- d.W({
- C: h
- })
- }, I));
- h.style.cssText = l;
- h.appendChild(f);
- this.F(f, a);
- j.body.appendChild(h);
- h.style.width = a.width + a.widthUnit;
- l = h.offsetWidth - 35;
- f.style.width = 790 > l ? l + "px" : "755px";
- this.qa(a, g);
- h.style.width = this.width + 35 + "px";
- f.style[t] = "-" + this.width + "px";
- f.style.width = this.width + "px";
- h.style.height = this.height + 70 + "px";
- f.style.height = this.height +
- 45 + "px";
- p.style.width = h.style.width;
- h.style.display = "none";
- this.b(v, "scroll", function () {
- b()
- }, I);
- this.b(v, "resize", function () {
- b()
- }, I);
- j.getElementById("close_" + g).onclick = function () {
- c(y)
- };
- this.wrap = h;
- this.data = a;
- this.id = g;
- return this
- };
- ia.prototype.qa = function (a, b) {
- function c(a, b) {
- a.style.cssText = n.q[b];
- g.b(a, "mouseover", function () {
- a.style.cssText = n.A[b]
- }, I);
- g.b(a, "mouseout", function () {
- a.style.cssText = n.q[b]
- }, I)
- }
- function e(a, b) {
- g.b(a, "mouseover", function () {
- b.style.cssText = n.A.sPText
- }, y);
- g.b(a, "mouseout",
- function () {
- b.style.cssText = n.q.sPText
- }, y)
- }
- var g = this,
- h = j.createElement("table"),
- p = j.getElementById(b),
- f = j.createElement("tbody"),
- k = j.createDocumentFragment(),
- s = j.createElement("img"),
- n = this,
- r = w,
- t;
- if (!r) switch (r = {}, r.size = parseInt(a.bannerSize, 10) + 2 * parseInt(a.imgBorderWidth, 10), t = r.size + parseInt(a.imgMarginSize, 10), a.orientation) {
- case "over":
- r.margin = "0";
- r.B = "0 0 " + a.imgMarginSize + "px";
- r.i = "none";
- r.v = "center";
- r.w = {
- top: -(a.bannerSizeOnmouseover - a.bannerSize),
- left: -(a.bannerSizeOnmouseover - a.bannerSize) /
- 2
- };
- break;
- case "left":
- r.margin = "0 0 0 " + t + "px";
- r.B = "0 -" + t + "px 0 0";
- r.i = "left";
- r.v = "left";
- r.w = {
- top: -(a.bannerSizeOnmouseover - a.bannerSize) / 2,
- left: -(a.bannerSizeOnmouseover - a.bannerSize)
- };
- break;
- case "right":
- r.margin = "0 " + t + "px 0 0", r.B = "0 0 0 -" + t + "px", r.i = "right", r.v = "left", r.w = {
- top: -(a.bannerSizeOnmouseover - a.bannerSize) / 2,
- left: 0
- }
- }
- t = r;
- var l = d.O() ? "display:inline;zoom:1;" : "display:inline-block;",
- m = parseInt(a.textSize, 10),
- q = m + (parseInt(a.textMouseOnTextSize, 10) - parseInt(a.textSize, 10)),
- u = m + (parseInt(a.textMouseOnTeaserSize,
- 10) - parseInt(a.textSize, 10));
- this.g = parseInt(a.textDivHeight, 10);
- n.q = {
- table: "table-layout:fixed;background:" + a.background + ";border-collapse:separate;border-spacing:" + a.blockMarginVert + "px " + a.blockMarginHoriz + "px;width:" + a.width + a.widthUnit + ";border:" + a.borderWidth + "px " + a.borderType + " " + a.borderColor + ";",
- td: "vertical-align:top;background:" + a.cellBackground + ";border:" + a.cellBorderWidth + "px " + a.cellBorderType + " " + a.cellBorderColor + ";cursor:pointer;text-align:" + t.v + ";width:" + a.width / a.horizCount + a.widthUnit +
- ";",
- div: "z-index:1;margin:" + t.B + ";position:relative;" + l + ";height:" + t.size + "px;width:" + t.size + "px;float:" + t.i + ";",
- img: "overflow:hidden;z-index:1;position:absolute;top:0;left:0;width:" + a.bannerSize + "px;height:" + a.bannerSize + "px;border:" + a.imgBorderWidth + "px " + a.imgBorderType + " " + a.imgBorderColor + ";",
- text: "margin:" + t.margin + ";cursor:pointer;float:" + t.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" !=
- a.textFontBold ? "700" : "100") + ";font-size:" + m + a.textSizeUnit + ";font-family:" + a.textFont + ";color:" + a.textColor + ";",
- sPText: "margin:" + t.margin + ";cursor:pointer;float:" + t.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textFontBold ? "700" : "100") + ";font-size:" + m + a.textSizeUnit + ";font-family:" + a.textFont + ";color:" + a.textColor + ";"
- };
- n.A = {
- table: "table-layout:fixed;background:" + a.backgroundOnmouseover + ";border-collapse:separate;border-spacing:" +
- a.blockMarginVert + "px " + a.blockMarginHoriz + "px;width:" + a.width + a.widthUnit + ";border:" + a.borderWidth + "px " + a.borderType + " " + a.borderColor + ";",
- td: "vertical-align:top;background:" + a.cellBackgroundOnmouseover + ";border:" + a.cellBorderWidth + "px " + a.cellBorderType + " " + a.cellBorderColor + ";cursor:pointer;text-align:" + t.v + ";width:" + a.width / a.horizCount + a.widthUnit + ";",
- div: "z-index:5;margin:" + t.B + ";position:relative;" + l + ";height:" + t.size + "px;width:" + t.size + "px;float:" + t.i + ";",
- img: "overflow:hidden;z-index:10;cursor:pointer;position:absolute;top:" +
- r.w.top + "px;left:" + r.w.left + "px;height:" + a.bannerSizeOnmouseover + "px;width:" + a.bannerSizeOnmouseover + "px;border:" + a.imgBorderWidth + "px " + a.imgBorderType + " " + a.imgBorderColor + ";",
- text: "margin:" + t.margin + ";cursor:pointer;float:" + t.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textMouseOnTextFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textMouseOnTextFontBold ? "700" : "100") + ";font-size:" + q + a.textMouseOnTextSizeUnit + ";font-family:" + a.textMouseOnTextFont +
- ";color:" + a.textMouseOnTextColor + ";",
- sPText: "margin:" + t.margin + ";cursor:pointer;float:" + t.i + ";height:" + (0 != this.g ? this.g + "px" : "auto") + ";text-decoration:" + ("false" != a.textMouseOnTeaserFontUnderline ? "underline" : "none") + ";display:block;font-weight:" + ("false" != a.textMouseOnTeaserFontBold ? "700" : "100") + ";font-size:" + u + a.textMouseOnTeaserSizeUnit + ";font-family:" + a.textMouseOnTeaserFont + ";color:" + a.textMouseOnTeaserColor + ";"
- };
- g.ja && (n.q.text += "word-break:break-all;", n.A.text += "word-break:break-all;", n.A.sPText +=
- "word-break:break-all;", n.q.sPText += "word-break:break-all;");
- this.Na = function () {
- 0 == this.g && (this.g = "over" == a.orientation ? 35 : a.bannerSize)
- };
- if (!p) {
- l = j.getElementsByTagName("script");
- m = RegExp("bid\x3d(" + a.blockId + ")(\\D|.{0}$)");
- r = 0;
- for (q = l.length; r < q; r += 1)
- if (-1 != l[r].src.indexOf(B.a.rotatorDomain) && m.test(d.D(l[r].src)) || -1 != l[r].text.indexOf(B.a.rotatorDomain) && -1 != l[r].text.indexOf(B.a.trsKey)) {
- m = j.createElement("div");
- m.id = "wzblock" + a.blockId;
- l[r].parentNode.insertBefore(m, l[r].nextSibling);
- break
- }
- }
- v.globalInfo.arrBlocks = [];
- this.data = a;
- k.appendChild(h);
- c(h, "table");
- for (r = l = 0; r < a.vertCount; r += 1) {
- m = j.createElement("tr");
- for (q = 0; q < a.horizCount; q += 1) {
- var u = a.teasers[l],
- A = u.iframeUrl ? y : I,
- x = {
- td: j.createElement("td"),
- img: j.createElement("img"),
- text: j.createElement("span"),
- div: j.createElement("span")
- }, E = j.createElement("span"),
- D = j.createElement("a");
- l++;
- for (var F in x) c(x[F], F), "td" == F && e(x[F], x.text);
- var G = u.trackingDomain;
- E.innerHTML = this.z(u.title);
- x.text.className = "wzTextSpan";
- x.text.appendChild(E);
- v.globalInfo.arrBlocks.push(x.text);
- A ? (A = j.createElement("div"), d.Z(u.iframeUrl + (0 < u.iframeUrl.indexOf("?") ? "\x26" : "?") + "frmSize\x3d" + t.size, A).style.cssText = "overflow:hidden; border:none;", x.div.appendChild(A), console.log("Own click:"), console.log(!u.useOwnClick), u.useOwnClick || (E = j.createElement("a"), A.appendChild(E), E.style.cssText = "text-decoration:none;display:block;position:absolute;left:0;top:0; width:100%;height:100%;z-index:2", E.target = "_blank", E.href = u.trackingDomain + d.e(u.clickUri)), c(A, "img")) : (x.img.src = B.a.imgDomain + u.src,
- x.img.title = this.z(u.title), x.img.alt = this.z(u.title), x.img.setAttribute("clickUri", u.clickUri), d.O() && (x.img.onclick = function () {
- v.open(G + d.e(this.getAttribute("clickUri") + g.t()))
- }), x.div.appendChild(x.img));
- D.target = "_blank";
- D.href = u.trackingDomain + d.e(u.clickUri);
- D.style.cssText = "text-decoration:none;display:block;";
- D.setAttribute("clickUri", u.clickUri);
- D.onclick = function () {
- this.href = G + d.e(this.getAttribute("clickUri") + g.t())
- };
- D.appendChild(x.div);
- D.appendChild(x.text);
- x.td.appendChild(D);
- m.appendChild(x.td)
- }
- f.appendChild(m);
- h.appendChild(f)
- }
- s.src = a.teasers[0].impDomain + d.e(a.trackShowUri);
- s.style.cssText = this.L;
- k.appendChild(s);
- p.appendChild(k);
- p.className += "br-cntnr";
- this.height = h.offsetHeight;
- this.width = h.offsetWidth;
- if ("px" != this.data.widthUnit) {
- var H = h.offsetWidth;
- v.onresize = function () {
- 10 < Math.abs(H - h.offsetWidth) && (width = H = h.offsetWidth)
- }
- }
- };
- G(ab, ia);
- ab.prototype.m = function (a) {
- var b = this,
- c = "wzPopin" + (new Date).getTime(),
- e = document.createElement("div"),
- g = document.createElement("div"),
- h = document.createElement("span"),
- j, f, k = "z-index:9999;overflow:hidden;height:0;width:100%;background:none;",
- n = "background:#fff;position:absolute;",
- p = "100" == a.height && "%" == a.heightUnit;
- if (p) switch (a.bannerPosition) {
- case 0:
- case 6:
- a.bannerPosition = 3;
- break;
- case 2:
- case 8:
- a.bannerPosition = 5
- }
- switch (a.bannerPosition) {
- case 0:
- j = "bottom";
- k += "top:0;left:0;";
- n += "margin: 0 0 20px;bottom:0;left:0;right:0;";
- f = "bottom";
- break;
- case 2:
- j = "bottom";
- k += "top:0;right:0;";
- n += "margin: 0 0 20px;bottom:0;left:0;";
- f = "bottom";
- break;
- case 3:
- j = "right";
- k += "top:0;left:0;";
- n += "margin: 20px 0 0;bottom:0;top:0;right:0;";
- f = "top";
- break;
- case 5:
- j = "left";
- k += "top:0;right:0;";
- n += "margin: 20px 0 0;bottom:0;top:0;left:0;right:0;";
- f = "top";
- break;
- case 6:
- j = "top";
- k += "bottom:0;left:0;";
- n += "margin: 20px 0 0;top:0;left:0;right:0;";
- f = "top";
- break;
- default:
- j = "top", k += "bottom:0;right:0;", n += "margin: 20px 0 0;bottom:0;top:0;left:0;right:0;", f = "top"
- }
- this.width = this.height = 0;
- g.style.cssText = n;
- g.id = c;
- d.u() ? k += "position:fixed;" : (k += "position:absolute;", d.W({
- C: e
- }), v.onscroll = function () {
- d.W({
- C: e
- })
- });
- e.style.cssText = k;
- e.appendChild(g);
- h.style.cssText = "position: absolute; " + f + ": -17px; right: 10px;font: 12px/17px Arial; color:#666;cursor: pointer;";
- h.innerHTML = "\u0417\u0430\u043a\u0440\u044b\u0442\u044c";
- setTimeout(function () {
- g.appendChild(h)
- }, 5E3);
- this.F(g, a);
- document.body.appendChild(e);
- e.style.width = a.width + a.widthUnit;
- g.style.width = e.offsetWidth - 0 + "px";
- this.qa(a, c);
- p ? (e.style.height = "100%", g.style[j] = e.offsetWidth + "px", g.style.height = "100%") : (e.style.height = this.height + 20 + "px", g.style[j] = e.style.height,
- g.style.height = this.height + "px");
- g.style.width = this.width + "px";
- h.onclick = function () {
- b.close(a, e)
- };
- setTimeout(function () {
- var a = setInterval(function () {
- 0 < parseInt(g.style[j], 10) ? g.style[j] = parseInt(g.style[j], 10) - 10 + "px" : (g.style[j] = 0, clearInterval(a))
- }, 20)
- }, 1E3);
- this.wrap = e;
- this.data = a;
- this.id = c;
- return this
- };
- var Gb = new za,
- Hb = new Va,
- Ib = new Wa,
- Jb = new Xa,
- Kb = new ea,
- Lb = new Ya,
- Mb = new Aa,
- Nb = new Za,
- Ob = new ha,
- Pb = new ia,
- Qb = new ab,
- Rb = new $a,
- d = new ub,
- B = new tb(zb)
- })(window, document, "eyJ2ZXJzaW9ucyI6eyJtcm90IjoiMTM5NjQ4MTcyMjg5NCIsImRpcmVjdCI6IjEzOTY0ODE3MjI4OTQiLCJzY3IiOiIxLzIyLmpzPzI0Iiwicm90IjoiMS8zLmpzPzI0IiwidGwiOiIxLzEyLmpzPzI0IiwiY29tbW9uIjoiMS8xLmpzPzI0IiwibXBwdW5kIjoiMTM5NjQ4MTcyMjg5NCIsImFzIjoiMS8yLmpzPzI0IiwiaWNxIjoiMTM5NjQ4MTcyMjg5NCIsImJyIjoiMS8xMS5qcz8yNCIsInZrbSI6IjEvMjEuanM_MjQiLCJ0c3IiOiIxLzE4LmpzPzI0IiwicGQiOiIxMzk2NDgxNzIyODk0IiwicHB1bmQiOiIxMzk2NDgxNzIyODk0Iiwic2dtIjoiMTM5NjQ4MTcyMjg5NCIsInBpbiI6IjEvMjMuanM_MjQiLCJqc2ZyIjoiMTM5NjQ4MTcyMjg5NCIsInBvcHVwIjoiMS80LmpzPzI0IiwibWRpcmVjdCI6IjEzOTY0ODE3MjI4OTQiLCJmciI6IjEzOTY0ODE3MjI4OTQiLCJ3YmwiOiIxMzk2NDgxNzIyODk0IiwiZW0iOiIxMzk2NDgxNzIyODk0IiwiY2YiOiIxLzE1LmpzPzI0In0sInNjcmlwdHNEb21haW4iOiJodHRwOi8vb2dnLm5vdC1vbmx5LmluZm8vanMvIiwicnRVcmkiOiIvP3Q9cnJ0JmJsb2NraWRzPTEzMjg0MiZ0cnNLZXk9NzYwOTMwJnVpZD03NWNhMDJlMC1iYWJmLTExZTMtYjliMS0wMDI1OTA2N2RiNjkiLCJ1a0RvbWFpbiI6Imh0dHA6Ly9zZWEud2F2ZXZpZXcuaW5mby91ay8iLCJ1a1VyaSI6InQ9c3luYyZ1dWlkPTc1Y2EwMmUwLWJhYmYtMTFlMy1iOWIxLTAwMjU5MDY3ZGI2OSZyZD1vZ2cubm90LW9ubHkuaW5mbyIsInJvdGF0b3JEb21haW4iOiJodHRwOi8vb2dnLm5vdC1vbmx5LmluZm8iLCJpbWdEb21haW4iOiJodHRwOi8vc2xkLk5FWFQtRkVXLklORk8iLCJ0cnNLZXkiOiI3NjA5MzAiLCJmb3JlaWduVWlkIjpudWxsLCJkb250R29Ub1VLIjpudWxsLCJhclVpZCI6bnVsbCwiZ0ZvcmVpZ25VaWQiOm51bGwsImdNYXRjaGluZ1VybCI6bnVsbCwiZnIiOm51bGwsImFmcmFtZVVybCI6Imh0dHA6Ly9leGlzdC5idWlsdC1kcnkuaW5mby8zLmh0bWwgIn0");
Advertisement
Add Comment
Please, Sign In to add comment