texto = "El CAI Santiago T.M. de Zaragoza agradece tu visita y te invita a colaborar en el desarrollo de su web.";
texto_nav = "Desde Zaragoza, el CAI Santiago os desea una Feliz Navidad y que el próximo año sea el mejor para todos.";

var monthNames = new makeArray(12);
monthNames[0] = "enero";
monthNames[1] = "febrero";
monthNames[2] = "marzo";
monthNames[3] = "abril";
monthNames[4] = "mayo";
monthNames[5] = "junio";
monthNames[6] = "julio";
monthNames[7] = "agosto";
monthNames[8] = "septiembre";
monthNames[9] = "octubre";
monthNames[10] = "noviembre";
monthNames[11] = "diciembre";

// Array of day names

var dayNames = new makeArray(7);
dayNames[0] = "Domingo";
dayNames[1] = "Lunes";
dayNames[2] = "Martes";
dayNames[3] = "Mi&eacute;rcoles";
dayNames[4] = "Jueves";
dayNames[5] = "Viernes";
dayNames[6] = "S&aacute;bado";

var now = new Date();
var year = now.getYear();

if (year < 2000) year = year + 1900;

function makeArray(len) 
{
    for (var i = 0; i < len; i++) this[i] = null;
    this.length = len;
}


function mOvr(src,clrOver) {
    if (!src.contains(event.fromElement)) {
	  src.style.cursor = 'hand';
	  src.bgColor = clrOver;
	}
  }
  function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	  src.style.cursor = 'default';
	  src.bgColor = clrIn;
	}
  }
  function mClk(src) {
    if(event.srcElement.tagName=='TD'){
	  src.children.tags('A')[0].click();
    }
  }

function go(){	valor=document.secciones.url.options[document.secciones.url.selectedIndex].value;
	if (valor!=''){		ladir=document.secciones.url.options[document.secciones.url.selectedIndex].value;			if (parent.frames.length > 0){
			parent.location.href = ladir;
		} else {			this.location.href= ladir;
		}
	}
      }

function abrir(pag, nombre, w, h) {
	posleft = (screen.availWidth / 2) - (w / 2);
	postop = (screen.availHeight / 2) - (h / 2);
	window.open(pag,nombre,'width=' + w +',height=' + h + ',alwaysRaised=1,resizable=0,personalbar=0,scrollbars=yes,left=' + posleft + ',top=' + postop);
  }

function abrirsin(pag, nombre, w, h) {
	posleft = (screen.availWidth / 2) - (w / 2);
	postop = (screen.availHeight / 2) - (h / 2);
	window.open(pag,nombre,'width=' + w +',height=' + h + ',alwaysRaised=1,resizable=0,personalbar=0,scrollbars=no,left=' + posleft + ',top=' + postop);
  }