
/* This script and many more are available free online at
   The JavaScript Source!! http://javascript.internet.com
*/

<!-- Begin
var how_many_ads = 10;// Change number to match number of photos
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;

ad +=1;

/*  Copy and paste this code to add photo
    increase    n  by one for each pic
    enter file name in banner=
    width and height must not change

if (ad==n) {
txt="";
url="";
alt="";
banner="images/photocycle/xxx";
width="262";
height="197";
}
*/

// Photo 1
if (ad==1) {
txt="";
url="";
alt="";
banner="../images/photocycle/archer1.jpg";
width="262";
height="197";
}

// Photo 2
if (ad==2) {
txt="";
url="";
alt="";
banner="../images/photocycle/scouts.jpg";
width="262";
height="197";
}

// Photo 3
if (ad==3) {
txt="";
url="";
alt="";
banner="../images/photocycle/jrarchin.jpg";
width="262";
height="197";
}

// Photo 4
if (ad==4) {
txt="";
url="";
alt="";
banner="../images/photocycle/jrarshooters.jpg";
width="262";
height="197";
}

// Photo 5
if (ad==5) {
txt="";
url="";
alt="";
banner="../images/photocycle/signlogo.jpg";
width="262";
height="197";
}

// Photo 6
if (ad==6) {
txt="";
url="";
alt="";
banner="../images/photocycle/jrarchpink.jpg";
width="262";
height="197";
}

// Photo 7
if (ad==7) {
txt="";
url="";
alt="";
banner="../images/photocycle/Flyfisher.jpg";
width="262";
height="197";
}

// Photo 8
if (ad==8) {
txt="";
url="";
alt="";
banner="../images/photocycle/Mason.jpg";
width="262";
height="197";
}

// Photo 9
if (ad==9) {
txt="";
url="";
alt="";
banner="../images/photocycle/jrar15.jpg";
width="262";
height="197";
}

// Photo 10
if (ad==10) {
txt="";
url="";
alt="";
banner="../images/photocycle/JrRifle2009.jpg";
width="262";
height="197";
}

// Photo 11
if (ad==11) {
txt="";
url="";
alt="";
banner="../images/photocycle/kidbaloon08.jpg";
width="262";
height="197";
}

// Photo 12
if (ad==12) {
txt="";
url="";
alt="";
banner="../images/photocycle/kids08_1.jpg";
width="262";
height="197";
}

// Photo 13
if (ad==13) {
txt="";
url="";
alt="";
banner="../images/photocycle/jrarchbear.jpg";
width="262";
height="197";
}

// Photo 14
if (ad==13) {
txt="";
url="";
alt="";
banner="../images/photocycle/deer.jpg";
width="262";
height="197";
}

// Photo 15
if (ad==13) {
txt="";
url="";
alt="";
banner="../images/photocycle/EnterWinter.jpg";
width="262";
height="197";
}

// Photo 16
if (ad==16) {
txt="";
url="";
alt="";
banner="../images/photocycle/";
width="262";
height="197";
}
//



// Display photo on page
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<small>' + txt + '</small></a>');
document.write('</center>');
//  End -->

