isamap = new Object();

isamap[0] = "_df";

isamap[1] = "_ov";



var muestra=0;

var tempoff;



if (document.images) { // ensure browser can do JavaScript rollovers.

	isimages = new Object();





	isimages.ver1_df = new Image();

	isimages.ver1_df.src = "images/b_esp0.jpg";

	isimages.ver1_ov = new Image();

	isimages.ver1_ov.src = "images/b_esp1.jpg";



	isimages.ver2_df = new Image();

	isimages.ver2_df.src = "images/b_ing0.jpg";

	isimages.ver2_ov = new Image();

	isimages.ver2_ov.src = "images/b_ing1.jpg";



}







function cambiar_imagen(id, act)

{

	if(document.images) document.images[id].src = eval( "isimages." + id + isamap[act] + ".src");

}





  

function showhide(what){

  iniciar();

   if(what.style.display=='none'){

      what.style.display='';

    }

}  

  



function cambiar_per(id, act,tit)

{

  var id2="imggal1";

	if(document.images) document.images[id].src = eval( "isimgper." + id + isaper[act] + ".src");

	if(document.images) document.images[id2].src = eval( "isimgtitulo." + id2 + istitper[tit] + ".src");

}



function detfig(nombre)

{

        v=window.open(nombre,'fig','scrollbars=yes,toolbar=no,directories=no,menubar=no,resizable=no,width=800,height=600,screenX=1,screenY=1');

}

function abreFoto(ruta)

{
i1 = new Image;
i1.src = ruta;
html = '<html><head><title>Imagen</title></head>';
html += '<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>';
html += '<center><img src="'+ruta+'" border=0 name="Foto" ';
html += 'onLoad="window.resizeTo(document.Foto.width+12,document.Foto.height+31)">';
html += '</center></body></html>';
popupImage = window.open('','_blank','scrollbars=0,resizable=1');
popupImage.document.open();
popupImage.document.write(html);
popupImage.document.close();
}

function wexpo2008()
{
 // LOGO EXPO 2008 
   /*
  html = '<div id="logo_expo1">';
  html += '<a href=http://www.elbaluard.net target=_blank>';
  html += '<img src=images/logo_expo.jpg border=0></a>';
  html += '</div>';
  */
  
  html = '';
  this.document.write(html);
            

}

