per farla scomparire dovrebbe bastare qualcosa del tipo:

table=getElementById("table1");
table.style['display'] = 'none';

mentre per visualizzarla di nuovo

table=getElementById("table1");
table.style['display'] = 'inline';