lowest=1 highest=4 ournumber=0 function getrandom(){return Math.random()* 5} function nowround() {return Math.round(getrandom())} ournumber=nowround() // MAKE SURE THE NUMBER IS NOT TO LOW OR HIGH if ( ournumber < lowest ) {ournumber=lowest} if ( ournumber > highest ) {ournumber=highest} /* GET THE FILE NAMES IN AN ARRAY You need to add your own banner filenames here and change the bannerdir to the directory or http where your banners are located */ bannerdir="http://www.helperweb.com/bannerimages/pics/"; fn=new Array() fn[1]="art.jpg" fn[2]="tractor.jpg" fn[3]="bear.jpg" fn[4]="church.jpg" // OK SHOW ME THE BANNER AND DATE document.write("\")