
	        var viewerConfig = {
	                currentPage: currentPage,
	                theme: currentTheme,
	            };
	        	
	        viewerJS.init( viewerConfig );
	    </script>

	</f:view>

	<!-- COOKIE BANNER -->
	<ui:include src="/resources/includes/cookieBanner.xhtml" />
	<!-- PIWIK -->
	<ui:fragment rendered="#{configurationBean.piwikTrackingEnabled}">
		<viewerComponent:piwikTracking
			piwikBaseURL="#{configurationBean.piwikBaseURL}"
			piwikSiteID="#{configurationBean.piwikSiteID}" /