/* 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/
Licensed under: U.S. Copyright */

var text = 0;

var message=new Array();
  message[0] = "What would you do with an extra hour every day?"
  message[1] = "How long has it been since you had a vacation?"
  message[2] = "Do you just wish you had a little trustworthy support?"
  message[3] = "Is disorganization cramping your style? "
  message[4] = "Wondering how to keep up with social media when you're already swamped?"
  message[5] = "Do you agonize over writing articles, posts, or ad copy?"
  message[6] = "Don't know what SEO is and don't have time to learn?"
  message[7] = "Wouldn't it be nice to spend some quality time with your kids?"
  message[8] = "Are you tired of having to do everything yourself?"
function changeText() {
  if (message.length > 0) {
    document.change.descript.value=message[text];
    text++;
  }
  if (text == 9) {text = 0; }  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 4000); }  // 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();
});

