function applyeffect() {
 if (document.all && slider.filters){
  slider.filters.revealTrans.Transition=12;
  slider.filters.revealTrans.stop();
  slider.filters.revealTrans.apply();
 }
}
function playeffect() {
 if (document.all && slider.filters)
  slider.filters.revealTrans.play();
}
function keeptrack() {
 window.status="Slide "+(which+1)+" of "+photo.length;
 return (which+1);
}
function backward() {
 if (which>0) {
  which--;
  applyeffect();
  document.images.slider.src=photo[which];
  playeffect();
  keeptrack();
 }
}
function forward() {
 if (which<photo.length-1) {
  which++;
  applyeffect();
  document.images.slider.src=photo[which];
  playeffect();
  keeptrack();
 }
}
function transport() {
 window.location=photolink[which];
}