

function randomContent()
{
var chosenImage=new Array();
// filenames of images in this array
chosenImage[1]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Palmbach-HCLee.jpg";
chosenImage[2]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Gaboury-HCLee.jpg";
chosenImage[3]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Monahan-HCLee.jpg";
chosenImage[4]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Schroeder-HCLee.jpg";
chosenImage[5]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Tafoya-HCLee.jpg";
chosenImage[6]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Maxwell-HCLee.jpg";
chosenImage[7]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/Polio-HCLee.jpg";
chosenImage[8]="http://www.newhaven.edu/unh/marketing/academics/facultyprofiles/ads/HCLee/DeckerMorris-HCLee.jpg";

var chosenAltCopy=new Array();
// title and alt copy for images goes here
chosenAltCopy[1]="University of New Haven: Faculty Spotlight on Tim Palmbach";
chosenAltCopy[2]="University of New Haven: Faculty Spotlight on Mario Gaboury";
chosenAltCopy[3]="University of New Haven: Faculty Spotlight on James Monahan";
chosenAltCopy[4]="University of New Haven: Faculty Spotlight on David Schroeder";
chosenAltCopy[5]="University of New Haven: Faculty Spotlight on William Tafoya";
chosenAltCopy[6]="University of New Haven: Faculty Spotlight on Daniel Maxwell";
chosenAltCopy[7]="University of New Haven: Faculty Spotlight on Joe Polio";
chosenAltCopy[8]="University of New Haven: Faculty Spotlight on Donna Decker Morris";

var chosenLink=new Array();
// link information for images goes here
chosenLink[1]="27624";
chosenLink[2]="27609";
chosenLink[3]="34967";
chosenLink[4]="34971";
chosenLink[5]="33224";
chosenLink[6]="78258";
chosenLink[7]="34974";
chosenLink[8]="98827";

var getRan=Math.floor(Math.random()*chosenImage.length);
if (getRan==0)
getRan=1;

document.write('<a href=\"'+chosenLink[getRan]+'"/><img src=\"'+chosenImage[getRan]+'"alt=\"'+chosenAltCopy[getRan]+'\" border=\"0" /></a>');

}



