var popUpWin;

/** Funktion um ein neues Fenster für weitere Bilder zu öffnen. */
function popUpWindowMorePics(url) {
	if (popUpWin) {
		if (!popUpWin.closed) {
			popUpWin.close();
		}
	}
	var width = 530;
	var posX = (window.screen.width / 2) - (width / 2);
	var height = 620;
	var posY = (window.screen.height / 2) - (height / 2);
	var param = 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes';
	param = param + ',resizable=yes,copyhistory=no,width=' + width + ',height=' + height;
	param = param + ',left=' + posX + ',top=' + posY + ',screenX=' + posX + ',screenY=' + posY;
	popUpWin = window.open(url, 'popUpWin', param);
}