// JavaScript Document

var theImagesPort2 = new Array()
 
theImagesPort2[0] = 'images/general/portraitImage2_01.jpg'
theImagesPort2[1] = 'images/general/portraitImage2_02.jpg'
theImagesPort2[2] = 'images/general/portraitImage2_03.jpg'
theImagesPort2[3] = 'images/general/portraitImage2_04.jpg'
//theImagesPort2[4] = 'images/general/portraitImage2_05.jpg'
//theImagesPort2[5] = 'images/general/portraitImage2_06.jpg'
 
var j = 0
var p = theImagesPort2.length;
var preBuffer = new Array()
 
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImagesPort2[i]
}
var whichImagePort2 = Math.round(Math.random()*(p-1));
 
function showImagePort2(){
    if(whichImagePort2==0){
    document.write('<img src="'+theImagesPort2[whichImagePort2]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort2==1){
    document.write('<img src="'+theImagesPort2[whichImagePort2]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort2==2){
    document.write('<img src="'+theImagesPort2[whichImagePort2]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort2==3){
    document.write('<img src="'+theImagesPort2[whichImagePort2]+'" border=0 width=85 height=120></a>');
    }
   /* else if(whichImagePort2==4){
   document.write('<img src="'+theImagesPort2[whichImagePort2]+'" border=0 width=85 height=120></a>');
    }
     else if(whichImagePort2==5){
     document.write('<img src="'+theImagesPort2[whichImagePort2]+'" border=0 width=85 height=120></a>');
   }*/
 
}

