<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- saved from url=(0013)about:internet -->
	<meta http-equiv="content-type" content="text/html" charset=$textEncoding" />
	<title>$label</title>
	<link href="$stylePath" rel="stylesheet">
	<ja:if exists="nextPage"><link rel="prefetch" href="$nextPage"></ja:if>
<script language="javascript" src="$resPath/x.js"></script>
<script language="JavaScript">
function saveCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000))
		var expires = "; expires="+date.toGMTString()
	}
	else expires = ""
	document.cookie = name+"="+value+expires+"; path=/"
}
function readCookie(name) {
	var nameEQ = name + "="
	var ca = document.cookie.split(';')
	for(var i=0;i<ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length)
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length)
	}
	return '';
}
function setSlideShowCookie() {
	saveCookie('slideShow', 'true');
}

function moveOn() {
<%
se.datadosen.util.Replacer r = new se.datadosen.util.Replacer();
r.add("\'","\\\'");
if (nextPage != void) 
	out.print("	document.location.href = '" + r.replace(nextPage) + "';");
%>
}
function stopSlideShow() {
	try {
		clearTimeout(timeout);
	} catch(e) {
	}
	saveCookie('slideShow', '', -1);
}

var timeout = null;
function initPage() {
	if (readCookie('slideShow') == 'true') {
	<ja:if exists="nextPage">
		timeout = setTimeout('moveOn()', 4000);
	</ja:if>
	<ja:else>
		saveCookie('slideShow', '', -1);
	</ja:else>

	}
	resizeHandler();
}
function resizeHandler() {
	xHeight('divActivity', parseInt(xClientHeight(),10) + parseInt(xScrollTop(),10));
}
window.onresize = resizeHandler
window.onscroll = resizeHandler
</script>
</head>
<body onload="initPage();" ID="slide">
<ja:if test="<%=!printing.equals("none")%>"><ja:include page="printing.inc" /></ja:if>
<div id="divActivity">
<div id="divImageActivity">
<table border="0" cellspacing="0" cellpadding="0" width="185">
<tr>
	<td colspan="3" width="185" class="ImagePaneHeader">$text.imageActivities</td>
</tr>
<tr>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="ImagePaneRow"><a href="../$indexPage" class="ImagePaneRow"><img src="$resPath/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>$text.backToIndexPage</a></td>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
<ja:if exists="nextPage">
<script language="JavaScript">
if (readCookie('slideShow') == 'true') {
	document.write("<tr>" +
	"	<td width=\"1\" class=\"ImagePaneFrame\"><img src=\"$resPath/1x1.gif\" width=\"1\" height=\"1\"/></td>" +
	"	<td width=\"183\" class=\"ImagePaneRow\"><a onclick=\"stopSlideShow(); document.location.reload(false); return false;\" href=\"#\" class=\"ImagePaneRow\"><img src=\"$resPath/Slideshow.gif\" border=\"0\" align=\"absmiddle\" style=\"margin-right: 5px;\"/>$text.stopSlideshow</a></td>" +
	"	<td width=\"1\" class=\"ImagePaneFrame\"><img src=\"$resPath/1x1.gif\" width=\"1\" height=\"1\"/></td>" +
	"</tr>");
} else {
	document.write("<tr>" +
	"	<td width=\"1\" class=\"ImagePaneFrame\"><img src=\"$resPath/1x1.gif\" width=\"1\" height=\"1\"/></td>" +
	"	<td width=\"183\" class=\"ImagePaneRow\"><a onclick=\"setSlideShowCookie();\" href=\"$nextPage\" class=\"ImagePaneRow\"><img src=\"$resPath/Slideshow.gif\" border=\"0\" align=\"absmiddle\" style=\"margin-right: 5px;\"/>$text.startSlideshow</a></td>" +
	"	<td width=\"1\" class=\"ImagePaneFrame\"><img src=\"$resPath/1x1.gif\" width=\"1\" height=\"1\"/></td>" +
	"</tr>");
}
</script>
</ja:if>
<ja:if test="<%=!printing.equals("none")%>">
<tr>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="ImagePaneRow">
	
	<a onclick="stopSlideShow();" href="javascript:submitOrderForm()" class="ImagePaneRow"><img src="$resPath/OrderPrints.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>$text.orderPrints</a>
	
	</td>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="nextPage">
<tr>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="ImagePaneRow"><a onclick="stopSlideShow();" href="$nextPage" class="ImagePaneRow"><img src="$resPath/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>$text.nextImage</a></td>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="previousPage">
<tr>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="ImagePaneRow"><a onclick="stopSlideShow();" href="$previousPage" class="ImagePaneRow"><img src="$resPath/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>$text.previousImage</a></td>
	<td width="1" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<tr>
	<td width="185" colspan="3" class="ImagePaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</table>
</div>
<div id="divInfoActivity">
<table border="0" cellspacing="0" cellpadding="0" width="185" ID="Table1">
<tr>
	<td colspan="3" width="185" class="InfoPaneHeader">$text.information</td>
</tr>
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow"><strong>$fileName</strong></td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
<ja:if exists="formatName">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$formatName</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="originalWidth">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.resolution: $originalWidthx$originalHeight</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.fileSize: $fileSize $text.bytes</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.date: <ja:if exists="originalDate">$originalDate</ja:if><ja:else>$fileDate</ja:else></td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
<ja:if exists="flash">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.flash: $flash</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="focalLength">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.focalLength: $focalLength</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="exposureTime">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.exposureTime: $exposureTime</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="aperture">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.aperture: $aperture</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="focusDistance">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.focusDistance: $focusDistance</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="meteringMode">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.meteringMode: $meteringMode</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="cameraMake">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.camera: $cameraMake</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="cameraModel">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.model: $cameraModel</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<ja:if exists="sensorType">
<tr>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
	<td width="183" class="InfoPaneRow">$text.sensorType: $sensorType</td>
	<td width="1" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</ja:if>
<tr>
	<td width="185" colspan="3" class="InfoPaneFrame"><img src="$resPath/1x1.gif" width="1" height="1"/></td>
</tr>
</table>
</div>
<div id="divJAlbum">
Powered by <a href="$generatorUrl" target="_blank"><img src="$resPath/JAlbum.gif" border="0" alt="JAlbum" align="absmiddle"/></a>&nbsp;JAlbum
</div>
</div>
<div id="divMainSlideHeader">$fileName ($imageNum $text.of $totalImages)</div>
<div id="divMain" align="center">

<ja:if exists="originalPath">
<a href="$originalPath" target="_blank"><img src="$imagePath" width="$imageWidth" height="$imageHeight" border="0"/></a>
</ja:if>
<ja:else>
<img src="$imagePath" width="$imageWidth" height="$imageHeight">
</ja:else>
<!-- Always display comment below image (if exists) -->
<ja:if exists="comment">
<br>
$comment
</ja:if>
<ja:else>
<br>
<ja:include page="<%= new File(imageDirectory, label+".txt") %>" />
</ja:else>
</div>
</body>
</html>
