// JavaScript Document

//store the images in arrays

images = new Array(13);

images[0]="<img src='random/anchor.jpg' alt='One of the many beautiful stained glass windows in the Winchester church sanctuary'></a>";
images[1]="<img src='random/christ_open_arms.jpg' alt='One of the many beautiful stained glass windows in the Winchester church sanctuary'></a>";
images[2]="<img src='random/doorway.jpg' alt='Outside doorway of the Winchester church'></a>";
images[3]="<img src='random/inside_church.jpg' alt='Inside the Winchester church'></a>";
images[4]="<img src='random/inside_church2.jpg' alt='Inside the Winchester church'></a>";
images[5]="<img src='random/organ.jpg' alt='Organ in the Winchester church'></a>";
images[6]="<img src='random/organ_pipes.jpg' alt='Organ Pipes'></a>";
images[7]="<img src='random/outside_church.jpg' alt='Winchester Church'></a>";
images[8]="<img src='random/outside_church2.jpg' alt='Winchester Church'</a>";
images[9]="<img src='random/pews.jpg' alt='Pews in the Winchester Church'></a>";
images[10]="<img src='random/steeple.jpg' alt='Steeple of the Winchester Church'></a>";
images[11]="<img src='random/street_view.jpg' alt='Winchester Church'></a>";
images[12]="<img src='random/walking_christ.jpg' alt='One of the many beautiful stained glass windows in the Winchester church sanctuary'></a>";

index = Math.floor(Math.random() * images.length);

document.write(images[index]);

//done