/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Sandeep Gangadharan | http://sivamdesign.com/scripts/ */
var text = 0;

var message=new Array();
  message[0] = "Staff are extremely helpful and responsive - 3663"
  message[1] = "Very approachable, friendly and accommodating to our requests - 3663"
  //message[2] = "Carry on doing what you are doing! - Rapid Electronics"
  message[2] = "Always a warm reception - DBC Foodservice"
  message[3] = "Very satisfied with products and support from CSfD - O'Kanes Foodservice"
  message[4] = "CSfD products have proven to be reliable over a great many years - 3663"
  message[5] = "I am extremely content with the project management interface - DBC Foodservice"
  message[6] = "Staff are excellent! - E.H. Booth & Co"
  //message[7] = "Courteous, honest and pleasant to deal with at all times - Rapid Electronics"
  message[7] = "It’s a pleasure doing business with you - E.H. Booth &Co"
  message[8] = "The account manager is excellent at looking after our needs and responding to queries - DBC Foodservice"
  message[9] = "CSfD staff are great, a pleasure to deal with - 3663"
  message[10] = "Friendly company to do business with - Starbucks"
  message[11] = "Very professional and easy to approach - CEVA Logistics"
  message[12] = "Staff are brilliant - CEVA Logistics"
  message[13] = "Thanks very much for a job well done - 3663"
  message[14] = "Service always exceeds expectations - O'Kanes Foodservice"
  message[15] = "CSfD have been very flexible, which has proven to be invaluable - United Utilities"
  message[16] = "First Class - 3663"
  message[17] = "Professional and efficient - 3663"
  message[18] = "Good relationship with customers - Brakes Foodservice"

function changeText() {
  if (message.length > 0) {
    document.change.descript.value=message[text];
    text++;
  }
  if (text == 20) {text = 0; }  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 6500); }  // change the # on the left to adjust the speed of the
                                               // scroll. The smaller the # the faster the speed

// Multiple onload function created by: Simon Willison
// http://simon.incutio.com/archive/2004/05/26/addLoadEvent
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  changeText();
});
