
	// Control parameters
	var theCharacterTimeout1 = 150;
	var theStoryTimeout1     = 10000;
	var theWidgetOne1        = "_";
	var theWidgetTwo1        = "-";
	var theWidgetNone1       = "";
    var theItemCount1 = theSummaries1.length;
	var NS6=(document.getElementById && !document.all) ? true : false;
	
// Ticker startup

function startTicker1()
{

	// Define run time values
	theCurrentStory1     = -1;
	theCurrentLength1    = 0;
	// Locate base objects
	if (document.getElementById) {	
			runTheTicker1();   	
		 }
	else {
            document.write("<style>.ticki1{display:none;}.ticko1{border:0px; padding:0px;}</style>");
            return true;
	}
}
// Ticker main run loop
function runTheTicker1()
{
	var myTimeout;  
	// Go for the next story data block
	if(theCurrentLength1 == 0)
	{
		theCurrentStory1++;
		theCurrentStory1      = theCurrentStory1 % theItemCount1;
		theStorySummary1      = theSummaries1[theCurrentStory1];
		theTargetLink1        = theSiteLinks1[theCurrentStory1];
	}
	
	var textTitle = theStorySummary1.substring(0,theCurrentLength1) + whatWidget1();
	
	if (theTargetLink1 ) {
	
		if (NS6) {
	document.getElementById("theTicker1").innerHTML  = '<a href="'+ theTargetLink1 +'" target="_top" class="siteNavigation">'+ textTitle +'</a>';
				 }
		else {
	document.all.theTicker1.innerHTML  = '<a href="'+ theTargetLink1 +'" target="_top" class="siteNavigation">'+ textTitle +'</a>';
				}
						} 	
	else {
		if (NS6) {
	document.getElementById("theTicker1").innerHTML = '<span class="tickertext1">'+ textTitle +'</span>';
				}
		else {
	document.all.theTicker1.innerHTML  = '<span class="tickertext1">'+ textTitle +'</span>';
				}
	}
	
	// Modify the length for the substring and define the timer
	if(theCurrentLength1 != theStorySummary1.length)
	{
		theCurrentLength1++;
		myTimeout = theCharacterTimeout1;
	}
	else
	{
		theCurrentLength1 = 0;
		myTimeout = theStoryTimeout1;
	}
	// Call up the next cycle of the ticker
	setTimeout("runTheTicker1()", myTimeout);
}

// Widget generator
function whatWidget1()
{
	if(theCurrentLength1 == theStorySummary1.length)
	{
		return theWidgetNone1;
	}

	if((theCurrentLength1 % 2) == 1)
	{
		return theWidgetOne1;
	}
	else
	{
		return theWidgetTwo1;
	}
}

startTicker1();