   // JavaScript to interpolate random images into a page.
var ic = 19;     // Number of alternative images
var a_img = new Array(ic);  // Array to hold filenames
var a_downtext = new Array(ic);  // Array to hold down of image text/link
        
a_img[0] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg1.jpg";
a_downtext[0] = "<strong>Molecular Biology</strong><br>Students work in research labs where interest range from molecular biology to neuroscience.";

a_img[1] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg2.jpg";
a_downtext[1] = "<strong>GSBS Faculty</strong><br>Faculty of the graduate programs include faculty from Rutgers-Camden. Shown is Dr. Joseph Martin, Professor within the Department of Biology at Rutgers-Camden, and Dr. Sal Caradonna, Professor and Chair of the Molecular Biology Department.";

a_img[2] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg3.jpg";
a_downtext[2] = "<strong>Confocal Microscopy</strong><br>Our faculty and students have the latest technologies available for their use; above a 2 photon confocal microscope.";

a_img[3] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg4.jpg";
a_downtext[3] = "<strong>Diverse Student Population</strong><br>Our culturally diverse students engage in cutting edge research and still find time to relax on campus and attend research retreats.";

a_img[4] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg5.jpg";
a_downtext[4] = "<strong>Electron Microscopy</strong><br>Our faculty and students have the latest technologies available for their use; above a scanning electron microscope.";

a_img[5] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg6.jpg";
a_downtext[5] = "<strong>Research Experience</strong><br>Learn about exciting research opportunities at the GSBS.<br><br><a href='http://www.umdnj.edu/gsbsnweb/research.htm' class='redlink'>Click Here...</a><br><br>";

a_img[6] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg7.jpg";
a_downtext[6] = "<strong>Modern Facilities</strong><br>Our faculty and students have the latest technologies available for their use; above a florescent imaging system used to watch real-time intracellular interactions.";

a_img[7] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg8.jpg";
a_downtext[7] = "<strong>Research Opportunities</strong><br>Students engage in research in a variety of areas including the molecular basis of transcription, causes of cancer, and neurodegenerative diseases.";

a_img[8] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg9.jpg";
a_downtext[8] = "<strong>Research Fellowships</strong><br>Many of our students receive fellowships and national research awards. Jennifer Fischer recently received a NIA Academic Career Leadership Award.<br><br><a href='http://som.umdnj.edu/gsbstrat/news.htm' class='redlink'>Learn More...</a><br><br>";

a_img[9] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg10.jpg";
a_downtext[9] = "<strong>Library Resources</strong><br>Our newly renovated library is a modern electronic resource for retrieving information in the biomedical sciences.<br><br><a href='http://www.umdnj.edu/stlibweb/' target='_blank' class='redlink'>Click Here...</a><br><br>";

a_img[10] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg11.jpg";
a_downtext[10] = "<strong>Modern Facilities</strong><br>The Molecular Resource Facility is available to graduate students to help them learn techniques in all areas of Cell and Molecular Biology.<br><br><a href='http://som.umdnj.edu/gsbstrat/research.htm' class='redlink'>Click Here...</a><br><br>";

a_img[11] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg13.jpg";
a_downtext[11] = "<strong>Research Facilities</strong><br>UMDNJ continues to expand and develop state of the art research facilities.";

a_img[12] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg14.jpg";
a_downtext[12] = "<strong>Modern Laboratories</strong><br>New laboratories are available in the new wing of the Science Center, which was dedicated on January 13, 2005.";

a_img[13] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg15.gif";
a_downtext[13] = "<strong>The Summer Undergraduate Research Experience (SURE...to succeed)</strong> is designed to provide a stimulating hands-on research experience for undergraduate students considering graduate education in the biomedical sciences.<br><br><a href='http://som.umdnj.edu/gsbstrat/summer2005.htm' class='redlink'>Click Here...</a><br><br>";

a_img[14] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg16.jpg";
a_downtext[14] = "<strong>The Graduate Student Association (GSA)</strong> The GSA is made up of masters and doctoral students and provides them with a forum to discuss issues relating to student affairs and graduate student education. The GSA organizes trips to local scientific meetings, invites guest lecturers, and provides new students with mentors to help them adjust to life as a graduate student. In addition, the GSA sponsors social events including student-faculty softball games, bowling nights, and trips to local sporting events.<br><br><a href='http://som.umdnj.edu/gsbstrat/GSA.htm' class='redlink'>Click Here...</a><br><br>";

a_img[15] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg16.jpg";
a_downtext[15] = "<strong>The Graduate Student Association (GSA)</strong> The GSA is made up of masters and doctoral students and provides them with a forum to discuss issues relating to student affairs and graduate student education. The GSA organizes trips to local scientific meetings, invites guest lecturers, and provides new students with mentors to help them adjust to life as a graduate student. In addition, the GSA sponsors social events including student-faculty softball games, bowling nights, and trips to local sporting events.<br><br><a href='http://som.umdnj.edu/gsbstrat/GSA.htm' class='redlink'>Click Here...</a><br><br>";

a_img[16] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg16.jpg";
a_downtext[16] = "<strong>The Graduate Student Association (GSA)</strong> The GSA is made up of masters and doctoral students and provides them with a forum to discuss issues relating to student affairs and graduate student education. The GSA organizes trips to local scientific meetings, invites guest lecturers, and provides new students with mentors to help them adjust to life as a graduate student. In addition, the GSA sponsors social events including student-faculty softball games, bowling nights, and trips to local sporting events.<br><br><a href='http://som.umdnj.edu/gsbstrat/GSA.htm' class='redlink'>Click Here...</a><br><br>";

a_img[17] = "http://som.umdnj.edu/gsbstrat/images/NOI_images/notesofinterestimg17.jpg";
a_downtext[17] = "<strong>Graduate School of Biomedical Sciences PhD Open House, December 18th, 2009</strong>Faculty and Student Research Symposium, Campus and laboratory tours, Transcript evaluations, Lunch, Faculty and Student “Meet and Greet” and  Informational Sessions on Graduate School Life &amp; Application and Admissions Processes<br><br><a href='http://som.umdnj.edu/events/documents/healthcareers.pdf' class='redlink'>Click Here...</a><br><br>";

a_img[18] = "http://som.umdnj.edu/gsbstrat/images/healthfair.gif";
a_downtext[18] = "<strong>Health Careers Fair, October 21, 2009</strong> <br><br><a href='http://som.umdnj.edu/events/documents/healthcareers.pdf' class='redlink'>Click Here...</a><br><br>";



function pickRandom(range) {
	if (Math.random)
		return Math.round(Math.random() * (range-1));
	else {
		var now = new Date();
		return (now.getTime() / 1000) % range;
	}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);
document.getElementById("td_img").innerHTML = "<img src='"+ a_img[choice] +"' border='0'>";
document.getElementById("td_downtext").innerHTML = a_downtext[choice]