<!--
//PICTURE ROTATION FUNCTIONS---------------------------------------------

var HomePgPictureNum = 3;


function HomePgInitArray() {
  this.length = HomePgInitArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = HomePgInitArray.arguments[i];
  }
}

HomePgLinks = new HomePgInitArray(
  "asp/breast-cancer.asp",
  "asp/empowering-generations.asp",
  "asp/thurmond-scholarship.asp",
  "asp/yes.asp"
)


HomePgImages = new HomePgInitArray(
  "images/flash/BreastCancer.jpg",
  "images/flash/EmpowerGenerations.jpg",
  "images/flash/ThurmondScholarship.jpg",
  "images/flash/YES.jpg"
)


HomePgAltText = new HomePgInitArray(
  "Click here to view a selection",
  "Click here to view a selection",
  "Click here to view a selection",
  "Click here to view a selection"
)

var HomePgPictureLink = "index.asp"

function HomePgRotatePictures() {
  if 
	//Set picture quantity:
		(HomePgPictureNum == 4) {		
    HomePgPictureNum = 0 
  } 
  document.HomePgPicture.src=HomePgImages[HomePgPictureNum] 
  document.HomePgPicture.title=HomePgAltText[HomePgPictureNum]
  //Set picture time in milliseconds:
	setTimeout("HomePgRotatePictures()",10000)
  HomePgPictureLink = HomePgLinks[HomePgPictureNum]
  HomePgPictureNum++
} 

function HomePgchangeLink() {
  location = HomePgPictureLink
}
//----------------------------------------------------------------------
-->
