function OpenImage(image, breite, hoehe)
{
	var left = (screen.width - breite) / 2;
	var top	 = (screen.height - hoehe) / 2;		
	var win = window.open(image,"_blank","width="+breite+",height="+hoehe+",left="+left+",top="+top+",location=no,menubar=no,status=no,toolbar=no,scrollbars=no,resizable=no");
	win.document.writeln("<html><head><title>Bildergalerie</title>");
	win.document.writeln("<style>body {margin:0px;}</style>");
	win.document.writeln("<body><img src='gallery/" + image + "' width='"+breite+"' height='"+hoehe+"' border='0'></body></html>");
}
