function plugNS()
{
	var b=1;
	var o=0;
	var p=new Array("Shockwave Flash","Shockwave for Director","RealPlayer","QuickTime","VivoActive","LiveAudio","VRML","Dynamic HTML Binding","Windows Media Services");
	var np=navigator.plugins;
	for(var x=0;x<p.length;x++)
		{
			for(var i=0;i<np.length;i++)
				if(np[i].name.indexOf(p[x])>=0)
					o|=b;
				b*=2;
				}
				return o;}
function plugIE()
{
	if(!document.body)document.write('<body>');
	var db=document.body;
	var o=0;
	var b=1;
	var p=new Array("D27CDB6E-AE6D-11CF-96B8-444553540000","2A202491-F00D-11CF-87CC-0020AFEECF20","23064720-C4F8-11D1-994D-00C04F98BBC9","","","","90A7533D-88FE-11D0-9DBE-0000C0411FC3","9381D8F2-0288-11D0-9501-00AA00B911A5","22D6F312-B0F6-11D0-94AB-0080C74C7E95");
	db.addBehavior("#default#clientcaps");
			for(var i=0;i<p.length;i++)
				{
					if(p[i])
					if(db.isComponentInstalled("{"+p[i]+"}","componentid"))o|=b;
					b*=2;
					}
	return o;}
	
function allfreestats(iduserallfree,options)
{
	var n=navigator;
	var ver=n.appVersion;
	var d=document;
	var verIE=parseInt(ver.substring(ver.indexOf("MSIE")+5,ver.indexOf("MSIE")+6));
	if (verIE>0)
	    ver=verIE;
	else 
	    ver=parseInt(ver);
	var u="http://www.allfreestats.net/co.php?iduserallfree="+iduserallfree;
	var r;
	//if (options&1) 
	   r=d.referrer;
	   act=d.location;
	   u+="&r="+escape(r);
	   u+="&act="+escape(act);
	//else 
	//   r=top.document.referrer;

	/*if (!(options&2))
	   {
		   	var 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))
		//u+="&r="+escape(r);
	if ((n.appName=="Netscape"&&ver>=3))
		u+="&p="+plugNS();
	if (verIE>=5&&n.appVersion.indexOf('Win')>=0&&n.userAgent.indexOf('Opera')<0)
		u+="&p="+plugIE();
	if (ver>=4)
		{
			var s=screen;
			var w=s.width;
			var h=s.height;
			var c=s.colorDepth;
			if (w)
				u+="&w="+w;
			if (h)
				u+="&h="+h;
			if (c)
				u+="&c="+c;
		}
	u+="&v=1";
	u+="&agente="+escape(n.userAgent);
	if ((iduserallfree == 1012) || (iduserallfree == 1006) || (iduserallfree == 1000) || (iduserallfree == 1001) || (iduserallfree == 1014) || (iduserallfree == 1015) || (iduserallfree == 1016) || (iduserallfree == 1039) || (iduserallfree == 1047) || (iduserallfree == 1049) || (iduserallfree == 1055) || (iduserallfree == 1057) || (iduserallfree == 1093))
		{
		//si es 1012 no imprimo nada porque es de eprop o shabbit o el mismo allfreestats
		}
	else
		{
		d.write('<a target=_blank href="http://www.allfreestats.net/stats.php?id='+iduserallfree+'"><img src="http://www.allfreestats.net/icono.php?idsitio='+iduserallfree+'" border=0 alt="Allfreestats - Free web site statistics"></a>');
		}
	d.write('<a target=_blank href=""><img src="'+u+'" border=0 width=0 height=0></a>');
	//d.write('<a target=_blank href=""><img src="http://redirect.alexa.com/redirect?http%3A%2F%2Fwww.e-propgroup.com%2Findex.php" border=0 width=0 height=0></a>');
	//d.write('<iframe src="http://redirect.alexa.com/redirect?http%3A%2F%2Fwww.e-propgroup.com%2Findex.php" height="0" width="0" scrolling="no" frameborder="0"></iframe>');
	//d.write('<a target=_blank href=""><img src="http://www.shabbit.com/index2.php" border=0 width=0 height=0></a>');
	//d.write('<iframe src="http://www.nomoreclicking.com/?ref=11723" width="0" height="0" frameborder="0"></iframe>');
}

function stats(iduserallfree,options)
	{
		if ((iduserallfree != 1166))
			{
			allfreestats(iduserallfree,options);
			}
	}