var size = 100;
function start() {
	if (readCookie("tssize")){
		size = readCookie("tssize")*1;
		document.body.style.fontSize = size+"%";
	}
	if (document.lastChild.getAttribute("lang")=="de")
		document.getElementById("info").innerHTML = 'Schriftgröße: <a href="#" class="zoombutton" onclick="tsincrease()"><img src="images/plus.gif" alt="Zoom in" /></a> <a href="#" class="zoombutton" onclick="tsone()"><img src="images/zero.gif" alt="Reset zoom" /></a> <a href="#" class="zoombutton" onclick="tsdecrease()"><img src="images/minus.gif" alt="Zoom out" /></a> '+document.getElementById("info").innerHTML;
	else
		document.getElementById("info").innerHTML = 'Zoom: <a href="#" class="zoombutton" onclick="tsincrease()"><img src="images/plus.gif" alt="Zoom in" /></a> <a href="#" class="zoombutton" onclick="tsone()"><img src="images/zero.gif" alt="Reset zoom" /></a> <a href="#" class="zoombutton" onclick="tsdecrease()"><img src="images/minus.gif" alt="Zoom out" /></a> '+document.getElementById("info").innerHTML;
}

function tsincrease() {
	size += 20;
	document.body.style.fontSize = size+"%";
	createCookie("tssize", size+"", 31);
}

function tsdecrease() {
	size -= 20;
	document.body.style.fontSize = size+"%";
	createCookie("tssize", size+"", 31);
}

function tsone () {
	size = 100;
	document.body.style.fontSize = size+"%";
	createCookie("tssize", size+"", -1);
}
