 function mainhuan(){               
				 
				bannerAD[0]="../device/icebox8.jpg"; 
				bannerADlink[0]="../product/icebox.html"; 
				bannerAD[1]="../device/case28.jpg"; 
				bannerADlink[1]="../product/designcase.html"; 
    			bannerAD[2]="../device/case23.jpg"; 
				bannerADlink[2]="../product/vaccinecase.html";
				bannerAD[3]="../device/case26.jpg"; 
				bannerADlink[3]="../product/designcase.html"; 
				bannerAD[4]="../device/case22.jpg"; 
				bannerADlink[4]="../product/coldchaincase.html"; 
				bannerAD[5]="../device/icebag1.jpg"; 
				bannerADlink[5]="../product/icebag.html"; 
				bannerAD[6]="../device/case13.jpg"; 
				bannerADlink[6]="../dryicecase.html"; 
				bannerAD[7]="../device/case21.jpg"; 
				bannerADlink[7]="../product/designcase.html"; 
				bannerAD[8]="../device/case24.jpg"; 
				bannerADlink[8]="../product/designcase.html";
				bannerAD[9]="../device/icebox7.jpg"; 
				bannerADlink[9]="../product/icebox.html";
				bannerAD[10]="../device/case7.jpg"; 
				bannerADlink[10]="../product/designcase.html";
				bannerAD[11]="../device/case8.jpg"; 
				bannerADlink[11]="../product/designcase.html";
				bannerAD[12]="../device/icebox9.jpg";
				bannerADlink[12]="../product/icebox.html";
				bannerAD[13]="../device/icebox5.jpg"; 
				bannerADlink[13]="../product/icebox.html";
				bannerAD[14]="../device/case9.jpg"; 
				bannerADlink[14]="../product/designcase.html"; 
				bannerAD[15]="../device/icebag10.jpg"; 
				bannerADlink[15]="../product/icebag.html"; 
				bannerAD[16]="../device/icebag13.jpg"; 
				bannerADlink[16]="../product/icebag.html"; 
				bannerAD[17]="../device/case18.jpg"; 
				bannerADlink[17]="../product/designcase.html"; 
				bannerAD[18]="../device/icebag12.jpg"; 
				bannerADlink[18]="../product/selficebag.html"; 
				bannerAD[19]="../device/icebag2.jpg"; 
				bannerADlink[19]="../product/dryicebag.html"; 
				
				for (i=1;i<bannerAD.length;i++){ 
				preloadedimages[i]=new Image(); 
				preloadedimages[i].src=bannerAD[i]; 
				} 
				nextAd();
 }

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()", 5000); 
} 

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; 
} 