//GENERATE ME A RANDOM NUMBER AND ROUND IT OFF lowest=1 highest=10 ournumber=0 function getrandom(){return Math.random()* highest} 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/"; fn=new Array() fn[1]="castlebanner2.gif" fn[2]="kusabanner.gif" fn[3]="eisbanner1T.gif" fn[4]="castlebanner.gif" fn[5]="hwbannerA.gif" fn[6]="tourbanner.gif" fn[7]="ryanbanner1.jpg" fn[8]="springbanner.gif" fn[9]="w3schools.gif" fn[10]="popcornbanner.gif" // GET THE URL FOR THE BANNER banurl=new Array() banurl[1]="http://www.castlelandcomputers.com" banurl[2]="http://www.kusaonline.com" banurl[3]="http://www.eisenviro.com" banurl[4]="http://www.castlelandrealty.com" banurl[5]="http://www.helperweb.com" banurl[6]="http://www.reflectionsonancients.com" banurl[7]="http://www.helperweb.com/missing/" banurl[8]="http://www.springcanyonretreat.com" banurl[9]="http://www.w3schools.com" banurl[10]="http://www.pricetheatre.com" //POST BANNER document.write("\\")