// =====================================
// Do not edit script below this line!
// =====================================

var jss = 0;
var pss = Picture.length-1;
var pm1 = pss;

function control(how){
 if (showHot){
  if (how=="F") jss = jss + 1;
  if (how=="B") jss = jss - 1;
  if (jss > pm1-1) jss=0;
  if (jss < 0) jss = pm1-1;
  jp1 = jss+1;
  if (document.all){
 
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();

  }
 
document.images.PictureBox.src = Picture[jss];

  if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
document.getElementById("CountBox").innerHTML = "Image " + jp1 + " of " + pm1;

  if (document.all) document.images.PictureBox.filters.blendTrans.Play();

 }
}