// --
// 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 = "ZONDAG"};
if (dayofweek == 1) {dayofweek = "MAANDAG"};
if (dayofweek == 2) {dayofweek = "DINSDAG"};
if (dayofweek == 3) {dayofweek = "WOENSDAG"};
if (dayofweek == 4) {dayofweek = "DONDERDAG"};
if (dayofweek == 5) {dayofweek = "VRIJDAG"};
if (dayofweek == 6) {dayofweek = "ZATERDAG"};
var month = today.getMonth();
if (month == 0) {month = "JANUARI"};
if (month == 1) {month = "FEBRUARI"};
if (month == 2) {month = "MAART"};
if (month == 3) {month = "APRIL"};
if (month == 4) {month = "MEI"};
if (month == 5) {month = "JUNI"};
if (month == 6) {month = "JULI"};
if (month == 7) {month = "AUGUSTUS"};
if (month == 8) {month = "SEPTEMBER"};
if (month == 9) {month = "OKTOBER"};
if (month == 10) {month = "NOVEMBER"};
if (month == 11) {month = "DECEMBER"};
var monthnext = today.getMonth()+1;
if (monthnext == 12) {monthnext = 0};
if (monthnext == 0) {monthnext = "JANUARI"};
if (monthnext == 1) {monthnext = "FEBRUARI"};
if (monthnext == 2) {monthnext = "MAART"};
if (monthnext == 3) {monthnext = "APRIL"};
if (monthnext == 4) {monthnext = "MEI"};
if (monthnext == 5) {monthnext = "JUNI"};
if (monthnext == 6) {monthnext = "JULI"};
if (monthnext == 7) {monthnext = "AUGUSTUS"};
if (monthnext == 8) {monthnext = "SEPTEMBER"};
if (monthnext == 9) {monthnext = "OKTOBER"};
if (monthnext == 10) {monthnext = "NOVEMBER"};
if (monthnext == 11) {monthnext = "DECEMBER"};
var dayofmonth = today.getDate();
var year = today.getFullYear();
function countdown1() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("JANUARY 28, 2009 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Bonds Meester Klasse</b>, sluiting inzending: nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de uiterste inzenddatum voor de <b>BMK</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de uiterste inzenddatum van de <b>BMK</b> <br>");
};
  if (newstoday == 0) {document.write("Bonds Meester Klasse <br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown2() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("APRIL 5, 2009");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>BondsFotoWedstrijd</b>, openbare bespreking: nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de openbare bespreking van de <b>BondsFotoWedstrijd</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de openbare bespreking van de <b>BondsFotoWedstrijd</b> <br>");
};

  if (newstoday == 0) {document.write("BondsFotoWedstrijd <br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown3() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("SEPTEMBER 26, 2009");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("Opening tentoonstelling <b>Foto Nationaal 2009</b>, nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de opening van <b>Foto Nationaal 2009</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de opening van <b>Foto Nationaal 2009</b> <br>");
};

  if (newstoday == 0) {document.write("Foto Nationaal 2009 <br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown4() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("OCTOBER 19, 2008");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Digitale dag</b>, nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de <b>Digitale dag</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de <b>Digitale dag</b> <br>");
};

  if (newstoday == 0) {document.write("Digitale dagl<br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown5() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("OCTOBER 28, 2009 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Foto Individueel</b>, Sluiting inzending: nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de uiterste inzendatum van <b>Foto Individueel</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag de uiterste inzendatum van <b>Foto Individueel</b> <br>");
};
  if (newstoday == 0) {document.write("Foto Individueel <br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown6() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("NOVEMBER 26, 2009 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Foto Online</b>, sluiting inzending: nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de uiterste inzenddatum van <b>Foto Online</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de uiterste inzenddatum van <b>Foto Online</b> <br>");
};
  if (newstoday == 0) {document.write("Foto Online <br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown7() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("APRIL 19, 2008 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Algemene Ledenvergadering</b>, in Amersfoort: nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de <b>Algemene Ledenvergadering</b> in Amersfoort<br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de <b>Algemene Ledenvergadering</b> in Amerfoort <br>");
};
  if (newstoday == 0) {document.write("Algemene Ledenvergadering <br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown8() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("NOVEMBER 11, 2006 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Fotofestival aan de Maas</b>, Rotterdam: over <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen en overmorgen</b></font> is het <b>Fotofestival aan de Maas</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag en morgen is het <b>Fotofestival aan de Maas</b> <br>");
};
  if (newstoday == 0) {document.write("Fotofestival aan de Maas<br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown9() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("OCTOBER 3, 2009 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>FIAP World Cup</b>, sluiting inzending: nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de uiterste inzenddatum van <b>FIAP World Cup</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de uiterste inzenddatum van <b>FIAP World Cup</b>  <br>");
};
  if (newstoday == 0) {document.write("FIAP World Cup voor clubs<br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}


function countdown10() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("APRIL 21, 2007 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Algemene ledenvergadering</b>, nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de <b>Algemene ledenvergadering</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de <b>Algemene ledenvergadering</b>  <br>");
};
  if (newstoday == 0) {document.write("Algemene ledenvergadering<br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}


function countdown11() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("MAY 17, 2007 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>Fotofestival Naarden</b>, t/m 10 juni, nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de opening van het <b>Fotovestival Naarden</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de opening van het <b>Fotofestival Naarden</b>  <br>");
};
  if (newstoday == 0) {document.write("<b>Fotofestival Naarden</b> tot en met 10 juni<br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}

function countdown12() {
  document.write("<table border='0' cellpadding='0' cellspacing='0'>");
  document.write("<tr><td class=klein>");
  var vandaag = new Date();
  var totdatum = new Date("JANUARY 31, 2008 ");
  var verschil = totdatum.getTime() - vandaag.getTime();
  verschil = Math.floor(verschil / (1000 * 60 * 60 * 24));
  if (verschil >= 1) {
    newstoday = 1
    document.write("<b>6th Holland International Image Circuit 2008</b>, <br>sluiting inzending, nog <font color='#CC3300'><b>" + verschil + "</b></font> dagen <br>");
};
  if (verschil == 0) {
    newstoday = 1
    document.write("<font color='#CC3300'><b>Morgen</b></font> is de sluiting inzending van het <br><b>6th Holland International Image Circuit 2008</b> <br>");
};
  if (verschil == -1) {
    newstoday = 1
    document.write("Vandaag is de sluiting van de inzending voor <br><b>6th Holland International Image Circuit 2008</b>  <br>");
};
  if (newstoday == 0) {document.write("<b>Fotofestival Naarden</b> tot en met 10 juni<br>")};
  newstoday = 0;
document.write("</td></tr></table>");
}
