function OpenPicture(xpicnbr) 

{
  pictitle = new Array(
                 "2000 Team", 
                 "Fancy Gloves",
	         "John scratching an itch",
                 "Tim Irwin",
                 "John before a race",
                 "Troy Reynolds");
  picfilename = new Array(
                 "./2kteampics/p1/pteamfeet.jpg", 
                 "./2kteampics/p1/pjohnivan.jpg",
                 "./2kteampics/p1/pjohnitchy.jpg",
                 "./2kteampics/p1/ptim.jpg",
                 "./2kteampics/p1/pjohnposed.jpg",
                 "./2kteampics/p1/ptroy.jpg");
  picnotes = new Array(
                 "<font size=-1>John Bickmore, Troy Reynolds, Joby Siciliano, Travis Hutchinson, Alex Nunez<br/>( Not pictured: Nathan Rogut, Tim Irwin )</font>", 
                 "It must be those fancy gloves",
		 "Do you want a piece of me!",
                 "Tim Irwin after a race",
                 "John Bickmore before a race",
                 "<font size=-2>(Picture is 450x800)</font>");
  piccredits = new Array(
                 "Mom", 
                 "Mom", 
                 "Mom", 
                 "Mom", 
                 "Mom", 
                 "Mom");
  picheight =  new Array(380, 350, 400, 400, 400, 410);
  picwidth =   new Array(390, 500, 420, 450, 380, 250);
  windheight = new Array(600, 550, 610, 610, 600, 620);
  windwidth =  new Array(520, 600, 530, 530, 500, 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></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=100 height=17></a></td></tr></table></center>");
    write("</body></html>");
	
	
    close();
  }
}

