function xwritext(txdef)
	{
	document.write(txdef);
	}
	

xwritext('<DIV ID=t_defil_relativ onMouseOver="t_defil_stop()" onMouseOut="t_defil_rstart()" STYLE="position:relative;width:'+t_defil_width +';height:'+t_defil_height+';background-color:'+t_defil_bgcolor+';background-image:url('+t_defil_background+')">');
xwritext('<DIV ID=t_defil_cadre STYLE="position:absolute;width:'+(t_defil_width -8)+';height:'+(t_defil_height-8)+';top:4;left:4;clip:rect(0 '+(t_defil_width -8)+' '+(t_defil_height-8)+' 0)">');
xwritext('<div id=t_defiler_1 style="position:absolute;width:'+(t_defil_width -8)+';left:0;top:0;" CLASS=t_defil >'+t_defil_info[0]+'</DIV>');
xwritext('<div id=t_defiler_2 style="position:absolute;width:'+(t_defil_width -8)+';left:'+t_defil_width+';top:0;" CLASS=t_defil >'+t_defil_info[1]+'</DIV>');
xwritext('</DIV></DIV>');

t_defil_1 =1;
t_defil_2 = 0;
s_mouss=0;

txt_defil_1 =1;
txt_defil_2 = 0;
stop_mouss=0;

function t_defil_f1()
	{
			
	if(t_defil_1 == 1) 
		{
		t_defil_haut = "t_defiler_1";
		t_defil_bas = "t_defiler_2";
		t_defil_1 = 0;
		}
	else
		{
		t_defil_bas = "t_defiler_1";
		t_defil_haut = "t_defiler_2";
		t_defil_1 = 1;
		}
	t_defil_nb_info = t_defil_info.length-1; 
	if(t_defil_2 == t_defil_nb_info)
		t_defil_next = 0;
	else
		t_defil_next = t_defil_2+1;
	if(document.getElementById)
		document.getElementById(t_defil_bas).innerHTML = t_defil_info[t_defil_next];
	t_defil_left = 0;
	if(document.getElementById)
	xmove1=setTimeout("t_defil_f2 ()",t_defil_pause)
	}

function t_defil_f2 ()
	{
if (s_mouss == 0)
{
	t_defil_left -= 2;
	document.getElementById(t_defil_haut).style.left = t_defil_left;
	document.getElementById(t_defil_bas).style.left = t_defil_left+t_defil_width;
	if((t_defil_left+t_defil_width) > 0)
	xmove2=setTimeout("t_defil_f2 ()",10)
	else
		t_defil_f3()
}
else	xmove1=setTimeout("t_defil_f2 ()",1000)	
	}

function t_defil_f3()
	{
	t_defil_2 = t_defil_next;
	t_defil_f1()
	}
function t_defil_stop()
	{
	s_mouss=1;
	}
function t_defil_rstart()
	{
	s_mouss=0;
	}	
	
	
	
function txt_defil_f1()
	{
	if(txt_defil_1 == 1)
		{
		txt_defiler_haut = "txt_defiler_1";
		txt_defiler_bas = "txt_defiler_2";
		txt_defil_1 = 0;
		}
	else
		{
		txt_defiler_bas = "txt_defiler_1";
		txt_defiler_haut = "txt_defiler_2";
		txt_defil_1 = 1;
		}
	txt_defil_nb_info = txt_defil_info.length-1;
	if(txt_defil_2 == txt_defil_nb_info)
		txt_defil_next = 0;
	else
		txt_defil_next = txt_defil_2+1;
	if(document.getElementById)
		document.getElementById(txt_defiler_bas).innerHTML = txt_defil_info[txt_defil_next];
	txt_defil_top = 0;
	if(document.getElementById)
	move1=setTimeout("txt_defil_f2 ()",txt_defil_pause)
	}

function txt_defil_f2 ()
	{
if (stop_mouss == 0)
{	
	txt_defil_top -= 1;
	document.getElementById(txt_defiler_haut).style.top = txt_defil_top;
	document.getElementById(txt_defiler_bas).style.top = txt_defil_top+txt_defil_height;
	if((txt_defil_top+txt_defil_height) > 0)
	move2=setTimeout("txt_defil_f2 ()",10)
	else
		txt_defil_f3()
}
else	move1=setTimeout("txt_defil_f2 ()",1000)	
	}

function txt_defil_f3()
	{
	txt_defil_2 = txt_defil_next;
	txt_defil_f1()
	}
function txt_defil_stop()
	{
	stop_mouss=1;
	}
function txt_defil_rstart()
	{
	stop_mouss=0;
	}
	
	
	
	
	function goforthat()
	{
	t_defil_f1();
	txt_defil_f1();
	}	
	
	
window.onload = goforthat ;



