
  var files = new Array('CRW_2503.jpg', 'CRW_2500.jpg', 'CRW_2499.jpg', 'CRW_2504.jpg', 'CRW_2506.jpg', 'IMG_2554.jpg', 'CRW_2664.jpg', 'CRW_2666.jpg', 'CRW_2669.jpg', 'CRW_2672.jpg');
  var titles = new Array('2052 x 3076 by Canon EOS 300D at 50.0mm (80), f/5.0,   (1/200), ISO_400, (flash), metering=center weight {2004:05:07 16:06:18}', '3076 x 2052 by Canon EOS 300D at 50.0mm (80), f/5.0,   (1/200), ISO_400, (flash), metering=center weight {2004:05:07 16:04:36}', '3076 x 2052 by Canon EOS 300D at 50.0mm (80), f/5.0,   (1/200), ISO_400, (flash), metering=center weight {2004:05:07 16:04:26}', '3076 x 2052 by Canon EOS 300D at 55.0mm (88), f/20.0,   (1/400), ISO_400, metering=matrix, aperture priority (semi-auto) {2004:05:08 12:14:22}', '2052 x 3076 by Canon EOS 300D at 24.0mm (38.4), f/6.3,   (1/200), ISO_100, (flash), metering=center weight {2004:05:08 17:48:12}', '2048 x 3072 by Canon EOS 300D at 24.0mm (38.4), f/8.0,   (1/125), ISO_100, (flash) {2004:05:18 18:24:54}', '3076 x 2052 by Canon EOS 300D at 50.0mm (80), f/3.2,   (1/160), ISO_200, (flash), metering=center weight {2004:05:26 18:32:22}', '3076 x 2052 by Canon EOS 300D at 50.0mm (80), f/3.2,   (1/160), ISO_200, (flash), metering=center weight {2004:05:26 18:32:46}', '3076 x 2052 by Canon EOS 300D at 50.0mm (80), f/3.2,   (1/160), ISO_200, (flash), metering=center weight {2004:05:26 18:34:02}', '3076 x 2052 by Canon EOS 300D at 50.0mm (80), f/3.2,   (1/160), ISO_200, (flash), metering=center weight {2004:05:26 18:35:34}');
  var comments = new Array('CRW_2503.jpg', 'CRW_2500.jpg', 'CRW_2499.jpg', 'CRW_2504.jpg', 'CRW_2506.jpg', 'IMG_2554.jpg', 'CRW_2664.jpg', 'CRW_2666.jpg', 'CRW_2669.jpg', 'CRW_2672.jpg');
  function printAll(){
    var res = "<center>";
    for (i=0; i<files.length; i++){
      res+='<img src="images/'+files[i]+'" title="'+titles[i]+'"><br>'+comments[i]+'<p>';    
    }
    return res+"</center>";
  }
  function imgshow(n){
    src = files[n];
    title = titles[n];
    wnd=window;
//    wnd=window.open("javascript:null", "bigpic","status=no,resizable=1,scrollbars=1,toolbar=no,menubar=no, screenX="+1000+",screenY="+800);
    wnd.document.write("<html><head><title>"+src+"</title>");
    wnd.document.write('<META content="text/html; charset=windows-1251" http-equiv=Content-Type></head>');
    wnd.document.write('<body vlink="white" link="white" bgcolor=black text="white"><center><script language=JavaScript src=index.js></script>');
    wnd.document.write('<table align=center>');
    wnd.document.write('<tr height=800><td width=100 align=center>');
    wnd.document.write(comments[n]+'<p>&nbsp;<p><a  href="index.html">--==*^*==--</a><p>');
  for (i=0; i<files.length; i++){
   if (i==n)wnd.document.write(files[i]+'<br>');
   else wnd.document.write('<input type=button value="'+files[i]+'" onclick="imgshow('+i+')"><br>');
  }
    wnd.document.write('</td><td>&nbsp;</td><td width="900">');
    wnd.document.writeln('<a href="images/'+src+'">');
    wnd.document.write('<img src="images/'+src+'" title="'+title+'" border=1>');
    wnd.document.writeln('</a></td></tr></table>');
    wnd.document.writeln('</body></html>');
    wnd.document.close();
    wnd.focus();
 }

