﻿function SwapImage(id,newimg) {

    var img = document.getElementById(id);
    img.src = newimg;

}