$ls_salida = "";




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

		if($evento=="buscar")
			{       
			        $ls_codtipded="%".utf8_encode($_REQUEST['txtcodtipded'])."%";
	                $ls_dentipded="%".utf8_encode($_REQUEST['txtdentipded'])."%";
					
					header('Content-type:text/xml');
					print $io_deduccion->uf_srh_buscar_configuracion_deduccion($ls_codtipded, $ls_dentipded);
					
			}
			elseif($evento=="createXML")
			{

    				$ls_codtipded="%%";
	                $ls_dentipded="%%";

					header('Content-type:text/xml');
					print $io_deduccion->uf_srh_buscar_configuracion_deduccion($ls_codtipded, $ls_dentipded);
					
					
			}