function showPic(cPicture, nWidth, nHeight, msg, credit, year) {
	if (credit)
		nHeight = nHeight + 245;
	else
		nHeight = nHeight + 165;

	nWidth = Math.ceil((nWidth + 60) / 20) * 20;

	newWindow = window.open("Zoom","HirRes", "HEIGHT="+nHeight+", WIDTH="+nWidth+", dependent=yes, scrollbars=yes, resizable=no");

	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="120" height="28" vspace="0" hspace="0"></div>\n');
		write ('<img src="' + cPicture + '" vspace="0" hspace="0" border="0">\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()">' + close_msg + '</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);
}


