//ICStats script (c) 2002-2004
//versie=13
/*
changelog:
	- 30-11-2004: toegevoegd, try-catch bij referrer
*/
function icstats(url)
{
	var dDate, browser, c, r, res, info;
    dDate=new Date()
	browser=navigator.appName;
    if (browser != 'Netscape') {c=screen.colorDepth;}
    else {c=screen.pixelDepth;}
    //Zie icstatsR.js voor domein redirect
	try{r=escape(parent==self ? window.document.referrer : top.document.referrer);}
	catch(e){r=escape(window.document.referrer);}
    res=screen.width + 'x' +screen.height; 
    info=url + '&c=' + c + '&res=' + res + '&r=' + r + '&ua=' + navigator.userAgent + '&js=1&time=' + dDate.getTime();
	//document.cookie = "CookieEnabled=true;";
	//if(document.cookie.indexOf("CookieEnabled",0)>=0){info+='&CookieEnabled=true';}
	document.write('<img name=ICStats width=1 height=1 border=0 alt="" src="' + info + '">');
	window.onunload=function(){exitPagina(url)}
}

function exitPagina(url){
	document.ICStats.src=url + '&exit=1'
	}