/* 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] = "Thank You for all of Your time and effort that went into making yet another AWESOME NAM Game weekend!  -Jim H"
  message[1] = "Great game guys, lots of love to all the staff, cant say that enough!  -Doug C"
  message[2] = "Anybody who plays airsoft is definitely missing out if they don't go to the NAM!  -Bill M"
  message[3] = "Wicked awesome airsoft!  -Dave S"
  message[4] = "It was awesome!  -Andrew P"
  message[5] = "I also want to thank Dave and ALL the staff for putting on an EXCELLENT event! I'm already looking forward to next year's NAM!  -Justin D"
  message[6] = "I want to thank Dave, the staff and everyone who made the NAM 7 an awesome event, I'll definitely attend the next one!  -David R"
  message[7] = "Insane!  -Matt R"
  message[8] = "The level of honor when it came to calling hits this weekend was unsurpassed in any airsoft event I have attended to date.  -Riley H"
  message[9] = "What can I say? As someone who owned an Airsoft indoor CQB and held smaller events I must say Nam 7 looked seamless...  good work.  -Dave S"

function changeText() {
  if (message.length > 0) {
    document.change.descript.value=message[text];
    text++;
  }
  if (text == 10) {text = 0; }  // change the # 4 at the left to the maximum # of message lines you want included
    window.setTimeout("changeText()", 3500); }  // 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();
});
