// JavaScript Document from: http://answers.yahoo.com/question/index?qid=20080824102119AArnkDa
function randImgCap()
{
var banner = new Array(); 
banner[0] ="images/1_brown.jpg"
banner[1] ="images/2_heckathorn.jpg"
banner[2] ="images/3_nielsen.jpg"
banner[3] ="images/4_connections.jpg";
banner[4] ="images/5_assessment.jpg";
banner[5] ="images/6_muddiest.jpg";
banner[6] ="images/7_clickers.jpg";
banner[7] ="images/8_quote.gif";

var caption = new Array();
caption[0] = "Nicole Brown teaches Visual Rhetoric for U.S. Social Movements, and drawing on her work with the local coal terminal debate, has her students examine how texts and images create meaning, make arguments, and mobilize action. See the <a href='http://pandora.cii.wwu.edu/showcase2010/brown/default.asp'>Innovative Teaching Showcase</a> for details."
caption[1] = "Jill Heckathorn uses experiential &amp; service learning in her PEHR classes to engage students with people from different backgrounds in Neah Bay, at a camp for community members with disabilities, and with local older adults. See the <a href='http://pandora.cii.wwu.edu/showcase2010/heckathorn/default.asp'>Innovative Teaching Showcase</a> for details."
caption[2] = "Carolyn Nielsen embeds diversity and representation issues in all aspects of her journalism classes. To examine issues from several stakeholders' positions, she uses case studies as in the case of the rising cost of orange juice. See the <a href='http://pandora.cii.wwu.edu/showcase2010/nielsen/default.asp'>Innovative Teaching Showcase</a> for details."
caption[3] = "Dr. Joseph Trimble organizes his classes to build on people’s fundamental need to connect with others. View the movie on  <a href='http://pandora.cii.wwu.edu/cii/resources/modules/connections/default.asp'>Creating Classroom Connections.</a> Photo: Sadalit P. Van Buren, 2006";
caption[4] = "See this in-depth <a href='http://pandora.cii.wwu.edu/cii/resources/outcomes/default.asp'>Assessment and Outcomes</a> resource on the CIIA's website.";
caption[5] = "Explore the online video module, <a href='http://pandora.cii.wwu.edu/cii/resources/modules/muddiestpoint/default.asp'>Classroom Assessment Technique: Muddiest Point</a>, a short video describing and inspiring the use of this simple course assessment strategy.";
caption[6] = "Watch this 5-minute movie on <a href='http://pandora.cii.wwu.edu/cii/resources/modules/clickers/default.asp'>Using Clickers in the Classroom</a> and get inspired!";
caption[7] = "Professor Louis Schmier, Valdosta State University, <a href='http://therandomthoughts.edublogs.org/2009/05/11/on-caring/' target='blank'> <em>Random Thought: On Caring</em></a>";
random = Math.floor(Math.random() * banner.length);
document.getElementById('randomImage').src = banner[random];
document.getElementById('caption').innerHTML = caption[random];
}
