(求救!急)如何合并载入进度?
<HTML>
<Body OnLoad="StartShow(1,4);"><!---->
<Script Language="JavaScript">
function LoadWait(waitBlock,mainBlock)
{
waitBlock.style.display="none";
mainBlock.style.display="block";
}
function StartShow(startID,IDcount)
{
var loadBlockNamePreFix = "wait_";
var mainBlockNamePreFix = "photo_";
if(startID <= IDcount)
{
LoadWait(eval(loadBlockNamePreFix + startID),eval(mainBlockNamePreFix + startID));
StartShow(startID+1,IDcount);
}
}
</script>
<table>
<tr>
<td>
<table id="table1">
<tr id="wait_1" style="display:block;">
<td width="80" height="90">Loading...</td>
</tr>
<tr id="photo_1" style="display:none;">
<td><img src="http://www.bc-cn.net/bbs/Images/userface/image1.gif" width="80" height="90" border="0" alt=""></td>
</tr>
</table>
</td>
<td>
<table id="table2">
<tr id="wait_2" style="display:block;">
<td width="80" height="90">Loading...</td>
</tr>
<tr id="photo_2" style="display:none;">
<td><img src="http://www.bc-cn.net/bbs/Images/userface/image2.gif" width="80" height="90" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table id="table3">
<tr id="wait_3" style="display:block;">
<td width="80" height="90">Loading...</td>
</tr>
<tr id="photo_3" style="display:none;">
<td><img src="http://www.bc-cn.net/bbs/Images/userface/image3.gif" width="80" height="90" border="0" alt=""></td>
</tr>
</table>
</td>
<td>
<table id="table4">
<tr id="wait_4" style="display:block;">
<td width="80" height="90">Loading...</td>
</tr>
<tr id="photo_4" style="display:none;">
<td><img src="http://www.bc-cn.net/bbs/Images/userface/image4.gif" width="80" height="90" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</Body>
</HTML
/***************************************************************************/
以上代码中的四个Loading...能不能合并成一个大的Loading...