  var expPhotoShufflerDivId = "experienced";
  var expPhotoShufflerImgId = "exp"; 
  var expImg = new Array(
    "http://www.skydivehouston.com/images/shuffle/exp1.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp2.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp3.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp4.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp5.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp6.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp7.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp8.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp9.jpg?v=0",
	"http://www.skydivehouston.com/images/shuffle/exp10.jpg?v=0"
    );
  var expPauseSeconds = 6;
  var expFadeSeconds = .85;
  var expRotations = 99;
  var expDeckSize = expImg.length;
  var expOpacity = 100;
  var expOnDeck = 0;
  var expStartImg;
  var expImageRotations = expDeckSize * (expRotations+1);
 
  window.onload = expShufflerLaunch;
 
  function expShufflerLaunch()
  {
  	var theimgexp = document.getElementById(expPhotoShufflerImgId);
        expStartImg = theimgexp.src;
	document.getElementById(expPhotoShufflerDivId).style.backgroundImage='url(' + expImg[expOnDeck] + ')';
	setTimeout("expShufflerFade()",expPauseSeconds*1000);
  }

  function expShufflerFade()
  {
  	var theimgexp = document.getElementById(expPhotoShufflerImgId);
    var fadeDelta = 100 / (30 * expFadeSeconds);

	if (expOpacity < 2*fadeDelta ) 
	{
	  expOpacity = 100;
	  if (expImageRotations < 1) return;
	  expShufflerShuffle();
          setTimeout("expShufflerFade()",expPauseSeconds*1000);
	}
	else
	{
	  expOpacity -= fadeDelta;
	  setOpacity(theimgexp,expOpacity);
	  setTimeout("expShufflerFade()",30);
	}
  }

  function expShufflerShuffle()
  {
	var thedivexp = document.getElementById(expPhotoShufflerDivId);
	var theimgexp = document.getElementById(expPhotoShufflerImgId);
	
	theimgexp.src = expImg[expOnDeck];
	setOpacity(theimgexp,100);

	expOnDeck = ++expOnDeck % expDeckSize;
	if (--expImageRotations < 1)
	{
	  expImg[expOnDeck] = expStartImg;
	}
	thedivexp.style.backgroundImage='url(' + expImg[expOnDeck] + ')';
  }

function setOpacity(obj, opacity) {
  opacity = (opacity == 100)?99.999:opacity;
  
  // IE/Win
  obj.style.filter = "alpha(opacity:"+opacity+")";
  
  // Safari<1.2, Konqueror
  obj.style.KHTMLOpacity = opacity/100;

  // Older Mozilla and Firefox
  obj.style.MozOpacity = opacity/100;

  // Safari 1.2, newer Firefox and Mozilla, CSS3
  obj.style.opacity = opacity/100;
}