		<%
			////
			//// Setup variables for index
			////
		%>
		
		<% /*Navigation*/ %>
		var nextIndexPageUrl = null;
		<ja:if exists="totalIndexes"><ja:if exists="nextIndexPage">nextIndexPageUrl="$nextIndexPage";</ja:if><ja:else>nextIndexPageUrl="$firstIndexPage";</ja:else></ja:if>
		var prevIndexPageUrl = null;
		<ja:if exists="totalIndexes"><ja:if exists="previousIndexPage">	prevIndexPageUrl="$previousIndexPage";</ja:if><ja:else>prevIndexPageUrl="$lastIndexPage";</ja:else></ja:if>
		var parentIndexPageUrl = null;
		<ja:if exists="parentIndexPage">parentIndexPageUrl="$parentIndexPage";</ja:if>
		var firstIndexPageUrl = null;
		<ja:if exists="totalIndexes">firstIndexPageUrl="$firstIndexPage";</ja:if>
		var lastIndexPageUrl = null;
		<ja:if exists="totalIndexes">lastIndexPageUrl="$lastIndexPage";</ja:if>
		
		<% /*Never have a slide show in index*/ %>
		var isSlideShow = false;
		
		<% /*OnLoad function*/ %>
		function pageSetup() {
			initKeyboard();
		}
