function stwc_counter(stwc_counterpfad, stwc_bezeichnung, stwc_sperre){

var stwc_aufloesung = '';
var stwc_farbtiefe = '';
var stwc_referer = '';
var stwc_pfad = '';
var stwc_java = '';
var stwc_cookies = '';
var stwc_seitentitel = '';
var stwc_rnd = Math.random()*99999;
var stwc_innen_aufloesung = '';

if(self.innerHeight){// all except Explorer
stwc_innen_aufloesung = self.innerWidth + "x" + self.innerHeight;
}
else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
stwc_innen_aufloesung = document.documentElement.clientWidth + "x" + document.documentElement.clientHeight;
}
else if(document.body){ // other Explorers
stwc_innen_aufloesung = document.body.clientWidth + "x" + document.body.clientHeight;
}

if(stwc_sperre == "sperre"){
var stwc_sperre_zusatz = "&sperre=x";
}
else{
var stwc_sperre_zusatz = "";
}

stwc_aufloesung = screen.width+'x'+screen.height;
stwc_referer = "" + escape(top.document.referrer);
stwc_farbtiefe = screen.colorDepth;
stwc_pfad = escape(location.href);
stwc_java = navigator.javaEnabled();
stwc_cookies = navigator.cookieEnabled;
stwc_seitentitel = stwc_bezeichnung;
stwc_seitentitel = escape(stwc_seitentitel);

var obj = new Object();
for (var stwc_i = 0, name, stwc_plugin; stwc_i < navigator.plugins.length; stwc_i++) {
   stwc_plugin = navigator.plugins[stwc_i];
   name = navigator.plugins[stwc_i].name;
   obj[name] = stwc_plugin;
}

var stwc_plugin2 = '';
for (var name in obj) {
stwc_plugin = obj[name];
stwc_plugin2 = stwc_plugin2 + stwc_plugin.name + '|';
}

var stwc_jetzt = new Date();
var stwc_Unterschied = stwc_jetzt.getTimezoneOffset() / 60;
var stwc_Stunde = stwc_jetzt.getHours();

document.write("<img height=0 width=0 src='" + stwc_counterpfad + "&ortszeit=" + stwc_Stunde + "&aflsg=" + stwc_aufloesung + "&innen_aufloesung=" + stwc_innen_aufloesung + "&referer=" + stwc_referer + "&farbtiefe=" + stwc_farbtiefe + "&js=yes&java=" + stwc_java + "&plugins=" + stwc_plugin2 + "&seitentitel=" + stwc_seitentitel + "&cookies=" + stwc_cookies + "&zzone=" + stwc_Unterschied + stwc_sperre_zusatz + "&pfad=" + stwc_pfad + "&rnd=" + stwc_rnd + "'>");

}
