function cerrar(){
MiVentana.close();
}

function cast(nombreImagen){
nombre=["Parte posterior del castillo", "Vista general", "Artesonado del Salón Noble", "Detalle del artesonado", "Escudo y cerámica", "Balcón sobre la roca"];
titulo="Imágenes del castillo";
imagen=["<img src=images/hcf_0.jpg width=450 height=260>","<img src=images/hcf_1.jpg width=450 height=260>","<img src=images/hcf_2.jpg width=450 height=260>","<img src=images/hcf_3.jpg width=450 height=260>","<img src=images/hcf_4.jpg width=450 height=260>","<img src=images/hcf_5.jpg width=450 height=260>"];
MiVentana=open("","MiVentana","toolbar=no,directories=no,menubar=no,status=yes,width=470,height=330");
MiVentana.document.write("<HEAD><TITLE>"+titulo+"</TITLE><script language='javascript'>"+function cerrar() { if(typeof(window)=='object') close();}+"</script></HEAD>");
MiVentana.document.write("<body background='images/fondo2.jpg'><p align='center'>");
MiVentana.document.write(imagen[(nombreImagen)]);
MiVentana.document.write("<p align='center'><input type=button value=cerrar onClick='cerrar()'><p></body>");
MiVentana.window.status=nombre[(nombreImagen)];
}

function aerea(nombreImagen){
nombre=["Vista general desde la autovía Madrid-Zaragoza foto1", "Vista general desde la autovía Madrid-Zaragoza foto2", "Entrada desde La Almunia", "Núcleo urbano", "Vista general", "Plaza de toros Gitanillo de Ricla","Polígono industrial", "Entrada por el polígono industrial", "Colegio público e instalaciones deportivas"];
titulo="Vistas aéreas";
imagen=["<img src=images/fae_0.jpg width=616 height=445>","<img src=images/fae_1.jpg width=616 height=445>","<img src=images/fae_2.jpg width=616 height=445>","<img src=images/fae_3.jpg width=616 height=445>","<img src=images/fae_4.jpg width=616 height=445>","<img src=images/fae_5.jpg width=616 height=445>","<img src=images/fae_6.jpg width=616 height=445>","<img src=images/fae_7.jpg width=616 height=445>","<img src=images/fae_8.jpg width=616 height=445>"];
MiVentana=open("","MiVentana","toolbar=no,directories=no,menubar=no,status=yes,width=636,height=515");
MiVentana.document.write("<HEAD><TITLE>"+titulo+"</TITLE><script language='javascript'>"+function cerrar() { if(typeof(window)=='object') close();}+"</script></HEAD>");
MiVentana.document.write("<body background='images/fondo2.jpg'><p align='center'>");
MiVentana.document.write(imagen[(nombreImagen)]);
MiVentana.document.write("<p align='center'><input type=button value=cerrar onClick='cerrar()'><p></body>");
MiVentana.document.write("<p align='center'><p></body>");
MiVentana.window.status=nombre[(nombreImagen)];
}

function actual(nombreImagen){
nombre=["Ayuntamiento", "Río Jalón .", "Casa de cultura", "Reloj de sol de la Iglesia", "Plaza de toros", "Estación .", "Alcoholera", "Vista desde la estación .", "Pilón de Sta Mª Magdalena", "Olivos centenarios", "Nevero", "Instalaciones deportivas", "Glorieta", "Pilón de los Santos", "Arco de San Sebastián."];
titulo="Fotografías actuales";
imagen=["<img src=images/fac_00.jpg width=439 height=292 vspace=40>","<img src=images/fac_01.jpg width=439 height=292 vspace=40>","<img src=images/fac_02.jpg width=439 height=292 vspace=40>","<img src=images/fac_03.jpg width=439 height=292 vspace=40>","<img src=images/fac_04.jpg width=439 height=292 vspace=40>","<img src=images/fac_05.jpg width=439 height=292 vspace=40>","<img src=images/fac_06.jpg width=439 height=292 vspace=40>","<img src=images/fac_07.jpg width=439 height=292 vspace=40>","<img src=images/fac_08.jpg width=439 height=292 vspace=40>","<img src=images/fac_09.jpg width=439 height=292 vspace=40>","<img src=images/fac_10.jpg width=439 height=292 vspace=40>","<img src=images/fac_11.jpg width=439 height=292 vspace=40>","<img src=images/fac_12.jpg width=293 height=431>","<img src=images/fac_13.jpg width=293 height=431>","<img src=images/fac_14.jpg width=293 height=431>"];
MiVentana=open("","MiVentana","toolbar=no,directories=no,menubar=no,status=yes,width=459,height=501");
MiVentana.document.write("<HEAD><TITLE>"+titulo+"</TITLE><script language='javascript'>"+function cerrar() { if(typeof(window)=='object') close();}+"</script></HEAD>");
MiVentana.document.write("<body background='images/fondo2.jpg'><p align='center'>");
MiVentana.document.write(imagen[(nombreImagen)]);
MiVentana.document.write("<p align='center'><input type=button value=cerrar onClick='cerrar()'><p></body>");
MiVentana.window.status=nombre[(nombreImagen)];
}

function parque(nombreImagen){
nombre=["", "", "", "", "", ""];
titulo="Parque Goya";
imagen=["<img src=images/fpq_0.jpg width=450 height=260 vspace=60>","<img src=images/fpq_1.gif width=293 height=420>","<img src=images/fpq_2.jpg width=450 height=260 vspace=60>","<img src=images/fpq_3.jpg width=450 height=260 vspace=60>","<img src=images/fpq_4.jpg width=450 height=260 vspace=60>","<img src=images/fpq_5.jpg width=450 height=260 vspace=60>"];
MiVentana=open("","MiVentana","toolbar=no,directories=no,menubar=no,status=yes,width=470,height=490");
MiVentana.document.write("<HEAD><TITLE>"+titulo+"</TITLE><script language='javascript'>"+function cerrar() { if(typeof(window)=='object') close();}+"</script></HEAD>");
MiVentana.document.write("<body background='images/fondo2.jpg'><p align='center'>");
MiVentana.document.write(imagen[(nombreImagen)]);
MiVentana.document.write("<p align='center'><input type=button value=cerrar onClick='cerrar()'><p></body>");
MiVentana.window.status=nombre[(nombreImagen)];
}

function puente(nombreImagen){
nombre=["Plano del puente", "Plano de ubicación"];
titulo="Puente de madera";
imagen=["<img src=images/29-1.jpg width=430 height=166 vspace=30>","<img src=images/29-2.jpg width=430 height=276>"];
MiVentana=open("","MiVentana","toolbar=no,directories=no,menubar=no,status=yes,width=460,height=350");
MiVentana.document.write("<HEAD><TITLE>"+titulo+"</TITLE><script language='javascript'>"+function cerrar() { if(typeof(window)=='object') close();}+"</script></HEAD>");
MiVentana.document.write("<body background='images/fondo2.jpg'><p align='center'>");
MiVentana.document.write(imagen[(nombreImagen)]);
MiVentana.document.write("<p align='center'><input type=button value=cerrar onClick='cerrar()'><p></body>");
MiVentana.window.status=nombre[(nombreImagen)];
}



