function Meinung()
{
	var screenh;
	var screenb;
	var a;
	screenh=screen.height;
	screenb=screen.width;
	a=screenb/2;
	a=a-200;
	b=screenh/2;
	b=b-200;
	win4=window.open ("Meinung.cfm","Meinung","toolbar=no,refresh=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=400,height=280");
	win4.moveTo(a,b);
}

function Shop()
{
	var screenh;var screenb;var a;
	screenh=screen.height;
	screenb=screen.width;
	a=screenb/2;
	a=a-200;
	b=screenh/2;
	b=b-200;
	win4=window.open ("","Shop","toolbar=no,refresh=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=400,height=280");
	win4.moveTo(a,b);
}

function Gast()
{window.open ("Menue.cfm?M=Forum&OM=Gast","Menue");}

function ProAnf()
{
	var screenh;
	var screenb;
	var a;
	screenh=screen.height;
	screenb=screen.width;
	a=screenb/2;
	a=a-200;
	b=screenh/2;
	b=b-200;
	win4=window.open ("Produkt.cfm","Anfragen","toolbar=no,refresh=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=400,height=280");
	win4.moveTo(a,b);
}

function fctMenue(textid)
{
	var url;
	url = "Menue.cfm";
	if( textid != "")
		url=url+'?textid='+textid;
	window.open (url,"Menue");
}

function Test()
{
	alert('test-funktion in PWA.js');
	fctMenue('');
}

function Eins()
{
	window.open ("Haupt.cfm?SBild=Eins","Haupt");
}

function Zwei()
{
	window.open ("Haupt.cfm?SBild=Zwei","Haupt");
}

function Drei()
{
	window.open ("Haupt.cfm?SBild=Drei","Haupt");
}

function Vier()
{
	window.open ("Haupt.cfm?SBild=Vier","Haupt");
}

function fctOpenPopup(url,head)
{
	screenh=screen.height;
	screenb=screen.width;
	a=screenb/2;
	a=a-350;
	b=screenh/2;
	b=b-300;
	
	win_popup=window.open (url,head,"toolbar=no,refresh=yes,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=no,width=700,height=600");
	win_popup.moveTo(a,b);
	win_popup.focus();
	return false;
}
