<tr style="width:100%; text-align:left;">
				<td style="padding-top:5px; width:55%;" >ESOP 
					<input type="text" id="codigoBuscar" style="width:40px;" title='Ingrese el codigo a buscar'> 
					<input type="text" id="textoBuscar" style="width:160px;" title='Ingrese el texto a buscar' >  
					<input type="button" id="botonBuscar" class="btnBuscar" > 
					<img src="/images/loading.gif" style="vertical-align:-4px; display:none;" id="loadingESOP" />
				</td>					
					
				<td style="padding-top:5px; padding-right:15px; width:45%; text-align:right; font: italic normal 10px Verdana;" > <input id='soloRiesgosSelecc' type="checkbox" > Mostrar solo los seleccionados para el trabajador</td>
			</tr>
			<tr>				
				<td colspan="2" > 
					<div style="width:100%; float:left;"> 
						<form name="formularioGrid" >							
							<div id="idGridDatosESOP" ><?php 
echo getGridDatosESOP(1, $hiddenCODIGOCIUU, '', '', '');
?>
 </div> 
						</form>
					</div>
				</td>
			</tr>
		</table>			
			<div style="float:right; text-align: right;">
				<div style="float:left;" class="boxEjemploCIIU" ></div>			
				<label style="float:left; padding:5px;">  Riesgos sugeridos según CIIU </label>
			</div>
			<div style="float:left; text-align: left;">
				<label style="float:right; padding:5px; font-style: italic;"> En el caso de optar por los Riesgos sugeridos según su Actividad (CIIU) debe seleccionar solo los que corresponda para cada trabajador.</label>
			</div>
	</div>				
         $pagina = GetParametroDecode("idEstablecimiento", '0');
         ValidarNominaWeb($idEstablecimiento);
         return true;
     } catch (Exception $e) {
         echo "<b>fallo: </b>" . $e->getMessage();
         return false;
     }
 }
 if ($_REQUEST["funcion"] == "GridDatosESOP") {
     try {
         $pagina = GetParametroDecode("pagina", '1');
         $codactividad = GetParametroDecode("codactividad", '0');
         $codigo = GetParametroDecode("codigo", '0');
         $descripcion = GetParametroDecode("descripcion", '');
         $inFiltroRiesgos = GetParametroDecode("inFiltroRiesgos", '');
         echo getGridDatosESOP($pagina, $codactividad, $codigo, $descripcion, $inFiltroRiesgos);
     } catch (Exception $e) {
         echo "<b>fallo: </b>" . $e->getMessage();
     }
 }
 if ($_REQUEST["funcion"] == "EliminarNominaWEB") {
     try {
         $idNomina = GetParametroDecode("idNomina", '0');
         EliminarNominaWEB($idNomina);
         echo 'Eliminado.......';
     } catch (Exception $e) {
         echo "<b>fallo: </b>" . $e->getMessage();
     }
 }
 if ($_REQUEST["funcion"] == "NominaWEBRechazoMotivo") {
     try {