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";}
if(month==2) {february(today.getDate());document.month="février";}
if(month==3) {march(today.getDate());document.month="mars";}
if(month==4) {april(today.getDate());document.month="avril";}
if(month==5) {may(today.getDate());document.month="mai";}
if(month==6) {june(today.getDate());document.month="juin";}
if(month==7) {july(today.getDate());document.month="juillet";}
if(month==8) {august(today.getDate());document.month="aout";}
if(month==9) {september(today.getDate());document.month="septembre";}
if(month==10) {october(today.getDate());document.month="octobre";}
if(month==11) {november(today.getDate());document.month="novembre";}
if(month==12) {december(today.getDate());document.month="décembre";}

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="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 !";}
function june(date) {if(date==21)date_statement="C'est l'été !";}
function july(date) {if(date==14)date_statement="Bonne Fête Nationale !";}
function august(date) {}
function september(date) {if(date==21)date_statement="C'est l'Automne !";}
function october(date) {if(date==31)date_statement="Happy Halloween.";}
function november(date) {}
function december(date) {if(date==21)date_statement+="Couvrez-vous c'est l'hiver !";if(date==25)date_statement="Joyeux Noël !";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 !,"
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="Bonne nuit,"
}

// -- End Hiding Here -->