var textValuesAndFilenames = ["Look-alike Researchers", "GregandRob.jpg", 0,
"Moe Ebrahimi's CECM Day '05 demo of his Maple code for visualizing a first-order system.", "P8030453.jpg", 0,
"Michael Monagan thanking Rob Ballantyne for his help as Managing Director / Research Manager", "RobFarewell.jpg", 0,
"Moe Ebrahimi's CECM Day '05 poster on his Maple software for visualizing graphs in 2D and 3D.", "P8030454.jpg", 1,
"The CECM Day (2005) poster session. Right-to-left: Simon Lo, Sandy Rutherford and Colin Percival.", "P8030455.jpg", 0,
"The CECM Day (2005) poster session. Colin Percival, Marc Rybowicz, Ha Le and Sandy Rutherford.", "P8030457.jpg", 1,
"Participants at the CECM Day 2005 poster session.", "P8030458.jpg", 0,
"Mahdad Khatirinejad Fard demoing his Graph Theory Maple package to Rob Scharein and another participant at CECM Day '05.", "P8030459.jpg", 0,
"Ron Ferguson at CECM Day (2005) poster session.", "P8030461.jpg", 1,
"Howard Liu, Austin Roche, Ha Le, Colin Percival and Sandy Rutherford at the CECM Day 2005 poster session.", "P8030463.jpg", 0,
"Greg Fee showing his poster on the Appolonius problem to Len Berggren with Roman Pearce in the background at CECM Day 2005.", "P8030464.jpg", 0,
"Roman Pearce showing his poster to Jeff Farr, Kevin Hare and Marni Mishna at CECM Day 2005.", "P8030465.jpg", 0,
"CECM Day 2005 First Prize to Jeff Farr for his poster on Advances in Multivariate Interpolation by Polynomials and Rational Functions.", "P8030467.jpg", 1,
"Enkeleida Lushi showing Walter Gander her poster which won First Prize at CECM Day 2005.", "P8030468.jpg", 0,
"Enkeleida Lushi's poster on Computations of Water Wave Interfaces which won First Prize at CECM Day 2005.", "P8030470.jpg", 1,
"Enkeleida Lushi showing Walter Gander her poster which won First Prize at CECM Day 2005.", "P8030471.jpg", 1,
"Colin Percival, Sandy Rutherford and Marc Rybowicz at the CECM Day 2005 poster session.", "P8030476.jpg", 0,
"Jen Chang at the registration desk for CECM Day 2005.", "P8030481.jpg", 0,
"Dennis Langdeau at the registration desk for CECM Day 2005.", "P8030486.jpg", 1,
"Poster prize winners Enkeleida Lushi, Moe Ebrahimi and Jeff Farr with Michael Monagan (director) at CECM Day '05", "P8030493.jpg", 0,
"Alexa van der Waall presenting farewell gifts to Jen Chang at CECM Day '05.", "P8030498.jpg", 0,
"Jen Chang and Alexa van der Waall at CECM Day '05.", "P8030503.jpg", 0,
"Back: Howard Liu, Simon Lo, Moe and Celia Ebrahimi. Front: Marc Rybowicz, Gladys and Michael Monagan, Peter Borwein and Sandy Rutherford celebrating CECM Day '05.", "P8030517.jpg", 0,
"Back: Howard Liu, Simon Lo, Moe and Celia Ebrahimi. Front: Gladys Monagan, Marc Rybowicz, Michael Monagan and Peter Borwein celebrating CECM Day 2005.", "P8030516.jpg", 0,
"Michael Monagan talking with Marc Rybowicz while celebrating CECM Day 2005.", "P8030513.jpg", 0,
"Michael Monagan introducing CECM Day 2006.", "P8090630.JPG", 1,
"Roman Pearce, Mohammad Ebrahimi and Simon Lo at CECM Day 2006.", "P8090633.JPG", 0,
"Mohammad Ebrahimi and Peter Borwein at CECM Day 2006.", "P8090634.JPG", 0,
"Yoonjin Lee speaking at CECM Day 2006.", "P8090637.JPG", 1,
"Lunch break for CECM Day 2006. Left-to-right: Richard Bartels, Michael Monagan, Petr Lisonek, Mark Giesbrecht, Nils Bruin.", "P8090638.JPG", 0,
"Mark Giesbrecht speaking at CECM Day 2006.", "P8090644.JPG", 1,
"Al Erickson showing his poster to Mark Giesbrecht and Greg Fee at CECM Day 2006.", "P8090649.JPG", 0,
"CECM Day 2006 poster session.", "P8090651.JPG", 0,
"Winners of the CECM Day 2006 poster session. Left-to-right: Vahid Dabbaghian-Abdoly, Mahdad Khatirinejad, Michael Monagan (director), Liang Chen and David Laferriere.", "P8090664.JPG", 0,
"Rebecca Nie and Jamie Lutley showing their poster to Tom Archibald at CECM Day 2007.", "archibald07.jpg", 0,
"Andrew Arnold and Azadeh Alimadad with their posters at CECM Day 2007.", "arnold07.jpg", 0,
"Kevin Doerksen, Michael Coons, Jean-Philippe Doyon, Peter Borwein and Nils Bruin at CECM Day 2007", "borwein07.jpg", 0,
"Richard Crandall speaking at CECM Day 2007.", "crandall07.jpg", 0,
"Jean-Philippe Doyon discussing his poster with Liang Chen at CECM Day 2007.", "doyon07.jpg", 0,
"Kseniya Garaschuk receiving a poster prize certificate from Michael Monagan at CECM Day 2007.", "garaschuk07.jpg", 0,
"Luis Goddyn being introduced by Michael Monagan at CECM Day 2007.", "goddyn07.jpg", 0,
"Nikolas Karalis and Michael Monagan during a break at CECM Day 2007.", "karalis07.jpg", 0,
"Participants of CECM Day 2007 having lunch.", "lunch07.jpg", 0,
"Participants of CECM Day 2007 having lunch.", "lunch2_07.jpg", 0,
"Sandy Rutherford being introduced by Michael Monagan at CECM Day 2007.", "rutherford07.jpg", 0,
"William Stein discussing the SAGE software package at CECM Day 2007.", "stein07.jpg", 1,
"Michael Monagan congratulates poster prize winners Kseniya Garaschuk, Roman Pearce, Liang Chen and Michael Coons at CECM Day 2007.", "winners07.jpg", 0,
"Allan Wittkopf discusses new features of Maple 11 at CECM Day 2007.", "wittkopf07.jpg", 1,
"Outreach lecture for elementary school students", "tour.jpg", 0,
"Sculpture Exhibit", "exhibit2.jpg", 0,
"Researchers in Action", "researchers.jpg", 0,
"Maple Group Photo", "maple.jpg", 0,
"NSERC Summer Students of 2004", "nserc2004.jpg", 0,
"Feedback from our SFU Open House Visitors", "pi_board.jpg", 0,
"NSERC Summer Students of 2004", "nserc2004_1.jpg", 0,
"CECM 2004 Summer Meeting Poster Session Winners", "winners.jpg", 0,
"Sculpture Exhibit", "exhibit.jpg", 0,
"Teaching and Doing Mathematics with Maple", "mapletalk.jpg", 0,
"NSERC Summer Students of 2004", "nserc2004_2.jpg", 0,
"Professor Berggren demonstrates how to use a sundial", "img02.jpg", 0]; 

var endImageTags = ['" width="420" height="314"/>', '" width="314" height="420"/>'];
                var randomIndex = 0;
                var startImageTag = '<img src="/img/';

                function randomize()
                {         
                        randomIndex = Math.floor(Math.random() *                
                        textValuesAndFilenames.length/3);
                }
          
                function randomText()
                {    
                        document.write(textValuesAndFilenames[3*randomIndex]);
                }
  
                function randomImage()
                {
                        document.write(startImageTag + textValuesAndFilenames[3*randomIndex+1] +
                        endImageTags[textValuesAndFilenames[3*randomIndex+2]]);
                }

