  TDay = new Array();
  TDay[0] = "Domingo";
  TDay[1] = "Lunes";
  TDay[2] = "Martes";
  TDay[3] = "Miércoles";
  TDay[4] = "Jueves";
  TDay[5] = "Viernes";
  TDay[6] = "Sábado"; 
  TMonth = new Array();
  TMonth[0] = "Enero";
  TMonth[1] = "Febrero";
  TMonth[2] = "Marzo";
  TMonth[3] = "Abril";
  TMonth[4] = "Mayo";
  TMonth[5] = "Junio";
  TMonth[6] = "Julio";
  TMonth[7] = "Augosto";
  TMonth[8] = "Septiembre";
  TMonth[9] = "Octubre";
  TMonth[10] = "Noviembre";
  TMonth[11] = "Diciembre";
  TDate = new Date();
  CurYear  = TDate.getYear();
  CurYear=(CurYear<2000)?1900+CurYear:CurYear;
  CurMonth = TDate.getMonth();
  CurDayOw = TDate.getDay();
  CurDay   = TDate.getDate();
  TheDate  = TDay[CurDayOw] + ', ';
  TheDate += TMonth[CurMonth] + ' ';
  TheDate += CurDay + ', ';  
  TheDate += CurYear;

function trackTime()
{
  TTime = new Date();
  CurHour = TTime.getHours();
  CurMin  = TTime.getMinutes();
  CurSec  = TTime.getSeconds();
  TheTime  = CurHour;// Add them
  TheTime += ((CurMin < 10)?':0':':') + CurMin;
  TheTime += ((CurSec < 10)?':0':':') + CurSec;
  document.examplef.time_box.value = TheTime;
}
setInterval('trackTime()',1000);