//text rotator - first array should be in textrotator div
var texts = [	"Awards Night is this Sunday (5/23)! Be sure to invite your parents and RSVP!",
		"Thanks to everyone for helping out this year!",
		"Welcome to the MVRT Website!"];
var currenttext = 0;
var number = 3;
function textcycle() {
if(currenttext == number) {
  currenttext = 0;
}
document.getElementById('textrotator').innerHTML = texts[currenttext];
  currenttext++;
}

hex=50;
function fadetext() { 
  if(hex < '150') {
    hex+=4;
    document.getElementById("textrotator").style.color=
                      "rgb("+hex+","+hex+","+hex+")";
    setTimeout("fadetext()",10); 
  }
  else {
    hex=50; //reset hex value
}
}
  window.setInterval("fadetext(), textcycle()",7000);