function viewPicture( address )
{
	popupWidth = 500;
	popupHeight = 500;
	
	// displays the pop-up in the center of the screen
	popupLeft = Math.abs( screen.width - popupWidth ) / 2;
	popupTop = Math.abs( screen.height - popupHeight ) / 2;

	popupProps = "width=" + popupWidth + ", height=" + popupHeight + ", status=yes, resizable=no, scrollbars=yes, location=no, menubar=no, top=" + popupTop + ", left=" + popupLeft;
	popupHref = "" + address;

	// pops the windows and focuses on it.
	viewPicturePopup = window.open( popupHref, "viewPicture", popupProps );
	viewPicturePopup.focus();

	if( !viewPicturePopup.opener )
	viewPicturePopup.opener = self;
}
