function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function SetNameArray(item)
		{
			this.length = item
			return this
		}

	Month = new SetNameArray(12)
	Month[1] = "Enero"
	Month[2] = "Febrero"
	Month[3] = "Marzo"
	Month[4] = "Abril"
	Month[5] = "Mayo"
	Month[6] = "Junio"
	Month[7] = "Julio"
	Month[8] = "Agosto"
	Month[9] = "Setiembre"
	Month[10] = "Octubre"
	Month[11] = "Noviembre" 
	Month[12] = "Diciembre"
	
	WeekDay = new SetNameArray(7)
	WeekDay[1] = "Domingo"
	WeekDay[2] = "Lunes"
	WeekDay[3] = "Martes"
	WeekDay[4] = "Miércoles"
	WeekDay[5] = "Jueves"
	WeekDay[6] = "Viernes"
	WeekDay[7] = "Sábado"
	
	function TodaysDate(theDate)
			{
	var theWeekDay = WeekDay[theDate.getDay() + 1]
	var theMonth = Month[theDate.getMonth() + 1]
	var theYear = theDate.getYear()

	return theDate.getDate() + " de " + theMonth + " "  + theYear
	}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

<!-- 
/*
**********************************************************
funciones para paginas en Ingles.
**********************************************************
*///-->

function SetNameArrayIngles(item)
		{
			this.length = item
			return this
		}

	MonthIngles = new SetNameArray(12)
	MonthIngles[1] = "January"
	MonthIngles[2] = "February"
	MonthIngles[3] = "March"
	MonthIngles[4] = "April"
	MonthIngles[5] = "May"
	MonthIngles[6] = "June"
	MonthIngles[7] = "July"
	MonthIngles[8] = "August"
	MonthIngles[9] = "September"
	MonthIngles[10] = "October"
	MonthIngles[11] = "November" 
	MonthIngles[12] = "December"
	
	WeekDayIngles = new SetNameArray(7)
	WeekDayIngles[1] = "Sunday"
	WeekDayIngles[2] = "Monday"
	WeekDayIngles[3] = "Tuesday"
	WeekDayIngles[4] = "Wednesday"
	WeekDayIngles[5] = "Thursday"
	WeekDayIngles[6] = "Friday"
	WeekDayIngles[7] = "Saturday"
	
	function TodaysDateIngles(theDate)
			{
	var theWeekDayIngles = WeekDayIngles[theDate.getDay() + 1]
	var theMonthIngles = MonthIngles[theDate.getMonth() + 1]
	var theYearIngles = theDate.getYear()

	//return theDate.getDate() + " de " + theMonthIngles + " del "  + theYearIngles
	return theWeekDayIngles + ", " + theMonthIngles + " " + theDate.getDate() 

	}

var imagenumber2 = 3 ;
var randomnumber2 = Math.random() ;
var rand2 = Math.round( (imagenumber2-1) * randomnumber2) + 1 ;
images2 = new Array
images2[1] = "images/PAMPA.gif"
images2[2] = "images/Pavilos.gif"
images2[3] = "images/ampo.gif"
var image2 = images2[rand2]

var imagenumber3 = 3 ;
var randomnumber3 = Math.random() ;
var rand3 = Math.round( (imagenumber3-1) * randomnumber3) + 1 ;
images3 = new Array
images3[1] = "images/ingles/PAMPA.gif"
images3[2] = "images/ingles/Pavilos.gif"
images3[3] = "images/ingles/ampo.gif"
var image3 = images3[rand3]
