var theImages1 = new Array()
var theImages2 = new Array()
var theImages3 = new Array()
var theImages4 = new Array()
var theImages5 = new Array()
var theImages6 = new Array()
var theImages7 = new Array()
var theImages8 = new Array()
var theImages9 = new Array()
var theImages10 = new Array()
var theImages11 = new Array()
var theImages12 = new Array()
var theImages13 = new Array()
var theImages14 = new Array()
var theImages15 = new Array()


theImages1[0] = 'tusker1.jpg'
theImages1[1] = 'tusker2.jpg'
theImages1[2] = 'tusker3.jpg'
theImages1[3] = 'tusker4.jpg'

theImages2[0] = '14river1.jpg'
theImages2[1] = '14river2.jpg'
theImages2[2] = '14river3.jpg'
theImages2[3] = '14river4.jpg'
theImages2[4] = '14river5.jpg'
theImages2[5] = '14river6.jpg'
theImages2[6] = '14river7.jpg'

theImages3[0] = 'kikoy1.jpg'
theImages3[1] = 'kikoy2.jpg'
theImages3[2] = 'kikoy3.jpg'
theImages3[3] = 'kikoy4.jpg'
theImages3[4] = 'kikoy5.jpg'
theImages3[5] = 'kikoy6.jpg'

theImages4[0] = 'mrm1.jpg'
theImages4[1] = 'mrm2.jpg'
theImages4[2] = 'mrm3.jpg'
theImages4[3] = 'mrm4.jpg'
theImages4[4] = 'mrm5.jpg'
theImages4[5] = 'mrm6.jpg'
theImages4[6] = 'mrm7.jpg'


theImages5[0] = 'logo1.jpg'
theImages5[1] = 'logo2.jpg'
theImages5[2] = 'logo3.jpg'
theImages5[3] = 'logo4.jpg'
theImages5[4] = 'logo5.jpg'

theImages6[0] = 'auto1.jpg'
theImages6[1] = 'auto2.jpg'
theImages6[2] = 'auto3.jpg'
theImages6[3] = 'auto4.jpg'
theImages6[4] = 'auto5.jpg'

theImages7[0] = 'excl1.jpg'
theImages7[1] = 'excl2.jpg'
theImages7[2] = 'excl3.jpg'
theImages7[3] = 'excl4.jpg'

theImages8[0] = 'oldm1.jpg'
theImages8[1] = 'oldm2.jpg'
theImages8[2] = 'oldm3.jpg'
theImages8[3] = 'oldm4.jpg'

theImages9[0] = 'aqua1.jpg'
theImages9[1] = 'aqua2.jpg'
theImages9[2] = 'aqua3.jpg'

theImages10[0] = 'bitez4.jpg'
theImages10[1] = 'bitez5.jpg'
theImages10[2] = 'bitez6.jpg'
theImages10[3] = 'bitez7.jpg'

theImages11[0] = 'braeburn1.jpg'
theImages11[1] = 'braeburn2.jpg'
theImages11[2] = 'braeburn3.jpg'
theImages11[3] = 'braeburn4.jpg'
theImages11[4] = 'braeburn5.jpg'

theImages12[0] = 'hotncorny1.jpg'
theImages12[1] = 'hotncorny2.jpg'
theImages12[2] = 'hotncorny3.jpg'
theImages12[3] = 'hotncorny4.jpg'
theImages12[4] = 'hotncorny5.jpg'

theImages13[0] = 'output1.jpg'
theImages13[1] = 'output2.jpg'
theImages13[2] = 'output3.jpg'
theImages13[3] = 'output4.jpg'
theImages13[4] = 'output5.jpg'
theImages13[5] = 'output6.jpg'
theImages13[6] = 'output7.jpg'
theImages13[7] = 'output8.jpg'

theImages14[0] = 'tnc1.jpg'
theImages14[1] = 'tnc2.jpg'
theImages14[2] = 'tnc3.jpg'
theImages14[3] = 'tnc4.jpg'
theImages14[4] = 'tnc5.jpg'
theImages14[5] = 'tnc6.jpg'

theImages15[0] = 'transpaper1.jpg'
theImages15[1] = 'transpaper2.jpg'
theImages15[2] = 'transpaper3.jpg'
theImages15[3] = 'transpaper4.jpg'
theImages15[4] = 'transpaper5.jpg'
theImages15[5] = 'transpaper6.jpg'
theImages15[6] = 'transpaper7.jpg'
theImages15[7] = 'transpaper8.jpg'

var p1 = theImages1.length;
var p2 = theImages2.length;
var p3 = theImages3.length;
var p4 = theImages4.length;
var p5 = theImages5.length;
var p6 = theImages6.length;
var p7 = theImages7.length;
var p8 = theImages8.length;
var p9 = theImages9.length;
var p10 = theImages10.length;
var p11 = theImages11.length;
var p12 = theImages12.length;
var p13 = theImages13.length;
var p14 = theImages14.length;
var p15 = theImages15.length;

var preBuffer1 = new Array()
for (i1 = 0; i1 < p1; i1++){
   preBuffer1[i1] = new Image()
   preBuffer1[i1].src = theImages1[i1]
}

