//:copyright

// ----------------------------------------------------------------
//   PMC_count
//   www.pmcweb.at
//   please report bugs and comments: pmccount@cybersound.com
// ----------------------------------------------------------------
//   you don't need to edit anything below this line
//   BE AWARE: the counter is only working, if nothing is changed
// ----------------------------------------------------------------

function plusnull(n) {
  s = "" + n
  if (s.length==1) s = "0" + s
  return s
}
function plusneunzehn(n) {
  s = "" + n
  if (n<100) s = '19' + s
  return s
}

sw  = 0
sh  = 0
c   = 0
js  = 1
co  = 0
tst = 0
tzo = 0
id  = 0

rand = Math.round(1000*Math.random()) //force the page to load the IMG

sw = screen.width
sh = screen.height

j = (navigator.javaEnabled()) ? 1 : 0;

ref = "" + escape(document.referrer)
v = navigator.appName
c = (v != "Netscape") ? screen.colorDepth : screen.pixelDepth;

// cookies
t = new Date()
tzo = t.getTimezoneOffset() / 60
tst = plusneunzehn(t.getYear())+plusnull(t.getMonth()+1)+plusnull(t.getDate())+plusnull(t.getHours())+plusnull(t.getMinutes())+plusnull(t.getSeconds())
t.setTime(t.getTime()+31536000000)

wer = "ccount"
r=""
if (document.cookie) {
  cc = document.cookie
  i = cc.indexOf(wer)
  if(i>-1) {
    os = cc.indexOf('=',i) + 1
    oe = cc.indexOf(';',i)
    if(oe<0) {
      oe = cc.length
      r = cc.substring(os,oe)
    }
  }
}
if (r=="") {
  r = t.getTime()
  document.cookie = wer + "=" + r + "; expires=" + t.toGMTString() + ";"
}

// cookie
co = (document.cookie.indexOf(wer)>-1) ? 1 : 0;

ba = escape(navigator.userAgent)

url = "" + escape(document.URL)
param = "?id="+id+"&ref="+ref+"&sw="+sw+"&sh="+sh+"&c="+c+"&j="+j+"&js="+js+"&co="+co+"&tst="+tst+"&tzo="+tzo+"&ba="+ba+"&ref="+ref+"&url="+url+"&rand="+rand
document.open()
// unbedingt absolut
document.write("<a href='http://hot66.com/fe/_modules/co/?public' target='_blank'><IMG src='http://hot66.com/fe/_modules/co/fe/_factory/_count.php"+param+"' PMC_count 2.0 - The best free PHP Counter (no database needed) border='0'></a>")
document.close()
