ss_page = new String(window.location);

ss_refer = document.referrer;
ss_url   = document.URL;

ss_html = '<img width="80" height="19" src="js/setcookie.php?';
document.cookie = 'ss=1; expires=Sunday, 02-Feb-2020 20:20:20 GMT';

ss_html += 'cookies=' + (document.cookie.indexOf('ss=1') >= 0);

if (parseInt(navigator.appVersion) >= 4)
{
	var date = new Date();
	
	ss_html += '&resolution=' + screen.width + 'x' + screen.height;
	ss_html += '&color_bits=' + screen.colorDepth;
	ss_html += '&java=' + navigator.javaEnabled();
	ss_html += '&time=' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds();
	ss_html += '&agent=' + navigator.userAgent;
	ss_html += '&appname=' + navigator.appName;
	ss_html += '&appver=' + navigator.appVersion;
	ss_html += '&lang=' + navigator.browserLanguage;
	ss_html += '&plat=' + navigator.platform;
}

document.write(ss_html + '">');