// style

_DOM = !!document.getElementById;
_OP  = navigator.userAgent.indexOf("Opera")>-1;
_IE  = navigator.userAgent.indexOf("MSIE")>-1;
_IE4 = _IE && !_DOM;
_NS  = navigator.appName.indexOf("Netscape")>-1;
_NS4 = _NS && document.layers;
cssx = _OP ? "op" : (_IE4 ? "ie4" : (_IE ? "ie" : (_NS4 ? "ns4" : (_NS ? "ns" : "any"))));
document.write ('<link rel="stylesheet" type="text/css" href="/css/wt_'+cssx+'.css">');

// mail

function write_an_e_mail_to(name)
{
	var site = "waltertross.com";
	location.href = "mail" + "to:" + name + "@" + site;
}

// logging (by Eticostat)

id="waltertross"
if(showme==null) var showme='n'
if(st==null)     var st='js'
s=0;c=0
f=""+escape(document.referrer)
sw=screen.width;sh=screen.height;s=sw+"x"+sh
t=escape(document.title)
v=navigator.appName
if (v != "Netscape") c=screen.colorDepth
else c=screen.pixelDepth
r="?id="+id+"&referer="+f+"&r="+s+"&c="+c+"&showme="+showme+"&st="+st+"&title="+t
if (st=='js') {
	if (v != "Microsoft Internet Explorer") r += "&url="+document.URL
	document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www.eticostat.it/stat/pphlogger.php"+r+"\"></"+"script>")
} else {
	rand=Math.round(1000*Math.random())
	r += "&b="+rand
	document.write("<img src=\"http://www.eticostat.it/stat/pphlogger.php"+r+"\" alt=\"\" border=\"0\">")
}

// logging (by WT)

// scr = screen.width+"x"+screen.height;
// bpp = navigator.appName == "Netscape" ? screen.pixelDepth : screen.colorDepth;
// ref = ""+escape(document.referrer);
// url = document.URL;
// ran = Math.round(100000*Math.random());
// str = "scr="+scr+"&bpp="+bpp+"&ref="+ref+"&url="+url+"&ran="+ran;
// document.write ('<'+'script language="JavaScript" type="text/javascript" src="/wtl.php?'+str+'"></'+'script>');


