// Die gesammelten JavaScript-Funktionen
// Scripted by Aysberg GmbH, www.aysberg.de

// Normales Popup für große Version des Lageplans

function lageplan(){
	posLeft = (screen.width-390)/2;
	posTop = (screen.height-400)/2;
	popup = window.open("","lageplan","height=400,width=390,scrollbars=0,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,left="+posLeft+",top="+posTop+"");
popup.focus();
}

function impressum(){
	posLeft = (screen.width-390)/2;
	posTop = (screen.height-430)/2;
	popup = window.open("","impressum","height=480,width=480,scrollbars=1,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,left="+posLeft+",top="+posTop+"");
popup.focus();
}

// Schickes Popup für Hasen
function fotoup() {
	posLeft = (screen.width-188)/2;
	posTop = (screen.height-377)/2;
	newWindow = window.open("","Hase","width=188,height=377,scrollbars=0,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,left="+posLeft+",top="+posTop);
	newWindow.document.write('<html><title>Klick auf das Bild schließt das Fenster</title>');
	newWindow.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#F5EFEA"');
	newWindow.document.write('onBlur="self.close()" onClick="self.close()">');  
	newWindow.document.write('<img src=../images/hasenkarte.gif width="188" height="377"');
	newWindow.document.write('alt="Klick auf das Bild schließt das Fenster">'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
	}

function news(){
	posLeft = (screen.width-440)/2;
	posTop = (screen.height-250)/2;
	popup = window.open("","news","height=250,width=440,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,left="+posLeft+",top="+posTop+"");
popup.focus();
}
