//img  ROTATE SCRIPT
var imgArray = new Array();
var thmArray = new Array();
var capArray = new Array();
var altArray = new Array();

//Place img  names here:

capArray[0] = "Photo of an accelerator mass spectrometer located at the Center for Accelerator Mass Spectrometry at the Lawrence Livermore National Laboratory.";
altArray[0] = "LLNL";
thmArray[0] = "/images/radiocarbon.calibra/AMS.LLNL_web.jpg";
imgArray[0] = "/research/radiocarbon.htm";

capArray[1] = "Radiocarbon Calibration curve and example input and output age distributions";
altArray[1] = "plot";
thmArray[1] = "/images/radiocarbon.calibra/calibr_web.jpg";
imgArray[1] = "/cgi-bin/radcarbcfig";

capArray[2] = "The radiocarbon content of the atmosphere and surface ocean depends upon the solar flux, Earth&rsquo;s geomagnetic field intensity, and the carbon cycle";
altArray[2] = "sun earth";
thmArray[2] = "/images/radiocarbon.calibra/sun_earth.jpg";
imgArray[2] = "/research/radiocarbon.htm";

var numImgs=imgArray.length;
var randNum = Math.floor(Math.random() * numImgs);

// Isotope pictures

var imgArray_iso = new Array();
var thmArray_iso = new Array();
var capArray_iso = new Array();
var altArray_iso = new Array();

capArray_iso[0] = "Sea ice samples program in the Arctic Ocean.";
altArray_iso[0] = "Heli";
thmArray_iso[0] = "/images/isotope.tracer/10690039heli_web.jpg";
imgArray_iso[0] = "/research/isotope.htm";

capArray_iso[1] = "Composite satellite photo of Antarctica and storm systems. ";
altArray_iso[1] = "Antarctica";
thmArray_iso[1] = "/images/isotope.tracer/Antarct_web.jpg";
imgArray_iso[1] = "/research/isotope.htm";

capArray_iso[2] = "Antarctic Ocean water sampling program. Photo by Stan Jacobs.";
altArray_iso[2] = "Iceberg";
thmArray_iso[2] = "/images/isotope.tracer/berg_web.JPG";
imgArray_iso[2] = "/research/isotope.htm";

var numImgs_iso = imgArray_iso.length;
var randNum_iso = Math.floor(Math.random() * numImgs_iso);

// Coral pictures

var imgArray_coral = new Array();
var thmArray_coral = new Array();
var capArray_coral = new Array();
var altArray_coral = new Array();

capArray_coral[0] = "Scanning electron photomicrograph of an Acropora palmata corallite (scale bar = 1mm).";
altArray_coral[0] = "Corallite";
thmArray_coral[0] = "/images/coral.culture/corallite_web.jpg";
imgArray_coral[0] = "/research/coral.htm";

capArray_coral[1] = " ";
altArray_coral[1] = "Jaubert Culture";
thmArray_coral[1] = "/images/coral.culture/jaubert.culture_web.JPG";
imgArray_coral[1] = "/research/coral.htm";

capArray_coral[2] = " ";
altArray_coral[2] = "Jaubert";
thmArray_coral[2] = "/images/coral.culture/jaubert_web.jpg";
imgArray_coral[2] = "/research/coral.htm";

capArray_coral[3] = "Acropora specimens in culture aquaria at <a href=\"http://www.centrescientifique.mc/\"> Scientific Centre of Monaco(CSM)</a>. ";
altArray_coral[3] = "Palmata";
thmArray_coral[3] = "/images/coral.culture/palmata.culture_web.JPG";
imgArray_coral[3] = "/research/coral.htm";

var numImgs_coral = imgArray_coral.length;
var randNum_coral = Math.floor(Math.random() * numImgs_coral);

// Deep water circulation pictures

var imgArray_deep = new Array();
var thmArray_deep = new Array();
var capArray_deep = new Array();
var altArray_deep = new Array();

capArray_deep[0] = "Living deep sea coral Desmophyllum cristagalli.";
altArray_deep[0] = "deeplite";
thmArray_deep[0] = "/images/deep.water.circul/Desmophyllum.ShankWHOI_web.jpg";
imgArray_deep[0] = "/research/deepwater.htm";

capArray_deep[1] = "Carbon isotopic composition of seawater (data from GEOSECS and TTO). ";
altArray_deep[1] = "deep water";
thmArray_deep[1] = "/images/deep.water.circul/deep.water_web.jpg";
imgArray_deep[1] = "/research/deepwater.htm";

capArray_deep[2] = "Deep sea coral Desmophyllum cristagalli drawing by Cameron Tsujita as presented in a paper by Jodie Smith and others (2000).  Specimen is approximately 40cm in length. ";
altArray_deep[2] = "cristagali";
thmArray_deep[2] = "/images/deep.water.circul/cristagali_web.gif";
imgArray_deep[2] = "/research/deepwater.htm";

var numImgs_deep = imgArray_deep.length;
var randNum_deep = Math.floor(Math.random() * numImgs_deep);

// ENSO pictures

var imgArray_ENSO = new Array();
var thmArray_ENSO = new Array();
var capArray_ENSO = new Array();
var altArray_ENSO = new Array();

capArray_ENSO[0] = "Oxygen isotope proxies of ENSO history from key locations plotted on ENSO temperature anomaly map ";
altArray_ENSO[0] = "Deep Water Map";
thmArray_ENSO[0] = "/images/ENSO/map.data_web.jpg";
imgArray_ENSO[0] = "/research/elnino.htm";

