function openBrWindowFever(theURL,winName,features,ref,center){
	eval("var "+winName);	if (eval(winName)==true && !winName.closed)
	{winName.focus();}else{if(ref){
	var refURL=theURL+"?URL="+document.location;}else{var refURL=theURL;}
	if(center!="vals"){a=new Array();a=center.split('|');
	t=((screen.height)-a[0])/2;l=((screen.width)-a[1])/2;
	features=features+",top="+t+",left="+l;}
	winName=window.open(refURL,winName,features);
	winName.focus();winName = true;}
}

function OpenImage(ImagePath)
{
  openBrWindowFever('/ShowImage.php?ImagePath='+ImagePath+'&','ShowImage','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=800,height=600',true,'600|800');
}
// open Window

function popUp(seitenname, breite, hoehe) 
{

     		var popup = window.open(seitenname,"popup","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,height="+hoehe+",width="+breite+"");
			return;
}


//Warnhinweis bei wechselnder Sprache
function warn ()
{
alert (HUHUU);
}