function slideshowTo(smlPic)
{
    //get the name of the thumbnail picture, all pics are the same as the thumbnail without the "t"
    //example /thumbnails/168t.jpg' big img is /images/168.jpg
    var tmp1 = smlPic.src.split("thumbnails");
    var picName = tmp1[1];
    var tmp2 = picName.split("t.jpg");

    var myImg = document.getElementById("bigPic");

    var newImg = new Image;
    newImg = "images" + tmp2[0] + ".jpg";

    myImg.src = newImg;

    document.getElementById("imageCaptionCell").innerHTML = smlPic.alt;
}
