﻿function newPic(elementId, pic) { 
    document.getElementById(elementId).src = pic; 
}