﻿function switchImg(i, imgname) {
    document.images[imgname].src = i;
}