var name = Array( "Albert Einstein", "Pythagoras of Samos",
                  "Sir Isaac Newton", "Euclid of Alexandria",
		  "Galileo Galilei", "Leonhard Euler", "Georg Riemann",
                  "David Hilbert", "Benoit Mandelbrot",
                  "Joseph-Louis Lagrange", "C. F. Gauss",
                  "Gottfried Wilhelm von Leibniz", "Joseph Fourier",
                  "A. L. Cauchy", "Erwin Schr&ouml;dinger", "Guido Fubini",
                  "Pierre-Simon Laplace", "Henri Lebesgue",
                  "Tullio Levi-Civita", "Gregorio Ricci-Curbastro",
                  "Felix Klein", "Pierre de Fermat", "Andrew Wiles") ;

var picture = Array( "Einstein", "Pythagoras", "Newton", "Euclid",
                     "Galileo", "Euler", "Riemann", "Hilbert",
                     "Mandelbrot", "Lagrange", "Gauss", "Leibniz",
                     "Fourier", "Cauchy", "Schrodinger", "Fubini",
                     "Laplace", "Lebesgue", "Levi-Civita",
                     "Ricci-Curbastro", "Klein", "Fermat", "Wiles" ) ;

var numPics = 23 ;

function setupPicture( whichOne ) {
//  pictAddr = "http://www-history.mcs.st-and.ac.uk/~history/Thumbnails/" +
  pictAddr = "Thumbnails/" + picture[whichOne] + ".jpg" ;
  persAddr = "http://www-history.mcs.st-and.ac.uk/~history/" +
     "Mathematicians/" + picture[whichOne] + ".html" ;
  document.writeln( "<TABLE WIDTH=150><TR><TD ALIGN=CENTER>" ) ;
  document.writeln( "<A HREF='"+persAddr+"'>" ) ;
  document.write( "<IMG SRC='"+pictAddr ) ;
  document.write( "' ALT='Biographies of Famous Mathematicians' BORDER=0>" ) ;
  document.writeln( "</A></TD></TR><TR><TD ALIGN=CENTER>" ) ;
  document.writeln( "<A HREF='"+persAddr+"'>"+name[whichOne]+"</A>" ) ;
  document.writeln( "</TD></TR></TABLE>" ) ;
  } ;
