 
<%@include file="/WEB-INF/includeTemplate.inc"%>
<%@page import="com.ejie.aa21b.seguridad.Aa21bSeguridad,com.ejie.aa21b.seguridad.Aa21bPersonaSesion,java.util.Arrays"%>
<!-- Include de los elementos comunes -->
<script type="text/javascript">
	APP_RESOURCES = 'aa21b',
	CTX_PATH = '<%= request.getContextPath()%>/',
	STATICS = '${staticsUrl}',
	RUP = '${staticsUrl}/rup',
	WAR_NAME = 'aa21bOrgDocumental',
	//model
	LAYOUT = '${empty defaultLayout ?  mvcInterceptor.defaultLayout : defaultLayout}',
	//mvc-config.xml
	LOCALE_COOKIE_NAME = '${localeResolver.cookieName}',
	LOCALE_PARAM_NAME = '${mvcInterceptor.paramName}',
	AVAILABLE_LANGS = '${mvcInterceptor.availableLangs}',
	//breadCrumbs
	LOGGED_USER = '${!empty sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal ? sessionScope.SPRING_SECURITY_CONTEXT.authentication.credentials.fullName : sessionScope.userData.fullName}',
	DESTROY_XLNETS_SESSION = '${!empty sessionScope.SPRING_SECURITY_CONTEXT.authentication.principal ? sessionScope.SPRING_SECURITY_CONTEXT.authentication.credentials.destroySessionSecuritySystem : sessionScope.destroySessionSecuritySystem}';
</script>
<script type="text/javascript">
	etAlta = "<spring:message code="etSituacionAlta"/>";
	etBaja = "<spring:message code="etSituacionBaja"/>";
	
</script>

<%-- Scripts RUP sin minimizar (DESARROLLO) --%>
<!-- <%@include file="/WEB-INF/layouts/includes/rup.scripts.inc"%>%-->
<%-- Scripts RUP minimizados (PRODUCCION) --%>
<%@include file="/WEB-INF/layouts/includes/rup.scripts.min.inc"%>

<%@include file="/WEB-INF/layouts/includes/aa21b.scripts.inc"%>
