<!-- %@include file="/WEB-INF/includeTemplate.inc"%-->
<div id="dialogoDocumentosExpediente">
<div id="dialogoEsperaDetalleDocumentos" class='divEspera' style="z-index:1;filter:alpha(opacity=60);float:left;-moz-opacity:.60;opacity:.60; display: inline; overflow: hidden;">
	<table width="100%" height="350">
		<tr valign="middle" align="center">
			<td>
				<img id="esperarDocumentos" src="${staticsUrl}/aa21b/images/cargando.gif" />
				<br>
				<spring:message code="Cargando" />
			</td>
		</tr>
	</table>
</div>


<div id="DocumentosExpedienteDetalle_div" class="rup-table-container" style="width:97%;display:none;">
	<input type="hidden" name="cserv25" id="cserv25" value=""/>
	<input type="hidden" name="cexpe25" id="cexpe25" value=""/>
	<input type="hidden" name="aexpe25" id="aexpe25" value=""/>
	<input type="hidden" name="nexpe25" id="nexpe25" value=""/>
	<input type="hidden" name="modo25" id="modo25" value=""/>
	<input type="hidden" name="modoDetalle25" id="modoDetalle25" value=""/>
	<div id="DocumentosExpedienteDetalle_feedback"></div>						<!-- Feedback de la tabla --> 
	<div id="DocumentosExpedienteDetalle_toolbar"></div>							<!-- Botonera de la tabla -->
	<div id="DocumentosExpedienteDetalle_filter_div" class="rup-table-filter">	<!-- Capa contenedora del formulario de filtrado -->
			<form id="DocumentosExpedienteDetalle_filter_form">						<!-- Formulario de filtrado -->
			<div id="DocumentosExpedienteDetalle_filter_toolbar" class="formulario_legend"></div>	<!-- Barra de herramientas del formulario de filtrado -->
			<input type="hidden" name="cserv25" id="cserv25_filter_table" value=""/>
			<input type="hidden" name="cexpe25" id="cexpe25_filter_table" value=""/>
			<input type="hidden" name="aexpe25" id="aexpe25_filter_table" value=""/>
			<input type="hidden" name="nexpe25" id="nexpe25_filter_table" value=""/>
		</form>
	</div>

	<div id="DocumentosExpedienteDetalle_grid_div">
		<!-- Tabla -->
		<table id="DocumentosExpedienteDetalle"></table>
		<!-- Barra de paginación -->
		<div id="DocumentosExpedienteDetalle_pager"></div>
	</div>
</div>	

<!-- Formulario de detalle -->
<div id="DocumentosExpedienteDetalle_detail_div" class="rup-table-formEdit-detail">
<div id="dialogoEsperaDocumentosExpedienteDetalle_detail_div" class='divEspera' style="z-index:1;filter:alpha(opacity=60);float:left;-moz-opacity:.60;opacity:.60; display: inline; overflow: hidden;">
	<table width="100%" height="350">
		<tr valign="middle" align="center">
			<td>
				<img id="esperarDocumentos" src="${staticsUrl}/aa21b/images/cargando.gif" />
				<br>
				<spring:message code="Cargando" />
			</td>
		</tr>
	</table>
