// Welcome Banner + Messages Modified by BPL 06/00
<!--  
var t2, j = 4; 
var TextNum = 0, Speed = 60, CntTextIn = 3;
var TextIn = new Object();
var HelpText="", Text = "";  
var WaitSpace="                                                                   ";
var TimerId, TimerSet=false;

t1 = new Array();
t1[0]=" Good",t1[1]=" Morning",t1[2]=" Afternoon",t1[3]=" Evening";
t1[4]="  -  Welcome to Wimborne Athletic Club 10 Mile Road Race.";

	today = new Date();
	t2 = today.getHours() <  12 ? t1[1]:
	     today.getHours() <  17 ? t1[2]:
	     today.getHours() <= 24 ? t1[3]:"";

TextIn[0] = t1[0] + t2 + t1[4];  
TextIn[1] = "The Wimborne 10 Mile Run - Jonathan Sharkey & Steven Way of Bournemouth AC are the 2009 winners at 54:09...";
TextIn[2] = "Wimborne 10 First Lady is Gemma Turtle (Gloucester AC) at 56:49 and a course record!";
TextIn[3] = "QE Leisure Centre - Wimborne Dorset UK";
TextIn[4] = "Changing Rooms, Refreshments, Free Car Park and a smile :-)";

for (var addWait = 0; addWait <= CntTextIn; addWait++) 
	TextIn[addWait] += WaitSpace;

function StartBanner ()  
{
   if (!TimerSet)      {
      TimerSet=true;
      Banner();
   }
}

function Banner() 
{
   j++;
   Text=RollMessage();
   TimerId = setTimeout("Banner()", Speed);
   window.status=Text;
}

function RollMessage () 
{
var CheckSpace = HelpText.substring(j-1,j);

   if (CheckSpace == " ") j++;
   if (j >= HelpText.length+1)	{
      j=0; 
      if (TextNum < CntTextIn) 	TextNum++;
      else	TextNum = 0; 
      InitBanner();
   }
   Text = HelpText.substring(0,j);
   return (Text);
}

function InitBanner()
{
   Text = TextIn[TextNum];
   HelpText = Text;
   StartBanner ();
}
//  -->