function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

var theImages = new Array() 

theImages[0] = 'pictures/hp/hp_left_top01.jpg'
theImages[1] = 'pictures/hp/hp_left_top02.jpg'
theImages[2] = 'pictures/hp/hp_left_top03.jpg'
theImages[3] = 'pictures/hp/hp_left_top04.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]+'">');
}


var theImages1 = new Array() 

theImages1[0] = 'pictures/hp/hp_right_top01.jpg'
theImages1[1] = 'pictures/hp/hp_right_top02.jpg'
theImages1[2] = 'pictures/hp/hp_right_top03.jpg'
theImages1[3] = 'pictures/hp/hp_right_top04.jpg'
theImages1[4] = 'pictures/hp/hp_right_top05.jpg'

var j1 = 0
var p1 = theImages1.length;
var preBuffer1 = new Array()
for (i = 0; i < p1; i++){
   preBuffer1[i] = new Image()
   preBuffer1[i].src = theImages1[i]
}
var whichImage1 = Math.round(Math.random()*(p1-1));
function showImage1(){
document.write('<img src="'+theImages1[whichImage1]+'">');
}


var theImages2 = new Array() 

theImages2[0] = 'pictures/hp/hp_left_bottom01.jpg'
theImages2[1] = 'pictures/hp/hp_left_bottom02.jpg'
theImages2[2] = 'pictures/hp/hp_left_bottom03.jpg'
theImages2[3] = 'pictures/hp/hp_left_bottom04.jpg'

var j2 = 0
var p2 = theImages2.length;
var preBuffer2 = new Array()
for (i = 0; i < p2; i++){
   preBuffer2[i] = new Image()
   preBuffer2[i].src = theImages2[i]
}
var whichImage2 = Math.round(Math.random()*(p2-1));
function showImage2(){
document.write('<img src="'+theImages2[whichImage2]+'">');
}


var theImages3 = new Array() 

theImages3[0] = 'pictures/hp/hp_right_bottom01.jpg'
theImages3[1] = 'pictures/hp/hp_right_bottom02.jpg'
theImages3[2] = 'pictures/hp/hp_right_bottom03.jpg'
theImages3[3] = 'pictures/hp/hp_right_bottom04.jpg'

var j3 = 0
var p3 = theImages3.length;
var preBuffer3 = new Array()
for (i = 0; i < p3; i++){
   preBuffer3[i] = new Image()
   preBuffer3[i].src = theImages3[i]
}
var whichImage3 = Math.round(Math.random()*(p3-1));
function showImage3(){
document.write('<img src="'+theImages3[whichImage3]+'">');
}

