// Anmeldung Fenster
function windowAnmeldung()
{
	var anmeldung=window.open("","popup","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=500");
	anmeldung.focus();
}

function windowNewsletter()
{
	var anmeldung=window.open("","newsletter","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=450,height=300");
	newsletter.focus();
}

function showReferenz(bild)
{
	var refWindow = window.open("","team","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,dependent=1, width=500,height=400");
	with(refWindow.document)
	{
		open("text/html");
	    writeln('<html><head><title>Unser Team</title><body bgcolor="#757575" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
		writeln('<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">');
		writeln('<tr><td align="center" valign="middle">');
		writeln('<table cellspacing="0" cellpadding="5" border="0"><tr><td bgcolor="#ffffff">');
		writeln('<img src="' +bild+ '" border=0>');
		writeln("</td></tr></table></td></tr></table>");
	    writeln("</body></html>");
		close();
	}
	refWindow.focus()
}

//Bildergalerie
//---------------------------------------------------------------------------------------------------------------------------
function showBild(verzeichniss, bild)
{
	var refWindow = window.open("","referenzen","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,dependent=1, width=630,height=550");
	with(refWindow.document)
	{
		open("text/html");
	    writeln('<html><head><title>Bildergalerie</title><body bgcolor="#757575" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
		writeln('<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="1">');
		writeln('<tr><td align="center" valign="middle">');
		writeln('<table cellspacing="0" cellpadding="5" border="0"><tr><td bgcolor="#FFFFFF">');
		writeln('<img src="pix/bildergalerie/'+verzeichniss+'/img/' +bild+ '.jpg" border=0">');
		writeln("</td></tr></table></td></tr></table>");
	    writeln("</body></html>");
		close();
	}
	refWindow.focus()
}

function newWindow()
{
	var newWindow=window.open("","newWindow","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,width=500,height=352");
	newWindow.focus();
}

//---------------------------------------------------------------------------------------------------------------------------

function spieleWindow()
{
	var spieleWindow=window.open("","spiele","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=530,height=340");
	spieleWindow.focus();
}

function impressumWindow()
{
	var impressumWindow=window.open("","impressum","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=300");
	impressumWindow.focus();
}

function windowKombi()
{
	var newsletter=window.open("","kombi","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=0,width=450,height=250");
	newsletter.focus();
}

function windowTrailer()
{
	var anmeldung=window.open("","trailer","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=300");
	anmeldung.focus();
}

function windowCharts()
{
	var windowCharts=window.open("","charts","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=660,height=500");
	windowCharts.focus();
}