</div>
	<div id ="DocumentosExpedienteDetalle_detail_navigation"></div>			<!-- Barra de navegación del detalle -->
	<div class="ui-dialog-content ui-widget-content" >
		<div id="DocumentosExpedienteDetalle_detail_toolbar"></div>	
		<form id="DocumentosExpedienteDetalle_detail_form" enctype="multipart/form-data">					<!-- Formulario -->
			<div id ="DocumentosExpedienteDetalle_detail_feedback"></div>		<!-- Feedback del formulario de detalle -->
			<input type="hidden" name="cserv25" id="cserv25_detail_table"/>
			<input type="hidden" name="cexpe25" id="cexpe25_detail_table"/>
			<input type="hidden" name="aexpe25" id="aexpe25_detail_table"/>
			<input type="hidden" name="nexpe25" id="nexpe25_detail_table"/>
			<input type="hidden" name="ndocu25" id="ndocu25_detail_table"/>
			<input type="hidden" name="codpid25" id="codpid25_detail_table"/>	
			<input type="hidden" name="extdocu25" id="extdocu25_detail_table" value=""/>
			<input type="hidden" name="ctype25" id="ctype25_detail_table" value=""/>
			<div class="floating_left_pad_right">
				<!-- Campos del formulario de detalle -->
				<div class="floating_left_pad_right one-column" style="display:inline-flex;">
					<fieldset class="fieldCampos" style="display:inline-flex;">
						<legend align="left">
							<label for="tdocu25_detail_table" class="labelObligatorio"><span class="asterisco">*</span><spring:message code="tdocu25"/>:</label>
						</legend>
						<div class="floating_left_pad_right one-column">
							<label for="radio_tdocu25_entrada"><spring:message code="entrada"/></label>
							<input type="radio" name="tdocu25ent" value="1" checked="checked" id="radio_tdocu25_entrada" onclick="dialogoDocumentos.selTipoDoc(1);"/> 
						</div>	
						<div class="floating_left_pad_right one-column">
							<label for="radio_tdocu25_salida"><spring:message code="salida"/></label>
							<input type="radio" name="tdocu25ent" value="2" id="radio_tdocu25_salida" onclick="dialogoDocumentos.selTipoDoc(2);"/> 
						</div>	
						<input type="hidden" name="tdocu25" id="tdocu25_detail_table" value="1"/>
					</fieldset>
				</div>
				<div class="floating_left_pad_right one-column">
					<label for="cdocu25_detail_table" class="labelObligatorio"><span class="asterisco">*</span><spring:message code="cdocu25"/>:</label>
					<input type="text" name="cdocu25" class="formulario_linea_input" id="cdocu25_detail_table"/>
				</div>
				<!-- div class="floating_left_pad_right one-column">
					<label for="ndocu25_detail_table"><spring:message code="ndocu25"/>:</label>
					<input type="text" name="ndocu25" class="formulario_linea_input" id="ndocu25_detail_table"/>
				</div-->
				<div class="floating_left_pad_right one-column">
					<label for="texto25_detail_table" class="labelObligatorio"><span class="asterisco">*</span><spring:message code="texto25"/>:</label>
					<input type="text" name="texto25" size="60" maxlength="60" class="formulario_linea_input" id="texto25_detail_table"/>
				</div>
				<br/>
				<div class="floating_left_pad_right one-column" >
					<label for="fanot25_detail_table"><spring:message code="fanot25"/>:</label>
					<input type="text" name="fanot25" size="12" class="formulario_linea_input" id="fanot25_detail_table"/>
				</div>
				<div class="floating_left_pad_right one-column">
					<label for="aanot25_detail_table"><spring:message code="aanot25"/>:</label>
					<input type="text" name="aanot25" size="10" maxlength="4" class="formulario_linea_input" id="aanot25_detail_table"/>
				</div>
				<div class="floating_left_pad_right one-column">
					<label for="nanot25_detail_table"><spring:message code="nanot25"/>:</label>
					<input type="text" name="nanot25" maxlength="15" size="20" class="formulario_linea_input" id="nanot25_detail_table"/>
				</div>
				<div id="documentoAdd" class="floating_left_pad_right one-column">
					<label for="docu25_detail_table1"><spring:message code="docu01"/>:</label>
					<input type="file" name="docu25"  id="docu25_detail_table1" size="45"/>
				</div>
				<!-- Fin campos del formulario de detalle -->
				
			</div>
		</form>
		<div id="labelObligDoc" style="float:left; margin-left: 70%;margin-top:5%;">
			<label class="camposObligatorios">(*) <spring:message code="CamposObligatorios"/></label>
		</div>
	</div>
	<!-- Botonera del formulario de detalle -->
	<div class="rup-table-buttonpane ui-widget-content ui-helper-clearfix">
		<div class="ui-dialog-buttonset">
		<button id="DocumentosExpedienteDetalle_detail_button_save2" type="button" style="padding:5px;" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" >
				<spring:message code="save" />
			</button>
			<!-- Botón Guardar -->
				<button id="DocumentosExpedienteDetalle_detail_button_save" type="button">
				<spring:message code="save" />
			</button>
			<!-- Enlace cancelar -->
			<a href="javascript:void(0)" id="DocumentosExpedienteDetalle_detail_link_cancel"
				class="rup-enlaceCancelar"><spring:message code="cancel" /></a>
		</div>
	</div>
