//PLF - http://www.jejavascript.net/
function writext(texdef)
	{
	document.write(texdef);
	}

writext('<DIV ID=txt_scroll_relativ onMouseOver="txt_scroll_stop()" onMouseOut="txt_scroll_rstart()" STYLE="position:relative;width:'+txt_scroll_width +';height:'+txt_scroll_height+';background-color:'+txt_scroll_bgcolor+';background-image:url('+txt_scroll_background+')">');
writext('<DIV ID=txt_scroll_cadre STYLE="position:absolute;width:'+(txt_scroll_width -8)+';height:'+(txt_scroll_height-8)+';top:4;left:4;clip:rect(0 '+(txt_scroll_width -8)+' '+(txt_scroll_height-8)+' 0)">');
writext('<div id=txt_scroller_1 style="position:absolute;width:'+(txt_scroll_width -8)+';left:0;top:0;" CLASS="txt_scroll" >'+txt_scroll_info[0]+'</DIV>');
writext('<div id=txt_scroller_2 style="position:absolute;width:'+(txt_scroll_width -8)+';left:0;top:'+txt_scroll_height+';" CLASS="txt_scroll" >'+txt_scroll_info[1]+'</DIV>');
writext('</DIV></DIV>');

txt_scroll_1 =1;
txt_scroll_2 = 0;
stop_mouss=0;

function txt_scroll_f1()
	{
	if(txt_scroll_1 == 1)
		{
		txt_scroller_haut = "txt_scroller_1";
		txt_scroller_bas = "txt_scroller_2";
		txt_scroll_1 = 0;
		}
	else
		{
		txt_scroller_bas = "txt_scroller_1";
		txt_scroller_haut = "txt_scroller_2";
		txt_scroll_1 = 1;
		}
	txt_scroll_nb_info = txt_scroll_info.length-1;
	if(txt_scroll_2 == txt_scroll_nb_info)
		txt_scroll_next = 0;
	else
		txt_scroll_next = txt_scroll_2+1;
	if(document.getElementById)
		document.getElementById(txt_scroller_bas).innerHTML = txt_scroll_info[txt_scroll_next];
	txt_scroll_top = 0;
	if(document.getElementById)
	move1=setTimeout("txt_scroll_f2 ()",txt_scroll_pause)
	}

function txt_scroll_f2 ()
	{
if (stop_mouss == 0)
{	
	txt_scroll_top -= 1;
	document.getElementById(txt_scroller_haut).style.top = txt_scroll_top;
	document.getElementById(txt_scroller_bas).style.top = txt_scroll_top+txt_scroll_height;
	if((txt_scroll_top+txt_scroll_height) > 0)
	move2=setTimeout("txt_scroll_f2 ()",10)
	else
		txt_scroll_f3()
}
else	move1=setTimeout("txt_scroll_f2 ()",1000)	
	}

function txt_scroll_f3()
	{
	txt_scroll_2 = txt_scroll_next;
	txt_scroll_f1()
	}
function txt_scroll_stop()
	{
	stop_mouss=1;
	}
function txt_scroll_rstart()
	{
	stop_mouss=0;
	}	
window.onload = txt_scroll_f1;


