我要循环的静态代码是这样的
<div class="slide">
<script>
var m_nPageInitTime = new Date();
var MainTopRoll = new xwzRollingImageTrans("IMG_MAIN_TOP_ROLL_DETAIL", "IMGS_MAIN_TOP_ROLL_THUMBNAIL");
MainTopRoll.addItem
("http://www.w3zz.com/","images/pic/01.jpg");
MainTopRoll.addItem
("http://www.w3zz.com/","images/pic/02.jpg");
MainTopRoll.addItem
("http://www.w3zz.com/","images/pic/03.jpg");
MainTopRoll.addItem
("http://www.w3zz.com/","images/pic/04.jpg");
MainTopRoll.addItem
("http://www.w3zz.com/","images/pic/05.jpg");
MainTopRoll.addItem
("http://www.w3zz.com/","images/pic/06.jpg");
</script>
<img name="IMG_MAIN_TOP_ROLL_DETAIL" class="hand" src="images/pic/01.jpg" />
<ul>
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="/" title="w3zz.com" target="_blank"><img onmouseover="MainTopRoll.alterImage(0)" src="images/pic/1.jpg" /></a></li>
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="/" title="w3zz.com" target="_blank"><img onmouseover="MainTopRoll.alterImage(1)" src="images/pic/2.jpg" /></a></li>
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="/" title="w3zz.com" target="_blank"><img onmouseover="MainTopRoll.alterImage(2)" src="images/pic/3.jpg" /></a></li>
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="/" title="w3zz.com" target="_blank"><img onmouseover="MainTopRoll.alterImage(3)" src="images/pic/4.jpg" /></a></li>
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="/" title="w3zz.com" target="_blank"><img onmouseover="MainTopRoll.alterImage(4)" src="images/pic/5.jpg" /></a></li>
<li><img class="hide" name="IMGS_MAIN_TOP_ROLL_THUMBNAIL" /><a href="/" title="w3zz.com" target="_blank"><img onmouseover="MainTopRoll.alterImage(5)" src="images/pic/6.jpg" /></a></li>
</ul>
<script>MainTopRoll.Index = parseInt('0');MainTopRoll.install();</script>
</div>