
// WebTicker by Mioplanet
// www.mioplanet.com

TICKER_PAUSED = false;
var curr = 0;
var count = 0;
ticker_start();

function ticker_start() {

		count = ((document.getElementById("TICKER").scrollWidth / 2) * 30) + 200;
		reset_tick();
		TICKER_tick();
	
}

document.getElementById("TICKER").onmouseover = function(){
		TICKER_PAUSED = true;
	}
document.getElementById("TICKER").onmouseout = function(){
		TICKER_PAUSED = false;
	}

function reset_tick(){
	if(!TICKER_PAUSED)
	curr = 930;
	window.setTimeout("reset_tick()", count);
	}
function TICKER_tick() {
	// document.getElementById("TICKER").scrollLeft += TICKER_SPEED * (TICKER_RIGHTTOLEFT ? -1 : 1);
	
	if(!TICKER_PAUSED)
	curr = curr - 2;
	
	document.getElementById("TICKER_BODY").style.left = curr + "px";
	
	window.setTimeout("TICKER_tick()", 30);
}
