if (typeof RecintoGenerico != "function") {
  function RecintoGenerico() {
    this.aforo = null;
    this.BRecogidaTum = false;
    this.direccion = null;
    this.BRecogidaCajaNavarra = false;
    this.bus = null;
    this.BRecogidaCajaRural = false;
    this.BRecogidaCajaMar = false;
    this.localidadBean = null;
    this.cine_promo = null;
    this.dia_e = null;
    this.cine_promobar = null;
    this.BRecogidaPah = false;
    this.easyUrl = null;
    this.fac_parking = false;
    this.BTienePromoIberia = false;
    this.version = null;
    this.tfno = null;
    this.pct_impto = null;
    this.id = 0;
    this.BRecogidaCajaLon = false;
    this.lit_recinto = null;
    this.tmt = null;
    this.BRecogidaCajaMadrid = false;
    this.latitud = null;
    this.longitud = null;
    this.id_recinto = null;
    this.id_empresa = null;
    this.id_gestion = null;
    this.fax = null;
    this.pct_impto_sgae = null;
    this.BRecogidaLocal = false;
    this.BRecogidaCajaCai = false;
    this.metro = null;
    this.mapa = null;
    this.nsalas = null;
    this.tren = null;
    this.num = null;
    this.BRecogidaIberCaja = false;
    this.cine_vo = null;
    this.cp = null;
    this.id_cadena = null;
    this.lit_provincia = null;
    this.id_provincia = null;
    this.recinto_ip = null;
    this.pct_sgae = null;
    this.origen = null;
  }
}

if (typeof Pelicula != "function") {
  function Pelicula() {
    this.anio = null;
    this.mediaVotacion_pelicula = null;
    this.trailer_gr = null;
    this.gr_cartel = null;
    this.provincia = null;
    this.easyUrl = null;
    this.duracion = null;
    this.id = 0;
    this.lit_espec = null;
    this.sinopsis = null;
    this.id_espec = null;
    this.calificacionBean = null;
    this.id_tp_espec = null;
    this.lit_tp_espec = null;
    this.id_gestion = null;
    this.idCopias = [];
    this.id_peli = null;
    this.peli_vo = null;
    this.comentarios = [];
    this.cartel = null;
    this.esPaginaIntermedia = false;
    this.peli_3d = null;
    this.director = null;
    this.id_prov = null;
    this.url = null;
    this.interpretes = null;
    this.generoBean = null;
    this.NVotos_pelicula = 0;
    this.trailer_peq = null;
    this.esEstreno = false;
    this.cartel_gr = null;
    this.origen = null;
  }
}

if (typeof Espectaculo != "function") {
  function Espectaculo() {
    this.minutos = null;
    this.idRecinto = null;
    this.mediaVotacion_pelicula = null;
    this.easyUrl = null;
    this.duracion = null;
    this.exped = null;
    this.lit_espec = null;
    this.id_espec = null;
    this.tieneAbono = null;
    this.calificacionBean = null;
    this.lit_tp_espec = null;
    this.autor = null;
    this.nsonido = null;
    this.director = null;
    this.id_prov = null;
    this.url = null;
    this.fec_alta = null;
    this.interpretes = null;
    this.generoBean = null;
    this.cartel_pq = null;
    this.NVotos_pelicula = 0;
    this.esEstreno = false;
    this.cartel_gr = null;
    this.idFacebook = null;
    this.litRecinto = null;
    this.anio = null;
    this.timeStamp = null;
    this.id_version = null;
    this.sonido = null;
    this.trailer_gr = null;
    this.inicioVenta = null;
    this.interpret = null;
    this.precioDesde = null;
    this.provincia = null;
    this.trailer_pq = null;
    this.id = 0;
    this.bestreno = null;
    this.bicaa = null;
    this.sinopsis = null;
    this.fchDesde = 0;
    this.id_tp_espec = null;
    this.id_gestion = null;
    this.bdata = null;
    this.comentarios = [];
    this.fchHasta = 0;
    this.cartel = null;
    this.esPaginaIntermedia = false;
    this.resumen = null;
    this.ntrailer_pq = null;
    this.novedad = null;
    this.lit_original = null;
    this.ntrailer_gr = null;
    this.origen = null;
  }
}

