// ==============================================
// 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] = 'http://www.aboutpgh.com/randomimages/subpage-photo1.jpg'
theImages[1] = 'http://www.aboutpgh.com/randomimages/subpage-photo3.jpg'
theImages[2] = 'http://www.aboutpgh.com/randomimages/subpage-photo4.jpg'
theImages[3] = 'http://www.aboutpgh.com/randomimages/subpage-photo5.jpg'
theImages[4] = 'http://www.aboutpgh.com/randomimages/subpage-photo7.jpg'
theImages[5] = 'http://www.aboutpgh.com/randomimages/subpage-photo8.jpg'
theImages[6] = 'http://www.aboutpgh.com/randomimages/subpage-photo9.jpg'
theImages[7] = 'http://www.aboutpgh.com/randomimages/subpage-photo11.jpg'
theImages[8] = 'http://www.aboutpgh.com/randomimages/subpage-photo12.jpg'
theImages[9] = 'http://www.aboutpgh.com/randomimages/subpage-photo13.jpg'
theImages[10] = 'http://www.aboutpgh.com/randomimages/subpage-photo14.jpg'
theImages[11] = 'http://www.aboutpgh.com/randomimages/subpage-photo15.jpg'
theImages[12] = 'http://www.aboutpgh.com/randomimages/subpage-photo16.jpg'
theImages[13] = 'http://www.aboutpgh.com/randomimages/subpage-photo17.jpg'
theImages[14] = 'http://www.aboutpgh.com/randomimages/subpage-photo18.jpg'
theImages[15] = 'http://www.aboutpgh.com/randomimages/subpage-photo19.jpg'
theImages[16] = 'http://www.aboutpgh.com/randomimages/subpage-photo20.jpg'
theImages[17] = 'http://www.aboutpgh.com/randomimages/subpage-photo21.jpg'
theImages[18] = 'http://www.aboutpgh.com/randomimages/subpage-photo22.jpg'
theImages[19] = 'http://www.aboutpgh.com/randomimages/subpage-photo23.jpg'
theImages[20] = 'http://www.aboutpgh.com/randomimages/subpage-photo24.jpg'
theImages[21] = 'http://www.aboutpgh.com/randomimages/subpage-photo25.jpg'
theImages[22] = 'http://www.aboutpgh.com/randomimages/subpage-photo26.jpg'
theImages[23] = 'http://www.aboutpgh.com/randomimages/subpage-photo27.jpg'
theImages[24] = 'http://www.aboutpgh.com/randomimages/subpage-photo28.jpg'
theImages[25] = 'http://www.aboutpgh.com/randomimages/subpage-photo29.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]+'">');
}
