//función de abrir pop up agregada acá
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//fin del agregado
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
//if (daym<10)
//daym="0"+daym
var dayarray=new Array("Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado")
var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre")
document.write(dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year)

function popup(direccion,titulo,tamano) {
   window.open(direccion,titulo,tamano);
}
/*
direccion = "pirulo.html"
titulo = "Horario"
tamano = "width=400,height=500,scrollbars=no,dependent=yes"
*/
