// --
// 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 = "THUESDAY"};
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 countdowns() {
  document.write("");
  var vandaag = new Date();
  var totdatum = new Date("APRIL 24, 2010");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 0) {
    newstoday = 1
    document.write("<font size=3 color=#FFFFFF>" + verschil + "</font>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("<font size=2 color=#000066>Six Flags Great America opens today for the 2010 season!</font><br>");
};
  if (newstoday == 0) {document.write("<font size=2 color=#000066>Six Flags now open for the 2010 season!..</font><br>")};
  newstoday = 0;
document.write("");
}
