<!--
var ns4 = (document.layers)? true:false;				//NS 4
var ie4 = (document.all)? true:false;					//IE 4
var dom = (document.getElementById)? true:false;	//DOM

//Paramètre à définir
var DivWidth = 900;			//Largeur du DIV contenant le message
var ScrollSpeed = 17;		//vitesse du message (tempo en millisecondes)
var ScrollSpeedIE = 17;		//vitesse du message (tempo en millisecondes)
var ScrollSpeedN = 17;		//vitesse du message (tempo en millisecondes)


//Déclaration des variables globales
var DivLeft	= 0;				//Position du Div par rapport au côté gauche de la page
var DivTop	= 0;				//Position du Div par rapport au haut de la page
var MessageWidth = 0;		//Largeur du Message
var first = true;				//Indication de démarrage du défilement
var StartPos = 0;				//Position de départ du DIV contenant le message
var EndPos = 0;				//Position finale du DIV contenant le message
var MyPos = StartPos;		//Position courante du DIV contenant le message
var DivClipLeft = 0;			//Début de la partie visible du DIV
var DivClipRight = 0;		//Fin de la partie visible du DIV


function ScrollInit(ID_Anchor,Name_Anchor,ID_Div)
//Fonction faisant l'initialisation du DIV contenant le message
//et le lancement du défilement du message
	{
	if (dom)
		{
		pos = document.getElementById(ID_Anchor);
		MessageWidth = document.getElementById(ID_Div).offsetWidth;
		DivLeft = getLeft(pos);
		DivTop = getTop(pos);
		StartPos = DivLeft + DivWidth;
		EndPos = DivLeft - MessageWidth;
		MyPos = StartPos;
		document.getElementById(ID_Div).style.top = DivTop;
		setInterval("Scrolling('"+ID_Div+"')", ScrollSpeed);
		}
	else if (ie4) 
		{
		pos = document.all[ID_Anchor];
		MessageWidth = document.all[ID_Div].clientWidth;
		DivLeft = getLeft(pos);
		DivTop = getTop(pos);
		StartPos = DivLeft + DivWidth;
		EndPos = DivLeft - MessageWidth;
		MyPos = StartPos;
		document.all[ID_Div].style.posTop = DivTop;
                setInterval("Scrolling('"+ID_Div+"')", ScrollSpeedIE);
		}
	else if (ns4)
		{
		pos = document.anchors[Name_Anchor];
		MessageWidth = document.layers[ID_Div].clip.width;
		DivLeft = pos.x;
		DivTop = pos.y;
		StartPos = DivLeft + DivWidth;
		EndPos = DivLeft - MessageWidth;
		MyPos = StartPos;
		document.layers[ID_Div].pageY = DivTop;
                setInterval("Scrolling('"+ID_Div+"')", ScrollSpeedN);
		}
	}

		
function getLeft(MyObject)
//Fonction permettant de connaître la position d'un objet
//par rapport au bord gauche de la page.
//Cet objet peut être à l'intérieur d'un autre objet.
	{
	if (MyObject.offsetParent)
		return (MyObject.offsetLeft + getLeft(MyObject.offsetParent));
	else 
		return (MyObject.offsetLeft);
	}

	
function getTop(MyObject)
//Fonction permettant de connaître la position d'un objet
//par rapport au bord haut de la page.
//Cet objet peut être à l'intérieur d'un autre objet.
	{
	if (MyObject.offsetParent)
		return (MyObject.offsetTop + getTop(MyObject.offsetParent));
	else
		return (MyObject.offsetTop);
	}


function Scrolling(ID_Div)
//Fonction faisant défilé le message
	{
	if (MyPos < EndPos) MyPos = StartPos;
	DivClipLeft = DivLeft - MyPos;
	DivClipRight = StartPos - MyPos;
	if (dom)
		{
		document.getElementById(ID_Div).style.left = MyPos;
		document.getElementById(ID_Div).style.top = DivTop;
		document.getElementById(ID_Div).style.clip = "rect(auto "+DivClipRight+"px auto "+DivClipLeft+"px)";
		if (first) document.getElementById(ID_Div).style.visibility = "visible";
		}
	else if (ie4)
		{
		document.all[ID_Div].style.posLeft = MyPos;
		document.all[ID_Div].style.posTop = DivTop;
		document.all[ID_Div].style.clip = "rect(auto "+DivClipRight+"px auto "+DivClipLeft+"px)";
		if (first) document.all[ID_Div].style.visibility = "visible";
		}
	else if (ns4)
		{
		document.layers[ID_Div].pageX = MyPos;
		document.layers[ID_Div].clip.left = DivClipLeft;
		document.layers[ID_Div].clip.right = DivClipRight;
		if (first) document.layers[ID_Div].visibility = "show";
		}
	first = false;
	MyPos = MyPos - 1;
	}
        
        
//DATE.JS
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDay() + 1;
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

//CHANGE DAYS FROM NUMBERS TO WORDS
if(day == 1) Day = "dimanche";
if(day == 2) Day = "lundi";
if(day == 3) Day = "mardi";
if(day == 4) Day = "mercredi";
if(day == 5) Day = "jeudi";
if(day == 6) Day = "vendredi";
if(day == 7) Day = "samedi";

//CHANGE MONTH FROM NUMBERS TO WORDS
if(month == 1)  Month="janvier";
if(month == 2)  Month="fevrier";
if(month == 3)  Month="mars";
if(month == 4)  Month="avril";
if(month == 5)  Month="mai";
if(month == 6)  Month="juin";
if(month == 7)  Month="juillet";
if(month == 8)  Month="août";
if(month == 9)  Month="septembre";
if(month == 10) Month="octobre";
if(month == 11) Month="novembre";
if(month == 12) Month="d&eacute;cembre";

//DEFINE TODAYSDATE
var todaysDate =(Day + " " + date + "  " + Month + " " +   year);
        
        
//-->