<?
	session_start();
	require_once("../../class_folder/dao/sigesp_srh_c_aspectos.php");
	
	require_once("../../class_folder/utilidades/class_funciones_srh.php");

	$io_aspectos= new sigesp_srh_c_aspectos('../../../');
    $io_fun_srh=new class_funciones_srh('../../../');
	$io_fun_srh->uf_load_seguridad("SRH","sigesp_srh_d_aspectos.php",$ls_permisos,$la_seguridad,$la_permisos);
	$ls_logusr=$_SESSION["la_logusr"];
    $ls_salida = "";




if (isset($_GET['valor']))
{
	    $evento=$_GET['valor'];

		if($evento=="createXML")
		{
			$ls_codeval="%%";
			$ls_deneval="%%";
			
		    header('Content-type:text/xml');
			print  $io_aspectos->uf_srh_buscar_aspectos($ls_codeval,$ls_deneval);
		}
		
		elseif($evento=="buscar")
		{
			$ls_codeval="%".utf8_encode($_REQUEST['txtcodeval'])."%";
-->
</style>
<script type="text/javascript" language="JavaScript1.2" src="../../../public/js/librerias_comunes.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="../../js/sigesp_srh_js_aspectos.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="../../../../sno/js/funcion_nomina.js"></script>


</head>

<body >


<?php 
	require_once("../../../class_folder/dao/sigesp_srh_c_aspectos.php");
	$io_aspecto=new sigesp_srh_c_aspectos("../../../../");
	require_once("../../../../shared/class_folder/grid_param.php");
	$io_grid=new grid_param();
	uf_limpiarvariables();
	switch ($ls_operacion) 
	{
		case "NUEVO":
			$li_totrows=1;
			uf_agregarlineablanca($lo_object,1);
			break;
			
		case "AGREGARDETALLE":
		 	$ls_codeval=$_POST["txtcodeval"];
			$ls_deneval=$_POST["txtdeneval"];
			$ls_guardar=$_POST["hidguardar"];
			$ls_hidstatus=$_POST["hidstatus"];