IM_WIDTH="320"
IM_HEIGHT="240"
numimages=10             // edit this number when adding or removing images
imagenum1=Math.round(Math.random()*(numimages-1))
if      (imagenum1==0){var 
image1="<img align=\"left\" src=\"images/rotating images/rot1.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Mud volcanoes are one of the most fascinating (and dirtiest) things around the Salton Sea area.  Geohazards students stood on these gurgling, mud-spewing vents to observe a rare phenomenon caused by geothermal activity. </p>"
}
else if (imagenum1==1){var 
image1="<img align=\"left\" src=\"images/rotating images/rotate2.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Students attending the annual <a href=\"Dept_Affairs/Woodford_Eckis/W_Eckis.html\">Woodford-Eckis lectureship </a> and dinner leave their field gear behind for a night and enjoy the chance to interact with alumni and other friends of the department.</p>"
}
else if (imagenum1==2){var 
image1="<img align=\"left\" src=\"images/rotating images/rotate3.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Seniors in the department explore a research topic of interest to them for their year-long <a href=\"Research/students/thesis/theses.htm\">senior thesis </a>, and at times the collaboration involves faculty from other departments and institutions. Here a geochemistry major talks with Profs. Grosfils and Hazlett about his senior thesis work studying biogeochemical recycling of arsenic within the Long Valley caldera of California.</p>"
}
else if (imagenum1==3){var 
image1="<img align=\"left\" src=\"images/rotating images/rot4.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Professor Harold Magistrale took his Environmental Geology class on a tour of the San Andreas Fault, just a short drive from campus.  Morman Rocks was a great place to stop for a class picture! </p>"
}
else if (imagenum1==4){var 
image1="<img align=\"left\" src=\"images/rotating images/rot5.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Colton Quarry is a great place for Mineralogy students to make observations and collect samples.  Students were given a tour of the facility, which produces Portland Cement, and allowed time to study freshly-revealed outcrop. </p>"
}
else if (imagenum1==5){var 
image1="<img align=\"left\" src=\"images/rotating images/rot6.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>No Geology class in Southern California is complete without a trip to the beach!  Students here visited San Onofre State Park in San Deigo County to study marine terraces. </p>"
}
else if (imagenum1==6){var 
image1="<img align=\"left\" src=\"images/rotating images/rot7.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Instead of bringing rocks to the students, Professor Lackey brought his Mineralogy students to the rocks.  Their final involved identifying minerals in outcrop instead of samples.  Looks like too much fun for a final! </p>"
}
else if (imagenum1==7){var 
image1="<img align=\"left\" src=\"images/rotating images/rot8.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Mecca Hills is a unique below-sea-level setting near the Salton Sea.  These poorly lithified outcrops expose numerous geologic features in a small area, most of which are the result of deformation from the San Andreas Fault. </p>"
}
else if (imagenum1==8){var 
image1="<img align=\"left\" src=\"images/rotating images/rot9.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>Vasquez Rocks State Park provides incredible exposure of tilted sedimentary beds.  Professor Reinen's Structure students break for lunch on one of the spectacular outcrops.</p>"
}
else if (imagenum1==9){var 
image1="<img align=\"left\" src=\"images/rotating images/rotate10.jpg\" alt=\"Image N/A\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\"><p align=\"left\" class=\"mediumnormal\"><br><br><br><br>What’s life for a Pomona College geology major without a trip or two to Death Valley National Park in California? And you thought playing football on Astroturf was tough…</p>"
}

document.write (image1)

// to add in or change images that you want to rotate, add the following code (content you add is in []) and edit line 3 according to the instructions above:
//    else if (imagenum1==[NEXT NUMBER IN THE SERIES]){var 
//    image1="<img src=\"[INSERT IMAGE PATH HERE]\" alt=\"[INSERT IMAGE COMMENT HERE]\" border=\"1\" hspace=\"10\" width=\""+IM_WIDTH+"\" height=\""+IM_HEIGHT+"\">"
//    }
//
// any concerns, just email Andrew Garrison at aag02001@pomona.edu or Sean Bouchard at skb02001@pomona.edu