No no, intendevo una cosa del genere

codice:
<div id='chiudi' style='cursor:pointer;'>Chiudi banner</div>
<div id='banner'>
<iframe src="xxxxxxxxxxxxxxxxxxxxxx" height="407" width="607" marginwidth="0" marginheight="500"scrolling="no">
</iframe>
</div>

<script>
document.getElementById('chiudi').onclick = function() {
        document.getElementById('chiudi').style.display = 'none';
        document.getElementById('banner').style.display = 'none';
    }
</script>