scroll_width = 200;
scroll_height = 100;
scroll_bgcolor = '#FFFFFF';
scroll_background = "";
scroll_pause_time = 3;

document.write('<DIV ID=scroll_relativ STYLE="position:relative;width:'+scroll_width+';height:'+scroll_height+';background-color:'+scroll_bgcolor+';background-image:url('+scroll_background+')">');
document.write('<table width=100% height=100% >');
document.write('<tr><td height=100% width=100%>');
document.write('<DIV ID=scroll_cadre STYLE="position:absolute;width:'+(scroll_width-12)+';height:'+(scroll_height-12)+';top:6;left:6;clip:rect(0 '+(scroll_width-12)+' '+(scroll_height-12)+' 0)">');
document.write('<div id=scroller_1 style="position:absolute;width:'+(scroll_width-12)+';left:0;top:0;" CLASS=scroll ><table border=0 width=100% height='+(scroll_height-12)+'><tr><td height=100% width=100% align=\"center\" dir=rtl>'+scroll_message[0]+'</td></tr></table></DIV>');
document.write('<div id=scroller_2 style="position:absolute;width:'+(scroll_width-12)+';left:0;top:'+scroll_height+';" CLASS=scroll><table border=0 width=100% height='+(scroll_height-12)+'><tr><td width=100% height=100%  align=\"center\" dir=rtl>'+scroll_message[1]+'</td></tr></table></DIV>');
document.write('</DIV></td></tr></table></DIV>');

scroll_mode =1;
actual_scroll = 0;

function scroll_start()
	{
	if(scroll_mode == 1)
		{
		scroller_high = "scroller_1";
		scroller_low = "scroller_2";
		scroll_mode = 0;
		}
	else
		{
		scroller_low = "scroller_1";
		scroller_high = "scroller_2";
		scroll_mode = 1;
		}  
	scroll_nb_message = scroll_message.length-1;
	if(actual_scroll == scroll_nb_message)
		next_scroll = 0;
	else
		next_scroll = actual_scroll+1;
	
	scroll_top = 0;
	
	if(document.getElementById)
		{HTML = '<table border=0 width=100% height='+(scroll_height-12)+'><tr><td height=100% width=100%  align=\"center\" dir=rtl >';
		 HTML+= scroll_message[next_scroll];
		 HTML+= '</td></tr></table>';
		 document.getElementById(scroller_low).innerHTML=HTML
		 setTimeout("scroll_action()",scroll_pause_time*1000)}
	}

function scroll_action()
	{
	scroll_top -= 1;
	document.getElementById(scroller_high).style.top = scroll_top;
	document.getElementById(scroller_low).style.top = scroll_top+scroll_height;
	if((scroll_top+scroll_height) > 0)
		setTimeout("scroll_action()",10)
	else
		scroll_stop()
	}

function scroll_stop()
	{
	actual_scroll = next_scroll;
	scroll_start()
	}
window.onload = scroll_start ;
