// JavaScript Document

var theImagesLands = new Array()
 
theImagesLands[0] = 'images/general/landscapeImage2_04.jpg'
theImagesLands[1] = 'images/general/landscapeImage2_07.jpg'
//theImagesLands[2] = 'images/general/landscapeImage07.jpg'
 
var j = 0
var p = theImagesLands.length;
var preBuffer = new Array()
 
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImagesLands[i]
}
var whichImageLands = Math.round(Math.random()*(p-1));
 
function showImageLands(){
    if(whichImageLands==0){
    document.write('<img src="'+theImagesLands[whichImageLands]+'" border=0 width=120 height=85></a>');
    }
    else if(whichImageLands==1){
    document.write('<img src="'+theImagesLands[whichImageLands]+'" border=0 width=120 height=85></a>');
    }
  //  else if(whichImageLands==2){
  //  document.write('<img src="'+theImagesLands[whichImageLands]+'" border=0 width=120 height=85></a>');
  //  }
   // else if(whichImageLands==3){
  //  document.write('<img src="'+theImagesLands[whichImageLands]+'" border=0 width=120 height=85></a>');
  //  }
 
}
