	<%@include file="/WEB-INF/includeTemplate.inc"%>		
	<%@page import="java.util.*,javax.sql.*,java.sql.*,javax.naming.*,
			com.ejie.aa20b.util.Aa20bConstantes,			
			org.springframework.web.servlet.support.RequestContextUtils
			" %>	
<% 
		String lstrOperacion = (String)request.getAttribute("accion");	   		
%>
	
	<input type="hidden" name="accion"  id="accion"/>
	
	<h2><spring:message code="clases.alta" /></h2>
	<div id="feedbacknuevoClase"></div>
	<!-- Botonera de gestion -->
	<div id="botonera" class="rup-toolbar ui-widget-header">
	
	<div id="botoneraModificar">
		<BUTTON aria-disabled="false" id="bt_guardar"  
				class="rup-toolbar_button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary">
				<SPAN class="ui-icon mi-ui-icon" style="background:url('${staticsUrl}/aa20b/images/guardar.png'); top:10px"></SPAN>
				<SPAN class="ui-button-text mi-ui-button-text"><spring:message code="boton.guardar" /></SPAN>
		</BUTTON>
		<BUTTON aria-disabled="false" id="bt_Volver"
			class="rup-toolbar_button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary">
			<SPAN class="ui-icon mi-ui-icon" style="background:url('${staticsUrl}/aa20b/images/volver.png'); top:10px"></SPAN>
			<SPAN class="ui-button-text mi-ui-button-text">&nbsp;<spring:message code="comun.volver" /></SPAN>
		</BUTTON>
	</div>
	</div>
	
<br>	
	
	<div id="error" style="display:none"></div>
	<div id="aa20beditarClase">
		<div id="contenido" style="margin-top:0.3em;margin-bottom:0.3em;width:1000px;">			
			<style>body{background-color:white;}</style>			
			<form id="nuevoClaseForm" commandName="nuevoClaseForm" name="nuevoClaseForm" method="POST"> 		
			<input type="hidden" name="accion"  id="accion" value="<%=lstrOperacion%>"/>
			
			<div class="tabulado">	
				<TABLE class="general" align="left">								
				<tr>
					<td> <label for="descCas"><spring:message code="comun.descCas" /></label> : </td>
					<td>
					<label class="" for="cclase" style="display:none;"><spring:message code="comun.descCas" /></label>
					<INPUT class="inputFieldOblig" TYPE="TEXT" NAME="cclase" id="cclase" size="30" maxlength="25" /></td>
				</tr>
				<tr>
					<td> <label for="eclase"><spring:message code="comun.descEus" /></label> : </td>
					<td>
					<label class="" for="eclase" style="display:none;"><spring:message code="comun.descEus" /></label>
					<INPUT class="inputFieldOblig" TYPE="TEXT" NAME="eclase" id="eclase" size="30" maxlength="25" /></td>
				</tr>			
				<tr>
					<td> <label for="eclase"><spring:message code="clases.listado.feini" /></label> : </td>
					<td>
					<label class="" for="feini" style="display:none;"><spring:message code="clases.listado.feini" /></label>
					<INPUT class="datepicker" TYPE="TEXT" NAME="feini" id="feini" size="10" maxlength="10" /></td>
				</tr>			
				<tr id="checkboxUsupubli">
					<td> <spring:message code="comun.usupubli" /> : </td>
					<td><input type="checkbox" name="usupubli"  id="usupubli" /></td>
				</tr>
				</TABLE>
			</div>
			</form>
		<form id="buscaClaseForm" action="../clase/buscarClase" commandName="buscaClaseForm" name="buscaClaseForm" method=POST>
			<input type="hidden" name="idClaseBusc"  id="idClaseBusc"/>	
			<input type="hidden" name="ventanaOrigen"  id="ventanaOrigen" value="mantClases"/>
		</form>
			
		</div>
		<div id="dialogoGuardar" style="display: none;">
			<div class='divEspera' style="z-index: 1; float: left; display: block; overflow: hidden;">
			<table width="100%" height="350">
				<tr valign="middle" align="center">
					<td><img id=esperarSincronizar src="${staticsUrl}/aa20b/images/Progressbar.gif" /> <br> <spring:message code="gmao.guardando" /></td>
				</tr>
			</table>
		</div>
		</div>
	</div>
		

	
	
		
	
	