
//¬y¶q²Î­p
document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));
//============================================

function MM_reloadPage(init){
	if(init==true) with (navigator){if((appName=="Netscape")&&(parseInt(appVersion)==4)){
		document.MM_pgW=innerWidth;document.MM_pgH=innerHeight;onresize=MM_reloadPage;}}
	else if(innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)location.reload();
}
MM_reloadPage(true);


var dTitle=""+document.title;

var tRUL=""+self.location;
var index="index.html",root="",isLocalSave=false;
var rootB="atlas-zone.com";
var rootS="http://www.atlas-zone.com/";
var rootL="file:///F:/_localhost/_atlas/";

if(tRUL.indexOf(rootL)!=-1){root=rootL;}
else root=rootS;
if(tRUL.indexOf("file://")!=-1 && tRUL.indexOf("_atlas")==-1 || tRUL.indexOf(".mht")!=-1) isLocalSave=true;

var tRefer=""+document.referrer,outLink="",tTitle="";
if(tRefer=="" && window.opener) tRefer=""+window.opener.location;
var tName=""+window.name;
if(tName.indexOf("://")!=-1){tRefer=tName;window.name="";}

if(tRUL.indexOf(rootB)!=-1){
	if(tRefer.indexOf(rootB)==-1 && tRefer!="") outLink="type1";
	if(tRefer=="") outLink="type1";
} else { if(tRUL.indexOf("http://")!=-1 && tRUL.indexOf("http://localhost")==-1) outLink="type2";}


//if(sureRecord){
	tTitle=tRUL;
	if(tTitle!="" && outLink || window.name=="worksPop" || tRefer.indexOf(rootB)!=-1 || tRUL.indexOf('upload.htm')!=-1){
		replaceRoot();

		tTitle=tTitle+"----"+dTitle;
		if(isLocalSave) tTitle=tTitle+"¡i"+document.lastModified+"¡j";
		var param=".cgi?title="+tTitle+"&refer="+escape(tRefer);
		pp="http://www.atlas-zone.com/stats/stats";

		myStats=new Image();
		//if(outLink!="type1") myStats.src=pp+"2"+param;
		//else myStats.src=pp+param;
		myStats.src=pp+"2"+param;
	}
//}

function stopError(){return true;}
window.onerror=stopError;

function replaceRoot(){
	tTitle=tTitle.replace(rootS,"");
	tRefer=tRefer.replace(rootS,"");
}
