$ls_logusr=$_SESSION["la_logusr"];
    $ls_salida = "";

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

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