") function chgSlide(updown) { document.PicLocn.src=src=images[0]; //blank out previous main picture document.PicLocn.alt="" document.PicLocnleft.src=images[0]; //blank out previous left hand picture document.PicLocnleft.alt="" document.PicLocnright.src=images[0]; //blank out previous right hand picture document.PicLocnright.alt="" document.CaptionForm.caption1.value="-"; document.CaptionForm.caption2.value="-"; //alert ("At end of function chgSlide image = "+ images[thisPic] + ": Caption = " + images[thisPic+1]); nextPic(updown) } function nextPic(direction) { if (document.images) { thisPic = thisPic + (direction * 3) if (direction == 998) { thisPic = 1 } // go to first picture if (direction == 999) { thisPic = imgCt-2 } // go to last picture if (thisPic > imgCt) { thisPic = 1 } // this request rolls over from last picture to the first picture if (thisPic < 1) { thisPic = imgCt-2 } // this request rolls over from first picture to last picture prevPic = (thisPic - 3) if (thisPic == 1) { prevPic = 0 } document.PicLocn.src=images[thisPic]; document.PicLocn.alt=images[thisPic+1]; document.PicLocnleft.src=images[prevPic]; if (prevPic > 0 ) { document.PicLocnleft.alt=images[prevPic+1]; } else { document.PicLocnleft.alt=""; } document.CaptionForm.caption1.value=images[thisPic+1]; document.CaptionForm.caption2.value=([thisPic+2]/3)+" of "+(imgCt/3)+" "+images[thisPic+2]; document.PicLocnright.src=images[thisPic+3]; if (thisPic < imgCt-2) { document.PicLocnright.alt=images[thisPic+4]; } else { document.PicLocnright.alt=""; } } //alert ("4: At end of function nextPic image = "+ images[thisPic] + ": Caption = " + images[thisPic+1]); } // End hiding script from old browsers -->
This page written and maintained by Unless otherwise stated, all photos are by |