monthdays = new Array(13);
monthdays[0]=31;
monthdays[1]=28;
monthdays[2]=31;
monthdays[3]=30;
monthdays[4]=31;
monthdays[5]=30;
monthdays[6]=31;
monthdays[7]=31;
monthdays[8]=30;
monthdays[9]=31;
monthdays[10]=30;
monthdays[11]=31;
monthdays[12]=31;
todayDate=new Date();
thisday=todayDate.getDay();
thismonth=todayDate.getMonth();
thisdate=todayDate.getDate();
thisyear=todayDate.getYear();
thisyear = thisyear % 100;
thisyear = ((thisyear < 50) ? (2000 + thisyear) : (1900 + thisyear));
var count2;

monthnames = new Array(
"January ",
"Februrary ",
"March ",
"April ",
"May ",
"June ",
"July ",
"August ",
"September ",
"October ",
"November ",
"Decemeber ",
"January ");

function writedoc2() {

 count2=1;

 while (count2 <= 4) {

//  if (daylink[count] != "") {
  if (daydescr[count] != "") {
   document.write("<font face=Arial size=2>" + monthnames[thismonth] + " " + count + " : </font>");

   if (daylink[count] != "") {
    document.write("<font face=Arial size=2><a class=sans href=\"" + daylink[count] + "\">" + daydescr[count] + "</a></font><br>"); 
   }

   if (daylink[count] == "") {
    document.write("<font face=Arial size=2>" + daydescr[count] + "</font><br>"); 
   }

   count2++;
  }

  count++;

  if (count > monthdays[thismonth]) {
   count=1;
   thismonth++;
   setdays2();
  }

 }

}
