<%--
  ~ Copyright (C) 2005 - 2011 Jaspersoft Corporation. All rights reserved.
  ~ http://www.jaspersoft.com.
  ~
  ~ Unless you have purchased  a commercial license agreement from Jaspersoft,
  ~ the following license terms  apply:
  ~
  ~ This program is free software: you can redistribute it and/or  modify
  ~ it under the terms of the GNU Affero General Public License  as
  ~ published by the Free Software Foundation, either version 3 of  the
  ~ License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  ~ GNU Affero  General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Affero General Public  License
  ~ along with this program. If not, see <http://www.gnu.org/licenses/>.
  --%>

<meta name = "viewport" content = "user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
<meta name="apple-mobile-web-app-capable" content="yes"/>

<!-- General JasperServer Styles -->
<link rel="stylesheet" href="${pageContext.request.contextPath}/themes/reset.css" type="text/css" media="screen">
<!-- Theme -->

<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="theme.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="pages.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="containers.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="buttons.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="lists.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="controls.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="dataDisplays.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="pageSpecific.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="dialogSpecific.css"/>" type="text/css" media="screen,print"/>
<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="forPrint.css"/>" type="text/css" media="print"/>

<!--[if IE 7.0]>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="overrides_ie7.css"/>" type="text/css" media="screen"/>
<![endif]-->

<!--[if IE 8.0]>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="overrides_ie8.css"/>" type="text/css" media="screen"/>
<![endif]-->

<!--[if IE]>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="overrides_ie.css"/>" type="text/css" media="screen"/>
<![endif]-->

<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="overrides_custom.css"/>" type="text/css" media="screen"/>

<%--Online Help--%>
<%@ include file="../jsp/modules/webHelp/webHelp.jsp" %>
<%--Dynarch Caleandar Picker--%>
<jsp:include page="/cal/calendar.jsp" flush="true"/>

<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.prototype${isIPad ? '.touch' : ''}.js"></script>
<%--<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.prototype.js"></script>--%>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/jquery/js/jquery-1.4.4.min.js"></script>  
<script type="text/javascript">
	jQuery.noConflict();
	/*
	 * JasperServer namespace.
	 */
	var JRS = {
		vars: {
			element_scrolled: false,
			ajax_in_progress: false,
			current_flow: null
		}
	};
</script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.nwmatcher.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.scriptaculous.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.dragdrop.extra.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.iscroll.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/ext.utils.touch.controller.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/tools.truncator.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/utils.common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.layout.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.events.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.key.events.js"></script>
<c:if test="${isIPad}">
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.touch.events.js"></script>
</c:if>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/utils.animation.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/tools.drag.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.ajax.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/actionModel.modelGenerator.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/actionModel.primaryNavigation.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.edition.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/components.customTooltip.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/components.tooltip.js"></script>
<!--script type="text/javascript" src='${pageContext.request.contextPath}/scripts/components.tabs.js'></script-->
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/components.toolbarButtons.js'></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/components.toolbarButtons.events.js'></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/components.searchBox.js'></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/components.dialogs.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/components.about.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/components.pickers.js"></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/list.base.js'></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/tree.nanotree.js'></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/tree.events.js'></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/tree.treenode.js'></script>
<script type="text/javascript" src='${pageContext.request.contextPath}/scripts/tree.treesupport.js'></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/tree.utils.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/repository.search.globalSearchBoxInit.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/core.initialize.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/components.heartbeat.js"></script>

