function doStats()
{
	sx = screen.width;
	sy = screen.height;

	shb = (screen.availHeight != screen.height);
	svb = (screen.availWidth != screen.width);
	bpp = screen.colorDepth;
	ref = encodeURIComponent(document.referrer);
	uri = encodeURIComponent(document.location);
	ref= (ref!=''? ( ref!=document.location? ref:0):0);

	swf =(typeof(navigator.mimeTypes["application/x-shockwave-flash"] || navigator.plugins ["Shockwave Flash"] || navigator.plugins ["Shockwave Flash 2.0"] )!='undefined'?1:0);
	if (!swf)
	{
		try {
   			tmp = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
			swf = 1;
		} catch (e) {
			swf = 0;
		}
	}
	
	

	coo = (navigator.cookieEnabled?1:0);
	hle = history.length;
    o = navigator.platform;

    if (/Win/.test(o)) os=1;
    if (/Linux/.test(o)) os=2;
    if (/Mac/.test(o)) os=3;


	l = "w="+sx+"&h="+sy+"&bpp="+bpp+"&ref="+ref+"&uri="+uri+"&swf="+swf+"&os="+os; 

	document.write('<img src="/news/wstat/stats.aspx?'+l+'" style="width:1px; height:1px;" />');
}

doStats();


