1<!doctype html>
2<!--[if IE 7]><html lang="${lang}" class="no-js ie7 oldie"><![endif]-->
3<!--[if IE 8]><html lang="${lang}" class="no-js ie8 oldie"><![endif]-->
4<!--[if IE 9]><html lang="${lang}" class="no-js ie9"><![endif]-->
5<!--[if gt IE 9]><!--> <html lang="${lang}" class="no-js"> <!--<![endif]-->
6<%
7	// Initializing variables for the current album page
8	initPage();
9%>
10<head>
11	<meta charset="${textEncoding}">
12	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
13	<title>${title}</title>
14	<ja:if exists="captionClean"><meta name="description" content="${captionClean}"></ja:if>
15	<ja:if exists="writer"><meta name="author" content="<%= cleanup(writer) %>"></ja:if>
16	<ja:if test="${excludeCredits}" not value="true"><meta name="generator" content="Created with jAlbum &amp; ${skin} - <%= (license != void && license.length() > 0)? license : "unregistered" %>"></ja:if>
17	<ja:if exists="tags"><meta name="keywords" content="${tags}"></ja:if>
18	<meta property="og:title" content="<%= cleanup(title) %>">
19	<ja:if exists="captionClean"><meta property="og:description" content="${captionClean}"></ja:if>
20	<ja:if exists="folderThumbPath"><meta property="og:image" content="${folderThumbPath}">
21	<link rel="image_src" href="${folderThumbPath}"></ja:if>
22	<meta name="viewport" content="user-scalable=yes, width=${containerWidth}">
23	<meta name="apple-mobile-web-app-capable" content="yes">
24	<meta name="apple-mobile-web-app-status-bar-style" content="black">
25	<meta name="format-detection" content="telephone=no">
26	<meta name="robots" content="index,follow">
27	<link rel="apple-touch-icon" href="${resPath}/apple-touch-icon.png">
28	<link rel="shortcut icon" href="${resPath}/favicon.ico">
29	<link rel="stylesheet" href="${resPath}/common.css?v=${skinVersion}">
30	<script src="${resPath}/modernizr-2.0.6.min.js"></script>
31	<ja:if test="${useSearch}"><script src="${resPath}/search.js?v=<%=Math.round(Math.random()*1000)%>" charset="utf-8"></script></ja:if>
32	<ja:if exists="headHook">${headHook}</ja:if> <%-- User defined HEAD code --%>
33	<ja:if exists="googleSiteID"><script> <%-- Google Analytics code --%>
34		var _gaq=_gaq||[];_gaq.push(['_setAccount','${googleSiteID}']);_gaq.push(['_trackPageview']);
35		(function(d){var ga=d.createElement('script');ga.async=true;ga.src=('https:'==d.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';
36			var s=d.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s);
37		})(document);
38	</script></ja:if>
39</head>
40<body id="${pageType}" class="${pageType} <ja:if test="${level}" not value="0">sub-album</ja:if><ja:else>top-level</ja:else>">
41	<div id="mainbg">&nbsp;</div><ja:if test="<%= engine.isWidgetInjection() %>"><div id="widgetbg">&nbsp;</div></ja:if>
42	<div id="main" role="main"<ja:if test="${skipIndex}"> class="hidden"</ja:if>><div class="container">
43		<script><ja:if test="<%= !slideshowAuto || folderCount > 0 %>">if (window.location.hash && window.location.hash.length) </ja:if>document.getElementById('main').style['display']='none';</script>
44
45		<%-- Page header --%>
46		<header<ja:if test="${hasFolderImage}"> style="background-image:url(${folderImageFileName});"</ja:if><ja:else> class="empty"</ja:else>>
47
48			<ja:if not test="${splashVertical}"><ja:include page="top-navigation.inc" /></ja:if>
49
50			<%-- Page title area --%>
51			<div class="title clearfix">
52				<ja:if exists="uplink"><div class="upbtn"><%--
53				--%><div class="parent controls"><a href="${uplink}" title="<ja:if test="${level}" not value="0"><div class=&quot;breadcrumb&quot;><%= stripQuot(breadcrumbPath) %></div></ja:if><ja:else>${uplinkText}" target="_parent</ja:else>" class="showhint">&nbsp;</a></div><%--
54				--%></div></ja:if>
55				<ja:if test="<%= (useSearch != void && useSearch) || (pageHeader != void && !isEmpty(pageHeader)) || anyShares || anyZip %>"><aside><%--
56					--%><ja:if exists="pageHeader"><div class="about controls"><a href="javascript:void(0)" title="$text.aboutThisAlbum" class="showhint">&nbsp;</a></div></ja:if><%--
57					--%><ja:if test="${anyShares}"><div class="share controls"><a href="javascript:void(0)">&nbsp;</a></div></ja:if><%--
58					--%><ja:if test="${anyZip}"><div class="download controls"><a href="${zipLink}" title="<ja:if test="${zipImages}" value="album">$text.downloadAlbum</ja:if><ja:else>$text.downloadImages</ja:else>" class="showhint">&nbsp;</a></div></ja:if><%--
59					--%><ja:if test="${useSearch}"><div class="search controls"><a href="javascript:void(0)" title="<form class=&#34;searchpage&#34; onsubmit=&#34;Search.start(this);return false;&#34;><input type=&#34;search&#34; class=&#34;searchtext&#34; placeholder=&#34;$text.searchBoxTip&#34;><a class=&#34;searchbtn&#34; onclick=&#34;Search.start(this.parentNode);&#34;>&nbsp;</a></form>" class="showhint">&nbsp;</a></div></ja:if><%--
60				--%></aside></ja:if>
61				<hgroup>
62					<h1>${title}</h1>
63					<ja:if test="<%= showBreadcrumbPath && !isEmpty(breadcrumbPath) %>"><h6><%= breadcrumbPath.replaceAll("a><a", "a>&raquo;<a"); %></h6></ja:if>
64					<ja:if test="${pageType}" value="index"><ja:if exists="caption"><h5>${caption}</h5></ja:if></ja:if>
65				</hgroup>
66			</div>
67		</header>
68
69		<ja:if test="${splashVertical}"><div class="top-nav">
70			<ja:include page="top-navigation.inc" />
71		</div></ja:if>
72
73		<%-- The page content in a scrollable container --%>
74		<div class="items">
75			<div class="cont">
76				<ja:if test="${pageType}" value="page"><article></ja:if>
77