Gracias JavierB ,he usado las lineas que me pasaste pero no me funciona , aquí está el codigo que uso.
Estas son las funciones
(me parece que el problema son esas comillas simples...)
function OcultarTablaHereEstimateOn(){
document.getElementById('HereEstimateTable').style .display ='block';
}
function OcultarTablaHereEstimateOff(){
document.getElementById('HereEstimateTable').style .display ='none';
}
Aquí está la tabla con el ID
<table id="HereEstimateTable" width="788" height="613" border="0" cellpadding="0" cellspacing="0">
Aquí llamo a las funciones
<input type="button" name="Submit2" value="Ocultar" onClick="OcultarTablaHereEstimateOn()" >
<input type="button" name="Submit6" value="Mostrar" onClick="OcultarTablaHereEstimateOff()">
muchas gracias