// note additions or modifications to blurb/image/URL sets must happen to all three elements

<!--

function randomImage() {

//init array and define images

imgArray = new Array(

"images/hp-allenoliver.jpg",            // 1 

"images/hp-rogow1.jpg",           // 2 

"images/hp-switkes1.jpg",            // 3 

"images/hp-wolcott2.jpg"           //4

);



//init array and define blurbs

captionArray = new Array(

//1
"Along with Nuclear Magnetic Resonance Spectroscopy, Mass Spectrometry and the " +
"Chemical Screening Center, the X-ray crystallographic laboratory comprises one of " +
"the core analytical facilities within the Department of Chemistry and Biochemistry.  " +
"The technique allows researchers to visualize newly synthesized or discovered " +
"compounds as a 3-dimensional model.  <br><br>" + 
"The structural study can give researchers insight to the mechanism of their reactions, " +
"reactivity of their compounds and a better understanding of the shape of the molecule.  " +
"This is critical, for example, when examining active compounds say through the " +
"Chemical Screening Center.  The geometry of a molecule can greatly enhance or reduce " +
"it efficacy.  For more information about the Chemical Screening Center click here for", // 1 

//2
"The Oliver research group is investigating the synthesis of new solid state materials " +
"for use in heterogeneous catalysis, solar cells and intercalation chemistry. The above " +
"image is of David Rogow, a graduate student in the Oliver lab using a powder X-ray " +
"diffractometer to characterize new materials. Single-crystal X-ray diffraction is a " +
"technique also used by the Oliver group to solve the three dimensional structure of " +
"crystalline materials at the UCSC <a href='http://chemistry.ucsc.edu/xrd/index.html'>" +
"X-ray facility</a> To learn more about the research in Scott Oliver's lab click here for", // 2 

//3
"Undergraduate Rachael Harms prepares herself to be a participant in psychophysical " +
"experiments in Professor Switkes's lab. Switkes and his students are exploring the " +
"capabilities of the human vision system to process spatial and chromatic information. " +
"Their experiments probe the multiple stages of neural processing that take an image on " +
"the retina and transform it into a code that can be used by the brain in perceptual and " +
"cognitive behavior. To learn more about the research in Gene Switkes' lab, click here for", // 3

//4
"Graduate student Abraham Wolcott is aligning a Ti:Saph femtosecond laser pumped by a " +
"Verdi-5 (532) continous wave laser.  The laser pulses are then aligned into a pulse " +
"picker to be used in a time correlated single photon counting (TCSPC) setup.  Semiconductor " +
"quantum dots (QDs) such as CdSe CdTe and PbS fluorescent lifetime measurements can be " +
"studied via TCSPC.  Electron transfer processes for photoelectrochemical (PEC) and " +
"photovoltaic (PV) applications will be examined.  Metal oxide nanoparticle and nanorod " +
"systems such as  TiO2, ZnO and WO3 sensitized with CdSe and CdTe QDs are examples.  " +
"To learn more about the research in Jin Zhang's lab, click here for"

);



//init array and define URLs

urlArray = new Array (

	"http://biomedical.ucsc.edu/ChemScreen.html", // 1  

	"http://chemistry.ucsc.edu/~soliver", // 2 
	
	"http://chemistry/faculty/switkes.html", // 3  

    "http://www.chemistry.ucsc.edu/faculty/Zhang/"     // 4                        

);





//generate random

index = Math.floor(Math.random() * imgArray.length);

//write out image - image is wrapped in a nested table with cccccc color

document.write("<a href=" + urlArray[index] + "><img alt='click for additional information' src=" + imgArray[index] + " width='310' height='206' border='0'></a>");
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='14'>");
document.write("<tr><td>");
document.write("<span class='paragraphtext'><b>FOCUS ON RESEARCH</b></span><br><br>");
document.write(captionArray[index]);
document.write(" [");
document.write("<a href=" + urlArray[index] + ">");
document.write("More");
document.write("</a>");
document.write("]. ");
document.write("</td></tr></table>");
}




//-->



// JavaScript Document