var G="0";
var T=Math.random();
var Ref=document.referrer;
if (typeof(parent.document)!="unknown")
{
var F=parent.document.URL;
if (document.referrer==F) Ref=parent.document.referrer;
}
var S="usr="+A+"Pauto&js=1";
if (P=="DetectName") {P=document.title;}
if (U=="DetectUrl") {U=window.document.URL;}
S+="&title="+escape(P);
S+="&url="+escape(U);
S+="&refer="+escape(Ref);
if (typeof Sale != "undefined") S+="&adsale="+Sale;
S+="&zone="+G;
if(typeof(screen)=="object")
{
S+="&resolution="+screen.width+"x"+screen.height;
S+="&color="+screen.colorDepth;
}
S+="&Tips="+T;
document.write("<a href='http://www.3dstats.com'>");
document.write("<img border=0 src='http://www.3dstats.com/cgi-bin/connect.cgi?");
document.write(S);
document.write("' border=0 height=0 width=0></a>");
function lsover()
{
window.status=this.href;
}
function lsout()
{
window.status="";
}
var ln=document.links.length;
for (var i=0; i<ln; i++)
{
var currentOver = document.links[i].onmouseover;
var currentOut = document.links[i].onmouseout;
if (!currentOver && !currentOut)
{
document.links[i].onmouseover = lsover;
document.links[i].onmouseout = lsout;
}
}
function stloga()
{
 window.focus();
 if (window.status)
 {
 bug = new Image();
 bug.src = 'http://www.3dstats.com/cgi-bin/click.cgi?usr=' + A + '&exit=Adsense->' + escape(window.status);
 }
}
function stlogb()
{
 if (window.status)
 {
 window.focus();
 bug = new Image();
 bug.src = 'http://www.3dstats.com/cgi-bin/click.cgi?usr=' + A + '&exit=IFrames->' + escape(this.src);
 }
}
function stlogc()
{
var temp=window.location.href.split("/");
var domain=temp[2];
window.focus();
 if (window.status.indexOf(domain) == -1)
 {
  if (window.status)
  {
  bug = new Image();
  bug.src = 'http://www.3dstats.com/cgi-bin/click.cgi?usr='+ A + '&exit='+escape(window.status);
  }
 }
}
var elements;
elements = document.getElementsByTagName("iframe");
for (var i = 0; i < elements.length; i++)
{
 if(elements[i].src.indexOf('googlesyndication.com') > -1)
 {
 elements[i].onfocus = stloga;
 }
 else
 {
 elements[i].onfocus = stlogb;
 }
}
elements = document.getElementsByTagName("a");
for (var i = 0; i < elements.length; i++)
{
     elements[i].onfocus = stlogc;
}
