Array.prototype.shuffle = function( b )
{
 var i = this.length, j, t;
 while( i ) 
 {
  j = Math.floor( ( i-- ) * Math.random() );
  t = b && typeof this[i].shuffle!=='undefined' ? this[i].shuffle() : this[i];
  this[i] = this[j];
  this[j] = t;
 }

 return this;
};

function getSentencesForTicker(){
var Sentences= new Array(
'Welcome to the new Payroll Business Solutions Website!',
'"We wanted something that would better reflect our business drivers..."',
'Automated Expenses and Benefits Handling for Recruitment Agencies',
'Configurable Pay Elements',
'Occupational Sick Pay and OMP',
'"The software is very easy to handle.. makes obvious sense to a Windows user.."',
'Umbrella Company Calculations',
'Internet End Of Year filing',
'Extensive reporting capabilities',
'"We got more of what we wanted, quicker... we ended up getting a lot for our money."',
'Payroll Business Solutions now have a partnership agreement with Sybase',
'Accord MyPay: Online Payslips, Reporting and Data Entry',
'BACS Approved Bureau',
'"The links between the people who matter at PBS and our Front Office system suppliers are very strong..."',
'Up-to-the-minute compatibility with HMRC DPS',
'CIS Online Verification and Monthly Returns',
'SSP, SMP, SPP',
'"The consultant was able to make suggestions that would never have occurred to us..."',
'Partners with IQX for end-to-end Recruitment Agency solutions',
'Powerful accounting features including payroll cost journal output',
'Competitive Bureau rates',
'"We`re very pleased now to be able to offer email payslips to all employees..."',
'Oracle testing underway',
'Software, Bureau and Hosting',
'"Many thanks for your "user friendly" – notes .....  spot on as usual !!"',
'Paperless year end for 2011, courtesy of Accord MyPay or Webmail modules',
'Invoicing and Credit Control for Recruitment Agencies',
'"You have been there for our every whim throughout 2009 .... and always assist with a smile !!"',
'"Online validation of payrolls for Bureau clients!',
'P45/46 starter and leaver online filing',
'Microsoft Certified Partner'	
);
Sentences.shuffle();
var text=Sentences.shift();

document.getElementById("ticker").innerHTML=text;
}
