	//Space01.co.uk Ticker for friends provident

	//global vars

	var myTimeout;
	var theStorySummary;
	var theTargetLink;
	var theTickerDiv;
	var theTDObject;
	var theAnchorObject;
	var theFadingTagIds = new Array();
	var theTDTagIds = new Array();

	var unknownTagType		= -1;
	var dateTagType			= 0;
	var storyTagType		= 1;
	var theCurrentTagType	= unknownTagType;
	var theCurrentFadeStep  = 0;
	var theCurrentStory		= -1;
	var theCurrentLength 	= 0;
	var theTickerRowIndex   = 0;
	var theArticleFadeCompleted = false;
	var theArticleFadeInit = false;


	//configurable vars

	var theStartColor= new Array(0,51,153); 	// start color (red, green, blue)
	var theEndColor=new Array(255,255,255); 	// end color (red, green, blue)
	var theFadeTimeout 		= 50; 				// gap in millisecs between color fade changes
	var theFadeMaxSteps		= 60; 				// max number of color changes to theEndColor
	var theCharacterTimeout = 0; 				// gap in millisecs between char writes
												// time in millisecs to complete fade, theFadeMaxSteps*theFadeTimeout
	var theStoryTimeout     = 0;				// gap in millisecs between stories being written
	var theLastStoryToFadeTimeout = 5000;   	// gap between last story and fade
	var theTickerDivId 		= "divTicker" 		//should match the id of the div above
	var theMaxRows			= 3;				//maximum number of rows displayed before reset
	var theStoryPause		= 0;				//gap in millisecs between fade in and next line write

												//construct a grid of data

	var theSummaries = new Array();
	var theSiteLinks = new Array();
	var theDates = new Array();