if (typeof CicloAbono != "function") {
  function CicloAbono() {
    this.nombreEvento = null;
    this.razonSocial = null;
    this.idRecinto = null;
    this.minimoComision = null;
    this.idBanco = null;
    this.importeComisionPromotor = null;
    this.idPromotor = null;
    this.nombre = null;
    this.existente = null;
    this.idEvento = null;
    this.porcentajeComisionPromotor = null;
    this.nombreRecinto = null;
    this.idComision = null;
    this.importeComision = null;
    this.idSesion = null;
    this.maximoComision = null;
    this.idCanal = null;
    this.porcentajeComision = null;
    this.idEntidad = null;
  }
}

if (typeof Recinto != "function") {
  function Recinto() {
    this.aforo = null;
    this.BRecogidaTum = false;
    this.parking = null;
    this.direccion = null;
    this.BRecogidaCajaNavarra = false;
    this.bus = null;
    this.BRecogidaCajaRural = false;
    this.BRecogidaCajaMar = false;
    this.localidadBean = null;
    this.BRecogidaPah = false;
    this.easyUrl = null;
    this.fac_parking = false;
    this.BTienePromoIberia = false;
    this.version = null;
    this.tfno = null;
    this.pct_impto = null;
    this.id = 0;
    this.BRecogidaCajaLon = false;
    this.lit_recinto = null;
    this.tmt = null;
    this.BRecogidaCajaMadrid = false;
    this.latitud = null;
    this.longitud = null;
    this.id_recinto = null;
    this.id_empresa = null;
    this.id_gestion = null;
    this.fax = null;
    this.pct_impto_sgae = null;
    this.BRecogidaLocal = false;
    this.BRecogidaCajaCai = false;
    this.metro = null;
    this.mapa = null;
    this.nsalas = null;
    this.recinto_promo = null;
    this.tren = null;
    this.recinto_promobar = null;
    this.num = null;
    this.BRecogidaIberCaja = false;
    this.cp = null;
    this.id_cadena = null;
    this.lit_provincia = null;
    this.id_provincia = null;
    this.recinto_ip = null;
    this.pct_sgae = null;
    this.origen = null;
  }
}

if (typeof GrupoZonasFutbol != "function") {
  function GrupoZonasFutbol() {
    this.NLibres = 0;
    this.descripcion = null;
    this.codGrZona = null;
    this.codAfo = null;
    this.zonas = [];
    this.codClub = null;
  }
}

if (typeof ComentariosEspectaculo != "function") {
  function ComentariosEspectaculo() {
    this.valoracion = 0;
    this.estado = 0;
    this.fecha = null;
    this.usuario = null;
    this.email = null;
    this.idEspectaculo = 0;
    this.direccionIp = null;
    this.comentario = null;
  }
}

if (typeof AbonosCarta != "function") {
  function AbonosCarta() {
    this.nombre = null;
    this.idAbono = null;
    this.esPrivado = null;
    this.numPeriodos = null;
    this.numButacas = null;
    this.detalles = null;
    this.idAbonado = null;
    this.idCanal = null;
    this.minEspecAbono = null;
    this.idPeriodo = null;
    this.periodosAbono = [];
    this.idEntidad = null;
  }
}

if (typeof AreaVista != "function") {
  function AreaVista() {
    this.areaGrafica = null;
    this.idArea = 0;
    this.codArea = null;
  }
}

if (typeof EntradasVenta != "function") {
  function EntradasVenta() {
    this.entradasVendidas = null;
    this.reduccionZona = null;
    this.idZona = null;
    this.seleccionButacas = null;
    this.precio = null;
    this.ventaNumerada = null;
    this.soloTaquilla = null;
    this.precioOriginal = null;
    this.idSesion = null;
    this.numEntradas = null;
  }
}

if (typeof EntradasVenta != "function") {
  function EntradasVenta() {
    this.entradasVendidas = null;
    this.idZona = null;
    this.ventaNumerada = null;
    this.soloTaquilla = null;
    this.maxDescuento = null;
    this.precioMaximo = null;
    this.precioMinimo = null;
    this.reduccionZona = null;
    this.precio = null;
    this.seleccionButacas = null;
    this.precioOriginal = null;
    this.idSesion = null;
    this.numEntradas = null;
  }
}