</div>
</div>
<div id="SubirFichero" style="display:none">
	<div class="ui-dialog-content ui-widget-content" >
	<form id="DocumentosSubir_form" method="POST">
		<input type="hidden" name="cserv25" id="cserv25_documento"/>
		<input type="hidden" name="cexpe25" id="cexpe25_documento"/>
		<input type="hidden" name="aexpe25" id="aexpe25_documento"/>
		<input type="hidden" name="nexpe25" id="nexpe25_documento"/>
		<input type="hidden" name="ndocu25" id="ndocu25_documento"/>
		<input type="hidden" name="tdocu25" id="tdocu25_documento"/>
		<input type="hidden" name="cdocu25" id="cdocu25_documento"/>
		<input type="hidden" name="codpid25" id="codpid25_documento"/>
		<input type="hidden" name="extdocu25" id="extdocu25_documento"/>
		<input type="hidden" name="ctype25" id="ctype25_documento"/>
		<div id="adjuntarDocFase" class="floating_left_pad_right one-column">
			<label for="docu01_detail_table"><spring:message code="docu01"/>:</label>
			<input type="file" name="docu25"  id="docu25_detail_table" size="45"/>
		</div>
		
	</form>
	</div>
	<div class="rup-table-buttonpane ui-widget-content ui-helper-clearfix">
		<div class="ui-dialog-buttonset">
			<!-- Botón Guardar -->
			<button id="SubirFichero_save" type="button" onclick="dialogoDocumentos.guardarFichero()">
				<spring:message code="save" />
			</button>
			<!-- Enlace cancelar -->
			<a href="javascript:void(0)" id="SubirFichero_link_cancel"
				class="rup-enlaceCancelar"><spring:message code="cancel" /></a>
		</div>
	</div>
</div>
<form id="DocumentosVer_form" method="POST">
		<input type="hidden" name="cserv25" id="cserv25_documentoVer"/>
		<input type="hidden" name="cexpe25" id="cexpe25_documentoVer"/>
		<input type="hidden" name="aexpe25" id="aexpe25_documentoVer"/>
		<input type="hidden" name="nexpe25" id="nexpe25_documentoVer"/>
		<input type="hidden" name="ndocu25" id="ndocu25_documentoVer"/>
		<input type="hidden" name="tdocu25" id="tdocu25_documentoVer"/>
		<input type="hidden" name="cdocu25" id="cdocu25_documentoVer"/>
</form>

<form id="DocumentosEliminar_form" method="POST">
		<input type="hidden" name="cserv25" id="cserv25_documentoEliminar"/>
		<input type="hidden" name="cexpe25" id="cexpe25_documentoEliminar"/>
		<input type="hidden" name="aexpe25" id="aexpe25_documentoEliminar"/>
		<input type="hidden" name="nexpe25" id="nexpe25_documentoEliminar"/>
		<input type="hidden" name="ndocu25" id="ndocu25_documentoEliminar"/>
		<input type="hidden" name="tdocu25" id="tdocu25_documentoEliminar"/>
		<input type="hidden" name="cdocu25" id="cdocu25_documentoEliminar"/>
</form>
<!-- script src="${staticsUrl}/aa21b/scripts/aa21bOrgDocumental/aa21b20s01documentos.js" type="text/javascript"></script-->