function bissex(n){    // VŽrifie si l'annŽe n est bissextile    var resultat=0;        if (n%4==0)    {	resultat=1;	if (n%100==0)	{	    resultat=0;	    if (n%400==0) resultat=1	}    }    return resultat}	function jour(n){    // NumŽro du jour dans le mois rŽpublicain (1 ˆ 30)    var result;    result=n%30;    if (result==0)    result=30;    return result}function mois(n){    // NumŽro du mois rŽpublicain (1 ˆ 12)    var result;    result=Math.floor(n/30+1);    if (jour(n)==30)    result=result-1;    return result}		//**********************************************************************	//			Corps principal du script	//	// Nombre de jours ŽcoulŽs depuis le 22/09/1992 - 1er VendŽmiaire 208	//	//**********************************************************************    var numero;    var t;    var jj,mm,aa;    var anRep;    var j;    var m;    var annee;    var numero;    var resultat;    nomMois=new Array(11);    nomComp=new Array(5);    nmois=new Array(11);    Vend=new Array(11);            nomMois[0]="Vend&#233;miaire"; nomMois[1]="Brumaire";    nomMois[2]="Frimaire"; nomMois[3]="Niv&#244;se";    nomMois[4]="Pluvi&#244;se"; nomMois[5]="Vent&#244;se";    nomMois[6]="Germinal"; nomMois[7]="Flor&#233;al";    nomMois[8]="Prairial"; nomMois[9]="Messidor";    nomMois[10]="Thermidor"; nomMois[11]="Fructidor";    nomComp[0]="F&#234;te de la Vertu"; nomComp[1]="F&#234;te du G&#233;nie";    nomComp[2]="F&#234;te du Travail"; nomComp[3]="F&#234;te de l'Opinion";    nomComp[4]="F&#234;te des R&#233;compenses"; nomComp[5]="F&#234;te de la R&#233;volution";        nmois[0]=31; nmois[1]=28; nmois[2]=31; nmois[3]=30; nmois[4]=31; nmois[5]=30;    nmois[6]=31; nmois[7]=31; nmois[8]=30; nmois[9]=31; nmois[10]=30; nmois[11]=31;        Vend[0]=23; Vend[1]=22; Vend[2]=22; Vend[3]=23; Vend[4]=22; Vend[5]=22;    Vend[6]=22; Vend[7]=23; Vend[8]=22; Vend[9]=22; Vend[10]=22; Vend[11]=23;            t=new Date();            jj=t.getDate();    mm=t.getMonth()+1;    aa=t.getYear();        if (aa<1900) aa +=1900;    aa -=2000;        if ((mm<9) || (mm==9 && jj<Vend[aa]))    {	numero=123-Vend[aa-1];	for (i=0; i<mm-1; i++) numero +=nmois[i];	numero +=jj;	if (mm>2) numero +=bissex(aa+2000);	anRep=aa+208    }    else    {	if (mm==9)	numero=jj-Vend[aa]+1	else	{	    numero=30-Vend[aa]+1;	    for (i=9; i<mm-1; i++) numero +=nmois[i];	    numero +=jj;	}	anRep=aa+209    }        j=jour(numero);    m=mois(numero);          if (m<13)    {	if (j==1)	resultat="1er "+nomMois[m-1]	else	resultat=j.toString()+" "+nomMois[m-1]    }    else    resultat=nomComp[j-1];    resultat +=", An "+anRep.toString();        document.write("<CENTER>"+resultat.bold().fontcolor("green")+"</CENTER><BR>");           if (location.href.substring(0,35)=="http://prairial.free.fr/calendrier/")    document.write("<CENTER>de la R&#233;publique Sociale, Universelle et Indivisible</CENTER><BR>");       // Date grŽgorienne courante    if (t.getMonth() == 0) Month = "Janvier";    if (t.getMonth() == 1) Month = "F&#233;vrier";    if (t.getMonth() == 2) Month = "Mars";    if (t.getMonth() == 3) Month = "Avril";    if (t.getMonth() == 4) Month = "Mai";    if (t.getMonth() == 5) Month = "Juin";    if (t.getMonth() == 6) Month = "Juillet";    if (t.getMonth() == 7) Month = "Ao&#251;t";    if (t.getMonth() == 8) Month = "Septembre";    if (t.getMonth() == 9) Month = "Octobre";    if (t.getMonth() == 10) Month = "Novembre";    if (t.getMonth() == 11) Month = "D&#233;cembre";    year=t.getYear()    if (year<1900) year +=1900;        grego=t.getDate()+" "+Month+" "+year;    document.write("<center>(".small()+grego.italics().small()+")</center><BR>".small());