function today()
{
	var day="";
	var month="";
	var myweekday="";
	var year="";
	
	mydate = new Date();
	myday = mydate.getDay();
	mymonth = mydate.getMonth();
	myweekday= mydate.getDate();
	weekday= myweekday;
	myyear= mydate.getYear();
	year = myyear

	if(myday == 0)
		day = " Dimanche "      
	else if(myday == 1)
		day = " Lundi "
	else if(myday == 2)
		day = " Mardi "   
	else if(myday == 3)
		day = " Mercredi "   
	else if(myday == 4)
		day = " Jeudi "
	else if(myday == 5)
		day = " Vendredi "
	else if(myday == 6)
		day = " Samedi "
		
	if(mymonth == 0)
		month = "Janvier "
	else if(mymonth ==1)
		month = "F&eacute;vrier "
	else if(mymonth ==2)
		month = "Mars "
	else if(mymonth ==3)
		month = "Avril "
	else if(mymonth ==4)
		month = "Mai "
	else if(mymonth ==5)
		month = "Juin "
	else if(mymonth ==6)
		month = "Juillet "
	else if(mymonth ==7)
		month = "Ao&ucirc;t "
	else if(mymonth ==8)
		month = "Septembre "
	else if(mymonth ==9)
		month = "Octobre "
	else if(mymonth ==10)
		month = "Novembre "
	else if(mymonth ==11)
		month = "D&eacute;cembre "
	
	document.write(day + myweekday + " " + month + year );
}

function PopUpWindow(mypage, myname, w, h, scroll)
{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4)
	{
		win.window.focus();
	}
}

function showImage()
{
	var theImages = new Array()

	theImages[0]  = './images/01.jpg'
	theImages[1]  = './images/02.jpg'
	theImages[2]  = './images/03.jpg'
	theImages[3]  = './images/04.jpg'
	theImages[4]  = './images/05.jpg'
	theImages[5]  = './images/06.jpg'
	theImages[6]  = './images/07.jpg'
	theImages[7]  = './images/08.jpg'
	theImages[8]  = './images/09.jpg'
	theImages[9]  = './images/10.jpg'
	theImages[10] = './images/11.jpg'
	theImages[11] = './images/12.jpg'
	theImages[12] = './images/13.jpg'
	theImages[13] = './images/14.jpg'
	theImages[14] = './images/15.jpg'
	theImages[15] = './images/16.jpg'

	var j = 0
	var p = theImages.length;
	var preBuffer = new Array()
	
	for (i = 0; i < p; i++)
	{
		preBuffer[i] = new Image()
		preBuffer[i].src = theImages[i]
	}
	
	var whichImage = Math.round(Math.random()*(p-1));
	
	document.write('<IMG ID="frontphoto" SRC="'+theImages[whichImage]+'" WIDTH="760" HEIGHT="175" ALT="*">');
}


