<!--
function myimages(filename, person, personURL, project, projectURL, alttag, caption, wdth, hght) {
    this.filename = filename;
	this.person = person;
	this.personURL = personURL;
	this.project = project;
	this.projectURL = projectURL;
    this.alttag = alttag;
    this.caption = caption;
    this.wdth = wdth;
    this.hght = hght;
}

function holdImage(){
	
	var img_rnd = new Array ( );
	img_rnd[img_rnd.length] = new myimages("rndimgs/kilgore.jpg", "Dr. Michael Kilgore", "http://www.mc.uky.edu/pharmacology/bios/kilgore.html", "Project 2", "./project2.html", "Picture: Dr. Michael Kilgore", "CAPTION", "128", "115");
	img_rnd[img_rnd.length] = new myimages("rndimgs/JayKo.jpg", "Dr. Jay Ko", "http://www.mc.uky.edu/CLS/faculty_staff/cko.html", "Project 2", "./project2.html", "Picture: Dr. Chemyong (Jay) Ko", "CAPTION", "128", "115");
	img_rnd[img_rnd.length] = new myimages("rndimgs/misung_jo.jpg", "Dr. Misung Jo", "http://www.mc.uky.edu/obg/FacultyInfo/reproendo/misungjo.asp", "Project 2", "./project2.html", "Picture: Dr. Misung Jo", "CAPTION", "128", "115");
	img_rnd[img_rnd.length] = new myimages("rndimgs/thibault.jpg", "Dr. Olivier Thibault", "http://www.mc.uky.edu/pharmacology/bios/thibault.html", "Project 4", "./project4.html", "Picture: Dr. Olivier Thibault", "CAPTION", "128", "115");

	var i = Math.round((img_rnd.length - 1)*Math.random());
	


	output = "<img src='" + img_rnd[i].filename + "' ";
	output += "alt='" + img_rnd[i].alttag + "' "; 
	output += "width='" + img_rnd[i].wdth + "'" + " " + "height='" + img_rnd[i].hght + "'" + " " + "></a>";

	person = "<a class='facultyspot' href='" + img_rnd[i].personURL + "'>" +  img_rnd[i].person + "</a>";
	
	project = "<a class='facultyspot' href='" + img_rnd[i].projectURL + "'>" + img_rnd[i].project + "</a>";

}
getImage.prototype = new myimages;

function getImage() {
	$('FacSpotPic').update(output);
}
getImage.prototype = new holdImage;

function getPerson(){
	$('FacSpotPerson').update(person);
}
getPerson.prototype = new holdImage;

function getProject(){
	$('FacSpotProj').update(project);
}
getProject.prototype = new holdImage;
// -->

