<%@ page import="java.util.*" %>
<%@ page import="java.net.URLEncoder" %>
<%@ page import="javax.servlet.http.HttpSession" %>

<%//@ page import="m05bIdioma.m05bCResources" %>
<%@ page import="java.util.ResourceBundle" %>
<%@ page import="java.util.Locale" %>
<%@ page import="m05bClasses.m05bConstantesPaginas" %>
	
<%
	
	//m05bCResources res = new m05bCResources(new Locale((String)session.getAttribute("IdiomaActual"),""));
	//m05bCResources res     = (m05bCResources) session.getAttribute("IdiomaActual");
	//m05bCResources res  = new   m05bCResources() ;
	
	/*Locale idiomaLocal = (Locale)session.getAttribute("Local");
	
	ResourceBundle  res = ResourceBundle.getBundle("html.datos.etiquetas",idiomaLocal);
	ResourceBundle resCM  = ResourceBundle.getBundle("html.datos.cmigas",idiomaLocal);
	ResourceBundle resTit  = ResourceBundle.getBundle("html.datos.titulos",idiomaLocal);
	ResourceBundle resMenu  = ResourceBundle.getBundle("html.datos.menu",idiomaLocal);*/
	ResourceBundle res =  (ResourceBundle)session.getAttribute("res");
	ResourceBundle resCM =  (ResourceBundle)session.getAttribute("resCM");
	ResourceBundle resTit =  (ResourceBundle)session.getAttribute("resTit");
	
	Locale idiomaLocal = (Locale)session.getAttribute("Local");
	String idiomaSes = ((idiomaLocal.getLanguage()==null)?"es":idiomaLocal.getLanguage());	
if(idiomaSes==null) idiomaSes="es";

String campoTexto="";
	String campoTexto2="";
	String campoTexto3="C";
	String formatoFecha="dd/MM/yyyy";
	String formatoFechaHora = "dd/MM/yyyy HH24:mi";

	
	if(!idiomaSes.equals("es")){ 
		campoTexto="E";
		campoTexto3="E";
		campoTexto2="E_";
		formatoFecha="yyyy/MM/dd";
	formatoFechaHora = "yyyy/MM/dd HH24:mi";
	}	
%>	
<script>
	var idioma = '<%=idiomaSes%>';
</script>
<script language="javascript1.2" src="<%=m05bConstantesPaginas.PATH_SCRIPTS%>/m05bAlertas.js"></script>
