/* This JavaScript (Random Quotes) developed by Scott Clark
The Source is available at http://www.clarksco.com/blog/
Copyright 2005 Clark Consulting */
/* Per Stacey, the link has to be the full http://www address, but script appears to work fine with relative addressing.*/

/* num_of_quotes variable = total number of images; if statements start with 0. If there are 6 images, num_of_quotes = 6 and if statements go from 0 to 5*/
/* To add a new artist, increase num_of_quotes by 1 and add an if statement at the end with quotes==n, where n = the next sequential number */


var num_of_quotes = 20;
var r_image;
quotes = Math.floor (num_of_quotes * Math.random());

if (quotes==0) {
title="Jessica Bronson";
r_image="images/brons-random.jpg"
link="brons.html";
}
if (quotes==1) {
title="Christopher Brown";
r_image="images/brown-random.jpg"
link="brown.html";
}
if (quotes==2) {
title="Barbara Chase-Riboud";
r_image="images/chase-random.jpg"
link="chase.html";
}
if (quotes==3) {
title="Jose Luis Cuevos";
r_image="images/cueva-random.jpg"
link="cueva.html";
}
if (quotes==4) {
title="Mary Frank";
r_image="images/frank-random.jpg" 
link="frank.html";
}
if (quotes==5) {
title="Patrick Graham";
r_image="images/graha-random.jpg"
link="graha.html";
}
if (quotes==6) {
title="Michael McMillen";
r_image="images/mcmil-random.jpg"
link="mcmil.html";
}
if (quotes==7) {
title="Syd Mead";
r_image="images/mead-random.jpg"
link="mead.html";
}
if (quotes==8) {
title="Peter Milton";
r_image="images/milt-random.jpg"
link="milt.html";
}
if (quotes==9) {
title="Andres Nagel";
r_image="images/nagel-random.jpg"
link="nagel.html";
}
if (quotes==10) {
title="Nathan Oliveira";
r_image="images/olive-random.jpg"
link="olive.html";
}
if (quotes==11) {
title="Milo Reice";
r_image="images/reice-random.jpg"
link="reice.html";
}
if (quotes==12) {
title="Faith Ringgold";
r_image="images/ringg-random.jpg"
link="ringg.html";
}
if (quotes==13) {
title="Alison Saar";
r_image="images/saar-random.jpg"
link="saar.html";
}
if (quotes==14) {
title="Alexis Smith";
r_image="images/smith-random.jpg"
link="smith.html";
}
if (quotes==15) {
title="Masami Teraoka";
r_image="images/terao-random.jpg"
link="terao.html";
}
if (quotes==16) {
title="Wayne Thiebaud";
r_image="images/thieb-random.jpg"
link="thieb.html";
}
if (quotes==17) {
title="Jerry Uelsmann";
r_image="images/uelsm-random.jpg"
link="uelsm.html";
}
if (quotes==18) {
title="William Wegman";
r_image="images/wegma-random.jpg"
link="wegma.html";
}
if (quotes==19) {
title="Jack Zajac";
r_image="images/zajac-random.jpg"
link="zajac.html";
}

