<script>var NowFrame = 1; <br>var MaxFrame =; <br>var bStart = 0; <br>function fnToggle() { <br>var next = NowFrame 1; <br>if(next == MaxFrame 1) <br>{ <br>NowFrame = MaxFrame; <br>next = 1; <br>} <br>if(bStart == 0) <br>{ <br>bStart = 1; <br><br>setTimeout('fnToggle()', 6000); <br>return; <br>} <br>else <br>{ <br>oTransContainer.filters.revealTrans.Transition=Math.floor(Math.random()*23); <br>oTransContainer.filters.revealTrans.apply(); <br>document.all['oDIV' next].style.display = ""; <br>document.all['oDIV' NowFrame].style.display = "none"; <br>oTransContainer.filters[0].Play(duration=2); <br>if(NowFrame == MaxFrame) <br>NowFrame = 1; <br>else <br>NowFrame ; <br>} setTimeout('fnToggle()', 6000); <br>} <br></script>