var bannerAD=new Array(); 
var bannerADlink=new Array(); 
var adNum=6; 
//广告1
bannerAD[0]="/ad_images/gd_2010022601.gif"; 
bannerADlink[0]="http://www.northbook.com.cn/showbook/book.jsp?vendor=01&id=756339365X001"; 
//广告2
bannerAD[1]="/ad_images/gd_2010022602.gif"; 
bannerADlink[1]="http://www.northbook.com.cn/showbook/book.jsp?vendor=01&id=7561348819001"; 
//广告3
bannerAD[2]="/ad_images/gd_2010022603.gif"; 
bannerADlink[2]="http://www.northbook.com.cn/showbook/book.jsp?vendor=01&id=7561349831001";
//广告4
bannerAD[3]="/ad_images/gd_2010022604.gif"; 
bannerADlink[3]="http://www.northbook.com.cn/showbook/book.jsp?vendor=01&id=7563393072001"; 
//广告5
bannerAD[4]="/ad_images/gd_2010022605.gif"; 
bannerADlink[4]="http://www.northbook.com.cn/showbook/book.jsp?vendor=01&id=7807672528001"; 
//#一下代码不要修改#//
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()", 8000); 
} 

function jump2url(){ 
jumpUrl=bannerADlink[adNum]; 
jumpTarget='_blank'; 
if (jumpUrl != ''){ 
if (jumpTarget != '')window.open(jumpUrl,jumpTarget); 
else location.href=jumpUrl; 
} 
} 
function displayStatusMsg() { 
status=bannerADlink[adNum]; 
document.returnValue = true; 
} 