// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================

// 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. Rememeber
// to increment the theImages[x] index!

theImages[0] = 	'images/summer/736156_33687249.jpg'
theImages[1] = 	'images/summer/737666_74723412.jpg'
theImages[2] = 	'images/summer/785439_69519808.jpg'
theImages[3] = 	'images/summer/785582_92023676.jpg'
theImages[4] = 	'images/summer/786565_57227552.jpg'
theImages[5] = 	'images/summer/786889_59375581.jpg'
theImages[6] = 	'images/summer/788141_11179251.jpg'
theImages[7] = 	'images/summer/789543_81616296.jpg'
theImages[8] = 	'images/summer/790999_36582678.jpg'
theImages[9] = 	'images/summer/79237_9011.jpg'
theImages[10] =	'images/summer/793805_29735539.jpg'
theImages[11] =	'images/summer/795064_78490014.jpg'
theImages[12] =	'images/summer/795903_90109862.jpg'
theImages[13] =	'images/summer/IMG_0057.jpg'

// ======================================
// do not change 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]+'">');
}

//-->