function ConstructorArray(n)
{
 this.length=n
 return this
}

function CadenaFecha(fecha)
{
 NombreMes = new ConstructorArray(12)

 NombreMes[0]="Enero"
 NombreMes[1]="Febrero"
 NombreMes[2]="Marzo"
 NombreMes[3]="Abril"
 NombreMes[4]="Mayo"
 NombreMes[5]="Junio"
 NombreMes[6]="Julio"
 NombreMes[7]="Agosto"
 NombreMes[8]="Septiembre"
 NombreMes[9]="Octubre"
 NombreMes[10]="Noviembre"
 NombreMes[11]="Diciembre"

 NombreDia = new ConstructorArray(7)
 NombreDia[0]="Domingo"
 NombreDia[1]="Lunes"
 NombreDia[2]="Martes"
 NombreDia[3]="Miércoles"
 NombreDia[4]="Jueves"
 NombreDia[5]="Viernes"
 NombreDia[6]="Sábado"

 var Dia= NombreDia [fecha.getDay()]
 var Mes= NombreMes [fecha.getMonth()]
 var browType=""
 browType=navigator.appName

 if(browType=="Microsoft Internet Explorer")
 {
  var Anyo=fecha.getYear()
 }
 else
 {
  var Anyo=fecha.getYear() + 1900
 }

 return Dia + ", " + fecha.getDate()+ " de " + Mes + " de " + Anyo
}

function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
