// JavaScript Document

var theImagesLand = new Array()
 
theImagesLand[0] = 'images/general/landscapeImage01.jpg'
theImagesLand[1] = 'images/general/landscapeImage02.jpg'
theImagesLand[2] = 'images/general/landscapeImage03.jpg'
theImagesLand[3] = 'images/general/landscapeImage04.jpg'
theImagesLand[4] = 'images/general/landscapeImage05.jpg'
theImagesLand[5] = 'images/general/landscapeImage06.jpg'
 
var j = 0
var p = theImagesLand.length;
var preBuffer = new Array()
 
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImagesLand[i]
}
var whichImageLand = Math.round(Math.random()*(p-1));
 
function showImageLand(){
    if(whichImageLand==0){
    document.write('<img src="'+theImagesLand[whichImageLand]+'" border=0 width=120 height=85></a>');
    }
    else if(whichImageLand==1){
    document.write('<img src="'+theImagesLand[whichImageLand]+'" border=0 width=120 height=85></a>');
    }
    else if(whichImageLand==2){
    document.write('<img src="'+theImagesLand[whichImageLand]+'" border=0 width=120 height=85></a>');
    }
    else if(whichImageLand==3){
    document.write('<img src="'+theImagesLand[whichImageLand]+'" border=0 width=120 height=85></a>');
    }
    else if(whichImageLand==4){
    document.write('<img src="'+theImagesLand[whichImageLand]+'" border=0 width=120 height=85></a>');
    }
	else if(whichImageLand==5){
    document.write('<img src="'+theImagesLand[whichImageLand]+'" border=0 width=120 height=85></a>');
    }
 
}

