
// get all user data you cannot detect with PHP with JavaScript
var strRefererOrig = document.referrer;			// URL from where the user comes
var strReferer = strRefererOrig.replace(/&/g,"[]");	// replace the &

var iScreenWidth = screen.width;			// sreen width
var iScreenHeight = screen.height;			// sreen height
var iColorDepth = screen.colorDepth;		// color depth

// call counter.php script with the detected parameters
document.writeln("<script language='Javascript' src='http://www.maisel-online.de/counter/maisel/counter.php?");

// if MSIE is used an process for getting data is used than for NN
if((navigator.appName == "Microsoft Internet Explorer") || (navigator.appName == "Konqueror"))
	document.writeln("bIsMSIE=true");

document.writeln("&strReferer=" + strReferer + "&iScreenWidth=" + iScreenWidth);
document.writeln("&iScreenHeight=" + iScreenHeight + "&iColorDepth=" + iColorDepth + "'></script>");

