الكود
<****** LANGUAGE="Java******">var theImages = new Array()//Random-loading imagestheImages[0] = 'http://ourpetclub.com/vb/images/banner/bird.jpg' // replace with names of imagestheImages[1] = 'http://ourpetclub.com/vb/images/banner/bird1.jpg' // replace with names of imagestheImages[2] = 'http://ourpetclub.com/vb/images/banner/cat2.jpg' // replace with names of imagestheImages[3] = 'http://ourpetclub.com/vb/images/banner/catdi.jpg' // replace with names of imagestheImages[4] = 'http://ourpetclub.com/vb/images/banner/dogcat.jpg' // replace with names of imagestheImages[5] = 'http://ourpetclub.com/vb/images/banner/fss.jpg' // replace with names of imagestheImages[6] = 'http://ourpetclub.com/vb/images/banner/tiger.jpg' // replace with names of imagesvar j = 0var p = theImages.length;var preBuffer = new Array()for (i = 0; i < p; i++){preBuffer[i] = new Image()preBuffer[i].src = theImages[i]}var whichImage = Math.round(Math.random()*(p-1));function showImage(){if(whichImage==0){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==1){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==2){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==3){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==4){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==5){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==6){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}else if(whichImage==7){********.write('<a href ="index.php"><img src="'+theImages[whichImage]+'" border=0 width=790 height=180></a>');}}</******><******>showImage();</******>