
/**
 *	Zeigt das Fenster mit dem grossen Bild der Galerie an.
 */
function galleryOpenWindowImage( url, widthImage, heightImage ) {

	widthWindow			=	widthImage + 40;
	heightWindow		=	heightImage + 30;

	widthWindow			=	Math.min( widthWindow, 1024 );
	heightWindow		=	Math.min( heightWindow, 640 );

	screenX				=	20;
	screenY				=	20;

	myWin				=	window.open( url, 'gallery', 'width=' + widthWindow + ',height=' + heightWindow + ',screenX=' + screenX + ',screenY=' + screenY + ',scrollbars=yes,locationbar=no,menubar=no,resizeable=yes,status=no' );

}

/**
 *	Zeigt das Fenster mit der seite eines grossen Bilds der Galerie an.
 */
function galleryOpenWindowPage( url, widthImage, heightImage ) {

	widthWindow			=	widthImage + 40;
	heightWindow		=	heightImage + 140;

	widthWindow			=	Math.min( widthWindow, 1024 );
	heightWindow		=	Math.min( heightWindow, 640 );

	screenX				=	20;
	screenY				=	20;

	myWin				=	window.open( url, 'gallery', 'width=' + widthWindow + ',height=' + heightWindow + ',screenX=' + screenX + ',screenY=' + screenY + ',scrollbars=yes,locationbar=no,menubar=no,resizeable=yes,status=no' );

}

