function meldung(nummer) {
	if($("meldung" + nummer).style.display == 'none') {
		new Effect.BlindDown("meldung" + nummer, { duration:0.5 });
	} else {
		new Effect.BlindUp("meldung" + nummer, { duration:0.5 });
	}
}
var fenster = 0;

function newWindow(url, breite, hoehe, left, top, scroll, menu, tool) {
	if(fenster && !fenster.closed) fenster.close();
	if(!left && !top) {
		left = (screen.width - breite) / 2;
		top = (screen.height - hoehe) / 2;
	}
	fenster = window.open(url, "artsfenster2", "width=" + breite + ",height=" + hoehe +
										  ",left=" + left + ",top=" + top + ",scrollbars=" + scroll +
										  ",menubar=" + menu + ",toolbar=" + tool);
	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, "fenster", "width=" + breite + ",height=" + hoehe + ",left=" + left + ",top=" + top + ",scrollbars=" + scroll + ",menubar=" + menu + ", resizable=1");
  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><br>&nbsp;');
  bild.document.writeln('</body></html>');
  bild.focus();
}
