function setupLinks() {
arrQuotes[0] = "It's the Biggest Threat to our nation and our world!!!!!<br>--Kelly, NY";
arrQuotes[1] = "Too many people spend too much time just talking about the issue.  Actually getting out and showing your support at this film is a small step towards greater support and it could mean so much.<br>--David, NY";
arrQuotes[2] = "We have talked about this issue for decades.  We have to take action...bring awareness of this crises to everyone's attention and start pressuring energy companies to recomit to clean technology, which we began to do until the Reagan administration.  <br>--Carron, NY";
arrQuotes[3] = "Can't wait to see it.<br>--Ed David, NY";
arrQuotes[4] = "please  go see this film. and then DO something, ANYTHING, towards raising the conscious awareness about this issue!!  your grandchildren thank you<br>--cindy, NY";
arrQuotes[5] = "Everyone should see the film. I am going with 4 friends in Los Angeles on May 24th...<br>--Nate, NY";
arrQuotes[6] = "I have friends & colleagues who have seen screenings of this film <br>--- it is said to be an unsurpassed achievement in terms of graphically demonstrating the very real, immediate danger we are in.<br>--Jared, NY";
arrQuotes[7] = "We need all the support we can have to get the truth out to everyone. The Bush administration has been changing documents and research results of scientists to support their negligent legislation. See this and take a friend/s acquaintance who might not otherwise see this important film. THE MORE TRUTH THE BETTER! THANK YOU, AL GORE!<br>--Catherine, NY";
arrQuotes[8] = "Al Gore has lent his voice and passion to this film that will have a powerful affect on anybody who sees it. It's message should and could change the world.<br>--Lindee, CA";
arrQuotes[9] = "I've heard great things about this movie from someone who went to the premiere.  She was blown away.  Be prepared to have your eyes opened.<br>--Theresa, CA";
arrQuotes[10] = "The more important question is why shouldn't you see the film? <br>--Carole, CA";
arrQuotes[11] = "How could one not go see this film?  How much longer is the American public going to keep its collective head buried in the sand?  This is real, go understand why, and then do something about it!<br>--William, CA";
arrQuotes[12] = "Anything to oppose big oil from ruinning the enviroment. Count me in to watch the movie and send this message to others.  <br>--Ernesto, CA";
arrQuotes[13] = "This movie is so important, too many Americans dismiss global warming, even though it is occuring and moving along faster than scientists thought it would.  SUV's are still being sold and made, etc... It is time to wake up - and this movie is the alarm clock.<br>--cary, CA";
arrQuotes[14] = "Global Warming is a real threat and it seems like no one cares, much less the government leaders. If we, the inhabitants of this planet do not start changing now, what will we do when it is too late?<br>--Aaron, CA";
arrQuotes[15] = "I already saw the film at a special screening in LA in March.  It is riveting and I am recommending it to everyone I know.<br>--Antone, CA";
arrQuotes[16] = "Because it is essential. Because it is the moral thing to do. Because ultimately, it is for us.<br>--Lola, CA";
arrQuotes[17] = "If global warming is not an important issue to you it will be once you see this movie.<br>--Norma, CA";
arrQuotes[18] = "See this film if you care about the value of your Manhattan real estate which will be pretty worthless if everything from the 3rd floor down is underwater.<br>--Edward, NY";
}

var m_iInterval;
var m_Height;
//window.onload = wl;
var iScroll=0;

var arrQuotes;

var arrCursor = 0;

var arrMax;
window.onload=wl;

function wl() {
  m_iInterval = setInterval(ontimer, 15);
  var base = document.getElementById("jump_base");

  m_Height = base.offsetHeight;

  var divi = parseInt(m_Height/5);
  m_Height = divi*5;

  var td1 = document.getElementById("td1");
  var td2 = document.getElementById("td2");
  var td3 = document.getElementById("td3");
  td1.height = m_Height-5;
  td2.height = m_Height-5;
  td3.height = m_Height-5;

  arrQuotes = new Array();

  setupLinks();
  arrMax = arrQuotes.length-1;
  setLink();
}
function setLink() {
  var ilink = document.getElementById("jump_link");
  ilink.innerHTML = arrQuotes[arrCursor];
  ilink.href = arrQuotes[arrCursor];
}
function ontimer() {
  var base = document.getElementById("jump_base");
  iScroll+=5;
  if (iScroll>(m_Height*2)) {
    iScroll=0;
    arrCursor++;
    if (arrCursor>arrMax)
      arrCursor=0;
    setLink();
  }
  if (iScroll==m_Height) {
    pause();
    m_iInterval = setTimeout(resume, 4000);
  }
  base.scrollTop=iScroll;
}
function pause() {
  clearInterval(m_iInterval);
}
function resume() {
  m_iInterval = setInterval(ontimer, 10);
}

