function showPic(cPicture,nWidth,nHeight,msg,credit,year) {
	if (credit)
		nHeight = nHeight + 225;
	else
		nHeight = nHeight + 175;

	nWidth = nWidth + 45;

	newWindow = window.open("","HirRes", "HEIGHT="+nHeight+", WIDTH="+nWidth+", dependent=yes,scrollbars=no,resizable=no,screenX=0,screenY=0");

	newWindow.moveTo(40, 40);
	
	with (newWindow.document) {
		write ('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n');
		write('<html>\n');
		write('<head>\n');
		write('<title>' + msg + '</title>\n');
		write ('<link rel="stylesheet" href="_stylesheets/hires.css" type="text/css">\n');
		write ('<link rel="stylesheet" href="_stylesheets/fonts.css" type="text/css">\n');
		write('</head>\n');
		write ('<body id="hires">\n');
		write ('<div id="content">');
		write ('<div id="logo"><img src="_images/layout/logo_hires.gif" width="118" height="50" vspace="0" hspace="0"></div>\n');
		
		write ('<img src="' + cPicture + '" vspace="10" hspace="10">\n');
		write ('<div id ="descr">\n');
		write (msg);
		if (credit != '') {
			write ("<br>&copy;" + year + " " + credit + ".<br>Alle Rechte vorbehalten.<br>");
		};
		write ('<br>[ <a href="javascript:self.close()">Fenster schlie&szlig;en</a> ]\n');
		write ('</div>\n');
		write ('</div>\n');
		write ("</body>\n"); 
		write ("</html>"); 
		close();
	}
}

// pop-up fenster mit scrollbars
function openWin(URL, height, width) {
	window.open(URL,"","menubar=no,scrollbars=auto,location=0,status=0,toolbars=0,resizable=1,left=100,top=100,width=" + width + ",height=" + height);
}

