﻿// 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] = '/webdata/graphics/image1.jpg'
theImages[1] = '/webdata/graphics/image2.jpg'
theImages[2] = '/webdata/graphics/image3.jpg'
theImages[3] = '/webdata/graphics/image4.jpg'
theImages[4] = '/webdata/graphics/image5.jpg'


// 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 class="splashimg" alt="" src="'+theImages[whichImage]+'">');
}

function popup(input_url,w,h,s) {
 window.open(input_url,"_blank","height="+h+",width="+w+",channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars="+s+",status=0,toolbar=0");
}

