var newsText = new Array(); newsText[0] = 'A handful of places remain on the 12-week Foundation Course commencing on 19 May 2008. Please don\'t delay in applying. For further details please visit the \'Courses\' section on this website or call 01302 861000 for an application pack. '; newsText[1] = 'Conditional jockey Ewan Whillans steers Lady Bluesky to victory in the bumper at Wetherby. The 25/1 chance was Ewan\'s 18th winner under rules. Ewan graduated from the NRC Foundation Course in September 2002. '; newsText[2] = 'Former Pony Racing champion Felix de Giles continues his fine run of form with a win in the Conditional Jockeys\' Handicap Hurdle at Wetherby. Felix has ridden 19 winners this season, although this was his first at the West Yorkshire course. '; newsText[3] = 'Flat jockey Fergal Lynch continues to boot home the winners as he scores on the David Barker trained Rebel Duke in the opener at Southwell Racecourse. The 30-year-old completed the NRC Foundation Course in March 1994. '; newsText[4] = 'Two Northern Racing College graduates battle it out in the 5f Handicap at Southwell Racecourse. Crossing the line apprentice Mark Lawson got the better of Paul Fessey to win by a neck. '; newsText[5] = 'Conditional jockey Ryan Mania continues his winning streak with an impressive victory at Hexham Racecourse aboard the Peter Monteith trained Raysrock. Ryan, 19, completed his NVQ Level 2 with the Northern Racing College in 2006. '; newsText[6] = 'Matthew Dickinson found success at Hexham Racecourse when steering the George Moore trained Bentons Choice to a 13 length win in the extended two mile National Hunt Flat Race. This was Matthew\'s sixth win from 13 rides in this type of race, giving him an enviable strike rate of 46%. Matthew, 21, completed the NRC Foundation Course in December 2003. '; var ttloop = 1; // Repeat forever? (1 = True; 0 = False) var tspeed = 50; // Typing speed in milliseconds (larger number = slower) var tdelay = 2000; // Time delay between newsTexts in milliseconds var dwAText, cnews=0, eline=0, cchar=0, mxText; function doNews() { mxText = newsText.length - 1; dwAText = newsText[cnews]; setTimeout("addChar()",1000) } function addNews() { cnews += 1; if (cnews <= mxText) { dwAText = newsText[cnews]; if (dwAText.length != 0) { getElem('typer').innerHTML = ""; eline = 0; setTimeout("addChar()",tspeed) } } } function addChar() { if (eline!=1) { if (cchar != dwAText.length) { nmttxt = ""; for (var k=0; k<=cchar;k++) nmttxt += dwAText.charAt(k); getElem('typer').innerHTML = nmttxt; cchar += 1; if (cchar != dwAText.length) getElem('typer').innerHTML += "_"; } else { cchar = 0; eline = 1; } if (mxText==cnews && eline!=0 && ttloop!=0) { cnews = -1; setTimeout("addNews()",tdelay); } else setTimeout("addChar()",tspeed); } else { setTimeout("addNews()",tdelay) } } doNews()