function closing(){ document.getElementById('center').innerHTML = ''; }
<div onclick="closing()" id="close">CLOSE</div>