/* 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] = "I have always had quick and courteous service from Central Direct ATM. " +
                " They are always on call.\n\n- Ukrainian National Home" 
                

  message[1] = "Working with Central Direct ATM has been a pleasure. They've helped me get everything up and running and are always willing to help and treat me like family! \n\n - Rochester ATM"
  message[2]= "Our calls for help are always answered promptly and courteously. They don't even get upset when the problem was due to our phone line! \n\n - Holiday Inn Auburn"
  message[3]= "Central Direct ATM has been an outstanding company to work with. \n\n - Virtual Payment Solutions"     
   message[4] = "By placing an ATM in my facility, my business has grown! I hope and look " +
                "forward to working with Central Direct ATM in the future. \n\n- Ukrainian National Home" 
  message[5]= "CDA has always there to help us understand the business and to help support our customers day or night. We are looking forward to a successful business relationship with Central Direct ATM. \n- Chase Peabody & Associates, Inc."
message[6]= "I would highly recommend the Central Direct ATM team to any organization.  \n\n - Lafayette Apple Festival"

function changeText() {
  if (message.length > 0) {
    document.change.descript.value=message[text];
    text++;
  }
  if (text == 7) {text = 0; }  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 7500); }  // 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();
});
