var siteUrl,cHeight, cWidth, cBitDepth, cResolution, cReferrer;
if(window.document.location.port!=80)
{
   siteUrl="http://"+document.domain+"/tj/stat.aspx";
}
else
{
    siteUrl="http://"+document.domain+":"+window.document.location.port+"/tj/stat.aspx";
}
function je(){//apple
	var je="";
	var n=navigator;
	je = n.javaEnabled()?1:0;
	return je;
} 

function fv(){//flsh
	var f="",n=navigator;	
	if(n.plugins && n.plugins.length){
		for(var ii=0;ii<n.plugins.length;ii++){
			if(n.plugins[ii].name.indexOf('Shockwave Flash')!=-1){
				f=n.plugins[ii].description.split('Shockwave Flash ')[1];
				break;
			}
		}
	}else if(window.ActiveXObject){
		for(var ii=10;ii>=2;ii--){
			try{
				var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+ii+"');");
				if(fl){
					f=ii + '.0'; break;
				}
			}catch(e){} 
		} 
	}
	return f;
}

function ce(){//cookie
	var c_en = (navigator.cookieEnabled)? 1 : 0;
	return c_en;
}
cHeight = screen.height;
cWidth = screen.width;
cBitDepth = screen.colorDepth;
if (cBitDepth == null)
{
   cBitDepth = screen.pixelDepth;
}
cResolution = cWidth + "x" + cHeight;
clang =navigator.systemLanguage?navigator.systemLanguage:navigator.language;
cReferrer = escape(document.referrer)+"";
//cPage = document.location.href.replace(/^([^\:]+):\/\/([^\/]+)(.*)$/ig, "$3");
cPage = document.location.href+"";
document.write ("<script language='javascript' src='"+siteUrl+"?page=" + cPage + "&res=" + cResolution + "&col=" + cBitDepth + "&ref=" + cReferrer + "&lans="+clang+"&ce="+ce()+"&je="+je()+"&fv="+fv()+"' border='0' height='0' width='0'></script>");
