
var theImages = new Array()

theImages[0] = 'Butterfly01.jpg'
theImages[1] = 'Butterfly02.jpg'
theImages[2] = 'Butterfly03.jpg'
theImages[3] = 'Butterfly04.jpg'
theImages[4] = 'Butterfly05.jpg'
theImages[5] = 'Butterfly06.jpg'
theImages[6] = 'Butterfly07.jpg'
theImages[7] = 'Butterfly08.jpg'
theImages[8] = 'Butterfly09.jpg'
theImages[9] = 'Butterfly10.jpg'
theImages[10] = 'Butterfly11.jpg'
theImages[11] = 'Butterfly12.jpg'
theImages[12] = 'Butterfly13.jpg'
theImages[13] = 'Butterfly14.jpg'
theImages[14] = 'Butterfly15.jpg'
theImages[15] = 'Butterfly16.jpg'
theImages[16] = 'Butterfly17.jpg'
theImages[17] = 'Butterfly18.jpg'
theImages[18] = 'Butterfly19.jpg'
theImages[19] = 'Butterfly20.jpg'
theImages[20] = 'Butterfly21.jpg'
theImages[21] = 'Butterfly22.jpg'
theImages[22] = 'Butterfly23.jpg'
theImages[23] = 'Butterfly24.jpg'
theImages[24] = 'Butterfly25.jpg'
theImages[25] = 'Butterfly26.jpg'
theImages[26] = 'Butterfly27.jpg'
theImages[27] = 'Butterfly28.jpg'
theImages[28] = 'Butterfly29.jpg'
theImages[29] = 'Butterfly30.jpg'
theImages[30] = 'Butterfly31.jpg'
theImages[31] = 'Butterfly32.jpg'
theImages[32] = 'Butterfly33.jpg'
theImages[33] = 'Butterfly34.jpg'

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('<img src="'+theImages[whichImage]+'">');
}

function CurrentScene(){
document.write('<a href="ContentsAct01Scene05.html"><img src="Button1-Act01Scene05.jpg" border=1 name="SecondScene"></a><Br><Br><a href="ContentsAct01Scene04.html"><img name="FirstScene" src="Button1-Act01Scene04.jpg" border=1></a>');
}