// JavaScript Document

var theImagesPort = new Array()
 
theImagesPort[0] = 'images/general/portraitImage01.jpg'
theImagesPort[1] = 'images/general/portraitImage02.jpg'
theImagesPort[2] = 'images/general/portraitImage03.jpg'
theImagesPort[3] = 'images/general/portraitImage04.jpg'
theImagesPort[4] = 'images/general/portraitImage05.jpg'
theImagesPort[5] = 'images/general/portraitImage06.jpg'
theImagesPort[6] = 'images/general/portraitImage07.jpg'

var j = 0
var p = theImagesPort.length;
var preBuffer = new Array()
 
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImagesPort[i]
}
var whichImagePort = Math.round(Math.random()*(p-1));
 
function showImagePort(){
     if(whichImagePort==0){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort==1){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort==2){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort==3){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
    else if(whichImagePort==4){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
	 else if(whichImagePort==5){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
	 else if(whichImagePort==6){
    document.write('<img src="'+theImagesPort[whichImagePort]+'" border=0 width=85 height=120></a>');
    }
  
}
