function w(txt)
{
	document.write(txt);
}
function scr_start(){
	if(c_mode == 1){
		c_up = "c_scr_1";
		c_down = "c_scr_2";
		c_mode = 0;
	}
	else{
		c_down = "c_scr_1";
		c_up = "c_scr_2";
		c_mode = 1;
	}
	msg_arr = c_scr_msg.length;
	if(cur_no == msg_arr-1)
		msg_no = 0;
	else
		msg_no = cur_no+1;
	if(document.getElementById){
		document.getElementById(c_down).innerHTML = c_scr_msg[msg_no];
		c_top = 0;
		setTimeout("c_act()",pause_sec*1000)
	}
}

function c_act(){
	c_top -= 1;
	document.getElementById(c_up).style.top = c_top;
	document.getElementById(c_down).style.top = c_top+c_hgt;
	if((c_top+c_hgt) > 0)
		setTimeout("c_act()",10)
	else
		c_stop()
}

function c_stop(){
	cur_no = msg_no;
	scr_start()
}

function Event(){
w('<table width=560 height=181 background="Images/Events.gif"><tr><td>');
w('<div id="scroll">');

	c_wdth = 470;
	c_hgt = 130;
	pause_sec = 5;

w('<div ID="scr_rel">');
w('<div ID="scr_cadr">');
	c_tmp = '<div style="top:0" id="c_scr_1">';
	c_tmp = c_tmp + c_scr_msg[0]+'</div>';
	c_tmp = c_tmp + '<div style="top:'+c_hgt+'" id="c_scr_2">';
	c_tmp = c_tmp + c_scr_msg[1]+'</div>';
w(c_tmp);
w('</div></div>');

	c_mode = 1;
	cur_no = 0;

scr_start();

w('</div></td></tr></table>')
}