if (typeof OrigenEspectaculo != "function") {
  function OrigenEspectaculo() {
  }
}

if (typeof RecintoGenerico != "function") {
  function RecintoGenerico() {
    this.aforo = null;
    this.BRecogidaTum = false;
    this.direccion = null;
    this.BRecogidaCajaNavarra = false;
    this.bus = null;
    this.BRecogidaCajaRural = false;
    this.BRecogidaCajaMar = false;
    this.localidadBean = null;
    this.BRecogidaPah = false;
    this.easyUrl = null;
    this.fac_parking = false;
    this.BTienePromoIberia = false;
    this.version = null;
    this.tfno = null;
    this.pct_impto = null;
    this.id = 0;
    this.BRecogidaCajaLon = false;
    this.lit_recinto = null;
    this.tmt = null;
    this.BRecogidaCajaMadrid = false;
    this.latitud = null;
    this.longitud = null;
    this.id_recinto = null;
    this.id_empresa = null;
    this.id_gestion = null;
    this.fax = null;
    this.pct_impto_sgae = null;
    this.BRecogidaLocal = false;
    this.BRecogidaCajaCai = false;
    this.metro = null;
    this.mapa = null;
    this.nsalas = null;
    this.tren = null;
    this.num = null;
    this.BRecogidaIberCaja = false;
    this.cp = null;
    this.id_cadena = null;
    this.lit_provincia = null;
    this.id_provincia = null;
    this.recinto_ip = null;
    this.pct_sgae = null;
    this.origen = null;
  }
}

if (typeof ProvinciaCall != "function") {
  function ProvinciaCall() {
    this.prefijoProvincia = 0;
    this.localidadesPreferentes = [];
    this.localidades = null;
    this.nombreProvincia = null;
    this.idProvincia = 0;
  }
}

if (typeof Butaca != "function") {
  function Butaca() {
    this.idFila = 0;
    this.butaca = 0;
    this.idPrecio = 0;
    this.numeroInt = 0;
    this.tipoComision = 0;
    this.idZona = 0;
    this.idRecinto = 0;
    this.pct_comision = 0;
    this.idEjercicio = 0;
    this.comision = 0;
    this.litPlanta = null;
    this.fila = null;
    this.litArea = null;
    this.precio = 0;
    this.idPlanta = 0;
    this.idArea = 0;
    this.idSesion = 0;
    this.zona = 0;
    this.tipoColectivo = 0;
    this.litRecinto = null;
  }
}

if (typeof ComentariosEspectaculoAjax != "function") {
  function ComentariosEspectaculoAjax() {
  }
}

if (typeof Localidad != "function") {
  function Localidad() {
    this.cp = null;
    this.litLocalidad = null;
    this.idLocalidad = null;
    this.idProvincia = null;
  }
}

if (typeof ProgramacionSesionesGenerico != "function") {
  function ProgramacionSesionesGenerico() {
    this.id_area = null;
    this.nombresala = null;
    this.tp_sesion = null;
    this.norden = null;
    this.id_loc = null;
    this.inicioVenta = null;
    this.id_ciclo = null;
    this.dia_e = null;
    this.easyUrl = null;
    this.lit_sesion = null;
    this.id_sesion = null;
    this.imp_com_max = null;
    this.imp_com_min = null;
    this.timestamp = 0;
    this.lit_recinto = null;
    this.lit_espec = null;
    this.lit_loc = null;
    this.id_ejercicio = null;
    this.id_espec = null;
    this.ntipo = null;
    this.procesadoPrecioEspecial = false;
    this.id_recinto = null;
    this.id_tp_espec = null;
    this.lit_recogida = null;
    this.preciosBean = [];
    this.horario = null;
    this.codFiscal = null;
    this.fec_cel = null;
    this.lit_espec_real = null;
    this.resumen = null;
    this.generoBean = null;
    this.hor_fin_venta = null;
    this.numSala = null;
    this.hor_cel = null;
    this.tieneSubsalas = false;
    this.finVenta = null;
    this.cartel_gr = null;
  }
}

