JS问题,帮忙瞅瞅
[code=HTML][/code]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>index.html</title>
<script language="javascript" src="index.js"></script>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="index.css" type="text/css"></link>
<script language="javascript">
function Jump(j){
for(i=0; i <2; i++) {
document.getElementById("bgi" + i).className="bgimg" + i;
if( i==j )
document.getElementById( "bgi" + i).style.display="block";
else
document.getElementById( "bgi" + i).style.display="none";
}
}
</script>
</head>
<body background="images/beijing.jpg">
<div id="bg">
<div class="company">
公司图标
</div>
<div class="menucenter">
智能建筑集成系统
</div>
<div class="buts" align="left">
<table class="buttons">
<tr>
<td>
    
<a href="# " onclick="Jump(0)" ><img src="images/1.jpg" />
</a>    
</td>
<td>
<a href=" #" onclick="Jump(1)"><img src="images/2.jpg" />
</a>    
</td>
<td>
<a href=" #" onclick="Jump(2)"><img src="images/3.jpg" />
</a>    
</td>
<td>
<a href="http://community.csdn.net/"><img src="images/4.jpg" />
</a>    
</td>
<td>
<a href="http://www.baidu.com"><img src="images/4.jpg" />
</a>    
</td>
<td>
<a href="http://www.sohu.com"><img src="images/4.jpg" />
</a>    
</td>
</tr>
</table>
<div class="times">
<script type="text/javascript">
document.write(Date())
</script>
</div>
</div>
</div>
<div class="cent" align="left">
<div class="bgimg0" id="bgs0" >主页背景图片<img />
<div class="bgimg1" id="bgs1" style="display:none">第一个页面<img /></div>
<div class="bgimg2" id="bgs2" style="display:none">第二个页面<img /></div>
<table class="floor" border="2">
<tr>
<th>
select floor
</th>
</tr>
<tr>
<td>
ninth floor
</td>
</tr>
<tr>
<td>
eight floor
</td>
</tr>
<tr>
<td>
seven floor
</td>
</tr>
<tr>
<td>
sixth floor
</td>
</tr>
<tr>
<td>
fifth floor
</td>
</tr>
<tr>
<td>
forth