
// this is the base address where all of the images are being loaded,
// technically you don't need a base address if these items are all going
// to be relative, but well...sometimes it makes life easier to not
// think relativistically
var base_address = "http://studentorg.umd.edu/SFL/imgs/lii/72dpi/" ;

var pics = new Array() ;
pics[0] = "fig1.jpg" ;
pics[1] = "fig2.jpg" ;
pics[2] = "fig3.jpg" ;
pics[3] = "fig4.jpg" ;
pics[4] = "fig5.jpg" ;
pics[5] = "fig6.jpg" ;
pics[6] = "fig7.jpg" ;
pics[7] = "fig8.jpg" ;
pics[8] = "fig9.jpg" ;
pics[9] = "fig10.jpg" ;
pics[10] = "fig11.jpg" ;
pics[11] = "fig12.jpg" ;
pics[12] = "fig13.jpg" ;
pics[13] = "fig14.jpg" ;
pics[14] = "fig15.jpg" ;
pics[15] = "fig16.jpg" ;
pics[16] = "fig17.jpg" ;
pics[17] = "fig18.jpg" ;
pics[18] = "fig19.jpg" ;

// add more picture names here if you want
//(to use these, you can just delete the // (the comment markers) in front of the pics[...
// pics[19] = "" ;
// pics[20] = "" ;

var img_used = Math.round(Math.random() * (pics.length - 1)) ;

// the size of these images is not set, so the images will show up full size
// it is better to actually resize the images themselves because using the
// size attribute in the image tag still results in the full size image being transferred
document.write("<img src=\"" + base_address + pics[img_used] + "\">") ;