<div id="srch_regular" style="display:block; background-color:yellow;"
onclick='document.getElementById("srch_regular").style.display = "none";'
>
Hide me with a click
</div>
in Java script I do this to hide the table<p>
document.getElementById("srch_regular").style.display = "none";