var Picture = new Array();
var Caption = new Array();
var AltText = new Array();
var showHot = true;
var noOfPics = 0
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=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();
}
document.images.PictureBox.src = priorLoad[jss].src;
document.images.PictureBox.alt = AltText[jss];
document.getElementById("curImg").innerHTML = jss;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}
}