// Set layoutfunction setLayout() {	if(document.getElementById("content") != null) {		pageNavigation = document.getElementById("navigation").offsetHeight;		pageContent = document.getElementById("content").offsetHeight;		if(pageNavigation > pageContent) pageHeight = pageNavigation; else pageHeight = pageContent;		document.getElementById("page").style.height = pageHeight + "px";	}}window.onload = setLayout;// Open popupvar pop = null;function popup(obj, name, width, height) {	var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;	if(!url) return true;		// Fenster generieren	if(navigator.appName == "Microsoft Internet Explorer") {		if(pop) pop.close();		pop = window.open(url, "name", "left=" + (screen.width - width) / 2 + ", top="+ (screen.height - height) / 2 + ", width=" + width + ", height=" + height + ", menubar=no, locationbar=no, scrollbars=no, resizable=no, status=no");	}		else pop = window.open(url, name, "left=" + (screen.width - width) / 2 + ", top="+ (screen.height - height) / 2 + ", width=" + width + ", height=" + height + ", menubar=no, locationbar=no, scrollbars=no, resizable=no, status=no");	pop.focus();	return(pop) ? false : true;}// Tabellenzeilen färbenfunction magicTable(className) {	rows = document.getElementsByTagName("table")[0].getElementsByTagName("tr").length;	for(i = 1; i < rows; i++) {		cols = document.getElementsByTagName("table")[0].getElementsByTagName("tr")[i].getElementsByTagName("td").length;		for(j = 0; j < cols; j++) document.getElementsByTagName("table")[0].getElementsByTagName("tr")[i].getElementsByTagName("td")[j].className = className;		i++;	}}