// Rigth side

// Set up the image files to be used.
var theImagesRight = new Array() // do not change this
var theLinksRight = new Array()
// To add more image files, continue with the
// pattern below, adding to the array.

theImagesRight[0] = 'images/home/randomR/1.gif'
theImagesRight[1] = 'images/home/randomR/2.gif'
theImagesRight[2] = 'images/home/randomR/3.gif'
theImagesRight[3] = 'images/home/randomR/4.gif'
theImagesRight[4] = 'images/home/randomR/5.gif'
theLinksRight[0] = 'http://virtualvisit.trinity.edu/index.html'
theLinksRight[1] = 'http://virtualvisit.trinity.edu/index.html'
theLinksRight[2] = 'http://virtualvisit.trinity.edu/index.html'
theLinksRight[3] = 'http://virtualvisit.trinity.edu/index.html'
theLinksRight[4] = 'http://virtualvisit.trinity.edu/index.html'

// do not edit anything below this line

j = 0
p = theImagesRight.length;
var preBufferRight = new Array()
for (i = 0; i < p; i++){
   preBufferRight[i] = new Image()
   preBufferRight[i].src = theImagesRight[i]
}
var whichImageRight = Math.round(Math.random()*(p-1));
function showImageRight(){
document.write('<a href="'+theLinksRight[whichImageRight]+'"><img src="'+theImagesRight[whichImageRight]+'" height="210" width="131"  style="padding-top:7px;" alt="Get a Taste of Life @ Trinity Univeristy" border="0"></a>');
}


// Left side 



// Set up the image files to be used.
var theImagesLeft = new Array() // do not change this
var theLinksLeft = new Array()
// To add more image files, continue with the
// pattern below, adding to the array.

theImagesLeft[0] = 'images/home/randomL/01.jpg'
theImagesLeft[1] = 'images/home/randomL/02.jpg'
theImagesLeft[2] = 'images/home/randomL/03.jpg'
theImagesLeft[3] = 'images/home/randomL/04.jpg'
theImagesLeft[4] = 'images/home/randomL/05.jpg'
theImagesLeft[5] = 'images/home/randomL/06.jpg'
theImagesLeft[6] = 'images/home/randomL/07.jpg'
theImagesLeft[7] = 'images/home/randomL/08.jpg'

theLinksLeft[0] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[1] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[2] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[3] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[4] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[5] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[6] = 'departments/public_relations/thinkmap/index.htm'
theLinksLeft[7] = 'departments/public_relations/thinkmap/index.htm'

// do not edit anything below this line

j = 0
p = theImagesLeft.length;
var preBufferLeft = new Array()
for (i = 0; i < p; i++){
   preBufferLeft[i] = new Image()
   preBufferLeft[i].src = theImagesLeft[i]
}
var whichImageLeft = Math.round(Math.random()*(p-1));
function showImageLeft(){
document.write('<a href="'+theLinksLeft[whichImageLeft]+'"><img src="'+theImagesLeft[whichImageLeft]+'" height="210" width="139"  style="padding-left:7px;padding-right:7px;padding-top:7px;" alt="Profile" border="0"></a>');
}
