//function to display Popup function div_show(){ document.getElementById('popup_wrapper').style.display = "block"; } //function to hide Popup function div_hide(){ document.getElementById('popup_wrapper').style.display = "none"; }