function runStories()
{
	// :: Set the Start Values ::
	intActiveStory = 0;
	intCurrentLen = 0;

	if (document.getElementById) {	
		    objStoryScroller = document.getElementById("StoryScroller");
		    startStories();
		 }
}

function startStories()
{
	var myTimeout;  
	// Go for the next story data block
	if(intCurrentLen == 0)
	{
		intActiveStory++;
		intActiveStory = intActiveStory % intTotalStories;
		theStorySummary = arrNewsStories[intActiveStory][0];		
		//theTargetLink        = 
		objStoryScroller.href = arrNewsStories[intActiveStory][1];
	}
	// :: update the scroller to the current story ::
	objStoryScroller.innerHTML = theStorySummary.substring(0,intCurrentLen) + '_';
	
	// :: set the length and timeout for this story ::
	if(intCurrentLen < theStorySummary.length)
	{
		intCurrentLen++;
		intTimeout = theCharacterTimeout;
	}
	else
	{
		intCurrentLen = 0;
		intTimeout = intStoryChange;
	}
	// :: loop to the next story ::
	setTimeout("startStories()", intTimeout);
}

