/************************************************************
	Function que carga un conjunto de fotos, que serán
	visualizadas en el menu
************************************************************/
function cargarArrays(){
	if ((navigator.userAgent.substring(0,9) == "Mozilla/3") ||   (navigator.userAgent.substring(0,9) == "Mozilla/4")){
        standard = new MakeArray(16)
        over = new MakeArray(16)
        standard[1].src = "../navi/1.gif"
        standard[2].src = "../navi/3.gif"
        standard[3].src = "../navi/5.gif"
        standard[4].src = "../navi/7.gif"
        standard[5].src = "../navi/9.gif"
        standard[6].src = "../navi/11.gif"
        standard[7].src = "../navi/13.gif"
        standard[8].src = "../navi/15.gif"
        standard[9].src = "../navi/17.gif"
        standard[10].src = "../navi/19.gif"
        standard[11].src = "../navi/21.gif"
        standard[12].src = "../navi/31.gif"
        standard[13].src = "../navi/33.gif"
        standard[14].src = "../navi/37.gif"
        standard[15].src = "../navi/23.gif"
        standard[16].src = "../navi/35.gif"
        over[1].src = "../navi/2.gif"
        over[2].src = "../navi/4.gif"
        over[3].src = "../navi/6.gif"
        over[4].src = "../navi/8.gif"
        over[5].src = "../navi/10.gif"
        over[6].src = "../navi/12.gif"
        over[7].src = "../navi/14.gif"
        over[8].src = "../navi/16.gif"
        over[9].src = "../navi/18.gif"
        over[10].src = "../navi/20.gif"
        over[11].src = "../navi/22.gif"
        over[12].src = "../navi/32.gif"
        over[13].src = "../navi/34.gif"
        over[14].src = "../navi/38.gif"
        over[15].src = "../navi/24.gif"
        over[16].src = "../navi/36.gif"
   }//End if
   
 }//End function

function MakeArray(n){
        this.length = n
        for (var i = 1; i<=n; i++){
                this[i] = new Image()
        }
        return this
 }//End function

 
function msover(num){
	if ((navigator.userAgent.substring(0,9) == "Mozilla/3") ||  (navigator.userAgent.substring(0,9) == "Mozilla/4")){
                if (over[num].src != ""){
                        document.images[(num+1)-2].src = over[num].src
                }//End if
    }//End if
}//End function



function msout(num){
	if ((navigator.userAgent.substring(0,9) == "Mozilla/3") || (navigator.userAgent.substring(0,9) == "Mozilla/4")) {
                if (standard[num].src != ""){
                        document.images[(num+1)-2].src = standard[num].src
                }//End if
    }//End if
}//End function


/*************************************************************************/
/* 		Función que muestra la fecha actual */
/*************************************************************************/
function fechaActual() {
days = new Array();
days[0] = "Domingo";days[1] = "Lunes";days[2] = "Martes";days[3] = "Miercoles";days[4] = "Jueves";days[5] = "Viernes";days[6] = "Sabado";
months = new Array();months[0] = "Enero";months[1] = "Febrero";months[2] = "Marzo";months[3] = "Abril";months[4] = "Mayo";months[5] = "Junio";months[6] = "Julio";months[7] = "Augosto";months[8] = "Septiembre";months[9] = "Octubre";months[10] = "Noviembre";months[11] = "Deciembre";
var today = new Date();
document.write(days[today.getDay()]+", ");
document.write(today.getDate()+"  de ");
document.write(months[today.getMonth()]+" ");
theYear=today.getYear();
if (theYear<1900) theYear=theYear+1900; 
document.write(" del " + theYear);
}

/*************************************************************************/
/* 		Función que abre una ventana */
/*************************************************************************/

function popUp(url) {
sealWin=window.open(url,"win");
self.name = "mainWin"; }
