function aufloesungberechnen ()
{ 
var x;
var y;
x = (screen.width / 2) - 125;
y = (screen.height /2) - 50;
if (document.all) { //für IE
document.all.meldung.style.pixelTop = y
document.all.meldung.style.pixelLeft = x
} 
if (document.getElementById&&!document.all) { //für NS6+
window.document.getElementById("meldung").style.top = y
window.document.getElementById("meldung").style.left = x
}
if (document.layers) { //für NS4+
document.meldung.top = y
document.meldung.left = x
} 
}

function einblenden()
{
aufloesungberechnen ();
if (document.all)  //für IE
{document.getElementById("meldung").style.visibility = "visible";}
}
function ausblenden()
{
if (document.all)  //für IE
{document.getElementById("meldung").style.visibility= "hidden";}
}

function fenster_ganzehoehe(winname,wintitel,breite) {
	var links=screen.width/2-breite/2;
	var oben=screen.height/2-hoehe/2;
	var hoehe=0.85*screen.height
	NewWin = window.open(winname, wintitel, "width="+breite+",height="+hoehe+",top="+oben+",left="+links+",toolbar=1,location=no,status=no,titlebar=1,scrollbars=1,resizable=1");
	NewWin.focus();
}

function fenster(winname,wintitel,breite,hoehe) {
	var links=screen.width/2-breite/2;
	var oben=screen.height/2-hoehe/2;
	NewWin = window.open(winname, wintitel, "width="+breite+",height="+hoehe+",top="+oben+",left="+links+",toolbar=0,location=no,status=no,titlebar=no");
	NewWin.focus();
}

function info_fenster(winname,wintitel) {
	NewWin = window.open(winname, wintitel, "toolbar=no,status=no,menubar=no,resizeable=yes,scrollbars=yes,dependent=yes");
	NewWin.focus();
}

//Bild in Div-Box zeigen
function zeigeBild(id,source) {
document.getElementById(id).style.visibility = "visible";
document.getElementById('dummy_image').src=source.src;
}//Ende Funktion
function schliesseBild(id) {
document.getElementById(id).style.visibility = "hidden";
}//Ende Funktion
