// random race excuse generator

var myArray = new Array (
	['One more lap and I would have had you.',								'Race Excuse no. 01' ],
	['I ran out of gas.', 													'Race Excuse no. 02' ],
	['My visor fogged up.',													'Race Excuse no. 03' ],
	['I got a bad start.',													'Race Excuse no. 04' ],
	['My tire warmers were\'t plugged in.',									'Race Excuse no. 05' ],
	['I missed practice.',													'Race Excuse no. 06' ],
	['I missed a shift.',													'Race Excuse no. 07' ],
	['My bike is slow.',													'Race Excuse no. 08' ],
	['I was spinning the rear like crazy.',									'Race Excuse no. 09' ],
	['That lapper held me up.',												'Race Excuse no. 10' ],
	['A bolt came loose.',													'Race Excuse no. 11' ],
	['The JB weld wasn\'t dry.',											'Race Excuse no. 12' ],
	['Your bike is lighter.',												'Race Excuse no. 13' ],
	['I was gridded in the back.',											'Race Excuse no. 14' ],
	['I haven\'t ridden in awhile.',										'Race Excuse no. 15' ],
	['You\'ve got motor on me.',											'Race Excuse no. 16' ],
	['I had air in my brake lines.',										'Race Excuse no. 17' ],
	['I thought I felt rain.',												'Race Excuse no. 18' ],
	['My tires were shagged.',												'Race Excuse no. 19' ],
	['I was riding so hard, I stretched the throttle <br /> cables out.',	'Race Excuse no. 20' ],
	['I only had in one earplug.',											'Race Excuse no. 21' ],
	['My throttle hand cramped up.',										'Race Excuse no. 22' ],
	['I didn\'t have rain tires.',											'Race Excuse no. 23' ],
	['I almost ran with you there.',										'Race Excuse no. 24' ],
	['I\'ve never been at this track before.',								'Race Excuse no. 25' ],
	['My clutch was fried.',												'Race Excuse no. 26' ],
	['I had the wrong gearing.',											'Race Excuse no. 27' ],
	['It was hot out.',														'Race Excuse no. 28' ],
	['It was cold out.',													'Race Excuse no. 29' ],
	['My suspension isn\'t dialed in.',										'Race Excuse no. 30' ],
	['I lost my lucky penny.',												'Race Excuse no. 31' ],
	['My tires were gone.',													'Race Excuse no. 32' ],
	['My pitboard was wrong.',												'Race Excuse no. 33' ],
	['I was riding up a class.',											'Race Excuse no. 34' ],
	['I didn\'t know that was the last lap.',								'Race Excuse no. 35' ],
	['My steering damper came loose.',										'Race Excuse no. 36' ],
	['I didn\'t want to crash in front of my girlfriend.',					'Race Excuse no. 37' ],
	['This is my first year racing (when it\'s not).', 						'Race Excuse no. 38' ],
	['I don\'t like the rain.',												'Race Excuse no. 39' ],
	['You\'ve got a weight advantage.',										'Race Excuse no. 40' ],
	['You have slicks.',													'Race Excuse no. 41' ],
	['It\'s the bike, not me.',												'Race Excuse no. 42' ],
	['I was pushing the front all over the place!',							'Race Excuse no. 43' ],
	['I need a new bike.',													'Race Excuse no. 44' ],
	['I had you until that red flag came out.',								'Race Excuse no. 45' ],
	['This isn\'t my home track (I\'m only fast there).',					'Race Excuse no. 46' ],
	['I forgot to stretch.',												'Race Excuse no. 47' ],
	['You must be running traction control.',								'Race Excuse no. 48' ],
	['My tire pressures weren\'t set right.',								'Race Excuse no. 49' ],
	['My legs cramped up.',													'Race Excuse no. 50' ],
	['I thought there was oil on the track.',								'Race Excuse no. 51' ],
	['If I had their bike, I\'d have won.',									'Race Excuse no. 52' ],
	['I was the fastest in practice.',										'Race Excuse no. 53' ],
	['He\'s got a cheater motor.',											'Race Excuse no. 54' ],
	['I was up late last night.',											'Race Excuse no. 55' ]
); 

var arrLen = myArray.length; 
var index = 0; 
var randomExcuseDesc = "";
var randomExcuseNum = "";

var randomnumber = Math.floor(Math.random() * arrLen);

randomExcuseDesc = myArray[randomnumber][0];
randomExcuseNum = myArray[randomnumber][1];

