// JavaScript Document
	function mp(elem) {
		if(elem.className == "mp") {
			elem.className = 'mp_over';
		} else {
			elem.className = 'mp';
		}
	}
	var fenster = 0;
	function newWindow(url, breite, hoehe, left, top, scroll, menu, tool) {
		if(fenster && !fenster.closed) fenster.close();
		if(hoehe == 0) {
			var arrayPageSize = getPageSize();
			hoehe = screen.height -200;
		}
	
		if(!left && !top) {
			left = (screen.width - breite) / 2;
			top = (screen.height - hoehe) / 2;
		}
		fenster = window.open(url, "fenster", "width=" + breite + ",height=" + hoehe +
							  				  ",left=" + left + ",top=" + top + ",scrollbars=" + scroll +
							  				  ",menubar=" + menu + ",toolbar=" + tool +",resizable=1");
		fenster.focus();
	}
	
	function popfenster(url, titel, breite, hoehe, left, top, scroll, menu) {
		if(!left && !top) {
			left = (screen.width - breite) / 2;
			top = (screen.height - hoehe) / 2;
		}
	  bild = window.open(url, titel, "width=" + breite + ",height=" + hoehe + ",left=" + left + ",top=" + top + ",scrollbars=" + scroll + ",menubar=" + menu + ", resizable=0");
	  bild.document.writeln('<html><head><title>' + titel + '</title></head>');
	  bild.document.writeln('<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 bgcolor="White">');
	  bild.document.writeln('<a href="javascript:self.close()"><img src="' + url + '" border=0 alt="schliessen"></a>');
	  bild.document.writeln('</body></html>');
	  bild.focus();
	}
	function objekt_anzeigen(id, letzte) {
		if(letzte != '') {
			for(var i = 1; i <= letzte; i++) {
				if($("obj_"+i)) {
					$("obj_"+i).style.display = 'none';
				}
			}
		}
		$("obj_"+id).style.display = 'block';
	}

