var imageArray = new Array();
var linkArray = new Array();
var altArray = new Array();

imageArray[0] = '/includes/navigators/left/images/featgallery-apotome.jpg';
imageArray[1] = '/includes/navigators/left/images/featgallery-fpfusions.jpg';
imageArray[2] = '/includes/navigators/left/images/featgallery-adherentcells.jpg';

linkArray[0] = '/galleries/apotome/index.html';
linkArray[1] = '/galleries/fpfusions/index.html';
linkArray[2] = '/galleries/cells/index.html';

altArray[0] = 'Zeiss ApoTome 3D Image Gallery';
altArray[1] = 'Fluorescent Protein Fusions Image Gallery';
altArray[2] = 'Adherent Cells Fluorescence Image Gallery';

var p = imageArray.length;
var randomGallery = Math.floor(Math.random() * p);

function showImage(){
	document.write('<a href="' + linkArray[randomGallery] + '" class="sidebanner" target="_self">');
	document.write('<img src="' + imageArray[randomGallery] + '" width="181" height="80" alt="' + altArray[randomGallery] + '">');
	document.write('</a>');
}
