function parsecookie() {
	var cookieList = document.cookie.split("; ");
	var cookieArray = new Array();
	for (var i=0; i < cookieList.length; i++) {
		var name = cookieList[i].split("=");
		cookieArray[unescape(name[0])] = unescape(name[1]);
	}
	return cookieArray;
}

function insertDate(locale) {
	date = new Date(document.lastModified);
	day   = date.getDate();
	month = date.getMonth() + 1;
	year  = date.getYear();
	if (year < 100) year += 1900;
	if (locale == "de")
		document.write(
			"<p align=right style=\"font-size:8pt\">Letzte &Auml;nderung: " +
				day + "." + month + "." + year + "</p>"
		);
	else
		document.write(
			"<p align=right style=\"font-size:8pt\">Letzte &Auml;nderung: " +
				month + "/" + day + "/" + year + "</p>"
		);
}

function insertAge(d,m,y,locale) {
    today = new Date();
    month = today.getMonth() + 1;
    day   = today.getDate();
    year  = today.getYear();
    if (year < 100) year = year + 1900;
    yourage = year - y;
    if (month <  m) yourage = yourage - 1;
    if (month == m && day < d) yourage = yourage - 1;
    return document.write(yourage + " Jahre");
}

