﻿// JavaScript Document

function chgImg(imgField, newImg) {
    if (document.images) {
        document[imgField].src = newImg;
    }
}