
var theImages = new Array() // do not change this

theImages[0] = '/includes/rotators/museum/nikon_modelg.jpg'
theImages[1] = '/includes/rotators/museum/diaphot_inverted.jpg'
theImages[2] = '/includes/rotators/museum/eclipse_e600.jpg'
theImages[3] = '/includes/rotators/museum/halogen_illuminator.jpg'
theImages[4] = '/includes/rotators/museum/interferencephase.jpg'
theImages[5] = '/includes/rotators/museum/microflex_modelpfm.jpg'
theImages[6] = '/includes/rotators/museum/multiphot_largeformat.jpg'
theImages[7] = '/includes/rotators/museum/nikon_firstmicroscope.jpg'
theImages[8] = '/includes/rotators/museum/nikon_modelgh.jpg'
theImages[9] = '/includes/rotators/museum/nikon_modelm.jpg'
theImages[10] = '/includes/rotators/museum/slitlamp_cs1.jpg'


var theLinks = new Array() // do not change this

theLinks[0] = '/museum/modelg.html'
theLinks[1] = '/museum/diaphot.html'
theLinks[2] = '/museum/eclipseE600.html'
theLinks[3] = '/museum/halogenlamp.html'
theLinks[4] = '/museum/interferencephaseattachment.html'
theLinks[5] = '/museum/microflexpfm.html'
theLinks[6] = '/museum/multiphot.html'
theLinks[7] = '/museum/firstnikon.html'
theLinks[8] = '/museum/modelgh.html'
theLinks[9] = '/museum/modelminverted.html'
theLinks[10] = '/museum/slitlampcs1.html'


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 bannerID = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<a href="'+theLinks[bannerID]+'"><img src="'+theImages[bannerID]+'" border=0 alt="Museum of Nikon Microscopes"></a>');
}
