<%-- Page footer --%>

		</div> <%-- #page-content --%>

		<%-- Footer content from the GUI --%>
		<ja:if exists="footerContent"><%= engine.processTemplate(footerContent); %></ja:if>
		
		<ja:if test="<%= ((license == void || isEmpty(license)) && promotion != void && !isEmpty(promotion)) || !isEmpty(bottomNavigation) || !excludeBacklinks %>">
		<div id="footer">
			<ja:if exists="promotion"><div class="promotion">${promotion}</div></ja:if>
			<ja:if test="<%= !isEmpty(bottomNavigation) || !excludeBacklinks %>"><div class="bottom-nav">
				<ja:if exists="bottomNavigation">${bottomNavigation}</ja:if>
				<ja:if test="<%= !isEmpty(bottomNavigation) && !excludeBacklinks %>"> &nbsp;|&nbsp; </ja:if>
				<ja:if test="${excludeBacklinks}" value="false">
					<a href="${generatorUrl}" title="${generator} - $text.jalbumDescription"><ja:if exists="creditText">${creditText}</ja:if><ja:else>jAlbum</ja:else></a> &amp; 
					<a href="http://jalbum.net/skins/skin/${skin}" title="${skin} ${skinVersion} :: ${styleName}">${skin} skin</a>
				</ja:if>
			</div></ja:if>
		</div>
		</ja:if>

	</div> <%-- #main --%> 
	
	<%-- Include footer.inc from image directory if present --%>
	<ja:include page="footer.inc" />
</body>
</html>
