﻿function changeimage(id,to)
{
    var img = document.getElementById(id);
    if (img != null)
        img.src = to;
}