<%	
	out.print(constants.DOCTYPE);
	chameleon.updateVars();
	chameleon.initIndex();
%>
<HTML>
<HEAD>
${markOfTheWebStr}
<meta http-equiv="Content-Type" content="text/html;charset=$textEncoding">
<meta name="Keywords" content="photo,album,gallery,$title<ja:if exists="description">,<%=chameleon.stripHTML(description)%></ja:if>">
<ja:if test=${useIndexPageTransition}><meta http-equiv="Page-Enter" content="blendTrans(Duration=${indexTransitionDelay})">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=${indexTransitionDelay})"></ja:if>
<TITLE>${simplePath}</TITLE>
<ja:include page="includes/indexscripts.inc" />
<link href="$stylePath" rel="stylesheet">
<ja:if test=${subStyleDefined}><link href="$resPath/substyle.css" rel="stylesheet"></ja:if>
<style type="text/css">
body { background-image: url($resPath/bg.gif); background-repeat: repeat-x; }
</style>
</HEAD>

<BODY ID="body" onload="<ja:if test=${doIndexSlideShow}>show_timer(); show_out(); </ja:if>keypresslistener();">
<CENTER>
<TABLE style="height:54px;" cellspacing="0" cellpadding="0" border="0">
<TR><TD valign="middle">
<!-- Header of index pages -->
<TABLE style="width:${tableWidth}px;" cellspacing="0" cellpadding="0" border="0">
<TR>
<ja:if test=<%=level == 0 && ((!chameleon.useUpLinkDefault && parentIndexPage != void && parentIndexPage != null) || chameleon.useUpLinkThis)%>>
<TD style="width:31px;"><a href="<%=(chameleon.useUpLinkDefault)? parentIndexPage : chameleon.upLink%>" onmouseover="document.up.src=up1.src" onmouseout="document.up.src=up0.src" target="_parent"><img src="$resPath/up.gif" width="31" height="31" border="0" title="$text.upOneLevel" name="up" alt=""></a></TD></ja:if>
<ja:else><ja:if exists="parentIndexPage"><TD style="width:31px"><a href="$parentIndexPage" onmouseover="document.up.src=up1.src" onmouseout="document.up.src=up0.src"><img src="$resPath/up.gif" width="31" height="31" border="0" title="$text.upOneLevel" name="up" alt=""></a></TD></ja:if></ja:else>
<TD style="width:20px;"><IMG SRC="$resPath/hdr_left.gif" border="0" alt=""></TD>
<TD align="left" valign="middle" style="background:url($resPath/hdr_mid.gif);" class="title" nowrap="nowrap">${indexPath}</TD>
<TD style="width:20px;"><IMG SRC="$resPath/hdr_right.gif" border="0" alt=""></TD>
<ja:if exists="totalIndexes"><TD style="width:31px;"><!-- Previous button -->
<ja:if exists="previousIndexPage"><a href="$previousIndexPage" onmouseover="document.prev.src=prev1.src" onmouseout="document.prev.src=prev0.src"><img src="$resPath/prev.gif" width="31" height="31" border="0" title="$text.previousPage" name="prev" alt=""></a></TD></ja:if>
<ja:else><IMG SRC="$resPath/prev_disabled.gif" width="31" height="31" title="$text.atFirstPage" border="0" alt=""></TD></ja:else>
</ja:if>
<ja:if exists="totalIndexes"><TD style="width:31px;"><!-- Next button -->
<ja:if exists="nextIndexPage"><a href="$nextIndexPage" onmouseover="document.next.src=next1.src" onmouseout="document.next.src=next0.src"><img src="$resPath/next.gif" width="31" height="31" border="0" title="$text.nextPage" name="next" alt=""></a></TD></ja:if>
<ja:else><IMG SRC="$resPath/next_disabled.gif" width="31" height="31" title="$text.atLastPage" border="0" alt=""></TD></ja:else>
</ja:if>
<ja:if test=${doIndexSlideShow}><TD style="width:31px;"><!-- Start/Stop slideshow button -->
<a href="javascript:void(0)" onmouseover="show_over();" onmouseout="show_out();" onmousedown="show_down();" ondblclick="change_delay();"><img src="$resPath/show.gif" width="31" height="31" border="0" title="$text.startStopSlideShow - $text.changeSpeed" name="show" alt=""></a></TD></ja:if>
</TR></TABLE>
</TD></TR></TABLE>
<BR><ja:include page="header.inc" />
<ja:if test=${tableAtTop}><TABLE style="width:${tableWidth}px;" class="infotable" cellspacing="0" cellpadding="2">
<ja:if test=<%=chameleon.folderCommentPositionTop && description != void && description.length() > 0%>><TR><TD align="center" valign="middle" class="comment">$description</TD></TR></ja:if>
<ja:if test=<%=chameleon.printingPositionTop && chameleon.printingPhotobox%>><TR><TD align="center" valign="middle" class="smalltxt"><strong>$text.ui.t_printService:</strong>&nbsp;${fieldSep}&nbsp;$text.select:&nbsp;<A onclick="javascript:selectallItems(true);" href="javascript:void(0)">$text.all</A>:<A onclick="javascript:selectallItems(false);" href="javascript:void(0)">$text.none</A>&nbsp;${fieldSep}&nbsp;
<script type="text/javascript">if(location.protocol == 'http:') { addtobasket("$text.order"); document.write("&nbsp;${fieldSep}&nbsp;"); viewbasket("$text.viewBasket"); }</script>
</TD></TR></ja:if>
<ja:if test=<%=chameleon.indexLinksPositionTop && totalIndexes != void%>><TR><TD align="center" valign="middle" class="smalltxt"><%=chameleon.indexLinkList()%></TD></TR></ja:if>
</TABLE><BR></ja:if>

