<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

var theImages1 = new Array() 
theImages1[0] = '000.jpg'
theImages1[1] = '001.jpg'
theImages1[2] = '002.jpg'
theImages1[3] = '003.jpg'
theImages1[4] = '004.jpg'
theImages1[5] = '005.jpg'
theImages1[6] = '006.jpg'
theImages1[7] = '007.jpg'
theImages1[8] = '008.jpg'
theImages1[9] = '009.jpg'
theImages1[10] = '010.jpg'
theImages1[11] = '011.jpg'
theImages1[12] = '012.jpg'

var theImages2 = new Array() 
theImages2[0] = '100.jpg'
theImages2[1] = '101.jpg'
theImages2[2] = '102.jpg'
theImages2[3] = '103.jpg'
theImages2[4] = '104.jpg'
theImages2[5] = '105.jpg'
theImages2[6] = '106.jpg'
theImages2[7] = '107.jpg'
theImages2[8] = '108.jpg'
theImages2[9] = '109.jpg'
theImages2[10] = '110.jpg'
theImages2[11] = '111.jpg'
theImages2[12] = '112.jpg'

var theAlt = new Array()
theAlt[0] = 'St Ives'
theAlt[1] = 'Bluebells'
theAlt[2] = 'St Michael`s Mount'
theAlt[3] = 'Godrevy Lighthouse'
theAlt[4] = 'Buttercups'
theAlt[5] = 'Rhododendrons'
theAlt[6] = 'Pebbles'
theAlt[7] = 'Sea scape'
theAlt[8] = 'Rocks and sea'
theAlt[9] = 'Waves'
theAlt[10] = 'Clover'
theAlt[11] = 'Tree tops'
theAlt[12] = 'Surfers'



// 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('<img src="images/decoration/'+theImages1[whichImage]+'" width="600" height="149" alt="'+theAlt[whichImage]+'">');
}

function showImage2(){
document.write('<img src="images/decoration/'+theImages2[whichImage]+'" width="200" height="600" alt="'+theAlt[whichImage]+'">');
}
