var rolls = new Array(9);
rolls[0] = new Image();
rolls[0].src = "/cfas/images/about_down.gif";
rolls[1] = new Image();
rolls[1].src = "/cfas/images/contact_down.gif";
rolls[2] = new Image();
rolls[2].src = "/cfas/images/employees_down.gif";
rolls[3] = new Image();
rolls[3].src = "/cfas/images/sitemap_down.gif";
rolls[4] = new Image();
rolls[4].src = "/cfas/images/research_down.gif";
rolls[5] = new Image();
rolls[5].src = "/cfas/images/training_down.gif";
rolls[6] = new Image();
rolls[6].src = "/cfas/images/funding_down.gif";
rolls[7] = new Image();
rolls[7].src = "/cfas/images/clinics_down.gif";
rolls[8] = new Image();
rolls[8].src = "/cfas/images/calendar_down.gif";
rolls[9] = new Image();
rolls[9].src = "/cfas/images/resources_down.gif";

function imgDown(name){
	var thisImg = eval("document." + name);
	thisImg.src = "/cfas/images/" + name + "_down.gif";
	}
	
function imgUp(name){
	var thisImg = eval("document." + name);
	thisImg.src = "/cfas/images/" + name + "_up.gif";
	}
	
function getImage(){

	var msg = new Array(11);
	msg[0] = "C. caviae- IncA is green, tubulin is red, DNA is blue. Courtesy of Dr. Dan Rockey";
	msg[1] = "Panelist from the 2002 forum on the health of the world's children (left to right) Paul Ramsey, Dean, UW School of Medicine; Bolanle Oyeledun, Packard-Gates Population Leadership Fellow;  the Archbishop Desmund Tutu; Stephen Gloyd, director of the UW International Health Program in the School of Public Health and Community Medicine; Patricia Wahl, Dean, School of Public Health; King Holmes, director of the UW Center for AIDS and Sexually Transmitted Disease";
	msg[2] = "Children in the Central Plateau of Haiti smile for the camera. Photograph by Tom Furtwangler";
	msg[3] = "From the laboratory of Dr. Sheila Lukehart, monoclonal antibody staining of Treponema pallidum in a touch-prep from a chancre (primary syphilis)";
	msg[4] = "Dr. Silvia Montano, CFAS investigator, is responsible for HIV seroprevalence studies throughout South America. In this photo she is in a hospital ward of the Instituto de Ciencias Neurologicas in Lima, Peru";
	msg[5] = "Physical exams are often part of UW AIDS Clinical Trials Unit (ACTU) study visits - with permission. Photograph by Emilda Padullo";
	msg[6] = "Laboratory technologist running tests in newly renovated Mathare Clinic in Nairobi, Kenya";
	msg[7] = "From the laboratory of Dr. Dan Rockey, C. trachomatis IncA (red) and HSP60 (green). DNA is blue";
	msg[8] = "Doctors from UW, University of Nairobi, and Doctors without Borders (MSF-France) enjoying the opening ceremony of a new Voluntary Counseling and Testing site in Mathare";
	msg[9] = "Situated in the heart of Lima is La Casona of San Marcos University where UW investigators have numerous collaborations on HIV and STD in commercial sex workers and mother-to-child transmission with Peruvian colleagues";
	msg[10] = "Bill Sutton, laboratory technologist in Dr. Nancy Haigwood's laboratory at SBRI, routinely works on ELISAs for screening HIV in samples from Nairobi, Kenya";

	
	var myRand = Math.floor(Math.random() * 11);
	var imgString = "<a href='#'><img src=\"images/center_image" + myRand + ".gif\" width=\"263\" height=\"172\" border=\"0\" alt=\"" + msg[myRand] + "\"></a>";
	document.write(imgString);
	
	}
