function AbrirDestacado(enlace) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=600, height=500, top=85, left=140";
window.open(enlace,"",opciones);

}
function AbrirAgenda(enlace) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=577, height=400, top=85, left=140";
window.open(enlace,"",opciones);

}
function AbrirMapa(enlace) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=670, height=520, top=85, left=140";
window.open(enlace,"",opciones);

}
function AbrirCurriculum(enlace) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=600, height=500, top=85, left=140";
window.open(enlace,"",opciones);

}
function AbrirFundacion(enlace) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=500, height=400, top=85, left=140";
window.open(enlace,"",opciones);

}
function AbrirSuscripcion(enlace) {
var opciones="toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, width=837, height=620, top=0, left=0";
window.open(enlace,"",opciones);

}
function resizeImg1(cualImg) { 
var maxwidth = 130; 
var maxheight = 180; 
var imagen = document.getElementById(cualImg); 
if (imagen.width>maxwidth || imagen.height>maxheight) { 
var scale = Math.min((maxwidth/imagen.width),(maxheight/imagen.height), 1 ); 
var new_width = Math.floor(scale*imagen.width); 
var new_height = Math.floor(scale*imagen.height); 
imagen.width = new_width; 
imagen.height = new_height; 
} 
}
function resizeImg2(cualImg) { 
var maxwidth = 130; 
var maxheight = 180; 
var imagen = document.getElementById(cualImg); 
if (imagen.width>maxwidth || imagen.height>maxheight) { 
var scale = Math.min((maxwidth/imagen.width),(maxheight/imagen.height), 1 ); 
var new_width = Math.floor(scale*imagen.width); 
var new_height = Math.floor(scale*imagen.height); 
imagen.width = new_width; 
imagen.height = new_height; 
} 
}
function resizeImg3(cualImg) { 
var maxwidth = 130; 
var maxheight = 180; 
var imagen = document.getElementById(cualImg); 
if (imagen.width>maxwidth || imagen.height>maxheight) { 
var scale = Math.min((maxwidth/imagen.width),(maxheight/imagen.height), 1 ); 
var new_width = Math.floor(scale*imagen.width); 
var new_height = Math.floor(scale*imagen.height); 
imagen.width = new_width; 
imagen.height = new_height; 
} 
}
function Validar_sus(in_form1)
{
	
		
if (in_form1.fr_nombre.value == "")
        {
         alert("Introduce Nombre y apellidos.");
        in_form1.fr_nombre.focus();
         return (false);
        }
		
if (in_form1.fr_email.value == "")
        {
         alert("Introduce Correo electrónico.");
        in_form1.fr_email.focus();
         return (false);
        }
if (in_form1.fr_organizacion.value == "")
        {
         alert("Introduce Organización en la que estudia o trabaja.");
        in_form1.fr_organizacion.focus();
         return (false);
        }
if (in_form1.fr_cargo.value == "")
        {
         alert("Introduce Cargo o posición .");
        in_form1.fr_cargo.focus();
         return (false);
        }
if (!(in_form1.fr_acepto.checked))
        {
         alert("Debe aceptar de las condiciones.");
        in_form1.fr_acepto.focus();
         return (false);
 }
return (true);
}
