
var theImages = new Array()

//Random-loading images
theImages[0] = 'CyBrandImages/homepic-cl-1.gif' // replace with names of images
theImages[1] = 'CyBrandImages/homepic-cl-2.gif' // replace with names of images
theImages[2] = 'CyBrandImages/homepic-cl-3.gif' // replace with names of images
theImages[3] = 'CyBrandImages/homepic-cl-4.gif' // replace with names of images
theImages[4] = 'CyBrandImages/homepic-cl-5.gif' // replace with names of images
theImages[5] = 'CyBrandImages/homepic-cl-6.gif' // replace with names of images

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() {
    if (whichImage == 0) {
        document.write('<img src="' + theImages[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 1) {
        document.write('<img src="' + theImages[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 2) {
        document.write('<img src="' + theImages[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 3) {
        document.write('<img src="' + theImages[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 4) {
        document.write('<img src="' + theImages[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 5) {
        document.write('<img src="' + theImages[whichImage] + '" border=0 width=165 height=153>');
    }


}


var theImages1 = new Array()

//Random-loading images
theImages1[0] = 'CyBrandImages/homepic-pt-1.gif' // replace with names of images
theImages1[1] = 'CyBrandImages/homepic-pt-2.gif' // replace with names of images
theImages1[2] = 'CyBrandImages/homepic-pt-3.gif' // replace with names of images
theImages1[3] = 'CyBrandImages/homepic-pt-4.gif' // replace with names of images
theImages1[4] = 'CyBrandImages/homepic-pt-5.gif' // replace with names of images
theImages1[5] = 'CyBrandImages/homepic-pt-6.gif' // replace with names of images

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() {
    if (whichImage == 0) {
        document.write('<img src="' + theImages1[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 1) {
        document.write('<img src="' + theImages1[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 2) {
        document.write('<img src="' + theImages1[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 3) {
        document.write('<img src="' + theImages1[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 4) {
        document.write('<img src="' + theImages1[whichImage] + '" border=0 width=165 height=153>');
    }
    else if (whichImage == 5) {
        document.write('<img src="' + theImages1[whichImage] + '" border=0 width=165 height=153>');
    }


}

// JavaScript Document
