<!--
function BM_swapImage() { //v3.0
  var i,j=0,x,a=BM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc && (a[a.length-1]!="Brad")) x.oSrc=x.src; x.src=a[i+2];}
}
function carouselShift() {
  if (carouselShift.arguments==null) {
	for (i=0; i<projector[whichCartridge].length; i++) {
	  while (projector[whichCartridge][i].indexOf('.html')==-1) {
		MM_preloadImages(projector[whichCartridge][i]+"")
	  }
	}
  }
  if (slide-1 == projector[whichCartridge].length-2 && projector[whichCartridge][slide-1][1] == 'end') {
	document.location.href = projector[whichCartridge][slide]
  } else if (slide<0 && projector[whichCartridge][0][1] == 'beginning') {
//	slide=0;
	document.location.href = projector[whichCartridge][0][2]
  } else {
    if (slide>=projector[whichCartridge].length) {
	  slide=0;
    } else if (slide<0) {
	  slide=projector[whichCartridge].length-1
    }
    BM_swapImage('screen','',projector[whichCartridge][slide][0],"Brad");
/*    if (slide+1<projector[whichCartridge].length && projector[whichCartridge][slide+1].indexOf('.html')==-1) {
	  MM_preloadImages(projector[whichCartridge][slide+1]+"")
  }*/
    if (MM_findObj('aspect')!=null) {
      isAspect=0;
      changeAspect = (projector[whichCartridge][slide][1] == 'change') ? slide : (projector[whichCartridge][slide].length>1 && freezeAspect) ? 0 : (projector[whichCartridge][slide].length>1) ? isAspect : 'blank';
      BM_swapImage('aspect','','images/aspect_'+changeAspect+'.gif',"Brad");
    }
    if (MM_findObj('back')!=null && MM_findObj('forward')!=null) {
      setTimeout("BM_swapImage('back','','images/back.gif','forward','','images/forward.gif','Brad')",500);
    }
  }
}
function cycleAspect(newBttn) {
if (projector[whichCartridge][slide].length>1) {
  if (isAspect>=projector[whichCartridge][slide].length) {isAspect=0};
  if (isAspect<0) {isAspect=projector[whichCartridge][slide].length-1};
  BM_swapImage('screen','',projector[whichCartridge][slide][isAspect],"Brad");
  aspectBtn = (newBttn) ? "aspect_"+isAspect+".gif" : "aspect_0.gif";
  setTimeout("BM_swapImage('aspect','','images/'+aspectBtn,'Brad')",500);
  }
}
function aspectSwap(eventAction) {
  if (isAspect) {
    aspectSwapee = (eventAction == "over") ? "images/over/"+aspectBtn : (eventAction == "down") ? "images/down/"+aspectBtn : (eventAction == "out") ? aspectBtn : singlepix;
      BM_swapImage('aspect','',aspectSwapee,"Brad");
  }
}
function autoSlide(speed) {
  speed = (slideShow) ? 0 : (speed) ? speed : 1500;
  if (speed!=0) {
    slideShow = setInterval('carouselShift(slide++)',speed);
    BM_swapImage('play','',singlepix,'Brad');
  } else {
    clearInterval(slideShow);
    slideShow = null;
    BM_swapImage('play','','images/play.gif','Brad');
  }
}
slideShow = null;
slide=0;
isAspect = 0;
singlepix = '/global/images/1.gif';
projector = new Array();
//gSafeOnload[gSafeOnload.length]=carouselShift;
window.onload=carouselShift;
//-->