function OpenPicture(xpicnbr) 
{
  pictitle = new Array(
              "After the Downer Avenue race", 
              "Tim Erwin",
              "Kenosha Stage of 2000 Superweek",
              "Before 2000 Crit Nationals",
              "During the 2000 Crit Nationals",
              "2000 Crit Nationals Feed Zone");
  picfilename = new Array(
                 "./2kteampics/p2/sw_2000_downer_ave_02.jpg", 
                 "./2kteampics/p2/sw_2000_tim01.jpg",
                 "./2kteampics/p2/sw_2000_john03.jpg",
                 "./2kteampics/p2/2000natz_tjd.jpg",
                 "./2kteampics/p2/2000natz_john_77.jpg",
                 "./2kteampics/p2/2000natz_dave.jpg");
  picnotes = new Array(
                 "If I give you my autograph,<br/>can I have it back in time to sign for dinner?", 
                 "Tim Erwin at the line during 2000 Superweek",
                 "John Bickmore at the front during<br/>the Kenosha Stage of 2000 Superweek",
                 "Troy, Joby and Troy's Dad an hour<br/>before the start of the 2000 Criterium National Championship",
                 "John Bickmore and Jason McCartney during the<br/>2000 U.S. Professional Criterium National Championship",
                 "My brother Dave Bickmore in the feed zone<br/>at the 2000 Criterium National Championship");
  piccredits = new Array(
                 "Mom", 
                 "Mom", 
                 "Mom", 
                 "Mom", 
                 "Mom", 
                 "Mom");
  picheight =  new Array(400, 400, 400, 400, 400, 400);
  picwidth =   new Array(500, 500, 600, 500, 500, 600);
  windheight = new Array(617, 600, 613, 630, 620, 630);
  windwidth =  new Array(600, 600, 700, 600, 600, 700);
  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();
  }
}