if (typeof IdValor != "function") {
  function IdValor() {
    this.id = null;
    this.valor = null;
  }
}

if (typeof FiltroBusqueda != "function") {
  function FiltroBusqueda() {
    this.anio = null;
    this.idZona = null;
    this.idRecinto = null;
    this.fechaHasta = null;
    this.eventoActivo = null;
    this.fechaCaducidadTarjeta = null;
    this.nac = null;
    this.numTarjeta = null;
    this.numOperacion = null;
    this.idProvincia = null;
    this.localizador = null;
    this.idUsuario = null;
    this.soloActivos = false;
    this.idTipoExcepcion = null;
    this.idExcepcion = null;
    this.idTipoRecinto = null;
    this.idEntidad = null;
    this.fechaDesde = null;
    this.tipoComision = null;
    this.razonSocial = null;
    this.idCliente = null;
    this.estadoCliente = null;
    this.idLiquidacion = null;
    this.idCategoria = null;
    this.idGestion = null;
    this.titulo = null;
    this.idEvento = null;
    this.nombreRecinto = null;
    this.idSesion = null;
    this.idPelicula = null;
    this.idCanal = null;
    this.dist = null;
  }
}

if (typeof Precio != "function") {
  function Precio() {
    this.pct_com = null;
    this.tp_numeracion = null;
    this.imp_precio_2 = null;
    this.id_planta = null;
    this.id_tp_precio = null;
    this.id_zona = null;
    this.imp_precio_1 = null;
    this.lit_tp_precio = null;
    this.lit_area = null;
    this.tp_com = null;
    this.id_zn_venta = null;
    this.lit_zn_venta = null;
    this.imp_com2 = null;
    this.imp_precio_old = null;
    this.lit_planta = null;
  }
}

if (typeof SolicitaPL != "function") {
  function SolicitaPL() {
  }
}

if (typeof Fecha != "function") {
  function Fecha() {
    this.fec_cel = null;
    this.lit_fec_cel = null;
  }
}

if (typeof Usuario != "function") {
  function Usuario() {
    this.passwd = null;
    this.apellidos = null;
    this.telefono = null;
    this.sexo = null;
    this.fechaNacimiento = null;
    this.activo = null;
    this.codPostal = null;
    this.nombre = null;
    this.idUsuario = null;
    this.email = null;
    this.aceptaOfertas = null;
    this.aceptaOfertasPromotor = null;
    this.ultimoAcceso = null;
  }
}

if (typeof EspectaculoGenerico != "function") {
  function EspectaculoGenerico() {
    this.anio = null;
    this.mediaVotacion_pelicula = null;
    this.trailer_gr = null;
    this.easyUrl = null;
    this.provincia = null;
    this.duracion = null;
    this.id = 0;
    this.lit_espec = null;
    this.sinopsis = null;
    this.id_espec = null;
    this.calificacionBean = null;
    this.id_tp_espec = null;
    this.lit_tp_espec = null;
    this.id_gestion = null;
    this.comentarios = [];
    this.cartel = null;
    this.esPaginaIntermedia = false;
    this.director = null;
    this.id_prov = null;
    this.url = null;
    this.interpretes = null;
    this.generoBean = null;
    this.NVotos_pelicula = 0;
    this.esEstreno = false;
    this.cartel_gr = null;
    this.origen = null;
  }
}

if (typeof CicloAbono != "function") {
  function CicloAbono() {
    this.idTemporada = null;
    this.idArea = null;
    this.litCiclo = null;
    this.litTemporada = null;
    this.idCiclo = null;
  }
}

if (typeof Genero != "function") {
  function Genero() {
    this.idGenero = null;
    this.nombreGenero = null;
  }
}

if (typeof SesionesAbonoPeriodo != "function") {
  function SesionesAbonoPeriodo() {
    this.idRecinto = null;
    this.cartel = null;
    this.idEjercicio = null;
    this.idPeriodo = null;
    this.litTpPrecio = null;
    this.genero = null;
    this.idAbono = null;
    this.idTpPrecio = null;
    this.idArea = null;
    this.idSesion = null;
    this.idEspectaculo = null;
    this.tituloObra = null;
    this.litRecinto = null;
  }
}

