var days=new Array(8);
days[7]="Samedi";
days[1]="Dimanche";
days[2]="Lundi";
days[3]="Mardi";
days[4]="Mercredi";
days[5]="Jeudi";
days[6]="Vendredi";
var months=new Array(13);
months[1]="Janvier";
months[2]="F&eacute;vrier";
months[3]="Mars";
months[4]="Avril";
months[5]="Mai";
months[6]="Juin";
months[7]="Juillet";
months[8]="Ao&ucirc;t";
months[9]="Septembre";
months[10]="Octobre";
months[11]="Novembre";
months[12]="Decembre";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var lday=days[time.getDay() + 1];
var date=time.getDate();
var year=time.getYear();
if (year < 2000)
year = year + 1900; 
document.write("<title>Ataxie de Friedreich - " + lday + " " + date + " " + lmonth + " " + year + "</title>");
self.moveTo(0,0);

var msg = "Bienvenue sur le site de l'Association Française de l'Ataxie de Friedreich";
var espace = "            "; 
pos=0; 
coul=0;
lplus = 1;
function defilement(){ 
	texte =msg.substring(pos,msg.length)+ espace + msg.substring(0,pos); 
	window.status= texte;
	pos++; 
	if ( lplus==1 )coul++; else coul--;
	if (coul==255) lplus =0;
	if (coul==0) lplus =1;
	if (pos > msg.length) 
		pos=0 ;
	window.setTimeout("defilement()", 100) ;
} 

function valider()
	{
	email = document.newsmail.abonne.value;
	var at = /@/;
        if(at.test(email))
        {
        document.newsmail.submit();
        }
        else
	{
	alert('Cette adresse e-mail est incorrecte !');
	}
 	};
	
  	textcolor= "#ffffff";
textcolor2= "#E11101";
function d(texte)
	{
	document.write(texte);
	}
d('<STYLE TYPE="text/css">\na.mv3style {color:'+textcolor+';text-decoration:none;}\na:hover.mv3style {color:'+textcolor2+';text-decoration:underlined;}\n</STYLE>');	

function loadScript(str) {
 location.href = str ;
};
function loadScript1(str) {
 Newin = window.open( '','','toolbar=1,location=0,directories=0,status=0,scrollbars=1,copyhistory=0,menuBar=0');
 Newin.location.href = str ;
};

//PLF-http://www.jejavascript.net/
var num=0

function changer() {
if (num == 0) {
num = 1;
document.image.src = "images/deglutition.png";// grande image
document.image.width = 762;
document.image.height = 7521;
}
else {
num = 0;
document.image.src = "images/deglutition.png";// petite image
document.image.width = 70;
document.image.height = 194;
}
}
//-->
