function mostrarCalendarioEventos() {
	$('calendarioEventos').setStyle({height:'175px'});
	$('elCampus').setStyle({height:'268px'});
	thisMovie("SWFElCampus").plegarMapa();
}
function esconderCalendarioEventos() {
	$('calendarioEventos').setStyle({height:'30px'});
	$('elCampus').setStyle({height:'413px'});
}
function thisMovie(movieName) {
	var isIE = navigator.appName.indexOf("Microsoft") != -1;
	return (isIE) ? window[movieName] : document[movieName];
}
function esconderCalendarioFromMapaLite() {
	thisMovie("SWFCalendarioEventos").esconderCalendario();
}
function reemplazarTargetEnlaces(){
	var contenedor = $("contenedorMedioEstilo2");
	var arrEnlaces = contenedor.getElementsByTagName("a");
	var intLenEnlaces = arrEnlaces.length;
	var i = 0;
	while (i < intLenEnlaces) {
		var enlace = arrEnlaces[i];
		var href = enlace.getAttribute("href");
		var target = enlace.getAttribute("target");
		if (target == null) {
			if (href.indexOf("http://") != -1) {
				enlace.setAttribute("target", "_blank");
			}
		}
		i++;
	}
}
function mostrarNoticiaDestacada(){
	Element.hide('moduloMasNoticias'); 
	Element.show('noticiaDestacada'); 
	Element.show('franja_noticias_abrir'); 
	Element.hide('franja_noticias_cerrar');
}
function mostrarMasNoticias(){
	Element.show('moduloMasNoticias'); 
	Element.hide('noticiaDestacada'); 
	Element.hide('franja_noticias_abrir'); 
	Element.show('franja_noticias_cerrar');
}