if (typeof RegistroCliente != "function") {
  function RegistroCliente() {
    this.nombre = null;
    this.codPostal = null;
    this.apellido2 = null;
    this.email = null;
    this.anoNac = 0;
    this.apellido1 = null;
    this.telefono = null;
    this.ipOrigen = null;
    this.observaciones = null;
    this.idCanal = 0;
    this.idEntidad = 0;
  }
}

if (typeof Patio != "function") {
  function Patio() {
    this.excepciones = null;
    this.id_area = null;
    this.error = null;
    this.id_planta = null;
    this.descripcionError = null;
    this.sAsignadas = null;
    this.respuesta = null;
    this.plano = [];
    this.SPrecios = null;
    this.minX = 0;
    this.minY = 0;
    this.mapaReal = null;
    this.SArea = null;
    this.areas = [];
    this.mapaEstados = null;
  }
}

if (typeof AbonadosCarta != "function") {
  function AbonadosCarta() {
    this.direccion = null;
    this.numBonos = null;
    this.nif = null;
    this.apellidos = null;
    this.comentarios = null;
    this.telefono = null;
    this.password = null;
    this.nombre = null;
    this.recintos = [];
    this.butacas = [];
    this.email = null;
    this.perfil = null;
    this.abonos = [];
    this.idAbonado = null;
  }
}

if (typeof PeriodosAbonoCarta != "function") {
  function PeriodosAbonoCarta() {
    this.litPeriodo = null;
    this.sesionesAbonoPeriodo = [];
    this.numSesiones = null;
    this.numEspecVend = null;
    this.minEspectaculos = null;
    this.fecFinVenta = null;
    this.numOrder = null;
    this.idPeriodo = null;
    this.fecInicioVenta = null;
  }
}

if (typeof SesionAsterix != "function") {
  function SesionAsterix() {
    this.pendienteLiquidar = null;
    this.comisionTotal = null;
    this.fechaRecogida = null;
    this.fechaInicioVenta = null;
    this.resumenEntradasVenta = null;
    this.idEvento = null;
    this.fechaFinVenta = null;
    this.idSesion = null;
    this.idAdministrador = null;
    this.horaApertura = null;
    this.fechaCelebracion = null;
    this.importeTotal = null;
  }
}

if (typeof PartidoZonaFutbol != "function") {
  function PartidoZonaFutbol() {
    this.NLibres = 0;
    this.importe = null;
    this.sector = null;
    this.codTem = null;
    this.codZona = null;
    this.numer = null;
    this.venta_separada = false;
    this.descPrecio = null;
    this.orientacion = 0;
    this.codPart = null;
    this.descZona = null;
    this.codPrec = null;
    this.visitante = null;
    this.b_app = false;
    this.dispon = null;
  }
}

if (typeof Provincia != "function") {
  function Provincia() {
    this.importeEnvio = null;
    this.idPais = null;
    this.idProvincia = null;
    this.provincia = null;
  }
}

if (typeof PrecioCine != "function") {
  function PrecioCine() {
    this.id_prec_nuevo = null;
    this.importe_nuevo = null;
    this.id_precio = null;
    this.id_area = null;
    this.comision_tipo = null;
    this.importe_entrada = null;
    this.idSesion = null;
    this.lit_precio = null;
    this.comision_porcentaje = null;
    this.comision_importe = null;
    this.idMpago = 0;
  }
}

if (typeof ProgramacionCine != "function") {
  function ProgramacionCine() {
    this.aforo = null;
    this.id_area = null;
    this.id_sala = null;
    this.shora = null;
    this.nombresala = null;
    this.tp_sesion = null;
    this.norden = null;
    this.id_loc = null;
    this.inicioVenta = null;
    this.id_ciclo = null;
    this.dia_e = null;
    this.easyUrl = null;
    this.lit_sesion = null;
    this.id_sesion = null;
    this.imp_com_max = null;
    this.imp_com_min = null;
    this.timestamp = 0;
    this.lit_recinto = null;
    this.lit_espec = null;
    this.lit_loc = null;
    this.id_ejercicio = null;
    this.id_espec = null;
    this.ntipo = null;
    this.procesadoPrecioEspecial = false;
    this.id_recinto = null;
    this.id_tp_espec = null;
    this.lit_recogida = null;
    this.preciosBean = [];
    this.horario = null;
    this.codFiscal = null;
    this.id_peli = null;
    this.fec_cel = null;
    this.lit_espec_real = null;
    this.resumen = null;
    this.precios = null;
    this.trailerPeq = null;
    this.generoBean = null;
    this.hor_fin_venta = null;
    this.numSala = null;
    this.hor_cel = null;
    this.tieneSubsalas = false;
    this.finVenta = null;
    this.cartel_gr = null;
  }
}

