// THE FIRST IMAGE SET

var theImages1 = new Array() // do not change this

theImages1[0] = '<a href="http://www.dnastair.co.uk/gallery/index.php?gallery=./Helical&image=1947-op02-03.jpg"><img src="http://www.dnastair.co.uk/images/cornerimages/corner-image1.jpg"></a>'
theImages1[1] = '<a href="http://www.dnastair.co.uk/gallery/index.php?gallery=./DNA%20Stair"><img src="http://www.dnastair.co.uk/images/cornerimages/corner-image2.jpg"></a>'
theImages1[2] = '<a href="http://www.dnastair.co.uk/gallery/index.php?gallery=./1m2"><img src="http://www.dnastair.co.uk/images/cornerimages/corner-image3.jpg"></a>'

// do not edit anything below this line

var j = 0
var p = theImages1.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages1[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage1(){
document.write(theImages1[whichImage]);
}

// THE SECOND IMAGE SET

var theImages2 = new Array() // do not change this

theImages2[0] = '<a href="http://www.dnastair.co.uk/gallery/index.php?gallery=./Stack"><img src="http://www.dnastair.co.uk/images/cornerimages/corner-image4.jpg"></a>'
theImages2[1] = '<a href="http://www.dnastair.co.uk/gallery/index.php?gallery=./Carbonfibre"><img src="http://www.dnastair.co.uk/images/cornerimages/corner-image5.jpg"></a>'
theImages2[2] = '<a href="http://www.dnastair.co.uk/gallery/index.php?gallery=./Radial
