var n=navigator;

pxDepth = screen.pixelDepth;
if (!(pxDepth > 0)) pxDepth = screen.colorDepth;
if (!(pxDepth > 0)) pxDepth = 0;

if (n.plugins && n.plugins['Shockwave Flash']) t=n.plugins['Shockwave Flash'].description;
else t='none';

if (t == 'none') {
  var agt = navigator.userAgent.toLowerCase();
  var ie  = (agt.indexOf("msie") != -1);
  var win = ((agt.indexOf("win") != -1) || (agt.indexOf("32bit") != -1));
  var rqversion = 5;
  var result = false;
  if (ie && win) {
    document.writeln('<scr' + 'ipt type="text/vbsc' + 'ript">');
    document.writeln('On Error Resume Next');
    document.writeln('result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+rqversion+'"))');
    document.writeln('</scr' + 'ipt>');
    if (result) t = 'Shockwave Flash 5.0';
    else {
      var rqversion = 5; // 
      document.writeln('<scr' + 'ipt type="text/vbsc' + 'ript">');
      document.writeln('On Error Resume Next');
      document.writeln('result = IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.'+rqversion+'"))');
      document.writeln('</scr' + 'ipt>');
      if (result) t = 'Shockwave Flash 4.0';
    }
  }
}

if (typeof(window['rq']) == "undefined")  {
  rq = '';
} 

if (typeof(window['sour']) == "undefined")  {
  sour = '';
} 

src = xoopsUrl + '/modules/qcmstat/hit.php?screenx=' + screen.width + '&screeny=' + screen.height + '&cdepth=' + pxDepth + '&flash=' + escape (t) + '&loc=' + escape(top.document.location) + '&r=' + escape(r) + '&a=' + escape(a) + '&l=' + escape(l) + '&p=' + escape(p) + '&o=' + escape(n.platform) + '&rq=' + escape(rq) + '&sour=' + escape(sour) + '"'; 

document.write('<img src="' + src + '" width="0" height="0" alt="stat1" border="0" />');



