function openGalleryImage( url, widthImage, heightImage ) {

	widthWindow			=	widthImage + 20;
	heightWindow		=	heightImage + 20;

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

	screenX				=	20;
	screenY				=	20;

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

}
