<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$textEncoding">
<title>$title</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #E2DDA7;
	background: url('$resPath/mainbg.jpg') no-repeat
	}
-->
</style>
<link href="$stylePath" rel="stylesheet" type="text/css">
</head>

<body>
<table border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan=3 height=30</td>
	</tr>
	<tr>
		<td valign="middle">
			<ja:if exists="previousPage">
				<a href="$previousPage">
			</ja:if>
			<ja:else>
				<a href="$lastPage">
			</ja:else>
			<img src="$resPath/prev.gif" alt="$text.previousPage" width="28" height="59" border=0></a>
		</td>
		<%
			int finalImageWidth = imageWidth+23;
			int finalImageHeight = imageHeight+24;
		%>
		<td valign="top">
			<ja:if exists=originalPath><a target="_blank" title="$text.originalImage" href="$originalPath"></ja:if>
          <img src="$imagePath" border=0 alt="$label"><ja:if exists=originalPath></a></ja:if>
		</td>
		<td valign="middle">
			<ja:if exists="nextPage"><a href="$nextPage"></ja:if>
			<ja:else><a href="$firstPage"></ja:else>
			<img src="$resPath/next.gif" alt="$text.nextPage" width="28" height="59" border=0></a>
		</td>
	</tr>
	<tr>
		<td colspan=3>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td align="right">					
						<ja:if exists="previousPage">
							<a href="$previousPage">
						</ja:if>
						<ja:else>
							<a href="$lastPage">
						</ja:else>
						<img src="$resPath/smprev.gif" alt="$text.previousPage" width="19" height="38" border=0></a>
					</td>
					<td class="imgNumber" width=92 height=38 style="background-image:url($resPath/numberplate.gif)" align="center" valign="middle">$imageNum/$totalImages</td>
					<td align="left">
						<ja:if exists="nextPage">
							<a href="$nextPage">
						</ja:if>
						<ja:else>
							<a href="$firstPage">
						</ja:else>
						<img src="$resPath/smnext.gif" alt="$text.nextPage" width="19" height="38" border=0></a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td colspan=3>
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr valign="top">
					<td>&nbsp;</td>
					<td width=577 height=72 style="background-image:url($resPath/textplate.gif)">
						<table width="100%" border="0" cellpadding="6" cellspacing="6">
							<tr>
								<td align="left" valign="top">
									<ja:if exists="author">
										<span class="plateTextBold">Photographer: </span><span class="plateText"> $author | </span>
									</ja:if>
									<span class="plateTextBold">Date: </span><span class="plateText">
										<ja:if exists="originalDate">$originalDate</ja:if><ja:else>$fileDate</ja:else> |
									</span>
									<ja:if exists="cameraModel">
										<span class="plateTextBold">Camera: </span><span class="plateText"> $cameraModel 
										</span>
									</ja:if>
									<br>
									<ja:if exists="comment"><span class="plateTextBold">Comment: </span><span class="plateText">$comment</span></ja:if>
								</td>
							</tr>
						</table>
					</td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td colspan=2 align="right">
						<span class="copy"><a target="_blank" href="$generatorUrl">$generator</a> | Lantz Design | Sponsor <a target="_blank" title="$text.sponsorToolTip" href="http://www.casinoeuro.com">CE</a></span>
					</td>				
				</tr>
			</table>
		</td>
	</tr>
</table>

</body>
</html>
