<script>
var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;
bannerAD[0]="Images/picNews/Image1.png";
bannerAD[1]="Images/picNews/Image2.png";
bannerAD[2]="Images/picNews/Image3.png";
bannerAD[3]="Images/picNews/Image4.png";
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(adNum<bannerAD.length-1)adNum++ ;
else adNum=0;
setTransition();
document.images.bannerADrotator.src=bannerAD[adNum];
playTransition();
theTimer=setTimeout("nextAd()", 2000);
}
</script>
<td width="400" height="350" align="center">
<a href="index.aspx" target="_blank">
<img alt="博客" src="Images/picNews/Image1.png" name="bannerADrotator"
vspace="0" border="0"
align="top" style="filter: revealTrans(duration=2, transition=20); height: 322px;
width: 403px;"></a>
<script language="JavaScript">nextAd()</script>
</td>