function OpenPicture(xpicnbr) 
{
  pictitle = new Array(
              "September", 
              "My cats",
              "RUN, RUN FOR YOUR LIFE!",
              "Cyclist Jail",
              "1977 Bicyclists of Iowa City",
              "Safe?");
  picfilename = new Array(
                 "./2kteampics/p6/boulderautumn.jpg", 
                 "./2kteampics/p6/gag_yak.jpg",
                 "./2kteampics/p6/cadzilla.jpg",
                 "./2kteampics/p6/jail.jpg",
                 "./2kteampics/p6/bic.jpg",
                 "./2kteampics/p6/safetyz.jpg");
  picnotes = new Array(
                 "in Boulder, Colorado", 
                 "Gag and Yak",
                 "AHHH!! IT'S <font size='+1'><b><i>CADZILLA!</i></b></font><br><br><font size='-2'>This is my neighbor's car. <b>They got the plates,<br>and THEN went out an bought a car to match the plates!</b><br></font>",
                 "The guard's name is Mother Nature",
                 "Who in this picture placed 16th in Junior Worlds?",
                 "Close to where a Camaro ran over me - March 9, 2001");
  piccredits = new Array(
                 "John Bickmore", 
                 "John Bickmore", 
                 "John Bickmore", 
                 "John Bickmore", 
                 "?????", 
                 "John Bickmore");
  picheight =  new Array(400, 400, 300, 400, 400, 400);
  picwidth =   new Array(500, 500, 450, 500, 500, 600);
  windheight = new Array(617, 600, 570, 630, 600, 630);
  windwidth =  new Array(600, 600, 570, 600, 600, 600);
  var win = window.open("BicycleCam-" + pictitle[xpicnbr] + ".htm", "win", "width=" + windwidth[xpicnbr] + ", height=" + windheight[xpicnbr]); 
  with (win.document) {
	win.moveTo(100,50); 
	open("text/html", "replace");
    write("<html><head><title>" + pictitle[xpicnbr] + "</title></head><body>");
    write("<center><h3>" + pictitle[xpicnbr] + "</h3>");
    write("<img alt='" + pictitle[xpicnbr] + "' height='" + picheight[xpicnbr] + "' width='" + picwidth[xpicnbr] + "' src='" + picfilename[xpicnbr] + "'>");
    write("<br/><br/>");
    write("<p><font face='arial'>" + picnotes[xpicnbr] + "</font></p>");
    write("<font size='-2' face='arial'>Actual photo size is about 1024x768<br>Right-Click on the picture and SaveAs to your computer. Set display=stretch.</font>");
    write("<br/><br/><font size='-2' face='arial'>Photo by: " + piccredits[xpicnbr] + "</font>");
    write("<br><table width='100%'><tr><td align='center'><a href='javascript:window.close()'><img src='./pics/pclose.gif' border='0' width='100px' height='17px'></a></td></tr></table></center>");
    write("</body></html>");
	
	
    close();
  }
}

