/* Scroll functionality by http://www.youngpup.net/ */
/* Ticker by NeutronCore */
//
// =======================================================
// ypSimpleScroll(	id, left, top, width, height, speed, 
//					contentWidth, initScrollLeft, 
//					initScrollTop	) // was 179
//
// last three parameters are optional.
// * ======================================================= */
var myScroll = new ypSimpleScroll("myScroll", 0, 0, 291, 179, 40, 273);
function playTicker() {
	  var text = theText.substring(0, curPos) + curIcon();
    ticker.innerHTML = text;

    if (curPos != theText.length) {
        curPos++;
		    setTimeout("playTicker()", curWait);
		    myScroll.load();
    } else {
        curPos = 0;
    } 
}
function curIcon() {
    if (curPos == theText.length) {
        return curIconEmpty;
    } else if ((curPos % 2) == 1) {
        return curIcon1;
    } else {
        return curIcon2;
    }
}
function tickerDisplay() {
	ticker.style.display = 'block';
	playTicker();
}
function tickerDisplayAction() {
	//setTimeout("tickerDisplay()", 5);
	tickerDisplay();
}
var tickerObject = new Object();