var preBuffer2 = new Array()
for (i2 = 0; i2 < p2; i2++){
   preBuffer2[i2] = new Image()
   preBuffer2[i2].src = theImages2[i2]
}

var preBuffer3 = new Array()
for (i3 = 0; i3 < p3; i3++){
   preBuffer3[i3] = new Image()
   preBuffer3[i3].src = theImages3[i3]
}

var preBuffer4 = new Array()
for (i4 = 0; i4 < p4; i4++){
   preBuffer4[i4] = new Image()
   preBuffer4[i4].src = theImages4[i4]
}

var preBuffer5 = new Array()
for (i5 = 0; i5 < p5; i5++){
   preBuffer5[i5] = new Image()
   preBuffer5[i5].src = theImages5[i5]
}

var preBuffer6 = new Array()
for (i6 = 0; i6 < p6; i6++){
   preBuffer6[i6] = new Image()
   preBuffer6[i6].src = theImages6[i6]
}

var preBuffer7 = new Array()
for (i7 = 0; i7 < p7; i7++){
   preBuffer7[i7] = new Image()
   preBuffer7[i7].src = theImages7[i7]
}

var preBuffer8 = new Array()
for (i8 = 0; i8 < p8; i8++){
   preBuffer8[i8] = new Image()
   preBuffer8[i8].src = theImages8[i8]
}

var preBuffer9 = new Array()
for (i9 = 0; i9 < p9; i9++){
   preBuffer9[i9] = new Image()
   preBuffer9[i9].src = theImages9[i9]
}

var preBuffer10 = new Array()
for (i10 = 0; i10 < p10; i10++){
   preBuffer10[i10] = new Image()
   preBuffer10[i10].src = theImages10[i10]
}

var preBuffer11 = new Array()
for (i11 = 0; i11 < p11; i11++){
   preBuffer11[i11] = new Image()
   preBuffer11[i11].src = theImages11[i11]
}
var preBuffer12 = new Array()
for (i12 = 0; i12 < p12; i12++){
   preBuffer12[i12] = new Image()
   preBuffer12[i12].src = theImages12[i12]
}

var preBuffer13 = new Array()
for (i13 = 0; i13 < p13; i13++){
   preBuffer13[i13] = new Image()
   preBuffer13[i13].src = theImages13[i13]
}
var preBuffer14 = new Array()
for (i14 = 0; i14 < p14; i14++){
   preBuffer14[i14] = new Image()
   preBuffer14[i14].src = theImages14[i14]
}

var preBuffer15 = new Array()
for (i15 = 0; i15 < p15; i15++){
   preBuffer15[i15] = new Image()
   preBuffer15[i15].src = theImages15[i15]
}




var whichImage1 = Math.round(Math.random()*(p1-1));
var whichImage2 = Math.round(Math.random()*(p2-1));
var whichImage3 = Math.round(Math.random()*(p3-1));
var whichImage4 = Math.round(Math.random()*(p4-1));
var whichImage5 = Math.round(Math.random()*(p5-1));
var whichImage6 = Math.round(Math.random()*(p6-1));
var whichImage7 = Math.round(Math.random()*(p7-1));
var whichImage8 = Math.round(Math.random()*(p8-1));
var whichImage9 = Math.round(Math.random()*(p9-1));
var whichImage10 = Math.round(Math.random()*(p10-1));
var whichImage11 = Math.round(Math.random()*(p11-1));
var whichImage12 = Math.round(Math.random()*(p12-1));
var whichImage13 = Math.round(Math.random()*(p13-1));
var whichImage14 = Math.round(Math.random()*(p14-1));
var whichImage15 = Math.round(Math.random()*(p15-1));



function showImage1(){
document.write('<img src="'+"showcase_images/"+theImages1[whichImage1]+'">');
}
function showImage2(){
document.write('<img src="'+"showcase_images/"+theImages2[whichImage2]+'">');
}
function showImage3(){
document.write('<img src="'+"showcase_images/"+theImages3[whichImage3]+'">');
}
function showImage4(){
document.write('<img src="'+"showcase_images/"+theImages4[whichImage4]+'">');
}
function showImage5(){
document.write('<img src="'+"showcase_images/"+theImages5[whichImage5]+'">');
}
function showImage6(){
document.write('<img src="'+"showcase_images/"+theImages6[whichImage6]+'">');
}
function showImage7(){
document.write('<img src="'+"showcase_images/"+theImages7[whichImage7]+'">');
}
function showImage8(){
document.write('<img src="'+"showcase_images/"+theImages8[whichImage8]+'">');
}
function showImage9(){
document.write('<img src="'+"showcase_images/"+theImages9[whichImage9]+'">');
}
function showImage10(){
document.write('<img src="'+"showcase_images/"+theImages10[whichImage10]+'">');
}
function showImage11(){
document.write('<img src="'+"showcase_images/"+theImages11[whichImage11]+'">');
}
function showImage12(){
document.write('<img src="'+"showcase_images/"+theImages12[whichImage12]+'">');
}
function showImage13(){
document.write('<img src="'+"showcase_images/"+theImages13[whichImage13]+'">');
}
function showImage14(){
document.write('<img src="'+"showcase_images/"+theImages14[whichImage14]+'">');
}
function showImage15(){
document.write('<img src="'+"showcase_images/"+theImages15[whichImage15]+'">');
}