if (typeof Patio != "function") {
  function Patio() {
    this.excepciones = null;
    this.id_area = null;
    this.error = null;
    this.id_planta = null;
    this.descripcionError = null;
    this.sAsignadas = null;
    this.respuesta = null;
    this.SPrecios = null;
    this.minX = 0;
    this.minY = 0;
    this.mapaReal = null;
    this.SArea = null;
    this.mapaEstados = null;
  }
}

if (typeof VentaCruzada != "function") {
  function VentaCruzada() {
    this.nombre = null;
    this.importe = null;
    this.dato1 = null;
    this.dato2 = null;
    this.descripcion = null;
    this.id_promo = null;
  }
}

if (typeof ClienteTeatro != "function") {
  function ClienteTeatro() {
    this.apellidos = null;
    this.domicilio = null;
    this.idRecinto = null;
    this.idCliente = 0;
    this.telefono = null;
    this.idCadena = null;
    this.observaciones = null;
    this.idProvincia = 0;
    this.aceptaPublicidad = 0;
    this.nombre = null;
    this.ipOrigen = null;
    this.fecNac = null;
    this.fechaAlta = null;
    this.idLocalidad = 0;
    this.codigopostal = null;
    this.dni = null;
    this.correo = null;
  }
}

if (typeof Zona != "function") {
  function Zona() {
    this.aforo = null;
    this.idZona = null;
    this.idRecinto = null;
    this.acceso = null;
    this.soloTaquilla = null;
    this.activo = null;
    this.nombre = null;
    this.reduccionZona = null;
    this.area = null;
    this.numerada = null;
    this.puerta = null;
    this.idAdministrador = null;
    this.iacposTipoEntradaId = null;
  }
}

if (typeof ProgramacionSesionesGenerico != "function") {
  function ProgramacionSesionesGenerico() {
    this.id_area = null;
    this.nombresala = null;
    this.tp_sesion = null;
    this.norden = null;
    this.id_loc = null;
    this.inicioVenta = null;
    this.id_ciclo = null;
    this.easyUrl = null;
    this.lit_sesion = null;
    this.id_sesion = null;
    this.imp_com_max = null;
    this.imp_com_min = null;
    this.timestamp = 0;
    this.lit_recinto = null;
    this.lit_espec = null;
    this.lit_loc = null;
    this.id_espec = null;
    this.id_ejercicio = null;
    this.procesadoPrecioEspecial = false;
    this.id_recinto = null;
    this.id_tp_espec = null;
    this.lit_recogida = null;
    this.preciosBean = [];
    this.horario = null;
    this.codFiscal = null;
    this.fec_cel = null;
    this.lit_espec_real = null;
    this.resumen = null;
    this.generoBean = null;
    this.hor_fin_venta = null;
    this.numSala = null;
    this.hor_cel = null;
    this.tieneSubsalas = false;
    this.finVenta = null;
    this.cartel_gr = null;
  }
}

// Provide a default path to dwr.engine
if (dwr == null) var dwr = {};
if (dwr.engine == null) dwr.engine = {};
if (DWREngine == null) var DWREngine = dwr.engine;

if (FacebookAjax == null) var FacebookAjax = {};
FacebookAjax._path = '/entradas/dwr';
FacebookAjax.log = function(p0, p1, callback) {
  dwr.engine._execute(FacebookAjax._path, 'FacebookAjax', 'log', p0, p1, callback);
}
FacebookAjax.setSessionBean = function(p0, p1, p2, p3, p4, p5, callback) {
  dwr.engine._execute(FacebookAjax._path, 'FacebookAjax', 'setSessionBean', p0, p1, p2, p3, p4, p5, callback);
}

