var date_statement="";
var time_statement="";
var today=new Date();
var month="";
var day="";
function todays_date() {
var month=today.getMonth();
var day_of_week=today.getDay();
date_statement=""
document.month=""
month++; // So it's now between 1 - 12.
if(month==1) {
january(today.getDate());
document.month="Janvier 2008";
}
if(month==2) {
february(today.getDate());
document.month="Février 2008";
}
if(month==3) {
march(today.getDate());
document.month="Mars 2008";
}
if(month==4) {
april(today.getDate());
document.month="Avril 2008";
}
if(month==5) {
may(today.getDate());
document.month="Mai 2008";
}
if(month==6) {
june(today.getDate());
document.month="Juin 2008";
}
if(month==7) {
july(today.getDate());
document.month="Juillet 2008";
}
if(month==8) {
august(today.getDate());
document.month="Août 2008";
}
if(month==9) {
september(today.getDate());
document.month="Septembre 2008";
}
if(month==10) {
october(today.getDate());
document.month="Octobre 2008";
}
if(month==11) {
november(today.getDate());
document.month="Novembre 2008";
}
if(month==12) {
december(today.getDate());
document.month="Décembre 2008";
}
document.day=""
if(day_of_week==0)
document.day="dimanche";
if(day_of_week==1)
document.day="lundi";
if(day_of_week==2)
document.day="mardi";
if(day_of_week==3)
document.day="mercredi";
if(day_of_week==4)
document.day="jeudi";
if(day_of_week==5)
document.day="vendredi";
if(day_of_week==6)
document.day="samedi";
}


function january(date) {
	if(date==1)
		date_statement="Bonne Année !";
}


function february(date) {
	if(date==14)
		date_statement="Pensez à la St Valentin !";
}


function march(date) {
	if(date==21)
		date_statement=" Aujourd'hui c'est le Printemps !";
}


function april(date) {
	if(date==1)
		date_statement="Méfiez-vous des Poissonniers !";
}


function may(date) {
	if(date==1)
		date_statement="Travailleurs, Travailleuses, bon repos !";
	if(date==10)
		date_statement+="C'est aujourd'hui mon anniversaire !";
}


function june(date) {
	if(date==21)
		date_statement="Aujourdhui c'est l'Eté !";
}

function july(date) {
	if(date==13)
		date_statement="Bonne Anniversaire Fab!";
	if(date==14)
		date_statement="Bonne Fête Nationale!";
}

function august(date) {
}


function september(date) {
	if(date==21)
		date_statement="Aujourdhui c'est l'Automne !";
}


function october(date) {
	if(date==31)
		date_statement="Bon Halloween.";
}


function november(date) {
}


function december(date) {
if(date==21)
	date_statement+="Couvrez-vous c'est l'Hiver !";
if(date==25)
	date_statement="Joyeux Noel!";
if(date==31)
	date_statement="Bon réveillon !";
}


function time_of_day() {
	var time=today.getHours();
	time_statement=""
	if(time>=6 && time<8)
		time_statement="Déjà sur le Net à cette heure !,"
	if(time>=8 && time<12)
		time_statement="Bonne matinée,"
	if(time>=12 && time<13)
		time_statement="Bon appétit," 
	if(time>=13 && time<17)
		time_statement="Bon après-midi,"
	if(time>=17 && time<22)
		time_statement="Bonsoir,"
	if(time>=22 || time<6)
		time_statement="Salut les couches-tard,"
}