<ja:if test=<%=!chameleon.empPicTypeNone && (chameleon.empPicCode.length() > 0)%>> 
<TABLE cellspacing="0" cellpadding="0" border="0">
<TR>
<ja:if test=<%=!chameleon.empPicPositionRight%>><TD align="center" valign="top"><TABLE cellspacing="$thumbSpacing" cellpadding="0" border="0">
<TR>${empPicCode}</TR></TABLE></TD><ja:if test=${empPicPositionTop}></TR><TR></ja:if></ja:if>
<!-- Thumbnail images -->
<TD valign="top"><TABLE cellspacing="$thumbSpacing" cellpadding="0" border="0"><%counter = 0; curr = (indexNum == void)? 0 : cols * rows * (indexNum - 1);%>
<ja:fileiterator>
<ja:if test=<%=!chameleon.empPicOmitThumb || curr != chameleon.empPicNum%>><%if((counter%cols) == 0) out.print("<TR>");%><TD align="center" valign="top">
<% chameleon.updateVars(); chameleon.makeThumb(); %>
</TD><%counter++%></ja:if>
<% if(counter > 0 && (counter%cols) == 0) out.print("</TR>"); curr++; %>
</ja:fileiterator></TABLE></TD>
<ja:if test=${empPicPositionRight}><TD valign="top"><TABLE cellspacing="$thumbSpacing" cellpadding="0" border="0">
<TR>${empPicCode}</TR></TABLE></TD></ja:if>
</TR>
</TABLE></ja:if><ja:else>
<TABLE cellspacing="${thumbSpacing}" cellpadding="0" border="0">
<ja:rowiterator><TR><ja:coliterator>
<TD align="center" valign="top">
<% chameleon.updateVars(); chameleon.makeThumb(); %>
</TD></ja:coliterator>
</TR></ja:rowiterator>
</TABLE></ja:else>
<ja:if test=${tableAtBottom}><BR>
<TABLE style="width:${tableWidth}px;" class="infotable" cellspacing="0" cellpadding="2">
<ja:if test=<%=chameleon.folderCommentPositionBottom && description != void && description.length() > 0%>><TR><TD align="center" valign="middle" class="comment">$description</TD></TR></ja:if>
<ja:if test=<%=!chameleon.printingPositionTop && chameleon.printingPhotobox%>><TR><TD align="center" valign="middle" class="smalltxt"><strong>$text.ui.t_printService:</strong>&nbsp;|&nbsp;$text.select:&nbsp;<A onclick="javascript:selectallItems(true);" href="javascript:void(0)">$text.all</A>:<A onclick="javascript:selectallItems(false);" href="javascript:void(0)">$text.none</A>&nbsp;|&nbsp;
<script type="text/javascript">if(location.protocol == 'http:') { addtobasket("$text.order"); document.write("&nbsp;${fieldSep}&nbsp;"); viewbasket("$text.viewBasket"); }</script>
</TD></TR></ja:if>
<ja:if test=<%=chameleon.indexLinksPositionBottom && totalIndexes != void%>><TR><TD align="center" valign="middle" class="smalltxt"><%=chameleon.indexLinkList()%></TD></TR></ja:if>
<ja:if test=${includeIndexGuestBook}><TR><TD align="center" valign="middle"><ja:include page="includes/guestbook.inc" /></TD></TR></ja:if>
<ja:if test=${includeNavHelpOnPage}><TR><TD align="center" valign="middle" class="xsmalltxt">${indexHelp}</TD></TR></ja:if>
<ja:if test=${albuminfoInTable}><TR><TD align="center" valign="middle" class="xsmalltxt">${indexInfo}</TD></TR></ja:if>
</TABLE></ja:if>
<ja:include page="footer.inc" />
<ja:if test=<%=!chameleon.albuminfoInTable%>><BR><SPAN class="xsmalltxt">${indexInfo}</SPAN></ja:if>
<BR>&nbsp;</CENTER>
</BODY>
</HTML>