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

		if($evento=="createXML")
		{
		
			$ls_fecha1=$_REQUEST['txtfechades'];
			$ls_fecha2=$_REQUEST['txtfechahas'];
	        $ls_nroeval="%%";
			
		    header('Content-type:text/xml');
			print $io_evaluacion_desempeno->uf_srh_buscar_evaluacion_desempeno($ls_nroeval, $ls_fecha1,$ls_fecha2);
		}
		
		elseif($evento=="buscar")
		{
			
			$ls_fecha1=$_REQUEST['txtfechades'];
			$ls_fecha2=$_REQUEST['txtfechahas'];
			$ls_nroeval="%".utf8_encode($_REQUEST['txtnroeval'])."%";
							
			header('Content-type:text/xml');
			print $io_evaluacion_desempeno->uf_srh_buscar_evaluacion_desempeno($ls_nroeval, $ls_fecha1,$ls_fecha2);
		}
			
	
}