﻿// This script is used to display thumbnails
var lastThumb = 0;
function SelectImg(Thumb,MainPicName,comment) {
if (lastThumb != 0) {
document.getElementById(lastThumb).className = "thumbNormal";
}
document.getElementById(Thumb).className = "thumbSelected";
document.getElementById(MainPicName).src = document.getElementById(Thumb).src;
lastThumb = Thumb;
document.getElementById('c' + MainPicName).innerHTML = comment;
}

