var margin = 200;
var height = 400;
var active = true;
var news;
function init() {
	news = document.getElementById('ticker');
	news.style.marginTop = margin + 'px;';
	news.style.height = height + 'px';
	scroll();
}
function scroll() {
	if (active) margin -= 1;
	news.style.marginTop = margin + 'px';
	if (margin < -height) {
		news.style.marginTop = 300 + 'px';
		margin = 200;
	}
	setTimeout('scroll()',20);
}
function start() {
	active = true;
}
function stop() {
	active = false;
}
