function OpenPicture(xpicnbr) 
{
  pictitle = new Array(
              "The&nbsp;Field&nbsp;at&nbsp;Natz", 
              "The&nbsp;Field&nbsp;at&nbsp;Natz", 
              "Before&nbsp;The&nbsp;Team&nbsp;Picture",
              "Talking&nbsp;About&nbsp;Feeding",
              "Waiting&nbsp;For&nbsp;The&nbsp;Race&nbsp;To&nbsp;Start",
              "insRuAnCE",
              "Gag&nbsp;and&nbsp;Yak",
              "Spain&nbsp;During&nbsp;a&nbsp;Workout");
  picfilename = new Array(
                 "./2kteampics/p10/dg2000_01.jpg", 
                 "./2kteampics/p10/dg2000_02.jpg",
                 "./2kteampics/p10/dg2000team.jpg",
                 "./2kteampics/p10/johnbefstart.jpg",
                 "./2kteampics/p10/racebefstart.jpg",
                 "./2kteampics/p10/insurance.jpg",
                 "./2kteampics/p10/yakgagbike.jpg",
                 "./2kteampics/p10/spaincoast.jpg");
  picnotes = new Array(
                 "The field at Natz", 
                 "The field at Natz", 
                 "Before the Team Picture",
                 "Talking about feeding during the race",
                 "Waiting for a race to start",
                 "Proof that insurance is a part of every race",
                 "Gag and Yak want to go for a bike ride",
                 "Southern Spain during a workout");
  picheight =  new Array(350, 350, 350, 350, 350, 350, 350, 350);
  picwidth =   new Array(350, 350, 350, 350, 350, 350, 350, 350);
  windheight = new Array(510, 510, 510, 510, 510, 510, 510, 510);
  windwidth =  new Array(400, 400, 400, 400, 400, 400, 400, 400);
  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><br><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></p>");
    write("<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();
  }
}

