
function rotatekeyfacts(num)
{
var index = randomize( 0, num) + 1;
var ct = 0;
var kfacts = new Array();

kfacts[ct]="<p>England substitute fielder Gary Pratt, who controversially ran out Australian skipper Ricky Ponting during the 2005 Ashes, landed a £3,400 windfall for a pal who had placed £100 at 33/1 that Pratt would one day play for England.</p>";
ct=ct+1;

kfacts[ct]="<p>Martingale is the most famous roulette system, and is, in theory, unbeatable. It is based on doubling your bet plus a bit more every time you lose an even money shot (e.g. red or black). However if you lose just the first eight spins you will already be making a loss of 255 times your original stake.</P>";
ct=ct+1;

kfacts[ct]="<p>The most famous Hollywood poker scene is featured in the classic 'The Cincinnati Kid', where Steve McQueen's full house is beaten by a straight flush. The odds of such a combination occurring have been calculated at an astonishing 332,220,508,619:1. Or, if the pair played fifty hands of stud an hour, eight hours a day, five days a week, the hand would arise about once every 443 years.</p>";
ct=ct+1;

kfacts[ct]="<p>28 September 1996 was by far the most significant day for punters in racing history, when Frankie Dettori rode seven consecutive winners at Royal Ascot against high odds.</p>";
ct=ct+1;


document.getElementById('keyfacts').innerHTML=kfacts[index-1];
}