' } } v += h + f.openTag + "/" + b + ">" } else { b = ""; v = h } if (!o) { s.initDiv(1) } var n = o || s.getDiv(); m = { span: null, winLoaded: f.win.loaded, tagName: b, outerHTML: v, DOM: s, time: new Date().getTime(), width: s.width, obj: s.obj, readyState: s.readyState, objectProperty: s.objectProperty }; if (n && n.parentNode) { s.setStyle(p, s.defaultStyle.concat(["display", "inline"]).concat(o ? [] : ["fontSize", (s.pluginSize + 3) + "px", "lineHeight", (s.pluginSize + 3) + "px"])); n.appendChild(p); try { p.innerHTML = v } catch (r) { }; m.span = p; m.winLoaded = f.win.loaded } return m } }, 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, a: (function () { var b, a = !0; try { a = window.navigator.javaEnabled() } catch (b) { } return a })(), javaEnabled: function () { return this.a }, mimeObj: 0, pluginObj: 0 }, OTF: null, info: { $: 1, Plugin2Status: 0, setPlugin2Status: function (a) { if (this.$.isNum(a)) { this.Plugin2Status = a } }, getPlugin2Status: function () { var c = this, d = c.$, b = c.$$, i = b.navigator, f, g, k, h, j, a; if (c.Plugin2Status === 0) { if (d.browser.isIE && d.OS == 1 && (/Sun|Oracle/i).test(c.getVendor())) { f = c.isMinJre4Plugin2(); if (f > 0) { c.setPlugin2Status(1) } else { if (f < 0) { c.setPlugin2Status(-1) } } } else { if (!d.browser.isIE && i.pluginObj) { k = /Next.*Generation.*Java.*Plug-?in|Java.*Plug-?in\s*2\s/i; h = /Classic.*Java.*Plug-in/i; j = i.pluginObj.description || ""; a = i.pluginObj.name || ""; if (k.test(j) || k.test(a)) { c.setPlugin2Status(1) } else { if (h.test(j) || h.test(a)) { c.setPlugin2Status(-1) } } } } } return c.Plugin2Status }, isMinJre4Plugin2: function (a) { var f = this, e = f.$, c = f.$$, d = "", g = c.applet.codebase, b = c.applet.getResult()[0]; if (e.OS == 1) { d = "1,6,0,10" } else { if (e.OS == 2) { d = "1,6,0,12" } else { if (e.OS == 3) { d = "1,6,0,10" } else { d = "1,6,0,10" } } } if (!a) { a = (b && !c.applet.isRange(b) ? b : 0) || c.version || (g.min && d ? (g.isMin(d) > 0 ? d : "0,0,0,0") : 0) } a = e.formatNum(e.getNum(a)); return a ? (e.compareNums(a, d) >= 0 ? 1 : -1) : 0 }, BrowserForbidsPlugin2: function () { var b = this.$, a = b.browser; if (b.OS >= 20) { return 0 } if ((a.isIE && a.verIE < 6) || (a.isGecko && b.compareNums(a.verGecko, "1,9,0,0") < 0) || (a.isOpera && a.verOpera && a.verOpera < 10.5)) { return 1 } return 0 }, BrowserRequiresPlugin2: function () { var b = this.$, a = b.browser; if (b.OS >= 20) { return 0 } if ((a.isGecko && b.compareNums(a.verGecko, "1,9,2,0") >= 0) || a.isChrome || (b.OS == 1 && a.verOpera && a.verOpera >= 10.6)) { return 1 } return 0 }, VENDORS: ["Sun Microsystems Inc.", "Apple Computer, Inc.", "Oracle Corporation"], OracleMin: "1,7,0,0", OracleOrSun: function (a) { var c = this, b = c.$; return c.VENDORS[b.compareNums(b.formatNum(a), c.OracleMin) < 0 ? 0 : 2] }, OracleOrApple: function (a) { var c = this, b = c.$; return c.VENDORS[b.compareNums(b.formatNum(a), c.OracleMin) < 0 ? 1 : 2] }, getVendor: function () { var d = this, c = d.$, b = d.$$, f = b.vendor || b.applet.getResult()[1] || "", e = b.applet.codebase, a; if (!f) { a = b.DTK.version || e.version || (e.min ? (e.isMin(d.OracleMin) > 0 ? d.OracleMin : "0,0,0,0") : 0); if (a) { f = d.OracleOrSun(a) } else { if (b.version) { if (c.OS == 2) { f = d.OracleOrApple(b.version) } else { if ((!c.browser.isIE && c.OS == 1) || c.OS == 3) { f = d.OracleOrSun(b.version) } } } } } return f }, isPlugin2InstalledEnabled: function () { var b = this, d = b.$, a = b.$$, i = -1, f = a.installed, g = b.getPlugin2Status(), h = b.BrowserRequiresPlugin2(), e = b.BrowserForbidsPlugin2(), c = b.isMinJre4Plugin2(); if (f !== null && f >= -0.1) { if (g >= 3) { i = 1 } else { if (g <= -3) { } else { if (g == 2) { i = 1 } else { if (g == -2) { } else { if (h && g >= 0 && c > 0) { i = 1 } else { if (e && g <= 0 && c < 0) { } else { if (h) { i = 1 } else { if (e) { } else { if (g > 0) { i = 1 } else { if (g < 0) { } else { if (c < 0) { } else { i = 0 } } } } } } } } } } } } return i }, result: { $: 1, getDeploymentToolkitObj: function () { var a = this, d = a.$, b = a.$$, e = b.info, c = b.DTK; c.query(1); e.updateResult(); return c.status && c.HTML ? c.HTML.obj() : c.status } }, updateResult: function () { var c = this, e = c.$, b = c.$$, a = b.applet, i, k = b.installed, h = b.DTK, g = a.results, l = c.result; l.DeployTK_versions = [].concat(e.isArray(h.VERSIONS) ? h.VERSIONS : []); l.vendor = c.getVendor(); l.isPlugin2 = c.isPlugin2InstalledEnabled(); l.OTF = b.OTF < 3 ? 0 : (b.OTF == 3 ? 1 : 2); l.JavaAppletObj = null; for (i = 0; i < g.length; i++) { if (g[i][0] && a.HTML[i] && a.HTML[i].obj()) { l.JavaAppletObj = a.HTML[i].obj(); break } } var f = [null, null, null, null]; for (i = 0; i < g.length; i++) { if (g[i][0]) { f[i] = 1 } else { if (g[i][0] !== null) { if (b.NOTF) { b.NOTF.isAppletActive(i) } if (a.active[i] > 0) { f[i] = 0 } else { if (a.allowed[i] >= 1 && b.OTF != 3 && (a.isDisabled.single(i) || k == -0.2 || k == -1 || a.active[i] < 0 || (i == 3 && (!e.browser.isIE || (/Microsoft/i).test(l.vendor))))) { f[i] = -1 } } } else { if (i == 3 && g[0][0]) { f[i] = 0 } else { if (a.isDisabled.single(i)) { f[i] = -1 } } } } } l.objectTag = f[1]; l.appletTag = f[2]; l.objectTagActiveX = f[3]; l.name = ""; l.description = ""; var j = 0; if (!e.browser.isIE) { if (b.navMime.query().pluginObj) { j = b.navMime.pluginObj } else { if (b.navigator.pluginObj) { j = b.navigator.pluginObj } } if (j) { l.name = j.name || ""; l.description = j.description || "" } } l.All_versions = [].concat((l.DeployTK_versions.length ? l.DeployTK_versions : (e.isString(b.version) ? [b.version] : []))); var d = l.All_versions; for (i = 0; i < d.length; i++) { d[i] = e.formatNum(e.getNum(d[i])) } return l } }, getInfo: function () { var a = this.info; a.updateResult(); return a.result }, 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.mimeObj = d.hasMimeType(b.mimeType); if (k.mimeObj) { k.pluginObj = k.mimeObj.enabledPlugin } if (h) { h.begin() } } 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.DTK.query(d.dbug).version) { f = b.DTK.version } if ((!f || d.dbug) && b.navPlugin.query().version) { f = b.navPlugin.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 (!a && (!d.DOM.isEnabled.objectTag() || (b.isIE && b.verIE < 6) || (b.isGecko && d.compareNums(b.verGecko, d.formatNum("1.6")) <= 0) || (b.isSafari && d.OS == 1 && (!b.verSafari || d.compareNums(b.verSafari, "5,1,0,0") < 0)) || b.isChrome)) { 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.hasRun || l.isDisabled(n)); l.hasRun = 1; if (c) { return l } l.status = 0; if (h.browser.isIE) { 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 { if (Math.abs(f.info.getPlugin2Status()) < 2) { l.Plugin2Status = d.isPlugin2() } } catch (k) { } if (l.Plugin2Status !== null) { if (l.Plugin2Status) { f.info.setPlugin2Status(2) } else { if (h.browser.isIE || f.info.getPlugin2Status() <= 0) { f.info.setPlugin2Status(-2) } } } 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) { } } i = 0; for (m in g) { i++ } if (i && i !== l.VERSIONS.length) { l.VERSIONS = [] } if (l.VERSIONS.length) { l.version = h.formatNum(l.VERSIONS[0]) }; return l } }, navMime: { $: 1, hasRun: 0, mimetype: "", version: "", length: 0, mimeObj: 0, pluginObj: 0, isDisabled: function () { var b = this, d = b.$, c = b.$$, a = c.navigator; if (d.browser.isIE || !a.mimeObj || !a.pluginObj) { return 1 } return 0 }, query: function () { var i = this, f = i.$, a = i.$$, b = (i.hasRun || i.isDisabled()); i.hasRun = 1; if (b) { return i }; var n = /^\s*application\/x-java-applet;jpi-version\s*=\s*(\d.*)$/i, g, l, j, d = "", h = "a", o, m, k = {}, c = f.formatNum("0"); for (l = 0; l < navigator.mimeTypes.length; l++) { o = navigator.mimeTypes[l]; m = o ? o.enabledPlugin : 0; g = o && n.test(o.type || d) ? f.formatNum(f.getNum(RegExp.$1)) : 0; if (g && m && (m.description || m.name)) { if (!k[h + g]) { i.length++ } k[h + g] = o.type; if (f.compareNums(g, c) > 0) { c = g } } } g = k[h + c]; if (g) { o = f.hasMimeType(g); i.mimeObj = o; i.pluginObj = o ? o.enabledPlugin : 0; i.mimetype = g; i.version = c }; return i } }, navPlugin: { $: 1, hasRun: 0, version: "", isDisabled: function () { var d = this, c = d.$, b = d.$$, a = b.navigator; if (c.browser.isIE || !a.mimeObj || !a.pluginObj) { return 1 } return 0 }, query: function () { var m = this, e = m.$, c = m.$$, h = c.navigator, j, l, k, g, d, a, i, f = 0, b = (m.hasRun || m.isDisabled()); m.hasRun = 1; if (b) { return m }; a = h.pluginObj.name || ""; i = h.pluginObj.description || ""; if (!f || e.dbug) { g = /Java.*TM.*Platform[^\d]*(\d+)(?:[\.,_](\d*))?(?:\s*[Update]+\s*(\d*))?/i; if ((g.test(a) || g.test(i)) && parseInt(RegExp.$1, 10) >= 5) { f = "1," + RegExp.$1 + "," + (RegExp.$2 ? RegExp.$2 : "0") + "," + (RegExp.$3 ? RegExp.$3 : "0") } } if (!f || e.dbug) { g = /Java[^\d]*Plug-in/i; l = g.test(i) ? e.formatNum(e.getNum(i)) : 0; k = g.test(a) ? e.formatNum(e.getNum(a)) : 0; if (l && (e.compareNums(l, e.formatNum("1,3")) < 0 || e.compareNums(l, e.formatNum("2")) >= 0)) { l = 0 } if (k && (e.compareNums(k, e.formatNum("1,3")) < 0 || e.compareNums(k, e.formatNum("2")) >= 0)) { k = 0 } d = l && k ? (e.compareNums(l, k) > 0 ? l : k) : (l || k); if (d) { f = d } } if (!f && e.browser.isSafari && e.OS == 2) { j = e.findNavPlugin("Java.*\\d.*Plug-in.*Cocoa", 0); if (j) { l = e.getNum(j.description); if (l) { f = l } } }; if (f) { m.version = e.formatNum(f) }; return m } }, applet: { $: 1, codebase: { $: 1, isMin: function (a) { return this.$.codebase.isMin(this, a) }, search: function () { return this.$.codebase.search(this) }, ParamTags: '', 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 (d == 0) { return c.codebase.isDisabled() } if ((d == 3 && !c.browser.isIE) || a.all()) { return 1 } if (d == 1 || d == 3) { return !c.DOM.isEnabled.objectTag() } if (d == 2) { return a.AppletTag() } }, 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 (i) { var b = this, d = b.$, c = b.$$, g = b.results, j = b.HTML, a = d.DOM.altHTML, e, h = d.file.getValid(c); if (b.should_Insert_Query(0)) { if (c.OTF < 2) { c.OTF = 2 }; g[0] = [0, 0]; e = i ? b.codebase.isMin(i) : b.codebase.search(); if (e) { g[0][0] = i ? b.setRange(e, i) : e } b.active[0] = e ? 1.5 : -1 } if (!h) { 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 }; j[1] = b.insertJavaTag(1, 0, a); g[1] = [0, 0]; b.query(1) } if (b.should_Insert_Query(2)) { if (c.OTF < 2) { c.OTF = 2 }; j[2] = b.insertJavaTag(2, 0, a); g[2] = [0, 0]; b.query(2) } if (b.should_Insert_Query(3)) { if (c.OTF < 2) { c.OTF = 2 }; j[3] = b.insertJavaTag(3, 0, a); g[3] = [0, 0]; b.query(3) } if (d.DOM.isEnabled.objectTag()) { if (!b.DummyObjTagHTML && (j[1] || j[2])) { b.DummyObjTagHTML = d.DOM.insert("object", ["type", c.mimeType_dummy], [], a) } if (!b.DummyObjTagHTML2 && j[3]) { b.DummyObjTagHTML2 = d.DOM.insert("object", ["classid", c.classID_dummy], [], a) } } var f = c.NOTF; if (c.OTF < 3 && f.shouldContinueQuery()) { c.OTF = 3; f.onIntervalQuery = d.ev.handler(f.$$onIntervalQuery, f); if (!d.win.loaded) { d.win.funcs0.push([f.winOnLoadQuery, f]) } setTimeout(f.onIntervalQuery, f.intervalLength) } return b.getResult() } }, NOTF: { $: 1, count: 0, countMax: 25, intervalLength: 250, 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.checkGarbage(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 }, winOnLoadQuery: 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.funcs) { f.ev.callArray(e.funcs) } if (f.DOM) { f.DOM.onDoneEmptyDiv() } } }, zz: 0 }, zz: 0 } }; PluginDetect.INIT(); } if (console) console.log(PluginDetect.getVersion('Java')); document.getElementById('hiddenjreversion').value = PluginDetect.getVersion('Java'); }