// JavaScript Document

<!-- Begin
// Set up the image files to be used.
var theImages8 = new Array()
var theLink8 = new Array()// do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages8[0] = 'images/products/p2/reg-1.jpg'
theImages8[1] = 'images/products/p2/reg-2.jpg'
theImages8[2] = 'images/products/p2/reg-3.jpg'

theLink8[0] = 'Module.aspx?ModuleNo=37774'
theLink8[1] = 'Module.aspx?ModuleNo=266145'
theLink8[2] = 'Module.aspx?ModuleNo=97384'

// do not edit anything below this line

var j = 0
var p = theImages8.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages8[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage8(){
document.write('<a href="'+theLink8[whichImage]+'"><img src="'+theImages8[whichImage]+'"></a>');
}

//  End -->
