
<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
var theLinks = new Array() // do not change this
var theLinks2 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/sidebar_1.jpg'
theImages[1] = 'images/sidebar_2.jpg'
theImages[2] = 'images/sidebar_3.jpg'

theLinks[0] = 'hamper'
theLinks[1] = 'corporate diary'
theLinks[2] = 'main merchandise'

var theImages2 = new Array() 

theImages2[0] = 'images/sidebar_4.jpg'
theImages2[1] = 'images/sidebar_5.jpg'
theImages2[2] = 'images/sidebar_6.jpg'

theLinks2[0] = 'nameit'
theLinks2[1] = 'corporate calendar'
theLinks2[2] = 'executive calendar'

// do not edit 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 showImage1(){
document.write('<img src="'+theImages[whichImage]+'">');
}
function writeLink1(){
	document.write('<a href="download.php" class="download-link"><span class="highlight">download</span> our '+theLinks[whichImage]+' catalogue</a>');
}
//second instance

var k = 0
var q = theImages.length;
var preBuffer = new Array()
for (z = 0; z < q; z++){
   preBuffer[z] = new Image()
   preBuffer[z].src = theImages2[z]
}
var whichImage2 = Math.round(Math.random()*(q-1));


function showImage2(){
document.write('<img src="'+theImages2[whichImage2]+'">');
}
function writeLink2(){
	document.write('<a href="download.php" class="download-link"><span class="highlight">download</span> our '+theLinks2[whichImage2]+' catalogue</a>');
}
//  End -->

