var recorder;
var theDate = new Date();
function appendURL (param, value) {
	recorder += param + "=" + encodeURIComponent(value) + "&";
}
var recorder = 'http://www.browsersurvey.co.uk/42gif.cgi?';
var java = navigator.javaEnabled();
var tz = -theDate.getTimezoneOffset();
var sh = document.body.scrollHeight;
var ch = document.body.clientHeight;
appendURL('tz', tz);
appendURL('history', history.length);
appendURL('java', java);
if (window.screen) {
	appendURL('h', window.screen.height);
	appendURL('w', window.screen.width);
	appendURL('ah', window.screen.availHeight);
	appendURL('aw', window.screen.availWidth);
	appendURL('cd', window.screen.colorDepth);
}
if (document.body) {
	appendURL('sh', sh);
	appendURL('ch', ch);
	if ( sh && ch ) {
		var cc = Math.round(ch*100/sh);
		appendURL('cc', cc);
		//alert("Your lucky number for the time-being is "+cc);
	}
}
if (navigator.plugins) {
	appendURL('plugins', navigator.plugins.length);
}
if (navigator.mimeTypes) {
	appendURL('mimes', navigator.mimeTypes.length);
}
appendURL('url',document.location);
appendURL('ref',document.referrer);
document.write('<i' + 'mg height=1 width=1 border=0 src="' + recorder + '" />');

