//random image display javascript
//modified from http://www.draac.com/random-image.txt
//to do two sets of images simultaneously
//
<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
var theImages2 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'http://fribusers.org/IMAGES/bottom/00.gif'
theImages[1] = 'http://fribusers.org/IMAGES/bottom/01.gif'
theImages[2] = 'http://fribusers.org/IMAGES/bottom/02.gif'
theImages[3] = 'http://fribusers.org/IMAGES/bottom/03.gif'
theImages[4] = 'http://fribusers.org/IMAGES/bottom/04.gif'
theImages[5] = 'http://fribusers.org/IMAGES/bottom/05.gif'
theImages[6] = 'http://fribusers.org/IMAGES/bottom/06.gif'
theImages[7] = 'http://fribusers.org/IMAGES/bottom/07.gif'
theImages[8] = 'http://fribusers.org/IMAGES/bottom/08.gif'
theImages[9] = 'http://fribusers.org/IMAGES/bottom/09.gif'
theImages[10] = 'http://fribusers.org/IMAGES/bottom/10.gif'
theImages[11] = 'http://fribusers.org/IMAGES/bottom/11.gif'
theImages[12] = 'http://fribusers.org/IMAGES/bottom/12.gif'
theImages[13] = 'http://fribusers.org/IMAGES/bottom/13.gif'
theImages[14] = 'http://fribusers.org/IMAGES/bottom/14.gif'
theImages[15] = 'http://fribusers.org/IMAGES/bottom/15.gif'
theImages[16] = 'http://fribusers.org/IMAGES/bottom/16.gif'

theImages2[0] = 'http://fribusers.org/IMAGES/top/00.gif'
theImages2[1] = 'http://fribusers.org/IMAGES/top/01.gif'
theImages2[2] = 'http://fribusers.org/IMAGES/top/02.gif'
theImages2[3] = 'http://fribusers.org/IMAGES/top/03.gif'
theImages2[4] = 'http://fribusers.org/IMAGES/top/04.gif'
theImages2[5] = 'http://fribusers.org/IMAGES/top/05.gif'
theImages2[6] = 'http://fribusers.org/IMAGES/top/06.gif'
theImages2[7] = 'http://fribusers.org/IMAGES/top/07.gif'


// do not edit anything below this line

var j = 0

var p = theImages.length;
var preBuffer = new Array()

var q = theImages2.length;
var preBuffer2 = new Array()

for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

for (k = 0; k < q; k++){
   preBuffer2[k] = new Image()
   preBuffer2[k].src = theImages2[k]
}


var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" width=240px>');
}

var whichImage2 = Math.round(Math.random()*(q-1));
function showImage2(){
document.write('<img src="'+theImages2[whichImage2]+'" height=170px>');
}
//  End -->