// JavaScript Document

   if (document.layers) {n=1;ie=0}
   if (document.all) {n=0;ie=1}
   
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 Item(){
  this.length = Item.arguments.length 
  for (var i = 0; i < this.length; i++)
    this[i] = Item.arguments[i]
}

function Fecha() {
  
  var nmes  = new Item('enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 
                          'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre')
  var ahora
  var fecha = new Date()
  var ano   = fecha.getYear()
  var mes   = fecha.getMonth()
  var dia   = fecha.getDay()
  var aux   = "" + fecha
  
  if (ano<10) {
    ano2 = "200" + eval(ano)
  }
  else if (ano<80) {                // ano tiene 2 dígitos 19xx (más de 80)
    ano2 = "20" + ano
  } 
  else if (ano<=99) {               // ano tiene 2 dígitos 20xx (menor de 80)
    ano2 = "19" + ano
  }
  else if (ano<1000) {              // ano tiene 3 dígitos (100 es 2000)
    ano2 = eval(ano) + eval(1900)
  }
  else {
    ano2 = ano                      // ano tiene 4 dígitos
  }

  ahora = eval(aux.substring(7, 10)) + " de " + nmes[mes] + " de " + ano2
  return ahora
}
