

swapImages = [
"images/BBB_winner.jpg",
"images/BBB_Jeff.jpg",
"images/family2.jpg"
];

swapAlts = [
"Torch Awards",
"Jeff",
"Family"
];

var swapIndex = -1;

var swapImgIndex = -1;
var swapImgIds = ['A'];

function startSwap(){

  swapImgIndex++;
  if (swapImgIndex >= swapImgIds.length){ swapImgIndex = 0; }

  swapIndex++;
  if (swapIndex >= swapImages.length){ swapIndex = 0; }

  swapfade(document.getElementById('swap' + swapImgIds[swapImgIndex]), swapImages[swapIndex], '2', swapAlts[swapIndex]);

  setTimeout("startSwap()", 5000);
}