// JavaScript Document

<!--

/*
Random Image Link Script- 
*/

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="featureimages/warner.jpg"
myimages[2]="featureimages/stem.jpg"
myimages[3]="featureimages/morales-madrigal.jpg"
myimages[4]="featureimages/valderrama.jpg"
myimages[5]="featureimages/interior-design.jpg"
myimages[6]="featureimages/hiatt-farley.jpg"


//specify corresponding links below
var imagelinks=new Array()
imagelinks[1]="features/warner.html"
imagelinks[2]="facultystaff/stem.html"
imagelinks[3]="features/morales-madrigal.html"
imagelinks[4]="features/valderrama.html"
imagelinks[5]="features/interior-design.html"
imagelinks[6]="features/hiatt-farley.html"


var text=new Array()
text[1]="<h1>Lindsey Renee Warner</h1>Ca&ntilde;ada Graduate Heads to Paris to Study Cinematography."
text[2]="<h1>Ca&ntilde;ada College: A Regional Center for Science, Technology, Engineering, and Math Education.</h1>"
text[3]="<h1>Ca&ntilde;ada Engineering Student to Study at Stanford</h1>Jeremy Morales-Madrigal, a chemical engineering student at Ca&ntilde;ada College, is the only community college student selected this year to participate in Stanford University's prestigious Center on Polymer Interfaces and Macromolecular Assemblies Summer Undergraduate Research Experience."
text[4]="<h1>Math Jam Helps Engineering Student</h1>Diana Lis Valderrama was able to skip two math classes - trigonometry and precalculus - and begin studying calculus during her first semester at Ca&ntilde;ada College thanks to participating in the summer Math Jam."
text[5]="<h1>Interior Design Program Produces Award-Winning Students</h1>Winning an award at the prestigious San Francisco Interior Design Student Career Forum is a tremendous accomplishment, which is why it's so impressive that students from Ca&ntilde;ada College have won for nine consecutive years."
text[6]="<h1>Ca&ntilde;ada  Computer Animation Students Win Statewide Honors</h1>Chelsea Hiatt Farley (pictured above) and Lisa Roecks, 3D Animation students  at Ca&ntilde;ada College, have each won statewide awards at the 2009 Media Arts Award Competition sponsored by the Multimedia &amp; Entertainment Initiative."




var click="<p><font color='#00FF00'>Click here to learn more"


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
document.write(text[ry])
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><p>Click here to learn more</font></p>')
}
random_imglink()
//-->