Hi,
Very simple.
Let's assume that you just want to show the div1 and not div2 and div3. Similarly for the rest of the scenarios.
document.getElementById("div1").style.display = 'block';
document.getElementById("div2").style.display = 'none';
document.getElementById("div3").style.display = 'none';
Thanks
David