function del(){ var element = document.getElementById('popup_box_container'); element.parentNode.removeChild(element); }