// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = new Object()
theImages[0].image = '/images/hero/uk_first_in_augerboring.jpg'
theImages[0].url = '/services/augerboring/specialist_augerboring.asp'

theImages[1] = new Object()
theImages[1].image = '/images/hero/trenchless_technology_rail.jpg'
theImages[1].url = '/sectors/rail.asp'

theImages[2] = new Object()
theImages[2].image = '/images/hero/ecocipp.jpg'
theImages[2].url = '/services/ecocipp.asp'

theImages[3] = new Object()
theImages[3].image = '/images/hero/guided_augerboring.jpg'
theImages[3].url = '/services/augerboring/guided_augerboring.asp'

theImages[4] = new Object()
theImages[4].image = '/images/hero/manhole_bursting.jpg'
theImages[4].url = '/services/manhole_bursting.asp'

theImages[5] = new Object()
theImages[5].image = '/images/hero/fact.jpg'
theImages[5].url = '/services/ecocipp.asp'

//theImages[6] = new Object()
//theImages[6].image = '/images/hero/dte.jpg'
//theImages[6].url = 'http://www.dtexhibition.com'
//theImages[6].other = 'target="_blank"'

theImages[6] = new Object()
theImages[6].image = '/images/hero/pipe_cleaning.jpg'
theImages[6].url = '/services/pipe_cleaning.asp'

theImages[7] = new Object()
theImages[7].image = '/images/hero/shafts.jpg'
theImages[7].url = '/services/shaft_sinking.asp'

theImages[8] = new Object()
theImages[8].image = '/images/hero/sliplining.jpg'
theImages[8].url = '/services/sliplining.asp'

theImages[9] = new Object()
theImages[9].image = '/images/hero/snapit.jpg'
theImages[9].url = '/products/snapit_manufacturing.asp'

theImages[10] = new Object()
theImages[10].image = '/images/hero/headings.jpg'
theImages[10].url = '/services/headings.asp'

theImages[11] = new Object()
theImages[11].image = '/images/hero/fact.jpg'
theImages[11].url = '/services/ecocipp.asp'

theImages[12] = new Object()
theImages[12].image = '/images/hero/fact.jpg'
theImages[12].url = '/services/ecocipp.asp'

theImages[13] = new Object()
theImages[13].image = '/images/hero/pressurecipp.jpg'
theImages[13].url = '/services/cipp/pressurecipp.asp'

theImages[14] = new Object()
theImages[14].image = '/images/expandit_video_ad_hero.jpg'
theImages[14].url = 'javascript:openWindow(\'/products/expandit_manufacturing_video.htm\', \'430\', \'350\', true);'

theImages[15] = new Object()
theImages[15].image = '/images/augerboring_video_ad_hero.jpg'
theImages[15].url = 'javascript:openWindow(\'/services/augerboring/augerboring_video.htm\', \'430\', \'350\', true);'

// 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 showImage(){
document.write('<a href="'+theImages[whichImage].url+'" '+theImages[whichImage].other+'><img src="'+theImages[whichImage].image+'" height="313" width="283" border="0" style="border-top:2px solid #1E599A; border-bottom:8px solid #1E599A"></a>');
}