scrl_w = 210;
scrl_h = 100;
scrl_bgc = '';
scrl_bg = '';
scrl_p = 3;

function d(txt)
	{
		document.write(txt);
	}

d('<div id=scrl_rel STYLE="position:relative;width:'+scrl_w+';height:'+scrl_h+';background-color:'+scrl_bgc+';background-image:url('+scrl_bg+')">');
d('<div id=scrl_frame STYLE="position:absolute;width:'+(scrl_w-8)+';height:'+(scrl_h-8)+';top:4;left:4;clip:rect(0 '+(scrl_w-8)+' '+(scrl_h-8)+' 0)">');
d('<div id=scrl_01 style="position:absolute;width:'+(scrl_w-8)+';left:0;top:0;">'+scrl_msg[0]+'</DIV>');
d('<div id=scrl_02 style="position:absolute;width:'+(scrl_w-8)+';left:0;top:'+scrl_h+';">'+scrl_msg[1]+'</DIV>');
d('</DIV></DIV>');

scrl_mode = 1;
scrl_cur = 0;
pause=1;

setTimeout("pause=0;",1*1000)

function scrl_start()
{
	if(scrl_mode == 1)
		{
		scrl_hi = "scrl_01";
		scrl_l = "scrl_02";
		scrl_mode = 0;
		}
	else
		{
		scrl_l = "scrl_01";
		scrl_hi = "scrl_02";
		scrl_mode = 1;
		}
	
	scrl_ln_msg = scrl_msg.length-1;
	if (scrl_cur == scrl_ln_msg)
		scrl_ss = 0;
	else
		scrl_ss = scrl_cur+1;
	if(document.getElementById)
		document.getElementById(scrl_l).innerHTML = scrl_msg[scrl_ss];
	scrl_top = 0;
	if(document.getElementById)
		setTimeout("scrl_action()",scrl_p*1000);
}

function scrl_action()
{
	if(pause==0)
		{
			scrl_top -= 1;
			document.getElementById(scrl_hi).style.top = scrl_top;
			document.getElementById(scrl_l).style.top = scrl_top+scrl_h;
			if((scrl_top+scrl_h) > 0)
				setTimeout("scrl_action()",10)
			else
				scrl_stop()
		}
	else
		{
			setTimeout("scrl_action()",scrl_p*20)
		}
}

function scrl_stop()
{
	scrl_cur = scrl_ss;
	scrl_start()
}

scrl_start();