//<SCRIPT LANGUAGE="JavaScript">
//<!--  Mask code for old browsers

function GetStrDate()		//	retourne la date du jour (format long) dans une chaine. ex.: "Lundi 2 Janvier 1998"
{
	var dateToday, intDayName, intDay, intMonth, intYear, strDayName, strMonth;

	dateToday = new Date();
	intDayName = dateToday.getDay();
	intDay = dateToday.getDate();
	intMonth = dateToday.getMonth();
	intYear = dateToday.getYear();
	
	if (intYear < 1900) intYear += 1900;            //      intYear a partir de 1900 sur NETSCAPE et de 0 sur IE
	
	if (intDayName == 0) strDayName = "Dimanche";
	if (intDayName == 1) strDayName = "Lundi";
	if (intDayName == 2) strDayName = "Mardi";
	if (intDayName == 3) strDayName = "Mercredi";
	if (intDayName == 4) strDayName = "Jeudi";
	if (intDayName == 5) strDayName = "Vendredi";
	if (intDayName == 6) strDayName = "Samedi";
	
	if (intMonth == 0) strMonth = "janvier";
	if (intMonth == 1) strMonth = "f&eacute;vrier";
	if (intMonth == 2) strMonth = "mars";
	if (intMonth == 3) strMonth = "avril";
	if (intMonth == 4) strMonth = "mai";
	if (intMonth == 5) strMonth = "juin";
	if (intMonth == 6) strMonth = "juillet";
	if (intMonth == 7) strMonth = "ao&ucirc;t";
	if (intMonth == 8) strMonth = "septembre";
	if (intMonth == 9) strMonth = "octobre";
	if (intMonth == 10) strMonth = "novembre";
	if (intMonth == 11) strMonth = "d&eacute;cembre";
	
	return (strDayName + " " + parseInt(intDay) + " " + strMonth + " " + parseInt(intYear));
}

//	End of Script -->
//</SCRIPT>


function affiphoto(photodest,x,y)
{
var param='menubar=no, status=no,toolbar=no, resizable=no, width='+x+', height='+y+', top=100, left=135, titlebar=no, alwaysRaised=yes'; 
var newWind = window.open(photodest,"Image",param);
}
function imgover(imgname){
     imgname.src = IMG01
}

function imgout(imgname){
     imgname.src = IMG02
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.top>0&&tlayer.top<=5){
tlayer.top=0
setTimeout("move1(tlayer)",3000)
setTimeout("move2(document.main.document.second)",3000)
return
}
if (tlayer.top>=tlayer.document.height*-1){
tlayer.top-=5
setTimeout("move1(tlayer)",100)
}
else{
tlayer.top=scrollerheight
tlayer.document.write(messages[i])
tlayer.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.top>0&&tlayer2.top<=5){
tlayer2.top=0
setTimeout("move2(tlayer2)",3000)
setTimeout("move1(document.main.document.first)",3000)
return
}
if (tlayer2.top>=tlayer2.document.height*-1){
tlayer2.top-=5
setTimeout("move2(tlayer2)",100)
}
else{
tlayer2.top=scrollerheight
tlayer2.document.write(messages[i])
tlayer2.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
tdiv.style.pixelTop=0
setTimeout("move3(tdiv)",3000)
setTimeout("move4(second2)",3000)
return
}
if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
tdiv.style.pixelTop-=5
setTimeout("move3(tdiv)",100)
}
else{
tdiv.style.pixelTop=scrollerheight
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move4(whichdiv){
tdiv2=eval(whichdiv)
if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
tdiv2.style.pixelTop=0
setTimeout("move4(tdiv2)",3000)
setTimeout("move3(first2)",3000)
return
}
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
tdiv2.style.pixelTop-=5
setTimeout("move4(second2)",100)
}
else{
tdiv2.style.pixelTop=scrollerheight
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
if (document.all){
move3(first2)
second2.style.top=scrollerheight
second2.style.visibility='visible'
}
else if (document.layers){
document.main.visibility='show'
move1(document.main.document.first)
document.main.document.second.top=scrollerheight+5
document.main.document.second.visibility='show'
}
}