Try this in your
script
block.
<script>
jQuery(document).ready(function()
{
jQuery("#table2").hide();
window.setTimeout("jQuery('#table1').hide()",10000);
window.setTimeout("jQuery('#table2').show()",10000);
});
</script>
Also, put your vallue for the s' id in quotes, that is
use
<table id ="table1"> and <table id ="table2">
instead of
<table id =table1> and <table id =table2>