//Rollover de texto que permite mostrar un imagen diferente en una pòsición fija del sitio
//para añadir uno nuevo necesitamos seguir los siguientes pasos:
//1-añadir el siguiente código  en este mismo fichero.

//alt0 = new Image();
//alt0.src = "imagenes/casa01.jpg";

//luego
//graphic1= new Image();
//graphic1.src = "imagenes/nav_01.jpg";
//graphic1on = new Image();
//graphic1on.src = "imagenes/nav_roll_01.jpg";

//modificando el 0 por el número consecutivo al último que tengamos.

//2-En el fichero html debermos añadie las siguientes líneas:
//<a href="casa.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','imagenes/nav_roll_01.jpg',1)"><img name="Image8" border="0" src="imagenes/nav_01.jpg" width="185" height="22" alt="Casa natal de Goya"></a>
//y la imagen que queremos que sea fija tendrá un id específico(im)-><img id="im" src="imagenes/casa01.jpg" width="185" height="81" NAME="global">

{
alt0 = new Image();
alt0.src = "imagenes/casa01.jpg";

alt1 = new Image();
alt1.src = "imagenes/casa03.jpg";

alt2 = new Image();
alt2.src = "imagenes/museo01.jpg";

alt3 = new Image();
alt3.src = "imagenes/zuloaga01.jpg";

alt4 = new Image();
alt4.src = "imagenes/nevero01.jpg";

alt5 = new Image();
alt5.src = "imagenes/senderos01.jpg";

alt6 = new Image();
alt6.src = "imagenes/patrimonio01.jpg";

alt7 = new Image();
alt7.src = "imagenes/geniusloci01.jpg";

alt8 = new Image();
alt8.src = "imagenes/servicios01.jpg";

alt9 = new Image();
alt9.src = "imagenes/actividades01.jpg";

alt10 = new Image();
alt10.src = "imagenes/localizacion01.jpg";

alt11 = new Image();
alt11.src = "imagenes/disparate01.jpg"

alt12 = new Image();
alt12.src = "imagenes/museo02.jpg";

alt13 = new Image();
alt13.src = "imagenes/zuloaga02.jpg";

alt14 = new Image();
alt14.src = "imagenes/taller02.jpg";

alt15 = new Image();
alt15.src = "imagenes/nevero02.jpg";

alt16 = new Image();
alt16.src = "imagenes/patrimonio02.jpg";

alt17 = new Image();
alt17.src = "imagenes/senderos02.jpg";

alt18 = new Image();
alt18.src = "imagenes/servicios02.jpg";

alt19 = new Image();
alt19.src = "imagenes/localizacion02.jpg";

alt20 = new Image();
alt20.src = "imagenes/geniusloci01.jpg";

alt21 = new Image();
alt21.src = "imagenes/disparate01.jpg";

alt22 = new Image();
alt22.src = "imagenes/fuendeverde01.jpg";

alt23 = new Image();
alt23.src = "imagenes/obragrafica.jpg";

alt24 = new Image();
alt24.src = "imagenes/casa04.jpg";

alt25 = new Image();
alt25.src = "imagenes/disparate03.jpg";

alt26 = new Image();
alt26.src = "imagenes/futuro_museo_peq.jpg";


graphic1= new Image();
graphic1.src = "imagenes/nav_01.jpg";
graphic1on = new Image();
graphic1on.src = "imagenes/nav_roll_01.jpg";

graphic2= new Image();
graphic2.src = "imagenes/nav_02.jpg";
graphic2on = new Image();
graphic2on.src = "imagenes/nav_roll_02.jpg";

graphic3= new Image();
graphic3.src = "imagenes/nav_03.jpg";
graphic3on = new Image();
graphic3on.src = "imagenes/nav_roll_03.jpg";

graphic4= new Image();
graphic4.src = "imagenes/nav_04.jpg";
graphic4on = new Image();
graphic4on.src = "imagenes/nav_roll_04.jpg";

graphic5= new Image();
graphic5.src = "imagenes/nav_05.jpg";
graphic5on = new Image();
graphic5on.src = "imagenes/nav_roll_05.jpg";

graphic6= new Image();
graphic6.src = "imagenes/nav_06.jpg";
graphic6on = new Image();
graphic6on.src = "imagenes/nav_roll_06.jpg";

graphic7= new Image();
graphic7.src = "imagenes/nav_07.jpg";
graphic7on = new Image();
graphic7on.src = "imagenes/nav_roll_07.jpg";

graphic8= new Image();
graphic8.src = "imagenes/nav_08.jpg";
graphic8on = new Image();
graphic8on.src = "imagenes/nav_roll_08.jpg";

graphic9= new Image();
graphic9.src = "imagenes/nav_09.jpg";
graphic9on = new Image();
graphic9on.src = "imagenes/nav_roll_09.jpg";

graphic10= new Image();
graphic10.src = "imagenes/nav_10.jpg";
graphic10on = new Image();
graphic10on.src = "imagenes/nav_roll_10.jpg";

graphic11= new Image();
graphic11.src = "imagenes/nav_11.jpg";
graphic11on = new Image();
graphic11on.src = "imagenes/nav_roll_11.jpg";

graphic12= new Image();
graphic12.src = "imagenes/nav_12.jpg";
graphic12on = new Image();
graphic12on.src = "imagenes/nav_roll_12.jpg";


}
function imageChange(imageID,imageName,imageID2,imageName2) {
{
document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");
}


}
//FIN ROLLOVER

function abreventana(url, name, w, h, perc, scroll) {

        var winX = (screen.availWidth - w)*perc*.01;
        var winY = (screen.availHeight - h)*perc*.01;
        popupWin = window.open(url, name,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+scroll+',resizable=0,width=' + w + ',height=' + h + ',left=' + winX + ',top=' + winY);
		//if ((document.window != null) && (!popupWin.opener)) 
          //   popupWin.opener = document.window; 
           //  popupWin.focus(); 

}