function busca_ente_popup(nombre, telefono, nif_cif,tipo_ente, detalles, orden, offset)
{
  div = detalles;
  var direccion = "../recibos/busca_ente.jsp?nombre="+nombre+"&telefono="+telefono+"&nif_cif="+nif_cif+"&tipo_ente="+tipo_ente+"&div="+detalles+"&orden="+orden+"&offset="+offset;
  cargaXML(direccion);
}
function buscaRecibo(ente,tipo_ente, fecha1, fecha2, numero_factura, estado, detalles, filas, orden, offset)
{
  div = detalles;
  var direccion = '../recibos/busca_recibos.jsp?ente='+ente+'&tipo_ente='+tipo_ente+'&fecha1='+fecha1+'&fecha2='+fecha2+'&numero_factura='+numero_factura+'&estado='+estado+'&orden='+orden+'&offset='+offset+'&filas='+filas;
  cargaXML(direccion);
}
//buscaRemesa(document.forms[0].nombre_ente_superior.value,document.forms[0].tipo_ente.value, document.forms[0].fecha1.value, document.forms[0].fecha2.value, document.forms[0].numero_factura.value, 'div1', 'facturas.cod_factura', '0');
function buscaRemesa(ente,tipo_ente, fecha1, fecha2, numero_factura, detalles, filas, orden, offset)
{
  div = detalles;
  var direccion = '../recibos/busca_remesas.jsp?ente='+ente+'&tipo_ente='+tipo_ente+'&fecha1='+fecha1+'&fecha2='+fecha2+'&numero_factura='+numero_factura+'&orden='+orden+'&offset='+offset+'&filas='+filas;
  cargaXML(direccion);
}
