var date_statement="";
var time_statement="";
var today=new Date();
var month="mmmm";
var day="ddddd";
function todays_date() 
	{
	var monthx=today.getMonth();
	var day_of_week=today.getDay();
	var year=today.getFullYear();
	date_statement="";
	month="";day="";
	monthx++; // So it's now between 1 - 12.

	if(monthx==1) {month="Janvier "+year}
	if(monthx==2) {month="Février "+year}
	if(monthx==3) {month="Mars "+year}
	if(monthx==4) {month="Avril "+year}
	if(monthx==5) {month="Mai "+year}
	if(monthx==6) {month="Juin "+year}
	if(monthx==7) {month="Juillet "+year}
	if(monthx==8) {month="Août "+year}
	if(monthx==9) {month="Septembre "+year}
	if(monthx==10) {month="Octobre "+year}
	if(monthx==11) {month="Novembre "+year}
	if(monthx==12) {month="Décembre "+year}
	
	if(day_of_week==0) day="Dimanche";
	if(day_of_week==1) day="Lundi";
	if(day_of_week==2) day="Mardi";
	if(day_of_week==3) day="Mercredi";
	if(day_of_week==4) day="Jeudi";
	if(day_of_week==5) day="Vendredi";
	if(day_of_week==6) day="Samedi";
	}


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