// Sets temporary cookie for traffic analysis
if (document.cookie.indexOf("LatomoA=") < 0) {

	// Get date and time in ISO-format
	var today = new Date();
	var year  = today.getYear();
	if (year < 2000) year = year + 1900;
	var month = today.getMonth() + 1;
	var day  = today.getDate();
	var hour = today.getHours();
	var minute = today.getMinutes();
	var second = today.getSeconds();
	if (month <= 9) month = "0" + month;
	if (day <= 9) day = "0" + day;
	if (hour <= 9) hour = "0" + hour;
	if (minute <= 9) minute = "0" + minute;
	if (second <= 9) second = "0" + second;
	time = year + "-" + month + "-" + day + "T"+ hour + ":" + minute + ":" + second;
	
	// Save to cookie
	document.cookie = "LatomoA=" + time;
}
