Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function (v, j, vb) {
- function $a(a) {
- return null != /[\\\"<>\.;]/.exec(a) && typeof encodeURIComponent != y ? encodeURIComponent(a) : a
- }
- function T(a, b) {
- if (ab) {
- var c = b ? "visible" : "hidden";
- U && H(a) ? H(a).style.visibility = c : bb("#" + a, "visibility:" + c)
- }
- }
- function bb(a, b, c, e) {
- if (!p.c || !p.P) {
- var f = q.getElementsByTagName("head")[0];
- if (f) {
- c = c && "string" == typeof c ? c : "screen";
- e && (Ba = K = null);
- if (!K || Ba != c) e = q.createElement("style"), e.setAttribute("type", "text/css"), e.setAttribute("media", c), K = f.appendChild(e), p.c && (p.d && typeof q.styleSheets !=
- y && 0 < q.styleSheets.length) && (K = q.styleSheets[q.styleSheets.length - 1]), Ba = c;
- p.c && p.d ? K && typeof K.addRule == L && K.addRule(a, b) : K && typeof q.createTextNode != y && K.appendChild(q.createTextNode(a + " {" + b + "}"))
- }
- }
- }
- function ja(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] ? !0 : !1
- }
- function H(a) {
- var b = null;
- try {
- b = q.getElementById(a)
- } catch (c) {}
- return b
- }
- function cb(a) {
- var b = H(a);
- b && "OBJECT" ==
- b.nodeName && (p.c && p.d ? (b.style.display = "none", function () {
- if (4 == b.readyState) {
- var c = H(a);
- if (c) {
- for (var e in c) "function" == typeof c[e] && (c[e] = null);
- c.parentNode.removeChild(c)
- }
- } else setTimeout(arguments.callee, 10)
- }()) : b.parentNode.removeChild(b))
- }
- function Ca(a, b, c) {
- var e, f = H(c);
- if (p.h && 312 > p.h) return e;
- if (f)
- if (typeof a.id == y && (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 g in b) b[g] != Object.prototype[g] && (d += '\x3cparam name\x3d"' + g + '" value\x3d"' + b[g] + '" /\x3e');
- f.outerHTML = '\x3cobject classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + h + "\x3e" + d + "\x3c/object\x3e";
- ka[ka.length] = a.id;
- e = H(a.id)
- } else {
- g = q.createElement(L);
- g.setAttribute("type", la);
- for (var k in a) a[k] != Object.prototype[k] && ("styleclass" == k.toLowerCase() ? g.setAttribute("class", a[k]) : "classid" != k.toLowerCase() && g.setAttribute(k, a[k]));
- for (h in b) b[h] != Object.prototype[h] &&
- "movie" != h.toLowerCase() && (a = g, d = h, k = b[h], c = q.createElement("param"), c.setAttribute("name", d), c.setAttribute("value", k), a.appendChild(c));
- f.parentNode.replaceChild(g, f);
- e = g
- }
- return e
- }
- function Da(a) {
- var b = q.createElement("div");
- if (p.d && p.c) b.innerHTML = a.innerHTML;
- else if (a = a.getElementsByTagName(L)[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(!0));
- return b
- }
- function wb(a) {
- if (p.c && p.d && 4 != a.readyState) {
- var b =
- q.createElement("div");
- a.parentNode.insertBefore(b, a);
- b.parentNode.replaceChild(Da(a), b);
- a.style.display = "none";
- (function () {
- 4 == a.readyState ? a.parentNode.removeChild(a) : setTimeout(arguments.callee, 10)
- })()
- } else a.parentNode.replaceChild(Da(a), a)
- }
- function Ea(a, b, c, e) {
- ma = !0;
- Fa = e || null;
- db = {
- success: !1,
- id: c
- };
- var f = H(c);
- if (f) {
- "OBJECT" == f.nodeName ? (ca = Da(f), na = null) : (ca = f, na = c);
- a.id = eb;
- if (typeof a.width == y || !/%$/.test(a.width) && 310 > parseInt(a.width, 10)) a.width = "310";
- if (typeof a.height == y || !/%$/.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" + E.location.toString().replace(/&/g, "%26") + "\x26MMplayerType\x3d" + e + "\x26MMdoctitle\x3d" + q.title;
- b.flashvars = typeof b.flashvars != y ? b.flashvars + ("\x26" + e) : e;
- p.c && (p.d && 4 != f.readyState) && (e = q.createElement("div"), c += "SWFObjectNew", e.setAttribute("id", c), f.parentNode.insertBefore(e, f), f.style.display = "none", function () {
- 4 == f.readyState ? f.parentNode.removeChild(f) :
- setTimeout(arguments.callee, 10)
- }());
- Ca(a, b, c)
- }
- }
- function Ga() {
- return !ma && ja("6.0.65") && (p.d || p.P) && !(p.h && 312 > p.h)
- }
- function Ha(a) {
- var b = null;
- if ((a = H(a)) && "OBJECT" == a.nodeName) typeof a.SetVariable != y ? b = a : (a = a.getElementsByTagName(L)[0]) && (b = a);
- return b
- }
- function Ia() {
- var a = O.length;
- if (0 < a)
- for (var b = 0; b < a; b++) {
- var c = O[b].id,
- e = O[b].ca,
- f = {
- success: !1,
- id: c
- };
- if (0 < p.l[0]) {
- var h = H(c);
- if (h)
- if (ja(O[b].oa) && !(p.h && 312 > p.h)) T(c, !0), e && (f.success = !0, f.Q = Ha(c), e(f));
- else if (O[b].N && Ga()) {
- f = {};
- f.data = O[b].N;
- f.width =
- h.getAttribute("width") || "0";
- f.height = h.getAttribute("height") || "0";
- h.getAttribute("class") && (f.mb = h.getAttribute("class"));
- h.getAttribute("align") && (f.align = h.getAttribute("align"));
- for (var d = {}, h = h.getElementsByTagName("param"), g = h.length, k = 0; k < g; k++) "movie" != h[k].getAttribute("name").toLowerCase() && (d[h[k].getAttribute("name")] = h[k].getAttribute("value"));
- Ea(f, d, c, e)
- } else wb(h), e && e(f)
- } else if (T(c, !0), e) {
- if ((c = Ha(c)) && typeof c.SetVariable != y) f.success = !0, f.Q = c;
- e(f)
- }
- }
- }
- function fb(a) {
- if (typeof E.addEventListener !=
- y) E.addEventListener("load", a, !1);
- else if (typeof q.addEventListener != y) q.addEventListener("load", a, !1);
- else if (typeof E.attachEvent != y) {
- var b = E;
- b.attachEvent("onload", a);
- X[X.length] = [b, "onload", a]
- } else if ("function" == typeof E.onload) {
- var c = E.onload;
- E.onload = function () {
- c();
- a()
- }
- } else E.onload = a
- }
- function gb(a) {
- U ? a() : oa[oa.length] = a
- }
- function Y() {
- if (!U) {
- try {
- var a = q.getElementsByTagName("body")[0].appendChild(q.createElement("span"));
- a.parentNode.removeChild(a)
- } catch (b) {
- return
- }
- U = !0;
- for (var a = oa.length,
- c = 0; c < a; c++) oa[c]()
- }
- }
- function hb(a) {
- return null != /[\\\"<>\.;]/.exec(a) && typeof encodeURIComponent != w ? encodeURIComponent(a) : a
- }
- function V(a, b) {
- if (ib) {
- var c = b ? "visible" : "hidden";
- W && I(a) ? I(a).style.visibility = c : jb("#" + a, "visibility:" + c)
- }
- }
- function jb(a, b, c, e) {
- if (!n.c || !n.P) {
- var f = u.getElementsByTagName("head")[0];
- if (f) {
- c = c && "string" == typeof c ? c : "screen";
- e && (Ja = M = null);
- if (!M || Ja != c) e = u.createElement("style"), e.setAttribute("type", "text/css"), e.setAttribute("media", c), M = f.appendChild(e), n.c && (n.d && typeof u.styleSheets !=
- w && 0 < u.styleSheets.length) && (M = u.styleSheets[u.styleSheets.length - 1]), Ja = c;
- n.c && n.d ? M && typeof M.addRule == N && M.addRule(a, b) : M && typeof u.createTextNode != w && M.appendChild(u.createTextNode(a + " {" + b + "}"))
- }
- }
- }
- function pa(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] ? !0 : !1
- }
- function I(a) {
- var b = null;
- try {
- b = u.getElementById(a)
- } catch (c) {}
- return b
- }
- function kb(a) {
- var b = I(a);
- b && "OBJECT" ==
- b.nodeName && (n.c && n.d ? (b.style.display = "none", function () {
- if (4 == b.readyState) {
- var c = I(a);
- if (c) {
- for (var e in c) "function" == typeof c[e] && (c[e] = null);
- c.parentNode.removeChild(c)
- }
- } else setTimeout(arguments.callee, 10)
- }()) : b.parentNode.removeChild(b))
- }
- function Ka(a, b, c) {
- var e, f = I(c);
- if (n.h && 312 > n.h) return e;
- if (f)
- if (typeof a.id == w && (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 g in b) b[g] != Object.prototype[g] && (d += '\x3cparam name\x3d"' + g + '" value\x3d"' + b[g] + '" /\x3e');
- f.outerHTML = '\x3cobject classid\x3d"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + h + "\x3e" + d + "\x3c/object\x3e";
- qa[qa.length] = a.id;
- e = I(a.id)
- } else {
- g = u.createElement(N);
- g.setAttribute("type", ra);
- for (var k in a) a[k] != Object.prototype[k] && ("styleclass" == k.toLowerCase() ? g.setAttribute("class", a[k]) : "classid" != k.toLowerCase() && g.setAttribute(k, a[k]));
- for (h in b) b[h] != Object.prototype[h] &&
- "movie" != h.toLowerCase() && (a = g, d = h, k = b[h], c = u.createElement("param"), c.setAttribute("name", d), c.setAttribute("value", k), a.appendChild(c));
- f.parentNode.replaceChild(g, f);
- e = g
- }
- return e
- }
- function La(a) {
- var b = u.createElement("div");
- if (n.d && n.c) b.innerHTML = a.innerHTML;
- else if (a = a.getElementsByTagName(N)[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(!0));
- return b
- }
- function xb(a) {
- if (n.c && n.d && 4 != a.readyState) {
- var b =
- u.createElement("div");
- a.parentNode.insertBefore(b, a);
- b.parentNode.replaceChild(La(a), b);
- a.style.display = "none";
- (function () {
- 4 == a.readyState ? a.parentNode.removeChild(a) : setTimeout(arguments.callee, 10)
- })()
- } else a.parentNode.replaceChild(La(a), a)
- }
- function Ma(a, b, c, e) {
- sa = !0;
- Na = e || null;
- lb = {
- success: !1,
- id: c
- };
- var f = I(c);
- if (f) {
- "OBJECT" == f.nodeName ? (da = La(f), ta = null) : (da = f, ta = c);
- a.id = mb;
- if (typeof a.width == w || !/%$/.test(a.width) && 310 > parseInt(a.width, 10)) a.width = "310";
- if (typeof a.height == w || !/%$/.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" + F.location.toString().replace(/&/g, "%26") + "\x26MMplayerType\x3d" + e + "\x26MMdoctitle\x3d" + u.title;
- b.flashvars = typeof b.flashvars != w ? b.flashvars + ("\x26" + e) : e;
- n.c && (n.d && 4 != f.readyState) && (e = u.createElement("div"), c += "SWFObjectNew", e.setAttribute("id", c), f.parentNode.insertBefore(e, f), f.style.display = "none", function () {
- 4 == f.readyState ? f.parentNode.removeChild(f) :
- setTimeout(arguments.callee, 10)
- }());
- Ka(a, b, c)
- }
- }
- function Oa() {
- return !sa && pa("6.0.65") && (n.d || n.P) && !(n.h && 312 > n.h)
- }
- function Pa(a) {
- var b = null;
- if ((a = I(a)) && "OBJECT" == a.nodeName) typeof a.SetVariable != w ? b = a : (a = a.getElementsByTagName(N)[0]) && (b = a);
- return b
- }
- function Qa() {
- var a = P.length;
- if (0 < a)
- for (var b = 0; b < a; b++) {
- var c = P[b].id,
- e = P[b].ca,
- f = {
- success: !1,
- id: c
- };
- if (0 < n.l[0]) {
- var h = I(c);
- if (h)
- if (pa(P[b].oa) && !(n.h && 312 > n.h)) V(c, !0), e && (f.success = !0, f.Q = Pa(c), e(f));
- else if (P[b].N && Oa()) {
- f = {};
- f.data = P[b].N;
- f.width =
- h.getAttribute("width") || "0";
- f.height = h.getAttribute("height") || "0";
- h.getAttribute("class") && (f.mb = h.getAttribute("class"));
- h.getAttribute("align") && (f.align = h.getAttribute("align"));
- for (var d = {}, h = h.getElementsByTagName("param"), g = h.length, k = 0; k < g; k++) "movie" != h[k].getAttribute("name").toLowerCase() && (d[h[k].getAttribute("name")] = h[k].getAttribute("value"));
- Ma(f, d, c, e)
- } else xb(h), e && e(f)
- } else if (V(c, !0), e) {
- if ((c = Pa(c)) && typeof c.SetVariable != w) f.success = !0, f.Q = c;
- e(f)
- }
- }
- }
- function nb(a) {
- if (typeof F.addEventListener !=
- w) F.addEventListener("load", a, !1);
- else if (typeof u.addEventListener != w) u.addEventListener("load", a, !1);
- else if (typeof F.attachEvent != w) {
- var b = F;
- b.attachEvent("onload", a);
- Z[Z.length] = [b, "onload", a]
- } else if ("function" == typeof F.onload) {
- var c = F.onload;
- F.onload = function () {
- c();
- a()
- }
- } else F.onload = a
- }
- function ob(a) {
- W ? a() : ua[ua.length] = a
- }
- function aa() {
- if (!W) {
- try {
- var a = u.getElementsByTagName("body")[0].appendChild(u.createElement("span"));
- a.parentNode.removeChild(a)
- } catch (b) {
- return
- }
- W = !0;
- for (var a = ua.length,
- c = 0; c < a; c++) ua[c]()
- }
- }
- function D(a, b) {
- function c() {}
- c.prototype = b.prototype;
- a.prototype = new c;
- a.prototype.constructor = a;
- a.qb = b.prototype;
- b.prototype.constructor == Object.prototype.constructor && (b.prototype.constructor = b)
- }
- function pb(a) {
- this.a = d.parseJSON(d.F(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.aa(this.a.ukDomain, this.a.ukUri, function (a) {
- clearTimeout(c);
- d.parseJSON(d.F(a));
- v.globalInfo.udata =
- a;
- b.ma()
- }, "jsf")
- } else !this.a.foreignUid && this.a.matchingUrl && this.xa(this.a.matchingUrl), this.ma()
- }
- function qb() {
- this.ha = this.ga = 0;
- var a = j,
- b = function () {
- this.ga++
- }.bind(this);
- a.addEventListener ? a.addEventListener("mousemove", b, !1) : a.attachEvent("onmousemove", b);
- a = j;
- b = function () {
- this.ha++
- }.bind(this);
- a.addEventListener ? a.addEventListener("scroll", b, !1) : a.attachEvent("onscroll", b)
- }
- function G() {}
- function va() {}
- function Ra() {}
- function Sa() {}
- function Ta() {}
- function ba() {}
- function Ua() {}
- function wa() {}
- function Va() {}
- function Wa() {}
- function ea() {}
- function fa() {}
- function Xa() {}
- var w = "undefined",
- N = "object",
- ra = "application/x-shockwave-flash",
- mb = "SWFObjectExprInst",
- F = v,
- u = j,
- Q = navigator,
- rb = !1,
- ua = [
- function () {
- if (rb) {
- var a = u.getElementsByTagName("body")[0],
- b = u.createElement(N);
- b.setAttribute("type", ra);
- var c = a.appendChild(b);
- if (c) {
- var e = 0;
- (function () {
- if (typeof c.GetVariable != w) {
- var f = c.GetVariable("$version");
- f && (f = f.split(" ")[1].split(","), n.l = [parseInt(f[0], 10), parseInt(f[1], 10), parseInt(f[2], 10)])
- } else if (10 > e) {
- e++;
- setTimeout(arguments.callee, 10);
- return
- }
- a.removeChild(b);
- c = null;
- Qa()
- })()
- } else Qa()
- } else Qa()
- }
- ],
- P = [],
- qa = [],
- Z = [],
- da, ta, Na, lb, W = !1,
- sa = !1,
- M, Ja, ib = !0,
- n, yb = typeof u.getElementById != w && typeof u.getElementsByTagName != w && typeof u.createElement != w,
- xa = Q.userAgent.toLowerCase(),
- ya = Q.platform.toLowerCase(),
- zb = ya ? /win/.test(ya) : /win/.test(xa),
- Ab = ya ? /mac/.test(ya) : /mac/.test(xa),
- Bb = /webkit/.test(xa) ? parseFloat(xa.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : !1,
- Ya = !+"\v1",
- ga = [0, 0, 0],
- C = null;
- if (typeof Q.plugins != w &&
- typeof Q.plugins["Shockwave Flash"] == N) {
- if ((C = Q.plugins["Shockwave Flash"].description) && !(typeof Q.mimeTypes != w && Q.mimeTypes[ra] && !Q.mimeTypes[ra].enabledPlugin)) rb = !0, Ya = !1, C = C.replace(/^.*\s+(\S+\s+\S+$)/, "$1"), ga[0] = parseInt(C.replace(/^(.*)\..*$/, "$1"), 10), ga[1] = parseInt(C.replace(/^.*\.(.*)\s.*$/, "$1"), 10), ga[2] = /[a-zA-Z]/.test(C) ? parseInt(C.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0
- } else if (typeof F.ActiveXObject != w) try {
- var sb = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
- if (sb && (C = sb.GetVariable("$version"))) Ya = !0, C = C.split(" ")[1].split(","), ga = [parseInt(C[0], 10), parseInt(C[1], 10), parseInt(C[2], 10)]
- } catch (Sb) {}
- n = {
- j: yb,
- l: ga,
- h: Bb,
- c: Ya,
- d: zb,
- P: Ab
- };
- n.j && ((typeof u.readyState != w && "complete" == u.readyState || typeof u.readyState == w && (u.getElementsByTagName("body")[0] || u.body)) && aa(), W || (typeof u.addEventListener != w && u.addEventListener("DOMContentLoaded", aa, !1), n.c && n.d && (u.attachEvent("onreadystatechange", function () {
- "complete" == u.readyState && (u.detachEvent("onreadystatechange", arguments.callee), aa())
- }), F == top && function () {
- if (!W) {
- try {
- u.Ha.doScroll("left")
- } catch (a) {
- setTimeout(arguments.callee,
- 0);
- return
- }
- aa()
- }
- }()), n.h && function () {
- W || (/loaded|complete/.test(u.readyState) ? aa() : setTimeout(arguments.callee, 0))
- }(), nb(aa)));
- n.c && n.d && v.attachEvent("onunload", function () {
- for (var a = Z.length, b = 0; b < a; b++) Z[b][0].detachEvent(Z[b][1], Z[b][2]);
- a = qa.length;
- for (b = 0; b < a; b++) kb(qa[b]);
- for (var c in n) n[c] = null;
- n = null;
- for (var e in d.p) d.p[e] = null;
- d.p = null
- });
- qb.prototype = {
- V: "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.Xa()) return !1;
- var a = j.createElement("div");
- a.style.cssText = "position:fixed";
- return a.style.position.match("fixed") ? !0 : !1
- },
- Ya: function (a) {
- a.matchUrl && (this.M(a.matchUrl).style.cssText = this.L)
- },
- da: function (a) {
- if (0 == a.limit && 0 == a.period) return !0;
- if (null == this.ia(a.periodName)) {
- var b = parseInt(this.ia(a.limitName));
- if (0 == a.limit || isNaN(b) || b < a.limit) return !0
- }
- return !1
- },
- Xa: 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.ia(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,
- f = 2 < e ? c[2] : null,
- h = 3 < e ? c[3] : null,
- d = 4 < e ? c[4] : null;
- j.cookie = a + "\x3d" + encodeURIComponent(b) + (null == f ? "" : "; expires\x3d" + f.toGMTString()) +
- (null == h ? "" : "; path\x3d" + h) + (null == d ? "" : "; domain\x3d" + d) + (!0 == (5 < e ? c[5] : !1) ? "; 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 !0;
- for (a = a.replace(/^[a-z]/, function (a) {
- return a.toUpperCase()
- }); e--;)
- if (c[e] + a in b.style) return !0;
- return !1
- };
- return a("boxShadow") && a("borderRadius")
- },
- log: function (a) {
- console && (console.log ? console.log(arguments) : console.debug && console.debug(arguments))
- },
- ia: function (a) {
- var b = " " +
- j.cookie;
- a = " " + a + "\x3d";
- var c = null,
- e = 0,
- f = 0;
- 0 < b.length && (e = b.indexOf(a), -1 != e && (e += a.length, f = -1 == b.indexOf(";", e) ? b.length : b.indexOf(";", e), c = decodeURIComponent(b.substring(e, f))));
- return c
- },
- Ja: function (a, b) {
- var c = "",
- e = "",
- f, h, d, g, k, j = 0;
- b &= 255;
- a = this.pb(a);
- for (h = 0; h < a.length; e += String.fromCharCode(b ^ a.charCodeAt(h)), h++);
- for (a = e; j < a.length;) f = a.charCodeAt(j++), e = a.charCodeAt(j++), h = a.charCodeAt(j++), d = f >> 2, f = (f & 3) << 4 | e >> 4, g = (e & 15) << 2 | h >> 6, k = h & 63, isNaN(e) ? g = k = 64 : isNaN(h) && (k = 64), c = c + this.V.charAt(d) +
- this.V.charAt(f) + this.V.charAt(g) + this.V.charAt(k);
- return c
- },
- F: 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, f, h = 0, d = [], g = 0, k = 0, h = 0; h < a.length; h++) f = a.charCodeAt(h), e = c[f & 127], -1 === e ? this.log("Illegal characters (code\x3d" + f + ") in position " + h) : (k = k << 6 | e, g += 6, 8 <= g && (g -= 8, "\x3d" !== a.charAt(h) && d.push(k >> g & 255), k &= (1 << g) - 1));
- if (b) {
- c = [];
- b &= 255;
- for (e = 0; e < d.length; c.push(b ^ d[e]), e++);
- d = c
- }
- return this.ob(d)
- },
- ob: function (a) {
- for (var b = [], c = 0, e = a.length, f, h, d; c < e;) f = a[c], h = a[c + 1], d = a[c + 2], 128 > f ? (b.push(String.fromCharCode(f)), c += 1) : 191 < f && 224 > f ? (b.push(String.fromCharCode((f & 31) << 6 | h & 63)), c += 2) : (b.push(String.fromCharCode((f &
- 15) << 12 | (h & 63) << 6 | d & 63)), c += 3);
- return b.join("")
- },
- pb: 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
- },
- cb: function (a) {
- function b(a, b) {
- var d = a[0],
- l = a[1],
- m = a[2],
- g = a[3],
- d = e(d, l, m, g, b[0], 7, -680876936),
- g = e(g, d, l, m, b[1], 12, -389564586),
- m = e(m, g, d, l, b[2], 17, 606105819),
- l =
- e(l, m, g, d, b[3], 22, -1044525330),
- d = e(d, l, m, g, b[4], 7, -176418897),
- g = e(g, d, l, m, b[5], 12, 1200080426),
- m = e(m, g, d, l, b[6], 17, -1473231341),
- l = e(l, m, g, d, b[7], 22, -45705983),
- d = e(d, l, m, g, b[8], 7, 1770035416),
- g = e(g, d, l, m, b[9], 12, -1958414417),
- m = e(m, g, d, l, b[10], 17, -42063),
- l = e(l, m, g, d, b[11], 22, -1990404162),
- d = e(d, l, m, g, b[12], 7, 1804603682),
- g = e(g, d, l, m, b[13], 12, -40341101),
- m = e(m, g, d, l, b[14], 17, -1502002290),
- l = e(l, m, g, d, b[15], 22, 1236535329),
- d = f(d, l, m, g, b[1], 5, -165796510),
- g = f(g, d, l, m, b[6], 9, -1069501632),
- m = f(m, g, d, l, b[11], 14, 643717713),
- l = f(l, m, g, d, b[0], 20, -373897302),
- d = f(d, l, m, g, b[5], 5, -701558691),
- g = f(g, d, l, m, b[10], 9, 38016083),
- m = f(m, g, d, l, b[15], 14, -660478335),
- l = f(l, m, g, d, b[4], 20, -405537848),
- d = f(d, l, m, g, b[9], 5, 568446438),
- g = f(g, d, l, m, b[14], 9, -1019803690),
- m = f(m, g, d, l, b[3], 14, -187363961),
- l = f(l, m, g, d, b[8], 20, 1163531501),
- d = f(d, l, m, g, b[13], 5, -1444681467),
- g = f(g, d, l, m, b[2], 9, -51403784),
- m = f(m, g, d, l, b[7], 14, 1735328473),
- l = f(l, m, g, d, b[12], 20, -1926607734),
- d = c(l ^ m ^ g, d, l, b[5], 4, -378558),
- g = c(d ^ l ^ m, g, d, b[8], 11, -2022574463),
- m = c(g ^ d ^ l, m, g, b[11], 16,
- 1839030562),
- l = c(m ^ g ^ d, l, m, b[14], 23, -35309556),
- d = c(l ^ m ^ g, d, l, b[1], 4, -1530992060),
- g = c(d ^ l ^ m, g, d, b[4], 11, 1272893353),
- m = c(g ^ d ^ l, m, g, b[7], 16, -155497632),
- l = c(m ^ g ^ d, l, m, b[10], 23, -1094730640),
- d = c(l ^ m ^ g, d, l, b[13], 4, 681279174),
- g = c(d ^ l ^ m, g, d, b[0], 11, -358537222),
- m = c(g ^ d ^ l, m, g, b[3], 16, -722521979),
- l = c(m ^ g ^ d, l, m, b[6], 23, 76029189),
- d = c(l ^ m ^ g, d, l, b[9], 4, -640364487),
- g = c(d ^ l ^ m, g, d, b[12], 11, -421815835),
- m = c(g ^ d ^ l, m, g, b[15], 16, 530742520),
- l = c(m ^ g ^ d, l, m, b[2], 23, -995338651),
- d = h(d, l, m, g, b[0], 6, -198630844),
- g = h(g, d, l, m, b[7],
- 10, 1126891415),
- m = h(m, g, d, l, b[14], 15, -1416354905),
- l = h(l, m, g, d, b[5], 21, -57434055),
- d = h(d, l, m, g, b[12], 6, 1700485571),
- g = h(g, d, l, m, b[3], 10, -1894986606),
- m = h(m, g, d, l, b[10], 15, -1051523),
- l = h(l, m, g, d, b[1], 21, -2054922799),
- d = h(d, l, m, g, b[8], 6, 1873313359),
- g = h(g, d, l, m, b[15], 10, -30611744),
- m = h(m, g, d, l, b[6], 15, -1560198380),
- l = h(l, m, g, d, b[13], 21, 1309151649),
- d = h(d, l, m, g, b[4], 6, -145523070),
- g = h(g, d, l, m, b[11], 10, -1120210379),
- m = h(m, g, d, l, b[2], 15, 718787259),
- l = h(l, m, g, 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(g, a[3])
- }
- function c(a, b, c, e, d, f) {
- b = k(k(b, a), k(e, f));
- return k(b << d | b >>> 32 - d, c)
- }
- function e(a, b, e, d, f, g, h) {
- return c(b & e | ~b & d, a, b, f, g, h)
- }
- function f(a, b, e, d, f, g, h) {
- return c(b & d | e & ~d, a, b, f, g, h)
- }
- function h(a, b, e, d, f, g, h) {
- return c(e ^ (b | ~d), a, b, f, g, h)
- }
- function d(a) {
- var c = a.length,
- e = [1732584193, -271733879, -1732584194, 271733878],
- f;
- for (f = 64; f <= a.length; f += 64) {
- for (var g = a.substring(f - 64, f), h = [], k = void 0, k = 0; 64 > k; k += 4) h[k >> 2] = g.charCodeAt(k) + (g.charCodeAt(k + 1) << 8) + (g.charCodeAt(k + 2) << 16) + (g.charCodeAt(k +
- 3) << 24);
- b(e, h)
- }
- a = a.substring(f - 64);
- g = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
- for (f = 0; f < a.length; f++) g[f >> 2] |= a.charCodeAt(f) << (f % 4 << 3);
- g[f >> 2] |= 128 << (f % 4 << 3);
- if (55 < f) {
- b(e, g);
- for (f = 0; 16 > f; f++) g[f] = 0
- }
- g[14] = 8 * c;
- b(e, g);
- return e
- }
- function g(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" != g(d("hello")) && (k = function (a, b) {
- var c = (a & 65535) +
- (b & 65535);
- return (a >> 16) + (b >> 16) + (c >> 16) << 16 | c & 65535
- });
- return g(d(a))
- },
- $: 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())
- },
- fb: function (a) {
- function b(a) {
- var b = document.createElement("a");
- b.target = "_blank";
- b.href = a;
- a = document.createEvent("MouseEvents");
- a.initMouseEvent("click", !0, !0, window, 0, 0, 0, 0, 0, !0, !1, !1, !0, 0, null);
- b.dispatchEvent(a)
- }(-1 != navigator.userAgent.toLowerCase().indexOf("chrome") ? b : d.$)(a)
- },
- e: function (a) {
- var b = +new Date % 1E6;
- return "/?" + b + "\x3d" + this.Ja(a.replace("/?", ""), b)
- },
- p: {
- hb: function (a, b, c, e) {
- if (n.j && a && b) {
- var d = {};
- d.id = a;
- d.oa = b;
- d.N = c;
- d.ca = e;
- P[P.length] = d;
- V(a, !1)
- } else e && e({
- success: !1,
- id: a
- })
- },
- Qa: function (a) {
- if (n.j) return Pa(a)
- },
- I: function (a, b, c, e, d, h, j, g, k, s) {
- var z = {
- success: !1,
- id: b
- };
- n.j && !(n.h && 312 > n.h) && a && b && c && e && d ? (V(b, !1),
- ob(function () {
- c += "";
- e += "";
- var r = {};
- if (k && typeof k === N)
- for (var t in k) r[t] = k[t];
- r.data = a;
- r.width = c;
- r.height = e;
- t = {};
- if (g && typeof g === N)
- for (var l in g) t[l] = g[l];
- if (j && typeof j === N)
- for (var m in j) t.flashvars = typeof t.flashvars != w ? t.flashvars + ("\x26" + m + "\x3d" + j[m]) : m + "\x3d" + j[m];
- if (pa(d)) l = Ka(r, t, b), r.id == b && V(b, !0), z.success = !0, z.Q = l;
- else {
- if (h && Oa()) {
- r.data = h;
- Ma(r, t, b, s);
- return
- }
- V(b, !0)
- }
- s && s(z)
- })) : s && s(z)
- },
- nb: function () {
- ib = !1
- },
- T: n,
- Oa: function () {
- return {
- $a: n.l[0],
- eb: n.l[1],
- ib: n.l[2]
- }
- },
- ja: pa,
- Ga: function (a,
- b, c) {
- if (n.j) return Ka(a, b, c)
- },
- kb: function (a, b, c, e) {
- n.j && Oa() && Ma(a, b, c, e)
- },
- jb: function (a) {
- n.j && kb(a)
- },
- Fa: function (a, b, c, e) {
- n.j && jb(a, b, c, e)
- },
- Ca: ob,
- Da: nb,
- Sa: function (a) {
- var b = u.location.search || u.location.hash;
- if (b) {
- /\?/.test(b) && (b = b.split("?")[1]);
- if (null == a) return hb(b);
- for (var b = b.split("\x26"), c = 0; c < b.length; c++)
- if (b[c].substring(0, b[c].indexOf("\x3d")) == a) return hb(b[c].substring(b[c].indexOf("\x3d") + 1))
- }
- return ""
- },
- La: function () {
- if (sa) {
- var a = I(mb);
- a && da && (a.parentNode.replaceChild(da, a), ta && (V(ta, !0), n.c && n.d && (da.style.display = "block")), Na && Na(lb));
- sa = !1
- }
- }
- },
- parseJSON: function (a) {
- return eval("(" + a + ")")
- },
- aa: function (a, b, c, e) {
- e = e || "jclb";
- if (c) {
- var f = "jsonp" + String(Math.random()).slice(4);
- b += "\x26" + e + "\x3dwindow." + f;
- v[f] = function (a) {
- scriptOk = !0;
- v[f] = void 0;
- try {
- delete v[f]
- } 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
- },
- U: 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
- },
- Ua: function () {
- var a = 0,
- b = 0;
- v.screen ? (b = v.screen.width, a = v.screen.height) : v.Za && (a = v.Za.awt.Toolkit.getDefaultToolkit().getScreenSize(), b = a.width, a = a.height);
- return "\x26width\x3d" + b + "\x26height\x3d" + a
- },
- ab: function (a, b) {
- function c(a) {
- a = [navigator.userAgent, [screen.width, screen.height, screen.colorDepth].join("x"), (new Date).getTimezoneOffset(), !!window.sessionStorage, !!window.localStorage, null != a ? a.version : "undefined", (null != a ? 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.cb(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), null != c && (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.ja("1");
- var h = this,
- j = this.r("div");
- j.style.cssText = "left:-10000px;height:1px;width:1px;position:absolute;";
- var g = window.document.createElement("div");
- g.id = "plshldr_" + +new Date;
- j.appendChild(g);
- this.J ? (window["frcb_" + g.id] = c, this.p.I(a + "img/fr.swf?v\x3d1", g.id, "1", "1", "10.0.0", "", {
- clb: "frcb_" + g.id
- }, d, {})) : c(null)
- },
- Pa: function () {
- function a(a, b) {
- return "\x26jsBrowser\x3d" + (a + (b ? "_" + b : "")).toUpperCase()
- }
- var b = void 0 != v.chrome,
- c = null != j.getBoxObjectFor || null != v.mozInnerScreenX,
- e = "ontouchstart" in window;
- return void 0 != v.ya &&
- void 0 != v.ya_cf ? a("yandex") : b && e ? a("chrome", "mobile") : b ? a("chrome") : c && e ? a("mobile", "firefox") : c ? a("firefox") : void 0 != v.operamini ? a("opera", "mini") : void 0 != v.opera ? a("opera") : ""
- },
- X: 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"
- }
- },
- Ta: function (a) {
- return j.referrer && -1 == a.indexOf("\x26ref\x3d") ? "\x26ref\x3d" + encodeURIComponent(j.referrer) : ""
- },
- Wa: 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.ka) && !this.Z ? "CSS1Compat" == j.compatMode ? j.documentElement.clientHeight : j.body.clientHeight : (j.gb || j.defaultView).innerHeight;
- d.log(a);
- return a
- },
- ra: function () {
- return (j.compatMode || this.ka) && !this.Z ? "CSS1Compat" == j.compatMode ? j.documentElement.clientWidth : j.body.clientWidth : (j.gb || j.defaultView).innerWidth
- },
- o: function () {
- return Math.max(v.pageYOffset ||
- j.documentElement.scrollTop, j.body.scrollTop)
- },
- Ra: function (a, b) {
- for (var c = b.parentNode, e = " " + a + " "; c = c.parentNode;)
- if (-1 != (" " + c.className + " ").indexOf(e)) return c;
- return null
- }
- };
- pb.prototype = {
- a: {},
- n: {},
- f: null,
- ma: function () {
- function a(a) {
- d.ab(b.a.scriptsDomain, b.a.rotatorDomain);
- a = d.parseJSON(d.F(a));
- d.log("Success RT, ", a);
- d.Ya(a);
- b.n = a;
- b.a.rtUri.replace("/?", "");
- var c = {
- br: Cb,
- as: Db,
- tl: Eb,
- cf: Fb,
- vkm: Gb,
- rot: Hb,
- popup: Ib,
- mppund: Jb,
- tsr: Kb,
- scr: Lb,
- pin: Mb,
- mdirect: Nb
- };
- 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.Wa(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.aa(this.a.rotatorDomain, this.a.rtUri + this.Va(c) + d.Ua() + d.Pa() + d.Ta(c), a)
- },
- xa: function (a) {
- d.M(a).style.cssText = "width:1px;height:1px;position:absolute;left:-10000px;"
- },
- Va: 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.F(a)), a.matchingUrl && this.xa(a.matchingUrl), b + "\x26udata\x3d" + a.uid) : b
- }
- };
- var y = "undefined",
- L = "object",
- la = "application/x-shockwave-flash",
- eb = "SWFObjectExprInst",
- E = v,
- q = j,
- R = navigator,
- tb = !1,
- oa = [
- function () {
- if (tb) {
- var a = q.getElementsByTagName("body")[0],
- b = q.createElement(L);
- b.setAttribute("type", la);
- var c = a.appendChild(b);
- if (c) {
- var d = 0;
- (function () {
- if (typeof c.GetVariable != y) {
- var f = c.GetVariable("$version");
- f && (f = f.split(" ")[1].split(","), p.l = [parseInt(f[0], 10), parseInt(f[1], 10), parseInt(f[2], 10)])
- } else if (10 > d) {
- d++;
- setTimeout(arguments.callee, 10);
- return
- }
- a.removeChild(b);
- c = null;
- Ia()
- })()
- } else Ia()
- } else Ia()
- }
- ],
- O = [],
- ka = [],
- X = [],
- ca, na, Fa, db, U = !1,
- ma = !1,
- K, Ba, ab = !0,
- p, Ob = typeof q.getElementById != y && typeof q.getElementsByTagName != y && typeof q.createElement != y,
- za = R.userAgent.toLowerCase(),
- Aa = R.platform.toLowerCase(),
- Pb = Aa ? /win/.test(Aa) : /win/.test(za),
- Qb = Aa ? /mac/.test(Aa) : /mac/.test(za),
- Rb = /webkit/.test(za) ? parseFloat(za.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,
- "$1")) : !1,
- Za = !+"\v1",
- ha = [0, 0, 0],
- A = null;
- if (typeof R.plugins != y && typeof R.plugins["Shockwave Flash"] == L) {
- if ((A = R.plugins["Shockwave Flash"].description) && !(typeof R.mimeTypes != y && R.mimeTypes[la] && !R.mimeTypes[la].enabledPlugin)) tb = !0, Za = !1, A = A.replace(/^.*\s+(\S+\s+\S+$)/, "$1"), ha[0] = parseInt(A.replace(/^(.*)\..*$/, "$1"), 10), ha[1] = parseInt(A.replace(/^.*\.(.*)\s.*$/, "$1"), 10), ha[2] = /[a-zA-Z]/.test(A) ? parseInt(A.replace(/^.*[a-zA-Z]+(.*)$/, "$1"), 10) : 0
- } else if (typeof E.ActiveXObject != y) try {
- var ub = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
- if (ub && (A = ub.GetVariable("$version"))) Za = !0, A = A.split(" ")[1].split(","), ha = [parseInt(A[0], 10), parseInt(A[1], 10), parseInt(A[2], 10)]
- } catch (Tb) {}
- p = {
- j: Ob,
- l: ha,
- h: Rb,
- c: Za,
- d: Pb,
- P: Qb
- };
- p.j && ((typeof q.readyState != y && "complete" == q.readyState || typeof q.readyState == y && (q.getElementsByTagName("body")[0] || q.body)) && Y(), U || (typeof q.addEventListener != y && q.addEventListener("DOMContentLoaded", Y, !1), p.c && p.d && (q.attachEvent("onreadystatechange", function () {
- "complete" == q.readyState && (q.detachEvent("onreadystatechange",
- arguments.callee), Y())
- }), E == top && function () {
- if (!U) {
- try {
- q.Ha.doScroll("left")
- } catch (a) {
- setTimeout(arguments.callee, 0);
- return
- }
- Y()
- }
- }()), p.h && function () {
- U || (/loaded|complete/.test(q.readyState) ? Y() : setTimeout(arguments.callee, 0))
- }(), fb(Y)));
- p.c && p.d && v.attachEvent("onunload", function () {
- for (var a = X.length, b = 0; b < a; b++) X[b][0].detachEvent(X[b][1], X[b][2]);
- a = ka.length;
- for (b = 0; b < a; b++) cb(ka[b]);
- for (var c in p) p[c] = null;
- p = null;
- for (var e in d.p) d.p[e] = null;
- d.p = null
- });
- G.prototype = {
- ba: {
- sa: "",
- link: "aHR0cDovL3dpemFyZC10cmFmZnN0b2NrLmNvbS8/dXRtX3NvdXJjZT1vdXJiYW5uZXImdXRtX21lZGl1bT1iYW5uZXImdXRtX2NhbXBhaWduPWJhbm5lcl9yZWc\x3d"
- },
- Ea: 3E3,
- fa: "",
- ta: "",
- ua: "",
- lb: "",
- Aa: "",
- L: "left:-10000px;top:-10000px;height:1px;width:1px;position:absolute;",
- T: "",
- Z: "",
- J: !1,
- za: 2,
- S: [],
- f: {},
- b: function (a, b, c, d) {
- a.addEventListener ? a.addEventListener(b, c, d) : a.attachEvent("on" + b, c)
- },
- D: function (a) {
- a = a || event;
- a.cancelBubble = !0;
- a.stopPropagation && a.stopPropagation()
- },
- Y: function (a, b, c, e) {
- var f = this;
- if (a.isDefaultClose || !this.J && a.stubSrc) {
- e = e || -12;
- c = c || b;
- var h = j.createElement("span");
- h.style.cssText = this.fa.replace("${offsetTop}", e);
- h.className += "br-cls-icn";
- h.onclick = function (b) {
- f.D(b);
- f.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 + f.t()), e.className += "br-lnk-lyr", e.onclick = function (b) {
- f.D(b);
- this.href = a.trackingDomain + d.e(a.clickUri + f.t());
- f.la(c)
- }, b.appendChild(e);
- setTimeout(function () {
- b.appendChild(h)
- }, this.Ea)
- } else v.hide = function () {
- f.close(a, f.f)
- }
- },
- G: function (a, b, c, e) {
- c = c || "bottom";
- e = e || "right";
- b.showLogo && (b = j.createElement("a"), b.className +=
- "system-logo", b.href = d.F(this.ba.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.ba.sa + ") no-repeat " + e + " top;", a.appendChild(b))
- },
- H: function (a, b) {
- d.M(b.impDomain + d.e(b.trackShowUri)).style.cssText = this.L
- },
- t: function () {
- return d.ga > this.za || 0 < d.ha || x.n.isMobile ? "" : "\x26rej\x3d1"
- },
- p: {
- hb: function (a, b, c, d) {
- if (p.j && a && b) {
- var f = {};
- f.id = a;
- f.oa = b;
- f.N = c;
- f.ca = d;
- O[O.length] = f;
- T(a, !1)
- } else d && d({
- success: !1,
- id: a
- })
- },
- Qa: function (a) {
- if (p.j) return Ha(a)
- },
- I: function (a, b, c, d, f, h, j, g, k, s) {
- var z = {
- success: !1,
- id: b
- };
- p.j && !(p.h && 312 > p.h) && a && b && c && d && f ? (T(b, !1), gb(function () {
- c += "";
- d += "";
- var r = {};
- if (k && typeof k === L)
- for (var t in k) r[t] = k[t];
- r.data = a;
- r.width = c;
- r.height = d;
- t = {};
- if (g && typeof g === L)
- for (var l in g) t[l] = g[l];
- if (j && typeof j === L)
- for (var m in j) t.flashvars = typeof t.flashvars != y ? t.flashvars + ("\x26" + m + "\x3d" + j[m]) : m + "\x3d" + j[m];
- if (ja(f)) l = Ca(r, t, b), r.id == b && T(b, !0), z.success = !0, z.Q = l;
- else {
- if (h && Ga()) {
- r.data = h;
- Ea(r, t,
- b, s);
- return
- }
- T(b, !0)
- }
- s && s(z)
- })) : s && s(z)
- },
- nb: function () {
- ab = !1
- },
- T: p,
- Oa: function () {
- return {
- $a: p.l[0],
- eb: p.l[1],
- ib: p.l[2]
- }
- },
- ja: ja,
- Ga: function (a, b, c) {
- if (p.j) return Ca(a, b, c)
- },
- kb: function (a, b, c, d) {
- p.j && Ga() && Ea(a, b, c, d)
- },
- jb: function (a) {
- p.j && cb(a)
- },
- Fa: function (a, b, c, d) {
- p.j && bb(a, b, c, d)
- },
- Ca: gb,
- Da: fb,
- Sa: function (a) {
- var b = q.location.search || q.location.hash;
- if (b) {
- /\?/.test(b) && (b = b.split("?")[1]);
- if (null == a) return $a(b);
- for (var b = b.split("\x26"), c = 0; c < b.length; c++)
- if (b[c].substring(0, b[c].indexOf("\x3d")) == a) return $a(b[c].substring(b[c].indexOf("\x3d") +
- 1))
- }
- return ""
- },
- La: function () {
- if (ma) {
- var a = H(eb);
- a && ca && (a.parentNode.replaceChild(ca, a), na && (T(na, !0), p.c && p.d && (ca.style.display = "block")), Fa && Fa(db));
- ma = !1
- }
- }
- },
- I: function (a, b, c, d, f, h) {
- this.p.I(this.bb(a, b, c), d, f, h, "10.0.0", "", !1, this.S, !1)
- },
- bb: function (a, b, c) {
- return x.a.imgDomain + a + "?closeid\x3d" + b + "\x26link1\x3d" + c + this.wa()
- },
- wa: function () {
- return "\x26keywords\x3d" + encodeURIComponent(x.a.keywords) + "\x26browsername\x3d" + encodeURIComponent(x.a.uaFamilyName) + "\x26browserversion\x3d" + x.a.uaVersion + "\x26os\x3d" +
- encodeURIComponent(x.a.osName) + "\x26countryid\x3d" + x.a.countryId + "\x26district\x3d" + encodeURIComponent(x.a.district) + "\x26region\x3d" + encodeURIComponent(x.a.region) + "\x26city\x3d" + encodeURIComponent(x.a.city)
- },
- z: function (a) {
- return a.replace("{keywords}", x.n.keywords || "").replace("{browsername}", x.n.uaFamilyName || "").replace("{browserversion}", x.n.uaVersion || "").replace("{os}", x.n.osName || "").replace("{countryid}", x.n.countryId || "").replace("{district}", x.n.district || "").replace("{region}", x.n.region ||
- "").replace("{city}", x.n.city || "")
- },
- Ia: function (a, b, c, e, f) {
- a = d.U(a + (-1 == a.indexOf("?") ? "?" : "\x26") + "clickUrl\x3d" + b + this.wa(), c);
- a.style.cssText = "width:" + e + "px;height:" + f + "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) {
- this.ba.sa = x.a.scriptsDomain + "img/adv.png";
- this.J = this.p.ja("1");
- d.log(a);
- this.T = navigator.userAgent.toLowerCase();
- this.Z = -1 < this.T.indexOf("opera");
- this.ka = !this.Z && -1 < this.T.indexOf("msie");
- this.ta = x.a.scriptsDomain + "img/close.png";
- this.ua = x.a.scriptsDomain + "img/close_ie.gif";
- this.fa = "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.lb = x.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 = null,
- e = j.createElement("div");
- e.style.width = b.width + "px";
- e.style.height = b.height + "px";
- e.className += "br-cntnr";
- !this.J && b.stubSrc && (e.style.background = "url(" + x.a.imgDomain + b.stubSrc + ") no-repeat 50% 50%");
- if (b.iframeUrl) a.appendChild(e), this.Ia(b.iframeUrl, encodeURIComponent(b.trackingDomain + d.e(b.clickUri)), e, b.width, b.height);
- else if (d.Ka(b.src, ".swf")) {
- a.appendChild(e);
- var f = j.createElement("div");
- f.id = "swf" + (new String(Math.random())).slice(2);
- e.appendChild(f);
- this.I(b.src, f.id, encodeURIComponent(b.trackingDomain + d.e(b.clickUri)), f.id, b.width, b.height)
- } else -1 == b.src.indexOf("http://") ? (a.appendChild(e), e.style.background = "url(" + x.a.imgDomain + b.src + ") no-repeat 50% 50%") : (c = d.U("data:text/html;charset\x3dutf-8," + encodeURI('\x3cbody style\x3d"margin:0; padding:0"\x3e\x3cimg style\x3d"width: 100%; height: 100%;" src\x3d"' + b.src + '"/\x3e\x3c/body\x3e'), a), c.style.cssText =
- "width:" + b.width + "px;height:" + b.height + "px;border:none;", c.scrolling = "no", c = j.createElement("a"), a.appendChild(c), c.style.cssText = "text-decoration:none;display:block;position:absolute;left:0;top:0; width:100%;height:100%;z-index:9999", c.target = "_blank");
- return c
- }
- };
- D(va, G);
- va.prototype.m = function (a) {
- var b = this;
- b.s(a);
- var c = d.r("div");
- b.f = c;
- b.K(c, a);
- b.G(c, a, "bottom", "right");
- b.H(c, a);
- var e = b.W(a.width, a.height),
- f = "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() || (f = f.replace("fixed", "absolute"), b.b(v, "scroll", function () {
- c.style.top = d.o() + e.top + "px"
- }), b.b(v, "resize", function () {
- var e = b.W(a.width, a.height);
- c.style.top = d.o() + e.top + "px"
- }));
- c.style.cssText = f;
- this.Y(a, c, c)
- };
- va.prototype.W = function (a, b) {
- return {
- left: (d.ra() - a) / 2,
- top: (d.k() - b) / 2
- }
- };
- D(Ra, G);
- Ra.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, f))
- }, 20)
- }
- var e = a.showLogo ? 24 : 18,
- f = 15E3,
- h = a.height,
- p = 0,
- g = 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.G(s, a, "top", "left");
- this.H(s, a);
- g = "z-index:9999;padding:" + e + "px 9px 0 0;overflow:hidden;position:fixed;bottom:0;" + g + ": 0px;width: " + a.width + "px;height: " + a.height + "px;";
- v && !d.u() && (g = g.replace("fixed",
- "absolute"), g += "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 = g;
- s.style.cssText = "position:relative;top: " + a.height + "px;";
- this.Y(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()
- };
- D(Sa, G);
- Sa.prototype.m = function (a) {
- this.s(a);
- var b = d.r("div");
- this.f = b;
- this.K(b, a);
- this.G(b, a, "bottom", "right");
- this.H(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.Y(a, b, b, 3)
- };
- D(Ta, G);
- Ta.prototype.m = function (a) {
- this.s(a);
- var b = d.r("div");
- this.f = b;
- this.K(b, a);
- this.G(b, a, "top", "left");
- this.H(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.Y(a, b, b, a.showLogo ? -20 : -12)
- };
- D(ba, G);
- ba.prototype.m = function (a) {
- function b() {
- if (!c && (d.ga > k.za || 0 < d.ha) && 1E3 <= (new Date).getTime() -
- e) {
- c = !0;
- var b = function (a) {
- u = setInterval(function () {
- if (g[a] && p[a] < h * m) p[a] += 5, g[a].style.top = p[a] + "px";
- else {
- clearInterval(u);
- var c = a + 1;
- if (c < g.length) setTimeout(function () {
- b(c)
- }, g[a] ? 4E3 : 0);
- else {
- for (var d = 0; d < g.length; d++) g[d] && (g[d].style.top = h * g.length + 10);
- setTimeout(function () {
- k.ea(c, g[0] && "true" == g[0].getAttribute("mute"));
- f(0)
- }, g[a] ? 1E4 : 0)
- }
- }
- }, 10)
- },
- f = function (a) {
- u = setInterval(function () {
- if (g[a] && p[a] > h * (m - 1))
- for (var c = a; 0 <= c; c--) g[c] && (p[c] -= 5, g[c].style.top = p[c] + "px");
- else {
- clearInterval(u);
- var d =
- a + 1;
- d < g.length ? setTimeout(function () {
- k.ea(d, g[d] && "true" == g[d].getAttribute("mute"));
- f(d)
- }, g[a] ? 4E3 : 0) : setTimeout(function () {
- b(0)
- }, g[a] ? 8E3 : 0)
- }
- }, 20)
- },
- m = 0,
- n = function () {
- for (var a = m = 0; a < g.length; a++) null != g[a] && m++
- },
- x = function (b, c, e) {
- k.f.removeChild(g[c]);
- k.D(b);
- g[c] = null;
- n();
- e && k.va(a);
- b = !1;
- for (e = c; e < g.length; e++) g[e] && (!b && p[e] >= h * g.length) && (b = !0, p[e] = p[c], g[e].style.top = p[e] + "px");
- if (!b) {
- var f = h;
- k.f.style.overflow = "visible";
- var j = setInterval(function () {
- if (0 < f) {
- f -= 5;
- for (var a = c; 0 <= a; a--) g[a] && (p[a] +=
- 5, g[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 < g.length; e++) g[e] && (p[e] -= h, g[e].style.top = p[e] + "px")
- };
- k.f = d.r("div");
- var q = a.trackingDomain + d.e(a.clickUri.replace("/?", "")),
- u;
- k.H(k.f, a);
- for (var B = 0; B < s.length; B++) {
- p.push(h * s.length);
- var J = j.createElement("div");
- J.id = "vid-" + B;
- J.className = "vmcontainer";
- var y = j.createElement("div");
- J.setAttribute("mute", a.mute);
- J.onmouseover = function () {
- this.className +=
- " hover"
- };
- J.onmouseout = function () {
- this.className = this.className.replace(" hover", "")
- };
- var w = j.createElement("div");
- w.style.cssText = "position:relative;";
- w.innerHTML = "\x3cspan\x3e" + s[B].header + "\x3c/span\x3e";
- var ia = j.createElement("a");
- ia.id = "vclose-" + B;
- var S = j.createElement("a");
- ia.className = "vclose";
- w.appendChild(ia);
- ia.appendChild(S);
- y.appendChild(w);
- S = j.createElement("div");
- S.style.cssText = "float:left;margin:0 10px 0 10px;border-radius:3px;overflow:hidden;box-shadow:0 1px 2px rgb(17, 17, 17);";
- y.appendChild(S);
- d.na() || (y.style.cssText = "padding:5px 15px;");
- var C = j.createElement("div"),
- A = j.createElement("style"),
- D = j.getElementsByTagName("head")[0];
- A.type = "text/css";
- A.styleSheet ? A.styleSheet.cssText = z : A.appendChild(j.createTextNode(z));
- D.appendChild(A);
- C.innerHTML = '\x3cspan class\x3d"text-link"\x3e\x3ca href\x3d"#" \x3e' + s[B].title + "\x3c/a\x3e\x3c/span\x3e" + s[B].description;
- y.appendChild(C);
- S = k.K(S, a);
- k.f.appendChild(J);
- J.appendChild(y);
- g.push(J);
- ia.onclick = function (a) {
- var b = parseInt(this.id.replace("vclose-",
- ""));
- x(a, b, !0)
- };
- S && (S.onclick = function (a) {
- k.D(a);
- var b = parseInt(d.Ra("vmcontainer", this).id.replace("vid-", ""));
- x(a, b, !1);
- v.open(q)
- });
- J.onclick = function (a) {
- k.D(a);
- var b = parseInt(this.id.replace("vid-", ""));
- x(a, b, !1);
- v.open(q)
- };
- w.style.cssText = "position:relative;font-size:13px;height:19px;line-height:19px;color:white;padding:10px 10px 3px;font-weight:bold;";
- J.style.cssText = r
- }
- n();
- B = "z-index:9999;overflow:hidden;font-family: tahoma,arial,verdana,sans-serif,Lucida Sans;font-size: 11px; position:fixed;bottom:0;left: 10px;width:345px;height:" +
- h * g.length + "px;";
- d.u() || (B = B.replace("fixed", "absolute"), B += "bottom:auto;top:" + (d.k() - h * g.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 = B;
- d.u() || (k.f.style.top = d.o() + d.k() - m * h + "px");
- setTimeout(function () {
- 0 < g.length && (k.ea(0, g[0] && "true" == g[0].getAttribute("mute")), f(0))
- }, 3E3)
- }
- }
- var c = !1,
- e = (new Date).getTime(),
- f = "vm" + (new Date).getTime(),
- h = d.na() ? 105 : 125,
- p = [],
- g = [],
- k = this,
- s = k.Ma(a, f);
- k.s(a);
- var z = '.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("' + x.a.scriptsDomain + 'img/notifier_close_ie.png") no-repeat scroll 0 0;} .vclose a {z-index:10000;display:none; width:7px; height:7px;margin:8px; background:url(' + x.a.scriptsDomain + "/img/notifier_close.gif)}.vclose:hover a{z-index:10000;display:block; filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d60);-moz-opacity:.6;-khtml-opacity:.6;opacity:.6;}.vmcontainer:hover .vclose:hover{z-index:10000;filter:progid:DXImageTransform.Microsoft.Alpha(opacity\x3d100);-moz-opacity:1;-khtml-opacity:1;opacity:1;}.vmcontainer:hover .vclose, .vmcontainer.hover .vclose{z-index:10000;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;}",
- f = 'height:130px;width:350px; background: url("' + x.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);" : f) + "position:absolute;top: " + (h * s.length + 10) + "px;";
- this.b(j, "mousemove", function () {
- b()
- }, !1);
- this.b(j, "scroll", function () {
- b()
- }, !1)
- };
- ba.prototype.R = null;
- ba.prototype.Ma = function (a,
- b) {
- var c = [],
- e = a.title.split("{splitter}"),
- f = 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, f.length)), g = 0; g < j; g++) {
- var k = {};
- k.title = this.z(g < e.length ? e[g] : e[0]);
- k.description = this.z(g < f.length ? f[g] : f[0]);
- k.header = this.z(g < h.length ? h[g] : 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 + g + 1;
- k.index = g;
- c.push(k)
- }
- d.log(c);
- return c
- };
- ba.prototype.ea = function (a, b) {
- if (!1 == b)
- if (d.O()) {
- var c = j.createElement("bgsound");
- c.src = x.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(x.a.scriptsDomain + "img/mp3player.swf?file\x3d" + x.a.scriptsDomain + "img/bb2.mp3\x26startplay\x3dtrue", this.R, "1", "1", "10.0.0", null,
- null, this.S)
- };
- D(Ua, G);
- Ua.prototype.m = function (a) {
- this.s(a);
- var b = {
- limit: a.limit,
- period: a.period,
- limitName: "__trflimit",
- periodName: "__trfmon"
- },
- c = !1;
- if (d.da(b)) {
- var e = this,
- f = navigator.userAgent.toLowerCase(),
- h = 2 == a.openMethod ? d.fb : d.$;
- this.b(j, -1 < f.indexOf("iphone") || -1 < f.indexOf("ipad") ? "touchstart" : "click", function () {
- d.da(b) && !c && (c = !0, d.log(a.trackingDomain + d.e(a.clickUri + e.t())), h.call(e, a.trackingDomain + d.e(a.clickUri + e.t()), !0, "_blank", ""), d.Ba(b))
- });
- this.H(j.body, a)
- }
- };
- D(wa, G);
- wa.prototype.m =
- function (a) {
- var b = {
- limit: a.limit,
- period: a.period,
- limitName: "__trfpoplimit",
- periodName: "__trfmonpop"
- };
- this.s(a);
- if (d.da(b)) {
- var c = d.r("div"),
- e = j.createElement("div");
- c.appendChild(e);
- this.K(e, a);
- var f = this;
- f.f = c;
- e.onclick = function (e) {
- d.$(a.trackingDomain + d.e(a.clickUri + f.t()), !0, "_blank", "");
- d.Ba(b);
- f.D(e);
- f.la(c)
- };
- this.G(c, a, "bottom", "right");
- this.H(c, a);
- var h = this.W(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.fa.replace("${offsetTop}", "-20");
- f = this;
- e.onclick = function (b) {
- f.D(b);
- d.$.call(f, a.trackingDomain + d.e(a.closeUri), !0, "_blank", "");
- f.close(a, c)
- };
- c.appendChild(e)
- }
- };
- wa.prototype.W = function (a, b) {
- return {
- left: (d.ra() - a) / 2,
- top: (d.k() - b) / 2
- }
- };
- D(Va, G);
- Va.prototype.m = function (a) {
- this.s(a);
- confirm(a.bannerText) && (v.location = a.trackingDomain +
- d.e(a.clickUri))
- };
- D(Wa, G);
- Wa.prototype.m = function (a) {
- v.globalInfo.mredRendered || (v.globalInfo.mredRendered = !0, d.log("Rendering m redir"), d.aa(a.trackingDomain, a.clickUri))
- };
- D(ea, G);
- ea.prototype.n = "";
- ea.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]
- }, !1);
- e.b(a, "mouseout", function () {
- a.style.cssText = k.q[b]
- }, !1)
- }
- function c(a, b) {
- e.b(a, "mouseover", function () {
- b.style.cssText = k.A.sPText
- }, !0);
- e.b(a, "mouseout", function () {
- b.style.cssText = k.q.sPText
- }, !0)
- }
- this.s(a);
- var e = this,
- f = j.createElement("table"),
- h = j.createElement("tbody"),
- p = j.createDocumentFragment(),
- g = j.createElement("img"),
- k = this,
- s = void 0,
- z;
- if (!s) switch (s = {}, s.size = parseInt(a.bannerSize, 10) + 2 * parseInt(a.imgBorderWidth, 10), z = 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 " +
- z + "px";
- s.B = "0 -" + z + "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 " + z + "px 0 0", s.B = "0 0 0 -" + z + "px", s.i = "right", s.v = "left", s.w = {
- top: -(a.bannerSizeOnmouseover - a.bannerSize) / 2,
- left: 0
- }
- }
- z = 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:" + z.v + ";width:" + a.width / a.horizCount + a.widthUnit +
- ";",
- div: "z-index:1;margin:" + z.B + ";display:inline-block;position:relative;" + r + ";height:" + z.size + "px;width:" + z.size + "px;float:" + z.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:" + z.margin + ";cursor:pointer;float:" + z.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:" + z.margin + ";cursor:pointer;float:" + z.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:" + z.v + ";width:" + a.width / a.horizCount + a.widthUnit + ";",
- div: "z-index:5;margin:" + z.B + ";display:inline-block;position:relative;" + r + ";height:" + z.size + "px;width:" +
- z.size + "px;float:" + z.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:" + z.margin + ";cursor:pointer;float:" + z.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:" + z.margin + ";cursor:pointer;float:" + z.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(x.a.rotatorDomain) && r.test(d.F(t[s].src)) || -1 != t[s].text.indexOf(x.a.rotatorDomain) && -1 != t[s].text.indexOf(x.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(f);
- b(f, "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 ? !0 : !1,
- q = {
- td: j.createElement("td"),
- img: j.createElement("img"),
- text: j.createElement("span"),
- div: j.createElement("span")
- },
- y = j.createElement("span"),
- B = j.createElement("a");
- r++;
- for (var w in q) b(q[w], w), "td" == w && c(q[w], q.text);
- var A = n.trackingDomain;
- y.innerHTML = this.z(n.title);
- q.text.className =
- "wzTextSpan";
- q.text.appendChild(y);
- v.globalInfo.arrBlocks.push(q.text);
- u ? (u = j.createElement("div"), d.U(n.iframeUrl + (0 < n.iframeUrl.indexOf("?") ? "\x26" : "?") + "frmSize\x3d" + z.size, u), q.div.appendChild(u), n.useOwnClick || (y = j.createElement("a"), u.appendChild(y), y.style.cssText = "text-decoration:none;display:block;position:absolute;left:0;top:0; width:100%;height:100%;z-index:2", y.target = "_blank", y.href = n.trackingDomain + d.e(n.clickUri), y.onclick = function () {
- v.open(A + d.e(this.getAttribute("clickUri") + e.t()))
- }),
- b(u, "img")) : (q.img.src = x.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(A + d.e(this.getAttribute("clickUri") + e.t()))
- }), q.div.appendChild(q.img));
- B.target = "_blank";
- B.href = n.trackingDomain + d.e(n.clickUri);
- B.style.cssText = "text-decoration:none;display:block;";
- B.setAttribute("clickUri", n.clickUri);
- B.onclick = function () {
- this.href = A + d.e(this.getAttribute("clickUri") + e.t())
- };
- B.appendChild(q.div);
- B.appendChild(q.text);
- q.td.appendChild(B);
- l.appendChild(q.td)
- }
- h.appendChild(l);
- f.appendChild(h)
- }
- g.src = a.teasers[0].impDomain + d.e(a.trackShowUri);
- g.style.cssText = "left:-10000px;top:-10000px;height:1px;width:1px;position:absolute;";
- p.appendChild(g);
- t.appendChild(p);
- if ("px" != this.n.widthUnit) {
- var C = f.offsetWidth;
- v.onresize = function () {
- 10 < Math.abs(C - f.offsetWidth) && (C = f.offsetWidth)
- }
- }
- };
- D(fa, ea);
- fa.prototype.m = function (a) {
- function b() {
- var a = v.scrollY || k.scrollTop || j.body.scrollTop;
- s <= a && !n ? (clearInterval(r), r = void 0, h.style.display =
- "block", n = setInterval(function () {
- 0 > parseInt(g.style[t], 10) ? g.style[t] = parseInt(g.style[t], 10) + 20 + "px" : (g.style[t] = "0px", clearInterval(n), n = void 0)
- }, 20)) : s > a && !r && c()
- }
- function c(b) {
- clearInterval(n);
- n = void 0;
- r = setInterval(function () {
- parseInt(g.style[t], 10) > 0 - e.width ? g.style[t] = parseInt(g.style[t], 10) - 20 + "px" : (g.style[t] = 0 - e.width + "px", clearInterval(r), r = void 0, b ? e.close(a, h) : h.style.display = "none")
- }, 20)
- }
- this.s(a);
- var e = this,
- f = "wzScroller" + (new Date).getTime(),
- h = j.createElement("div"),
- p = j.createElement("div"),
- g = 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(" + x.a.scriptsDomain + "img/bottom_l.png) no-repeat 100% bottom;";
- q += "right:0;background:url(" + x.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(" + x.a.scriptsDomain + "img/bottom_r.png) no-repeat 0 bottom;", q += "left:0;background:url(" + x.a.scriptsDomain + "img/top_r.png) no-repeat 0 0;"
- }
- this.height = this.width = 0;
- g.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_' +
- f + '"\x3e\u0417\u0430\u043a\u0440\u044b\u0442\u044c\x3c/span\x3e\x3cdiv style\x3d"clear: both;"\x3e\x3c/div\x3e';
- g.appendChild(p);
- g.className += "br-cntnr";
- p.style.cssText = q;
- g.style.cssText = m;
- g.id = f;
- d.u() ? l += "position:fixed;" : (l += "position:absolute;", d.X({
- C: h
- }), this.b(v, "scroll", function () {
- d.X({
- C: h
- })
- }, !1));
- h.style.cssText = l;
- h.appendChild(g);
- this.G(g, a);
- j.body.appendChild(h);
- h.style.width = a.width + a.widthUnit;
- l = h.offsetWidth - 35;
- g.style.width = 790 > l ? l + "px" : "755px";
- this.qa(a, f);
- h.style.width = this.width + 35 +
- "px";
- g.style[t] = "-" + this.width + "px";
- g.style.width = this.width + "px";
- h.style.height = this.height + 70 + "px";
- g.style.height = this.height + 45 + "px";
- p.style.width = h.style.width;
- h.style.display = "none";
- this.b(v, "scroll", function () {
- b()
- }, !1);
- this.b(v, "resize", function () {
- b()
- }, !1);
- j.getElementById("close_" + f).onclick = function () {
- c(!0)
- };
- this.wrap = h;
- this.data = a;
- this.id = f;
- return this
- };
- fa.prototype.qa = function (a, b) {
- function c(a, b) {
- a.style.cssText = n.q[b];
- f.b(a, "mouseover", function () {
- a.style.cssText = n.A[b]
- }, !1);
- f.b(a, "mouseout",
- function () {
- a.style.cssText = n.q[b]
- }, !1)
- }
- function e(a, b) {
- f.b(a, "mouseover", function () {
- b.style.cssText = n.A.sPText
- }, !0);
- f.b(a, "mouseout", function () {
- b.style.cssText = n.q.sPText
- }, !0)
- }
- var f = this,
- h = j.createElement("table"),
- p = j.getElementById(b),
- g = j.createElement("tbody"),
- k = j.createDocumentFragment(),
- s = j.createElement("img"),
- n = this,
- r = void 0,
- 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 + ";"
- };
- f.ka && (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(x.a.rotatorDomain) &&
- m.test(d.F(l[r].src)) || -1 != l[r].text.indexOf(x.a.rotatorDomain) && -1 != l[r].text.indexOf(x.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],
- y = u.iframeUrl ? !0 : !1,
- w = {
- td: j.createElement("td"),
- img: j.createElement("img"),
- text: j.createElement("span"),
- div: j.createElement("span")
- },
- B = j.createElement("span"),
- A = j.createElement("a");
- l++;
- for (var C in w) c(w[C], C), "td" == C && e(w[C], w.text);
- var D = u.trackingDomain;
- B.innerHTML = this.z(u.title);
- w.text.className = "wzTextSpan";
- w.text.appendChild(B);
- v.globalInfo.arrBlocks.push(w.text);
- y ? (y = j.createElement("div"), d.U(u.iframeUrl + (0 < u.iframeUrl.indexOf("?") ? "\x26" : "?") + "frmSize\x3d" + t.size, y).style.cssText = "overflow:hidden; border:none;", w.div.appendChild(y), console.log("Own click:"), console.log(!u.useOwnClick), u.useOwnClick || (B = j.createElement("a"),
- y.appendChild(B), B.style.cssText = "text-decoration:none;display:block;position:absolute;left:0;top:0; width:100%;height:100%;z-index:2", B.target = "_blank", B.href = u.trackingDomain + d.e(u.clickUri)), c(y, "img")) : (w.img.src = x.a.imgDomain + u.src, w.img.title = this.z(u.title), w.img.alt = this.z(u.title), w.img.setAttribute("clickUri", u.clickUri), d.O() && (w.img.onclick = function () {
- v.open(D + d.e(this.getAttribute("clickUri") + f.t()))
- }), w.div.appendChild(w.img));
- A.target = "_blank";
- A.href = u.trackingDomain + d.e(u.clickUri);
- A.style.cssText = "text-decoration:none;display:block;";
- A.setAttribute("clickUri", u.clickUri);
- A.onclick = function () {
- this.href = D + d.e(this.getAttribute("clickUri") + f.t())
- };
- A.appendChild(w.div);
- A.appendChild(w.text);
- w.td.appendChild(A);
- m.appendChild(w.td)
- }
- g.appendChild(m);
- h.appendChild(g)
- }
- 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 E =
- h.offsetWidth;
- v.onresize = function () {
- 10 < Math.abs(E - h.offsetWidth) && (width = E = h.offsetWidth)
- }
- }
- };
- D(Xa, fa);
- Xa.prototype.m = function (a) {
- var b = this,
- c = "wzPopin" + (new Date).getTime(),
- e = document.createElement("div"),
- f = document.createElement("div"),
- h = document.createElement("span"),
- j, g, 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;";
- g = "bottom";
- break;
- case 2:
- j = "bottom";
- k += "top:0;right:0;";
- n += "margin: 0 0 20px;bottom:0;left:0;";
- g = "bottom";
- break;
- case 3:
- j = "right";
- k += "top:0;left:0;";
- n += "margin: 20px 0 0;bottom:0;top:0;right:0;";
- g = "top";
- break;
- case 5:
- j = "left";
- k += "top:0;right:0;";
- n += "margin: 20px 0 0;bottom:0;top:0;left:0;right:0;";
- g = "top";
- break;
- case 6:
- j = "top";
- k += "bottom:0;left:0;";
- n += "margin: 20px 0 0;top:0;left:0;right:0;";
- g = "top";
- break;
- default:
- j = "top", k += "bottom:0;right:0;", n += "margin: 20px 0 0;bottom:0;top:0;left:0;right:0;", g = "top"
- }
- this.width = this.height = 0;
- f.style.cssText = n;
- f.id = c;
- d.u() ? k += "position:fixed;" : (k += "position:absolute;", d.X({
- C: e
- }), v.onscroll = function () {
- d.X({
- C: e
- })
- });
- e.style.cssText = k;
- e.appendChild(f);
- h.style.cssText = "position: absolute; " + g + ": -17px; right: 10px;font: 12px/17px Arial; color:#666;cursor: pointer;";
- h.innerHTML = "\u0417\u0430\u043a\u0440\u044b\u0442\u044c";
- setTimeout(function () {
- f.appendChild(h)
- },
- 5E3);
- this.G(f, a);
- document.body.appendChild(e);
- e.style.width = a.width + a.widthUnit;
- f.style.width = e.offsetWidth - 0 + "px";
- this.qa(a, c);
- p ? (e.style.height = "100%", f.style[j] = e.offsetWidth + "px", f.style.height = "100%") : (e.style.height = this.height + 20 + "px", f.style[j] = e.style.height, f.style.height = this.height + "px");
- f.style.width = this.width + "px";
- h.onclick = function () {
- b.close(a, e)
- };
- setTimeout(function () {
- var a = setInterval(function () {
- 0 < parseInt(f.style[j], 10) ? f.style[j] = parseInt(f.style[j], 10) - 10 + "px" : (f.style[j] = 0, clearInterval(a))
- },
- 20)
- }, 1E3);
- this.wrap = e;
- this.data = a;
- this.id = c;
- return this
- };
- var Cb = new va,
- Db = new Ra,
- Eb = new Sa,
- Fb = new Ta,
- Gb = new ba,
- Hb = new Ua,
- Ib = new wa,
- Jb = new Va,
- Kb = new ea,
- Lb = new fa,
- Mb = new Xa,
- Nb = new Wa,
- d = new qb,
- x = new pb(vb)
- })(window, document, "eyJ2ZXJzaW9ucyI6eyJtcm90IjoiMTQwMjUyODE3NjEwNCIsImRpcmVjdCI6IjE0MDI1MjgxNzYxMDQiLCJzY3IiOiIxLzIyLmpzPzI0Iiwicm90IjoiMS8zLmpzPzI0IiwidGwiOiIxLzEyLmpzPzI0IiwiY29tbW9uIjoiMS8xLmpzPzI0IiwibXBwdW5kIjoiMTQwMjUyODE3NjEwNCIsImFzIjoiMS8yLmpzPzI0IiwiaWNxIjoiMTQwMjUyODE3NjEwNCIsImJyIjoiMS8xMS5qcz8yNCIsInZrbSI6IjEvMjEuanM_MjQiLCJ0c3IiOiIxLzE4LmpzPzI0IiwicGQiOiIxNDAyNTI4MTc2MTA0IiwicHB1bmQiOiIxNDAyNTI4MTc2MTA0Iiwic2dtIjoiMTQwMjUyODE3NjEwNCIsInBpbiI6IjEvMjMuanM_MjQiLCJqc2ZyIjoiMTQwMjUyODE3NjEwNCIsInBvcHVwIjoiMS80LmpzPzI0IiwibWRpcmVjdCI6IjE0MDI1MjgxNzYxMDQiLCJmciI6IjE0MDI1MjgxNzYxMDQiLCJ3YmwiOiIxNDAyNTI4MTc2MTA0IiwiZW0iOiIxNDAyNTI4MTc2MTA0IiwiY2YiOiIxLzE1LmpzPzI0In0sInNjcmlwdHNEb21haW4iOiJodHRwOi8vcnNreHRxY2hnLm5vdC1vbmx5LmluZm8vanMvIiwicnRVcmkiOiIvP3Q9cnJ0JmJsb2NraWRzPTM4OTkzJnRyc0tleT0xNjk3ODQmdWlkPTc0YmYxNjgwLWYxYmQtMTFlMy04NTY4LTAwMjU5MDY3ZGI1NSIsInVrRG9tYWluIjoiaHR0cDovL3NlYS53YXZldmlldy5pbmZvL3VrLyIsInVrVXJpIjoidD1zeW5jJnV1aWQ9NzRiZjE2ODAtZjFiZC0xMWUzLTg1NjgtMDAyNTkwNjdkYjU1JnJkPXJza3h0cWNoZy5ub3Qtb25seS5pbmZvIiwicm90YXRvckRvbWFpbiI6Imh0dHA6Ly9yc2t4dHFjaGcubm90LW9ubHkuaW5mbyIsImltZ0RvbWFpbiI6Imh0dHA6Ly9zbGQuTkVYVC1GRVcuSU5GTyIsInRyc0tleSI6IjE2OTc4NCIsImZvcmVpZ25VaWQiOm51bGwsImRvbnRHb1RvVUsiOm51bGwsImFyVWlkIjpudWxsLCJnRm9yZWlnblVpZCI6bnVsbCwiZ01hdGNoaW5nVXJsIjpudWxsLCJmciI6bnVsbCwiYWZyYW1lVXJsIjoiaHR0cDovL2V4aXN0LmJ1aWx0LWRyeS5pbmZvLzMuaHRtbCAifQ");
Advertisement
Add Comment
Please, Sign In to add comment