// Set an array for the days of the week
// We add a comma and a space to each for presentation
// get.day will return 0 through 6 as valid values 
word_day = new Array(
"Dimanche ",
"Lundi ",
"Mardi ",
"Mercredi ",
"Jeudi ",
"Vendredi ",
"Samedi ")

// Set an array for the Months of the year
// We add a space after the month for presentation
// get.month will return 0 through 11 as valid values 
word_month = new Array(
"Janvier ",
"Férvrier ",
"Mars ",
"Avril ",
"Mai ",
"Juin ",
"Juillet ",
"Août ",
"Septembre ", 
"Octobre ",
"Novembre ",
"Décembre ")

// Set right_now to the current date() value
right_now = new Date();

// Add Some prefixed text
document.write("Textes du JO mises à jour le ");
// Write the day of the week
document.write(word_day[right_now.getDay()]+" ");
//Write the date of the month
document.write(right_now.getDate() + " ");
// Write the Month of the year
document.write(word_month[right_now.getMonth()]);


// Write out the Year
var right_year=right_now.getYear();
if (right_year < 2000) 
right_year = right_year + 1900; 
document.write( right_year );
