
// Script para desplegar las opciones del menu
sfHover = function() {
	var sfEls = document.getElementById("Opcion1").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

// Precarga de imagenes home
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

// Chequeo de plugin flash. Carga una home u otra.
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

// funcion que abre los popups
function zoom(strImagen,strTexto){
	window.open('popup1.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function real(strImagen,strTexto){
	window.open('popup_real.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function legal(strImagen,strTexto){
	window.open('popup3.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function legal2(strImagen,strTexto){
	window.open('../popup3.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function MB(strImagen,strTexto){
	window.open('popup_MB.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function MB2(strImagen,strTexto){
	window.open('../popup_MB.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function CV(strImagen,strTexto){
	window.open('popup_CV.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function CV2(strImagen,strTexto){
	window.open('../popup_CV.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function MR(strImagen,strTexto){
	window.open('popup_MR.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function MR2(strImagen,strTexto){
	window.open('../popup_MR.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function GP(strImagen,strTexto){
	window.open('popup_GP.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function GP2(strImagen,strTexto){
	window.open('../popup_GP.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Kir(strImagen,strTexto){
	window.open('popup_Kir.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Kir2(strImagen,strTexto){
	window.open('../popup_Kir.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Mongo(strImagen,strTexto){
	window.open('popup_Mongo.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Mongo2(strImagen,strTexto){
	window.open('../popup_Mongo.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Maroc(strImagen,strTexto){
	window.open('popup_Maroc.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Maroc2(strImagen,strTexto){
	window.open('../popup_Maroc.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Patag(strImagen,strTexto){
	window.open('popup_Patag.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Patag2(strImagen,strTexto){
	window.open('../popup_Patag.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Denal(strImagen,strTexto){
	window.open('popup_Denali.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Denal2(strImagen,strTexto){
	window.open('../popup_Denali.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Acon(strImagen,strTexto){
	window.open('popup_Acon.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Acon2(strImagen,strTexto){
	window.open('../popup_Acon.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Elb(strImagen,strTexto){
	window.open('popup_Elb.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Elb2(strImagen,strTexto){
	window.open('../popup_Elb.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Kili(strImagen,strTexto){
	window.open('popup_Kili.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Kili2(strImagen,strTexto){
	window.open('../popup_Kili.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Him(strImagen,strTexto){
	window.open('popup_Him.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function Him2(strImagen,strTexto){
	window.open('../popup_Him.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function popup_fotos(strImagen,strTexto){
	window.open('visork2/kadosvisor.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function popup_fotos2(strImagen,strTexto){
	window.open('../visork2/kadosvisor.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function foto4(strImagen,strTexto){
	window.open('../otros/foto4.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function foto3(strImagen,strTexto){
	window.open('../otros/foto3.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function foto2(strImagen,strTexto){
	window.open('../otros/foto2.html','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}
function popup_tiempo(strImagen,strTexto){
	window.open('http://www.inm.es/','_blank');
}
function PJ(strImagen,strTexto){
	window.open('http://www.pedrojuan.es','_blank','resizable=0,directories=0,scrollbars=1,status=0,location=0');
}

//  redimensiona el popup x que abrimos



