// --
// Created with JavaScript Calender generator version 1.01
// This generator is freeware and can be found at:
// http://www.abspoel.com/roel-karin/download.php
// © 2003 Roel S.F. Abspoel (roel@abspoel.com)
// --
var newstoday = 0;
var today = new Date();
var dayofweek = today.getDay();
if (dayofweek == 0) {dayofweek = "SUNDAY"};
if (dayofweek == 1) {dayofweek = "MONDAY"};
if (dayofweek == 2) {dayofweek = "TUESDAY"};
if (dayofweek == 3) {dayofweek = "WEDNESDAY"};
if (dayofweek == 4) {dayofweek = "THURSDAY"};
if (dayofweek == 5) {dayofweek = "FRIDAY"};
if (dayofweek == 6) {dayofweek = "SATURDAY"};
var month = today.getMonth();
if (month == 0) {month = "JANUARY"};
if (month == 1) {month = "FEBRUARY"};
if (month == 2) {month = "MARCH"};
if (month == 3) {month = "APRIL"};
if (month == 4) {month = "MAY"};
if (month == 5) {month = "JUNE"};
if (month == 6) {month = "JULY"};
if (month == 7) {month = "AUGUST"};
if (month == 8) {month = "SEPTEMBER"};
if (month == 9) {month = "OCTOBER"};
if (month == 10) {month = "NOVEMBER"};
if (month == 11) {month = "DECEMBER"};
var monthnext = today.getMonth()+1;
if (monthnext == 12) {monthnext = 0};
if (monthnext == 0) {monthnext = "JANUARY"};
if (monthnext == 1) {monthnext = "FEBRUARY"};
if (monthnext == 2) {monthnext = "MARCH"};
if (monthnext == 3) {monthnext = "APRIL"};
if (monthnext == 4) {monthnext = "MAY"};
if (monthnext == 5) {monthnext = "JUNE"};
if (monthnext == 6) {monthnext = "JULY"};
if (monthnext == 7) {monthnext = "AUGUST"};
if (monthnext == 8) {monthnext = "SEPTEMBER"};
if (monthnext == 9) {monthnext = "OCTOBER"};
if (monthnext == 10) {monthnext = "NOVEMBER"};
if (monthnext == 11) {monthnext = "DECEMBER"};
var dayofmonth = today.getDate();
var year = today.getFullYear();
function daily() {
  newstoday = 0;
  document.write("<table width=100% border=0 bordercolor=#CCCCCC>");
  document.write("<tr bgcolor=orange><td> ");
  document.write("<font size=2 color=white><div align=right>" + dayofweek + " " + month + " " + dayofmonth + " " + year + "</td></font></div>");
  document.write("</tr>");
  document.write("<tr bgcolor=red><td>");
  if ((month == "DECEMBER") && (dayofmonth == 18)) {
    document.write("<font size=2 color=white><li>Today is 3rd day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 19)) {
    document.write("<font size=2 color=#000066><li>Today is 4rd day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 20)) {
    document.write("<font size=2 color=#000066><li>Today is 5th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 21)) {
    document.write("<font size=2 color=#000066><li>Today is 6th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 22)) {
    document.write("<font size=2 color=#000066><li>Today is 7th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 23)) {
    document.write("<font size=2 color=#000066><li>Today is 8th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 24)) {
    document.write("<font size=2 color=#000066><li>Today is 9th day of Tamil Month of Margazhi, Year Subhanu (" + (year-2003)  + ") </font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 25)) {
    document.write("<font size=2 color=#000066><li>Today is 10th day of Tamil Month of Margazhi, Year Subhanu (" + (year-2003)  + ") </font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 26)) {
    document.write("<font size=2 color=#000066><li>Today is 11th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 27)) {
    document.write("<font size=2 color=#000066><li>Today is 12th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 28)) {
    document.write("<font size=2 color=#000066><li>Today is 13th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 29)) {
    document.write("<font size=2 color=#000066><li>Today is 14th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 30)) {
    document.write("<font size=2 color=#000066><li>Today is 15th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "DECEMBER") && (dayofmonth == 31)) {
    document.write("<font size=2 color=#000066><li>Today is 16th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 1)) {
    document.write("<font size=2 color=#000066><li>Today is 17th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 2)) {
    document.write("<font size=2 color=#000066><li>Today is 18th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 3)) {
    document.write("<font size=2 color=#000066><li>Today is 19th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 4)) {
    document.write("<font size=2 color=#000066><li>Today is 20th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 5)) {
    document.write("<font size=2 color=#000066><li>Today is 21th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 6)) {
    document.write("<font size=2 color=#000066><li>Today is 22th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 7)) {
    document.write("<font size=2 color=#000066><li>Today is 23th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 8)) {
    document.write("<font size=2 color=#000066><li>Today is 24th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 9)) {
    document.write("<font size=2 color=#000066><li>Today is 25th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 10)) {
    document.write("<font size=2 color=#000066><li>Today is 26th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 11)) {
    document.write("<font size=2 color=#000066><li>Today is 27th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 12)) {
    document.write("<font size=2 color=#000066><li>Today is 28th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 13)) {
    document.write("<font size=2 color=#000066><li>Today is 29th day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if ((month == "JANUARY") && (dayofmonth == 14)) {
    document.write("<font size=2 color=#000066><li>Today is 30th(last) day of Tamil Month of Margazhi, Year Subhanu</font></li>")
    newstoday = 1
};
  if (newstoday == 0) {document.write("<font size=2 color=#000066><li>Nothing today..</li><br></font>")};
document.write("</td></Tr></table>");
}
