// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================


<!-- ------------------- -->
<!--     CT Imaging      -->
<!-- ------------------- -->

var theCTImages = new Array() 

theCTImages[0] = 'top_nav01pic.jpg'
theCTImages[1] = 'top_nav01pic_b.jpg'
theCTImages[2] = 'top_nav01pic_c.jpg'
theCTImages[3] = 'top_nav01pic_d.jpg'
theCTImages[4] = 'top_nav01pic_e.jpg'
theCTImages[5] = 'top_nav01pic_f.jpg'
theCTImages[6] = 'top_nav01pic_g.jpg'
theCTImages[7] = 'top_nav01pic_i.jpg'
theCTImages[8] = 'top_nav01pic_h.jpg'

var j = 0
var p = theCTImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theCTImages[i]
}

var whichCTImage = Math.round(Math.random()*(p-1));
function showCTImage(){
document.write('<img src="../images/'+theCTImages[whichCTImage]+'" width="116" height="85" border="0">');
}



<!-- ------------------- -->
<!-- Virtual Colonoscopy -->
<!-- ------------------- -->

var theVCImages = new Array() 

theVCImages[0] = 'top_nav02pic.jpg'
theVCImages[1] = 'top_nav02pic_b.jpg'
theVCImages[2] = 'top_nav02pic_c.jpg'
theVCImages[3] = 'top_nav02pic_d.jpg'
theVCImages[4] = 'top_nav02pic_e.jpg'
theVCImages[5] = 'top_nav02pic_f.jpg'

var j = 0
var p = theVCImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theVCImages[i]
}

var whichVCImage = Math.round(Math.random()*(p-1));
function showVCImage(){
document.write('<img src="../images/'+theVCImages[whichVCImage]+'" width="116" height="85" border="0">');
}


<!-- ------------------- -->
<!--  Speech Pathology   -->
<!-- ------------------- -->

var theSpeechImages = new Array() 

theSpeechImages[0] = 'top_nav03pic.jpg'
theSpeechImages[1] = 'top_nav03pic_b.jpg'

var j = 0
var p = theSpeechImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theSpeechImages[i]
}

var whichSpeechImage = Math.round(Math.random()*(p-1));
function showSpeechImage(){
document.write('<img src="../images/'+theSpeechImages[whichSpeechImage]+'" width="116" height="85" border="0">');
}


<!-- ------------------- -->
<!--  Gastroenterology   -->
<!-- ------------------- -->

var theGasImages = new Array() 

theGasImages[0] = 'top_nav04pic.jpg'
theGasImages[1] = 'top_nav04pic_b.jpg'
theGasImages[2] = 'top_nav04pic_c.jpg'
theGasImages[3] = 'top_nav04pic_d.jpg'
theGasImages[4] = 'top_nav04pic_e.jpg'
theGasImages[5] = 'top_nav04pic_f.jpg'
theGasImages[6] = 'top_nav04pic_g.jpg'
theGasImages[7] = 'top_nav04pic_h.jpg'
theGasImages[8] = 'top_nav04pic_i.jpg'
theGasImages[9] = 'top_nav04pic_j.jpg'

var j = 0
var p = theGasImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theGasImages[i]
}

var whichGasImage = Math.round(Math.random()*(p-1));
function showGasImage(){
document.write('<img src="../images/'+theGasImages[whichGasImage]+'" width="116" height="85" border="0">');
}


<!-- ------------------- -->
<!--  Healthcare Decon   -->
<!-- ------------------- -->

<!-- other images, not used now but still exist: top_nav05pic.jpg & top_nav05pic_b.jpg -->

var theHealthImages = new Array() 

theHealthImages[0] = 'top_nav05pic_c.jpg'
theHealthImages[1] = 'top_nav05pic_d.jpg'

var j = 0
var p = theHealthImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theHealthImages[i]
}

var whichHealthImage = Math.round(Math.random()*(p-1));
function showHealthImage(){
document.write('<img src="../images/'+theHealthImages[whichHealthImage]+'" width="116" height="85" border="0">');
}