// ----------------------------------------------------------------
//   PMCCount
//   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
}
if(showme==null) var showme=0
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
if(navigator.javaEnabled()) j = 1
else j = 0
ref = "" + escape(document.referrer)
v = navigator.appName
if (v != "Netscape") c = screen.colorDepth
else c = 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() + ";"
}
if(document.cookie.indexOf(wer)>-1) ck=1
// cookie
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("<IMG src='stats/pmccount.php"+param+" border='0'>")
document.close()
