// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = '/photos/rotating/banner-canterbury-wedding-bride-on-cell-phone.png'
theImages[1] = '/photos/rotating/banner-canterbury-wedding-bride-and-father.png'
theImages[2] = '/photos/rotating/banner-canterbury-wedding-bride-groom-kissing.png'
theImages[3] = '/photos/rotating/banner-canterbury-wedding-bride-groom-kissing-2.png'
theImages[4] = '/photos/rotating/banner-canterbury-wedding-brides-maids.png'
theImages[5] = '/photos/rotating/banner-canterbury-wedding-ceremony.png'
theImages[6] = '/photos/rotating/banner-canterbury-wedding-violin-playing.png'
theImages[7] = '/photos/rotating/banner-newport-beach-wedding-rings.png'
theImages[8] = '/photos/rotating/banner-newport-beach-wedding-couple-carry-bride.png'
theImages[9] = '/photos/rotating/banner-newport-beach-wedding-couple.png'
theImages[10] = '/photos/rotating/banner-newport-beach-wedding-bride-2.png'
theImages[11] = '/photos/rotating/banner-newport-beach-wedding-bride.png'
theImages[12] = '/photos/rotating/banner-la-caille-wedding-march-2.png'
theImages[13] = '/photos/rotating/banner-la-caille-wedding-march.png'
theImages[14] = '/photos/rotating/banner-la-caille-wedding-light-candle.png'
theImages[15] = '/photos/rotating/banner-la-caille-wedding-kiss.png'
theImages[16] = '/photos/rotating/banner-la-caille-wedding-ceremony.png'
theImages[17] = '/photos/rotating/banner-wedding-wolf-creek-daisy.png'
theImages[18] = '/photos/rotating/banner-wedding-wolf-creek-bride-and-groom-2.png'
theImages[19] = '/photos/rotating/banner-wedding-wolf-creek-bride-and-groom.png'

// do not edit anything below this line

var j = 0
var 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(){
document.write('<img src="'+theImages[whichImage]+'" class="portrait_small">');
}
//  End -->