function opencenter(file,fenstername,breite,hoehe)
	{
	x = (screen.availWidth-breite)/2
	y = (screen.availHeight-hoehe)/2
	window.open(file,fenstername,"width=" + breite + ",height=" + hoehe + ",resizable=yes,scrollbars=yes,top=" + y + ",left=" + x);
	}

function opencenter1(file,fenstername,breite,hoehe)
	{
	x = (screen.availWidth-breite)/2
	y = (screen.availHeight-hoehe)/2
	window.open(file,fenstername,"width="+breite +",height="+hoehe+",resizable=no,scrollbars=no,top="+y+",left="+ x);

	}

function setfocus()
	{
	document.form.name.focus();
	}

function groesse(breite,hoehe)
	{
	window.resizeTo(breite,hoehe);
	x = (screen.availWidth-breite)/2
	y = (screen.availHeight-hoehe)/2
	window.moveTo(x,y);
	}

function wirklich(text,url)
	{
	check = confirm(text);
	if (check == true) window.location.href = url;
	}

function wirklich1(text,myfile,breite,hoehe)
	{
	x = (screen.availWidth-breite)/2
	y = (screen.availHeight-hoehe)/2
	check = confirm(text);
	if (check == true) window.open(myfile,'wirklich1',"width="+breite +",height="+hoehe+",resizable=no,scrollbars=no,top="+y+",left="+ x);	
	}


function wirklich2(text,myfile,breite,hoehe)
	{
	x = (screen.availWidth-breite)/2
	y = (screen.availHeight-hoehe)/2
	check = confirm(text);
	if (check == true) window.open(myfile,'wirklich2',"width="+breite +",height="+hoehe+",resizable=no,scrollbars=no,top=2000,left=2000");	
	}


function schliessen(text)
	{
	check = confirm(text);
	if (check == true) self.close();
	}

function neuladen()
	{
	location.reload();
	}