
 
// Ticker startup
function startTicker()
{
	// Define run time values
	theCurrentStory     = -1;
	theCurrentLength    = 0;
	// Locate base objects
	if (document.getElementById) {	
		    theAnchorObject     = document.getElementById("movingtext");
			runTheTicker();   	
		 }
	else {
            document.write("<style>.backdropStrong{display:none;}.ticko{}</style>");
            return true;
	}
}
// Ticker main run loop
function runTheTicker()
{
	var myTimeout;  
	// Go for the next story data block
	if(theCurrentLength == 0)
	{
		theCurrentStory++;
		theCurrentStory      = theCurrentStory % theItemCount;
		theStorySummary      = theSummaries[theCurrentStory].replace(/&quot;/g,'"');		
		theTargetLink        = theSiteLinks[theCurrentStory];
		theAnchorObject.href = theTargetLink;
		thePrefix 	     = "<span class=\"tickls\">" + theLeadString + "</span>";
	}
	// Stuff the current ticker text into the anchor
	theAnchorObject.innerHTML = thePrefix + 
	theStorySummary.substring(theSiteLinks[3] = "http://www.dar411.com/restaurants/2006/July/2496_20060623.php";
		
		theSummaries[4] = "Is your Restaurant listed in our site, logging to Dar411 NOW!...";
		theSiteLinks[4] = "http://www.dar411.com/restaurants/2006/July/2496_20060623.php";
	

	startTicker();
	
