if (document.images) {
  image1on = new Image();
  image1on.src = "small13.jpg";

  image1off = new Image();
  image1off.src = "small11.jpg";
  
  image2on = new Image();
  image2on.src = "small12.jpg";

  image2off = new Image();
  image2off.src = "small2.jpg";

  image3on = new Image();
  image3on.src = "small17.jpg";

  image3off = new Image();
  image3off.src = "small3.jpg";

  image4on = new Image();
  image4on.src = "small14.jpg";

  image4off = new Image();
  image4off.src = "small4.jpg";

  image5on = new Image();
  image5on.src = "small5.jpg";

  image5off = new Image();
  image5off.src = "small10.jpg";

  image6on = new Image();
  image6on.src = "small9.jpg";

  image6off = new Image();
  image6off.src = "small6.jpg";

}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}

function show_photo (pFileName1, pFilename2) {

photoWin = window.open( "", "photo", "width=310,height=500,status=no,resizable,screenX=30,screenY=10,left=30,top=10");

photoWin.document.write('<html><head><title>LIS Library Photos</title>');
photoWin.document.write('<style>p {font-family: Arial, Helvetica, sans-serif}a:link { color: #990000; text-decoration: underline; }');
photoWin.document.write('a:hover { color: #fafad5; text-decoration: none; background-color: #9999cc }');
photoWin.document.write('a:active { color: #fffff0f; text-decoration: none; }</style></head><body bgcolor=#e1dodo><center>');
photoWin.document.write('<table border=1 cellpadding=10 cellspacing=0 bordercolor=#9999cc bgcolor=#e1dodo><tr><td><center>');
photoWin.document.write('<img src=' + pFileName1 + '></td></tr><tr><td><center><img src=' + pFilename2 + '>');
photoWin.document.write('</td></tr></table><p><a href="javascript:window.close();">Close Window</a>');
photoWin.document.write('</body></html>');
photoWin.document.close();

}

function show_photo2 (pFileName1) {

photoWin = window.open( "", "photo", "width=310,height=500,status=no,resizable,screenX=30,screenY=10,left=30,top=10");

photoWin.document.write('<html><head><title>LIS Library Photos</title>');
photoWin.document.write('<style>p {font-family: Arial, Helvetica, sans-serif}a:link { color: #990000; text-decoration: underline; }');
photoWin.document.write('a:hover { color: #fafad5; text-decoration: none; background-color: #9999cc }');
photoWin.document.write('a:active { color: #fffff0f; text-decoration: none; }</style></head><body bgcolor=#e1dodo><center>');
photoWin.document.write('<table border=1 cellpadding=10 cellspacing=0 bordercolor=#9999cc bgcolor=#e1dodo><tr><td><center>');
photoWin.document.write('<img src=' + pFileName1 + '><p>Copy of the Rosetta Stone</p></td></tr>');
photoWin.document.write('</table>');
photoWin.document.write('<p><a href="javascript:window.close();">Close Window</a>');
photoWin.document.write('</body></html>');
photoWin.document.close();

}