function showImg(idTag) {   
    var it = document.getElementById(idTag);
    it.style.display = '';
}

function hideImg(idTag) {
    var it = document.getElementById(idTag);
    it.style.display = 'none';
}