// =====================================
// Do not edit script below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

function control(how){
 if (showHot){
  if (how=="F") jss = jss + 1;
  if (how=="B") jss = jss - 1;
  if (jss > (pss)) jss=1;
  if (jss < 1) jss = pss;
  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 " + jss + " of " + pss;

  if (document.all) document.images.PictureBox.filters.blendTrans.Play();


 }
}