<body>
<form action="chaxun2.aspx">
<table border="2" cellspacing="0" cellpadding="0" style="background-color:Black" id="mytable" >
<tr>
<td class="style1">222 </td>
</tr>
</table>
</form>
</body>
<script language="javascript" >
if (screen.width == 800) {
}
else if (screen.width == 1024) {
var bg = document.getElementById("mytable");
bg.style.width = "400px";
}
else {
}
</script>