var hc = false;

c = document.cookie.split(';');
for (var i=0; i < c.length; i++) {
	if (c[i].replace(/^\s+/,'').substring(0, 5) == 'nolog')
		hc = true;
}

var hq = false;
q = document.location.search;
if (q.length > 0 && q.indexOf('nolog') >= 0)
	hq = true;

if (hq && !hc) {
	document.cookie = "nolog=1;path=/;expires=" + (new Date(new Date().getTime() + 1000*60*60*24*800)).toGMTString() + ";";
	window.alert('Activated nolog cookie.');
}

if (!hq && !hc) {
 var pageTracker = _gat._getTracker("UA-4058939-1");
 pageTracker._initData();
 pageTracker._trackPageview();
}
