// http://webdesign.about.com/od/dhtml/a/aa101507.htm
function showHidden(ID)
{
	var item = document.getElementById(ID);
	if (item)
	{
		item.className=(item.className=='hidden')?'unhidden':'hidden';
	}
}

// PopUp Fenster für normale <a> Bilder
function viewPicture(picture)
{
	xsize = 900;		// Fensterbreite
	ysize = 752;		// Fensterhöhe

	ScreenWidth = screen.width;
	ScreenHeight = screen.height;

	xpos = 0;		// Fensterposition Horizontal
	ypos = 0;		// Fensterposition Vertikal

	NewWindow = window.open ("","picture","height="+ysize+",width="+xsize+",top="+ypos+",left="+xpos+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no");
	NewWindow.document.write ("<html>");
	NewWindow.document.write ("<head><title>Mini Car Gemeinschaft Strohgäu e.V.</title>");
	NewWindow.document.write ("<link href='styles.css' rel='stylesheet' type='text/css'>");
	NewWindow.document.write ("</head>");
	NewWindow.document.write ("<body class='main_body' onload='focus()'>");
	NewWindow.document.write ("<div align='center'>");
	NewWindow.document.write ("<img src=");
	NewWindow.document.write (picture);
	NewWindow.document.write (" />");
	NewWindow.document.write ("</div>");
	NewWindow.document.write ("<div align='center'>");
	NewWindow.document.write ("<br /><input class='formular' onclick='self.close()' type='button' value='Fenster schliessen' />");
	NewWindow.document.write ("</div>");
	NewWindow.document.write ("</body>");
	NewWindow.document.write ("</html>");
	NewWindow.document.close();
	NewWindow.resizeTo (xsize,ysize);
}

/* Originalskript

<script>
function OpenNewWindow(Picture,Breit,Hoch)
{
	xsize = Breit+35;		// Zusatz für Rand rechts und links
	ysize = Hoch+75;		// Zusatz für Rand oben und unten - damit Button angezeit werden kann

	ScreenWidth = screen.width;
	ScreenHeight = screen.height;

	xpos = (ScreenWidth/2)-(xsize/2);		// Fensterposition Horizontal (mittig)
	ypos = (ScreenHeight/2)-(ysize/2);		// Fensterposition Vertikal (mittig)

	NewWindow=window.open("","Picture","height="+ysize+",width="+xsize+",scrollbars=no,resizable=no,top="+ypos+",left="+xpos+"");
	NewWindow.document.write ("<html><head><title>BILDANZEIGE");
	NewWindow.document.write ("</title></head>");
	NewWindow.document.write ("<body bgcolor='#cccccc' onload='focus()'>");
	NewWindow.document.write ("<table align='center'><tr>");
	NewWindow.document.write ("<td align='center' valign='top'>");
	NewWindow.document.write ("<table border='1' bgcolor='#000000' cellpadding='0' cellspacing='1'><tr><td align='center'>");
	NewWindow.document.write ("<img src=");
	NewWindow.document.write (Picture);
	NewWindow.document.write (" />");
	NewWindow.document.write ("</tr></table>");
	NewWindow.document.write ("</td></tr><tr>");
	NewWindow.document.write ("<td align='center' valign='bottom'>");
	NewWindow.document.write ("<br /><center><form><input type='button' value='FENSTER SCHLIESSEN' style='font-family: Verdana; font-size: 10px' onclick='self.close()' />");
	NewWindow.document.write ("</td></tr></table>");
	NewWindow.document.write ("</form></body></html>");
	NewWindow.document.close();
	NewWindow.resizeTo(xsize,ysize);
}
</script>

<a href="javascript:OpenNewWindow('alles.jpg',560,450)">

*/
