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