function ropic() {
number = Math.floor(Math.random()*8)
if (number==0)
document.write('<a href="#"><img src="images/mainphoto_lab1.jpg" width="591" height="249" border="0" alt="Labwork"></a>')
if (number==1)
document.write('<a href="#"><img src="images/mainphoto_mission.jpg" width="591" height="249" border="0" alt="Teaching Research Service"></a>')
if (number==2)
document.write('<a href="#"><img src="images/mainphoto_lab2.jpg" width="591" height="249" border="0" alt="Labwork"></a>')
if (number==3)
document.write('<a href="#"><img src="images/mainphoto_machineshop.jpg" width="591" height="249" border="0" alt="Students in Machine Shop"></a>')
if (number==4)
document.write('<a href="#"><img src="images/mainphoto_moundville.jpg" width="591" height="249" border="0" alt="Archeological Research"></a>')
if (number==5)
document.write('<a href="#"><img src="images/mainphoto_tsunami.jpg" width="591" height="249" border="0" alt="Tsunami Research"></a>')
if (number==6)
document.write('<a href="#"><img src="images/mainphoto_quad.jpg" width="591" height="249" border="0" alt="The Quad at The University of Alabama"></a>')
if (number==7)
document.write('<a href="#"><img src="images/mainphoto_quad2.jpg" width="591" height="249" border="0" alt="The Quad at The University of Alabama"></a>')
}
