<% infoBoxPadding = 10;
infoBoxPosition = 20;
infoBoxWidth = imageWidth - (borderSize * 2 + infoBoxPosition * 2 + infoBoxPadding * 2); 
infoBoxHeight = imageHeight - (borderSize * 2 + infoBoxPosition * 2); %>
<div id="image-info" class="box" style="display: none; width: <%= infoBoxWidth %>px; height: <%= infoBoxHeight %>px;">
	<p>$text.imageInfo</p>
	<dl>
		<ja:if exists="originalDate">
			<dt>$text.originalDate</dt><dd>${originalDate}</dd>
		</ja:if>
		<ja:if exists="keywords">
			<dt>$text.keywords</dt><dd>${keywords}</dd>
		</ja:if>
		<ja:if exists="category">
			<dt>$text.category</dt><dd>${category}</dd>
		</ja:if>
		<ja:if exists="author">
			<dt>$text.author</dt><dd>${author}</dd>
		</ja:if>
		<ja:if exists="copyright">
			<dt>$text.copyright</dt><dd>${copyright}</dd>
		</ja:if>
		<ja:if exists="resolution">
			<dt>$text.resolution</dt><dd>${resolution}</dd>
		</ja:if>
		<ja:if exists="fileSize">
			<dt>$text.fileSize</dt><dd>${fileSize} kb</dd>
		</ja:if>
		<ja:if exists="compressionLevel">
			<dt>$text.compressionLevel</dt><dd>${compressionLevel} kb</dd>
		</ja:if>
		<ja:if exists="cameraMake">
			<dt>$text.cameraMake</dt><dd>${cameraMake}</dd>
		</ja:if>
		<ja:if exists="cameraModel">
			<dt>$text.cameraModel</dt><dd>${cameraModel}</dd>
		</ja:if>
		<ja:if exists="flash">
			<dt>$text.flash</dt><dd>${flash}</dd>
		</ja:if>
		<ja:if exists="focalLength35mm">
			<dt>$text.focalLength35mm</dt><dd>${focalLength35mm}</dd>
		</ja:if>
		<ja:else>			
			<ja:if exists="focalLength">
				<dt>$text.focalLength</dt><dd>${focalLength}</dd>
			</ja:if>
		</ja:else>
		<ja:if exists="exposureTime">
			<dt>$text.exposureTime</dt><dd>${exposureTime}</dd>
		</ja:if>
		<ja:if exists="aperture">
			<dt>$text.aperture</dt><dd>${aperture}</dd>
		</ja:if>
		<ja:if exists="focusDistance">
			<dt>$text.focusDistance</dt><dd>${focusDistance}</dd>
		</ja:if>
		<ja:if exists="meteringMode">
			<dt>$text.meteringMode</dt><dd>${meteringMode}</dd>
		</ja:if>
		<ja:if exists="sensorType">
			<dt>$text.sensorType</dt><dd>${sensorType}</dd>
		</ja:if>
	</dl>
</div>
