<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=$textEncoding" />
<title>$label</title>
<link href="$stylePath" rel=stylesheet>
</head>

<body id="slide">
<ja:if test="<%=!printing.equals("none")%>"><ja:include page="printing.inc" /></ja:if>
<center>

<!-- Index button -->
<a href="../$indexPage"><img src="$resPath/index.gif" border=0 alt="Index page"></a>

<!-- Previous button -->
<ja:if exists="previousPage">
	<a href="$previousPage"><img src="$resPath/previous.gif" alt="Previous page" border=0></a>
</ja:if>
<ja:else>
	<img src="$resPath/previous_disabled.gif" alt="At first page">
</ja:else>

<!-- Next button -->
<ja:if exists="nextPage">
	<a href="$nextPage"><img src="$resPath/next.gif" alt="Next page" border=0></a>
</ja:if>
<ja:else>
	<img src="$resPath/next_disabled.gif" alt="At last page">
</ja:else>

<!-- On-line image printing service integration -->
<ja:if test="<%=!printing.equals("none") %>">
	<a href="javascript:submitOrderForm()" ><img src="$resPath/OrderPrints.gif" border="0" alt="Order printing and delivery of this image"></a>
</ja:if>

<h2><ja:if test="$showLabels">$label</ja:if></h2>

<!-- Image, maybe with link to original -->
<ja:if exists=originalPath>
	<a href="$originalPath">
		<img src="$imagePath" width="$imageWidth" height="$imageHeight" alt="Original image">
	</a>
</ja:if>
<ja:else>
	<img src="$imagePath" width="$imageWidth" height="$imageHeight">
</ja:else>

<br>
<ja:if test="$showImageNum">
Image $imageNum of $totalImages<br>
</ja:if>
<ja:if test="$showDates">
Date: <ja:if exists="originalDate">$originalDate</ja:if><ja:else>$fileDate</ja:else>
</ja:if>
<!-- Always display comment below image (if exists) -->
<ja:if exists="comment">
<br>
<SPAN class="comment">$comment</SPAN>
</ja:if>

<ja:if exists="flash">
	<p><span class="camera">
	Camera make: $cameraMake | Camera model: $cameraModel | Exposure time: $exposureTime<br>
	Aperture: $aperture | Metering mode: $meteringMode |Focal length: $focalLength
	</p></span>
</ja:if>

</center>

<p><small>
 <a title="Album generated by $generator" href="$generatorUrl" target="_blank">$generator</a>
 <ja:if exists="copyright">Copyright: $copyright</ja:if>
</small></p>


</body>
</html>
