  var ref = parent.document.referrer;
  var path = '';
  var mw, mh, bw, bh;
  var args = '';
  mw = screen.width;
  mh = screen.height;
  if (self.innerHeight) {
    bw = self.innerWidth;
    bh = self.innerHeight;
  } else if (document.documentElement && document.documentElement.clientHeight) {
    bw = document.documentElement.clientWidth;
    bh = document.documentElement.clientHeight;
  } else if (document.body) {
    bw = document.body.clientWidth;
    bh = document.body.clientHeight;
  }
  bw = Math.round((bw / 10)) * 10;
  bh = Math.round((bh / 10)) * 10;
  
  /*ref = ref.replace(/(%)/g, '_P_');*/
  /*ref = ref.replace(/(&)/g, '_A_');*/
  /*path = path.replace(/(&)/g, '_A_');*/
  args += '?ref=' + ref;
  args += '&path=' + path;
  args += '&msize=' + mw + 'x' + mh;
  args += '&bsize=' + bw + 'x' + bh;
  args += '&title=' + encodeURI(parent.document.title);
  args += '&color=' + (navigator.appName != "Netscape" ? screen.colorDepth : screen.pixelDepth);
  args += '&cookie=' + (navigator.cookieEnabled ? 1 : 0);
  args += '&js=1';
  document.write('<img src="acc.php' + args + '" width="0" height="0" style="visibility:hidden;" />');