capArray_ENSO[1] = "Sea surface temperature map of 1997-98 ENSO (upper) compared to normal conditions (lower) in 1999. Our lab conducted oceanographic and coral reef studies of ENSO aboard the R/V MOANA Wave (cruise: 97-101) during the peak ENSO conditions in 1997/98. ";
altArray_ENSO[1] = " ";
thmArray_ENSO[1] = "/images/ENSO/Picture1_web.jpg";
imgArray_ENSO[1] = "/research/elnino.htm";

capArray_ENSO[2] = "Top panel: Pacific sea surface temperature during a normal year, Second panel: Sea surface temperature during typical El Ni&ntilde;o year. Third panel: Sea surface temperature anomaly map for ENSO versus normal year. Bottom panel: Precipitation anomaly for an El Ni&ntilde;o year versus a normal year.";
altArray_ENSO[2] = "ENSO";
thmArray_ENSO[2] = "/images/ENSO/ENSO_pattern_small1.jpg";
imgArray_ENSO[2] = "/research/elnino.htm";

capArray_ENSO[3] = "Dr. Kenny Broad coring several century old Porites coral at Kanton Atoll for isotopic record of ENSO";
altArray_ENSO[3] = "Diver coring";
thmArray_ENSO[3] = "/images/ENSO/diver_coring.jpg";
imgArray_ENSO[3] = "/research/elnino.htm";

var numImgs_ENSO = imgArray_ENSO.length;
var randNum_ENSO = Math.floor(Math.random() * numImgs_ENSO);

// Planktonic Foram pictures

var imgArray_plank = new Array();
var thmArray_plank = new Array();
var capArray_plank = new Array();
var altArray_plank = new Array();

capArray_plank[0] = "Honjo sediment trap retrieved from the sea floor in the equatorial Atlantic as part of a planktonic foraminfera flux study.  Trap opening is 1m diameter. ";
altArray_plank[0] = "Honjo trap";
thmArray_plank[0] = "/images/Plank.forams/Honjo.trap.hr_web.jpg";
imgArray_plank[0] = "/research/plankton.htm";

capArray_plank[1] = "Living planktonic foraminfera with algal symbionts maintained in culture experiment.  Photo by Alan Be. ";
altArray_plank[1] = "Foram";
thmArray_plank[1] = "/images/Plank.forams/live.foram2_web.jpg";
imgArray_plank[1] = "/research/plankton.htm";

capArray_plank[2] = "MOCNESS sampler used to collect stratified plankton tows and measure environmental parameters for planktonic foraminfera vertical distribution and chemistry study.  Net size is 1m<sup>2</sup>. ";
altArray_plank[2] = "MOCNESS";
thmArray_plank[2] = "/images/Plank.forams/MOCNESS.hr_web.jpg";
imgArray_plank[2] = "/research/plankton.htm";

var numImgs_plank = imgArray_plank.length;
var randNum_plank = Math.floor(Math.random() * numImgs_plank);

// Sea level pictures

var imgArray_sealevel = new Array();
var thmArray_sealevel = new Array();
var capArray_sealevel = new Array();
var altArray_sealevel = new Array();

capArray_sealevel[0] = "JOIDES Resolution ocean drilling ship.";
altArray_sealevel[0] = "Top view of Resolution";
thmArray_sealevel[0] = "/images/Sea.level/resolution.top.view_web.jpg";
imgArray_sealevel[0] = "/research/sealevel.htm";

capArray_sealevel[1] = "JOIDES Resolution ocean drilling ship.";
altArray_sealevel[1] = "Resolution";
thmArray_sealevel[1] = "/images/Sea.level/resolution_web.jpg";
imgArray_sealevel[1] = "/research/sealevel.htm";

capArray_sealevel[2] = "Wire-line coring operations of late Pleistocene reefs offshore Barbados ";
altArray_sealevel[2] = "Wireline Drilling";
thmArray_sealevel[2] = "/images/Sea.level/wireline.drilling_web.jpg";
imgArray_sealevel[2] = "/research/sealevel.htm";

capArray_sealevel[3] = "Relative sea level record based on dated corals from Barbados, Araki, and assorted Caribbean islands compared to V19-30 &delta;<sup>18</sup>O sea level proxy. ";
altArray_sealevel[3] = "Sea level plot";
thmArray_sealevel[3] = "/images/Sea.level/sea.level.plot_web.JPG";
imgArray_sealevel[3] = "/research/sealevel.htm";

capArray_sealevel[4] = "<sup>230</sup>Th/<sup>234</sup>U/<sup>238</sup>U dating of uplifted coral reefs of New Guinea provide sea level history for the late Pleistocene. Photo by Art Bloom.";
altArray_sealevel[4] = "coral reefs at New Guinea";
thmArray_sealevel[4] = "/images/Sea.level/New_Guinea.jpg";
imgArray_sealevel[4] = "/research/sealevel.htm";

var numImgs_sealevel = imgArray_sealevel.length;
var randNum_sealevel = Math.floor(Math.random() * numImgs_sealevel);

// sst pictures

var imgArray_sst = new Array();
var thmArray_sst = new Array();
var capArray_sst = new Array();
var altArray_sst = new Array();

capArray_sst[0] = "Bathymetry offshore Kiritimati Atoll showing location of wire-line drill sites that recovered deglacial samples used for tropical sea surface temperature reconstructions and to construct the radiocarbon calibration curve.";
altArray_sst[0] = "Kiritimati";
thmArray_sst[0] = "/images/sst/Kiritimati_drill_sites.jpg";
imgArray_sst[0] = "/research/sst.htm";

capArray_sst[1] = "Current NOAA/NESDIS sea surface temperature global analysis.";
altArray_sst[1] = "global SST";
thmArray_sst[1] = "/images/sst/FS_km1000.gif";
imgArray_sst[1] = "/images/sst/FS_km1000.gif";

var numImgs_sst = imgArray_sst.length;
var randNum_sst = Math.floor(Math.random() * numImgs_sst);

