Vertically and horizontally aligning an SWF Object in a table

Vertically and horizontally aligning an SWF Object in a table.

Didn’t think I’d need to know.
But a client has asked me to make it so the content needs to be centered like this link here.

http://www.concrete.ca

Here’s my pile of dookie that I can’t seem to get to work.
I’ve wasted a lot of time online to see what I could do.
I think the answer may be using javascript.
But I’m not sure, I’m now very confused, and out of time.

Please help if you have an idea how to do it.

Sincerely,
dogandking

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>HW Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript" src="SWFObject.js"></script>
</head>
<body>
<div class="center">
<table width="800" border="0">
  <tr>
    <td align="center" valign="middle"><div id="flashcontent">
        <img src="HWV7.jpg" width="800" height="600">
    </div>
    <script language="JavaScript" type="text/javascript">
        var so = new SWFObject("HWV7.swf", "HWV7", "800", "600", "6");
        so.write("flashcontent");
    </script></td>
  </tr>
</table>
<p>&nbsp;</p>
</div>
</body>
</html>