atmo_box_message = new Array;
atmo_box_message[0] = 'N\'hesitez pas consulter les sites de nos partenaires<br /><br />Cliquer sur la rubrique "liens"';
atmo_box_message[1] = 'Les indices atmo en france ??? <br /><br />C\'est sur <A HREF="http://www.buldair.org" target="blank"><B>buld\'air</B></A>'; 

atmo_box_actual = 0;
atmo_box_html_flag = 0;
 
function atmo_box_go()
{
 	if(document.getElementById)
	{
 		atmo_box_char = 1;
 		atmo_box_affich(atmo_box_actual)
 		atmo_box_actual++;
 		if(atmo_box_actual >= atmo_box_message.length)
 			atmo_box_actual = 0;
	}		
}
 
function atmo_box_affich(lactual)
{
 	var pix = atmo_box_message[lactual].charAt(atmo_box_char);
 	if(pix == "<")
 		atmo_box_html_flag = 1;
 	if(pix == ">")
 		atmo_box_html_flag = 0;
 	
 		var texte = atmo_box_message[lactual].substring(0,atmo_box_char);
 	document.getElementById("atmo_box_box").innerHTML = texte;
 	if(atmo_box_char < atmo_box_message[lactual].length)
 	{
 		atmo_box_char++;
 		if(atmo_box_html_flag == 1)	
 			atmo_box_affich(lactual);
 		else
 			setTimeout("atmo_box_affich("+lactual+")",50)
 	}
 	else
 		setTimeout("atmo_box_go()",3000)
}
 