<!--

// This routine displays the today's date
// LatinoTek
// Renato Vizuet
// México, D.F.
// Octubre 04, 2000

todaysdate = new Date();
doomsday = new Date();
doomsday.setHours(1);
doomsday.setMinutes(0);
doomsday.setSeconds(0);
doomsday.setMonth(0);
doomsday.setDate(1);
doomsday.setYear(2000);

function display_date()
   {

   date = new Date();

   var day_of_week_number = date.getDay();
   var day_of_month = date.getDate();
   var month_number = date.getMonth();
   var year = date.getYear();
   var navigatore = navigator.appName;
   
   if (navigatore == 'Netscape')               // For Netscape browsers
     {
	   year = year + 1900;
	 }
 
   var month = '';
   var weekDay = '';

   if(month_number == 0){month = 'enero';}
   if(month_number == 1){month = 'febrero';}
   if(month_number == 2){month = 'marzo';}
   if(month_number == 3){month = 'abril';}
   if(month_number == 4){month = 'mayo';} 
   if(month_number == 5){month = 'junio';}
   if(month_number == 6){month = 'julio';}
   if(month_number == 7){month = 'agosto';}
   if(month_number == 8){month = 'septiembre';}
   if(month_number == 9){month = 'octubre';}
   if(month_number == 10){month = 'noviembre';}
   if(month_number == 11){month = 'diciembre';}
   
   if (day_of_week_number == 1) {weekDay = ' Lunes ';}
   if (day_of_week_number == 2) {weekDay = ' Martes ';}
   if (day_of_week_number == 3) {weekDay = ' Miércoles ';}
   if (day_of_week_number == 4) {weekDay = ' Jueves ';}
   if (day_of_week_number == 5) {weekDay = ' Viernes ';}
   if (day_of_week_number == 6) {weekDay = ' Sábado ';}
   if (day_of_week_number == 7) {weekDay = ' Domingo ';}
   
   document.write(day_of_month + ' de ' + month + ' de ' + year);
   
   // Includes date in document title
   var docTitle = document.title;
   document.title = docTitle + weekDay + day_of_month + ' de ' + month + ' de ' + year;

   } //end display date

// end of routine

//-->
