
<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 7000;
// Duration of crossfade (seconds)
var crossFadeDuration = 1;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

  Pic[0] = '/bm~pix/s.gif'
  Pic[1] = '/bm~pix/big_ideas.gif'
  Pic[2] = '/bm~pix/pattern.gif'
  Pic[3] = '/bm~pix/best_prac.gif'
  Pic[4] = '/bm~pix/dispassionate.gif'
  Pic[5] = '/bm~pix/repeat.gif'

  url = new Array();
  url[0] = "/approach/index.html#principles"
  url[1] = "/approach/index.html#principles"
  url[2] = "/approach/index.html#principles"
  url[3] = "/approach/index.html#principles"
  url[4] = "/approach/index.html#principles"
  url[5] = "/approach/index.html#principles"

// do not edit anything below this line
var t;
var j = amt();
var j_temp = j;
var p = Pic.length;
var preLoad = new Array();

for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}

function runRotater() {
  j_temp = j;
  while (j == j_temp) {
    j = Math.floor(Math.random()*(p-1)) + 1;
  }

//if (j < (p - 1)) j++;
// else j = 1;

//DeleteCookie('count')
//SetCookie('count',j-1)

  if (document.all) {
    document.images.SlideShow.style.filter="blendTrans(duration=2)";
    document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
    document.images.SlideShow.filters.blendTrans.Apply();
  }

  document.images.SlideShow.src = preLoad[j].src;
  if (document.all) {
    document.images.SlideShow.filters.blendTrans.Play();
  }

  t = setTimeout('runRotater()', slideShowSpeed);

}

function CurrentFeature() {
window.location.href = url[j];
  }
//  End -->

