function netamo_stats(counter_id,counter_code)
{
	
	var n=navigator;var ver=n.appVersion;var d=document;var verIE=0;verIE=parseInt(ver.substring(ver.indexOf("MSIE")+5,ver.indexOf("MSIE")+6));
	if(verIE>0)ver=verIE;
	else ver=parseInt(ver);
	var qstr="?cid="+counter_id+"&ccode="+counter_code;
	var r=d.referrer;var rc="";rc=r;var i=rc.indexOf('?');
		if(i>=0)rc=rc.substring(0,i);
		i=rc.lastIndexOf('/');
		if(i>=0)rc=rc.substring(0,i+1);
		var l=''+d.location;
		if(l.indexOf(rc)==0)r='';

	if(r&&(r!=d.location))qstr+="&r="+escape(r);
	qstr=qstr+"&t="+escape(location.href);
	if(ver>=4){
		var s=screen;
		var w=s.width;
		var h=s.height;
		var c=s.colorDepth;
		if(w)qstr+="&w="+w;
		if(h)qstr+="&h="+h;
		if(c)qstr+="&c="+c;
		}
if(document.images){(new Image()).src=location.protocol+"//www.netamo.com/stats.jsp"+qstr;}
//document.write("<p style='background:#FFFFFF;color:#FFFFFF'>http://www.netamo.com/stats.jsp"+qstr+"</p>");
}

