<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux

// ==============================================

// 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] = 'randomHM/a-01.jpg'
theImages[1] = 'randomHM/a-02.jpg'
theImages[2] = 'randomHM/a-03.jpg'
theImages[3] = 'randomHM/a-04.jpg'
theImages[4] = 'randomHM/a-05.jpg'
theImages[5] = 'randomHM/a-06.jpg'
theImages[6] = 'randomHM/a-07.jpg'
theImages[7] = 'randomHM/a-08.jpg'
theImages[8] = 'randomHM/a-09.jpg'
theImages[9] = 'randomHM/a-10.jpg'
theImages[10] = 'randomHM/a-11.jpg'
theImages[11] = 'randomHM/a-12.jpg'
theImages[12] = 'randomHM/a-13.jpg'
theImages[13] = 'randomHM/a-14.jpg'
theImages[14] = 'randomHM/a-15.jpg'
theImages[15] = 'randomHM/a-16.jpg'
theImages[16] = 'randomHM/a-17.jpg'
theImages[17] = 'randomHM/a-18.jpg'

var theImages2 = 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!
theImages2[0] = 'randomHM/b-01.jpg'
theImages2[1] = 'randomHM/b-02.jpg'
theImages2[2] = 'randomHM/b-03.jpg'
theImages2[3] = 'randomHM/b-04.jpg'
theImages2[4] = 'randomHM/b-05.jpg'
theImages2[5] = 'randomHM/b-06.jpg'
theImages2[6] = 'randomHM/b-07.jpg'
theImages2[7] = 'randomHM/b-08.jpg'
theImages2[8] = 'randomHM/b-09.jpg'
theImages2[9] = 'randomHM/b-10.jpg'
theImages2[10] = 'randomHM/b-11.jpg'
theImages2[11] = 'randomHM/b-12.jpg'
theImages2[12] = 'randomHM/b-13.jpg'
theImages2[13] = 'randomHM/b-14.jpg'
theImages2[14] = 'randomHM/b-15.jpg'
theImages2[15] = 'randomHM/b-16.jpg'
theImages2[16] = 'randomHM/b-17.jpg'
theImages2[17] = 'randomHM/b-18.jpg' 
theImages2[18] = 'randomHM/b-19.jpg'
theImages2[19] = 'randomHM/b-20.jpg'

var theImages3 = 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!
theImages3[0] = 'randomHM/c-01.jpg'
theImages3[1] = 'randomHM/c-02.jpg'
theImages3[2] = 'randomHM/c-03.jpg'
theImages3[3] = 'randomHM/c-04.jpg'
theImages3[4] = 'randomHM/c-05.jpg'
theImages3[5] = 'randomHM/c-06.jpg'
theImages3[6] = 'randomHM/c-07.jpg'
theImages3[7] = 'randomHM/c-08.jpg'
theImages3[8] = 'randomHM/c-09.jpg'
theImages3[9] = 'randomHM/c-10.jpg'
theImages3[10] = 'randomHM/c-11.jpg'
theImages3[11] = 'randomHM/c-12.jpg'
theImages3[12] = 'randomHM/c-13.jpg'
theImages3[13] = 'randomHM/c-14.jpg'
theImages3[14] = 'randomHM/c-15.jpg'
theImages3[15] = 'randomHM/c-16.jpg'
theImages3[16] = 'randomHM/c-17.jpg'
theImages3[17] = 'randomHM/c-18.jpg' 
theImages3[18] = 'randomHM/c-19.jpg'
theImages3[19] = 'randomHM/c-20.jpg'
theImages3[20] = 'randomHM/c-21.jpg'
theImages3[21] = 'randomHM/c-22.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]+'">');
}

var j = 0
var p = theImages2.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages2[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage2(){
document.write('<img src="'+theImages2[whichImage]+'">');
}


var j = 0
var p = theImages3.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages3[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage3(){
document.write('<img src="'+theImages3[whichImage]+'">');
}
