
function OpenNewWindow(Picture)
	{
		//xsize = Breit+35;// Zusatz für Rand rechts und links
		//ysize = Hoch+160; //Zusatz für Rand oben und unten - damit Button angezeit werden kann 
			
		/*ScreenWidth = screen.width;
		ScreenHeight = screen.height;
		
		xpos = (ScreenWidth/2)-(xsize/2);
		ypos = (ScreenHeight/2)-(ysize/2);*/
			
		NewWindow=window.open("","Picture","height='100',width='100',scrollbars=no,resizable=no,top='0',left='0'");
		NewWindow.document.write ("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>");
		NewWindow.document.write ("<html><head><title>BILDANZEIGE");
		NewWindow.document.write ("</title></head>");
		NewWindow.document.write ("<body onload='focus()' bgcolor='#2e59a3'>");
		NewWindow.document.write ("<table align='center'><tr>");
		NewWindow.document.write ("<td align='center' valign='top'>");
		NewWindow.document.write ("<table cellpadding='0' cellspacing='1'><tr><td align='center'>");
		NewWindow.document.write ("<img style='border:solid 1px #f7a621' name='bild'  onload='window.resizeTo(document.bild.width + 35, document.bild.height + 160)' src='");
		NewWindow.document.write (Picture);
		NewWindow.document.write ("'></td>");
		NewWindow.document.write ("</tr></table>");
		NewWindow.document.write ("</td></tr><tr>");
		NewWindow.document.write ("<td align='center' valign='bottom'>");
		NewWindow.document.write ("<br><center><input type='button' value='FENSTER SCHLIESSEN' style='font-family: Verdana; font-size: 10px' onClick='self.close()'></center>");
		NewWindow.document.write ("</td></tr></table>");
		NewWindow.document.write ("</body></html>");
		NewWindow.document.close(); 
	}
