Why? There should be some better way to handle this. As you can do this,but its not a good idea. One thing is, you can open the required page in new window where there is no toolbar. e.g.
<script type="text/javascript">
function opennew(url) {
var win= window.open(url, '','scrollbars=no,menubar=no,resizable=yes,toolbar=no,location=no,status=no');
}
</script>
with Onclick function you can call this function like:
onclick="opennew('http://www.google.com');"
Regards..:)