function chgImg(name, image)
{
    if (document.images)
    {
        document[name].src = eval(image+".src");
    }
}