<script language="JavaScript" type="text/javascript"> var bannerAD=new Array(); var adNum=0; <?php echo $s; ?> var preloadedimages=new Array(); for (i=1;i<bannerAD.length;i++)...{ preloadedimages[i]=new Image(); preloadedimages[i].src=bannerAD[i]; } function setTransition()...{ if (document.all)...{ bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23); bannerADrotator.filters.revealTrans.apply(); } } function playTransition()...{ if (document.all) bannerADrotator.filters.revealTrans.play() } function nextAd()...{ if(bannerAD.length==0)return; if(adNum<bannerAD.length-1)adNum++ ; else adNum=0; setTransition(); document.images.bannerADrotator.src=bannerAD[adNum]; playTransition(); theTimer=setTimeout('nextAd()', 3000); } function showslidepic()...{ var html=""; html ='<table width="200" border="0" cellpadding="0" cellspacing="0">'; html +='<tr>'; html +='<td align="center" valign="middle" id="photos">'; html +='<img name="bannerADrotator" style="FILTER: revealTrans(duration=2,transition=20)"'; html +='src="'+bannerAD[0]+'" /></td></tr>'; html +='<tr>'; html +='<td align=center>'; html +='<hr><img src="http://album.mop.com/images/ji_button1.jpg" οnclick="nextAd()" border="0" style="cursor:hand">'; html +=' <img src="http://album.mop.com/images/ji_button2.jpg" οnclick="clearTimeout(theTimer)" border="0" style="cursor:hand">'; html +='</td></td>'; html +='</tr></table>'; document.write(html); } </script> <script>showslidepic();nextAd()</script>