/* 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] = "The current available Detroit Lions Salary Cap would be estimated at $14,156,644.  For a lot more Salary Cap information click the Salary Cap link above. "
  message[1] = "The Lions had pick #2 in the 2010 draft, click on the Draft link above for tons of draft information."
  message[2] = "Visit the Free Agency link above for information on free agents and free agency.  Information on franchise tags and transition tags also included."
  message[3] = "Draft Contests, Lion win/loss Prediction Contest, Pick-em - Survival - Salary Cap Leagues, and more.  Also see the previous winners of each contest.  Enter to win your spot in the 'hall-of-fame'"
  message[4] = "Visit the NetRat Forum to read or post in Lions or 'off topic' threads."
  message[5] = "Read NetRat's Blog - updated after every game and occasionally during the off season, see link above."
  message[6] = "Continously updated estimated Depth Chart for the next season, visit the link above."
  message[7] = "See the Links page for links to all kinds of football and Lions related stuff.  Includes links to other forums, players pages, other blogs, and any other links that got bookmarked over the years. "
  message[8] = "Go to 'Contact Me' if you have more content to be included or have any questions or suggestions or corrections."
  message[9] = "See Pictures accumulated over the years of visiting the Lions or that others have contribued.  There may be a few humerous pics on this page as well."
  message[10] = "97.1 Detroit Sports Talk Radio is online 24/7.  The link is included above."
  message[11] = "See the shortcut to MLive, one of the best 'other sources' of Lions information.  You can always right-click on the link and select 'open in a new window or tab' if you don't want to leave this site."

function changeText() {
  if (message.length > 0) {
    document.change.descript.value=message[text];
    text++;
  }
  if (text == 12) {text = 0; }  // change the # 12 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();
});
