// JavaScript Document
// PLEASE NOTE: This script is case-dependent.


// ----------------------- SLIDE SHOW SECTION --------------------
// Edit the "PicNo" to match the exact number of images you want in the slideshow
// This example assumes there are 16 images.

PicNo=51

// Use the name of the folder in which the images are stored as the "Path" below
// Note: This must be relative to the folder in which your page is stored.  The example
// below assumes you have a folder called "Images" that is immediately below the folder
// in which the page is stored.  If they are in the same folder, leave the path blank.
// If in doubt, put the full path to the images folder; eg "http://www.mysite.com/images/"
// The path must end with "/"

Path="Images/"

// This example uses 4 images (see "PicNo" above).  The arrays list the name
// of the image file and its matching caption.  Please note that the arrays start numbering
// from zero, so it looks as if they are one short, but there are 4 of them.  The number of images
// must match the number you entered in "PicNo" above.  All speech marks are important; if you
// need to use one in the caption, precede it with a \ character.

Picture = new Array(PicNo)
Picture[0] = "marc.jpg"
Picture[1] = "h29.jpg"
Picture[2] = "h99.jpg"
Picture[3] = "podium.jpg"
Picture[4] = "hightown.jpg"
Picture[5] = "nigel.jpg"
Picture[6] = "mikejones.jpg"
Picture[7] = "spud.jpg"
Picture[8] = "2005paulbaileyhightown.jpg"
Picture[9] = "Nigelnorthampton.jpg"
Picture[10] = "Philnorthampton.jpg"
Picture[11] = "Paulnorthampton.jpg"
Picture[12] = "kids.jpg"
Picture[13] = "tim.jpg"
Picture[14] = "anne.jpg"
Picture[15] = "phil.jpg"
Picture[16] = "marcp.jpg"
Picture[17] = "alex.jpg"
Picture[18] = "jade.jpg"
Picture[19] = "jodie.jpg"
Picture[20] = "sarajodie.jpg"
Picture[21] = "girls.jpg"
Picture[22] = "martin.jpg"
Picture[23] = "paul.jpg"
Picture[24] = "josh.jpg"
Picture[25] = "missy.jpg"
Picture[26] = "gary.jpg"
Picture[27] = "hightown08.jpg"
Picture[28] = "hightownh7.jpg"
Picture[29] = "hightownh7j.jpg"
Picture[30] = "hightownh31.jpg"
Picture[31] = "hightownh31m.jpg"
Picture[32] = "hightownh99.jpg"
Picture[33] = "hightownh99p.jpg"
Picture[34] = "hightownh212.jpg"
Picture[35] = "hightownh212m.jpg"
Picture[36] = "easter1.jpg"
Picture[37] = "easter2.jpg"
Picture[38] = "easter3.jpg"
Picture[39] = "easter4.jpg"
Picture[40] = "easter5.jpg"
Picture[41] = "easter6.jpg"
Picture[42] = "easter7.jpg"
Picture[43] = "easter8.jpg"
Picture[44] = "easter9.jpg"
Picture[45] = "easter10.jpg"
Picture[46] = "easter11.jpg"
Picture[47] = "easter12.jpg"
Picture[48] = "easter13.jpg"
Picture[49] = "easter14.jpg"
Picture[50] = "easter15.jpg"
Caption = new Array(PicNo)
Caption[0] = "Marc Paskell in action"
Caption[1] = "H29 Nigel Roper"
Caption[2] = "H99 Paul Bailey"
Caption[3] = "Anglesey Podium"
Caption[4] = "2006 Autograss Display In High Town Hereford"
Caption[5] = "Nigel Roper H29 New Class 7 At High Town Show"
Caption[6] = "Mike Jones H31 New Class 4 At High Town Show"
Caption[7] = "Spud H118 Class 9 At High Town Show"
Caption[8] = "Paul Bailey Class 6 2005 High Town Show"
Caption[9] = "Nigel Roper @ Northampton International Raceway 2006"
Caption[10] = "Phil Dyke @ Northampton International Raceway 2006"
Caption[11] = "Paul Bailey @ Northampton International Raceway 2006"
Caption[12] = "Juniors with their Trophys for 2006"
Caption[13] = "Tim Jones 2nd Class 6 2006"
Caption[14] = "Anne collecting Paul Baileys Trophys 1st Class 6 & Highest Points 2006"
Caption[15] = "Phil Dyke 1st class 9 2006"
Caption[16] = "Show Off Marc Paskell With All His Trophys"
Caption[17] = "Alex With His Trophy"
Caption[18] = "Jade Dyke 1st Class 9 & Lady Member for 2006"
Caption[19] = "Jodie Paskell"
Caption[20] = "Sara & Jodie "
Caption[21] = "Girl Power!!! "
Caption[22] = "Martin Murphy 2nd Class 1 "
Caption[23] = "Paul Murphy 2nd Class 2 "
Caption[24] = "Josh Murphy With His Trophy "
Caption[25] = "Melissa Perkins Best Novice "
Caption[26] = "Gary Murphy 4th In Juniors "
Caption[27] = "High Town 2008 "
Caption[28] = "High Town 2008 "
Caption[29] = "High Town 2008 "
Caption[30] = "High Town 2008 "
Caption[31] = "High Town 2008 "
Caption[32] = "High Town 2008 "
Caption[33] = "High Town 2008 "
Caption[34] = "High Town 2008 "
Caption[35] = "High Town 2008 "
Caption[36] = "Easter 2008 Geoff Davies H26(Pictures by www.carsten-images.com) "
Caption[37] = "Easter 2008 Nigel Roper H29(Pictures by www.carsten-images.com) "
Caption[38] = "Easter 2008 Matt Peacey H212(Pictures by www.carsten-images.com) "
Caption[39] = "Easter 2008 Marc Paskell H250(Pictures by www.carsten-images.com) "
Caption[40] = "Easter 2008 Melissa Perkins H14(Pictures by www.carsten-images.com) "
Caption[41] = "Easter 2008 Aaron Susans(Pictures by www.carsten-images.com) "
Caption[42] = "Easter 2008 Lee Prince H33(Pictures by www.carsten-images.com) "
Caption[43] = "Easter 2008 Josh Murphy H7(Pictures by www.carsten-images.com) "
Caption[44] = "Easter 2008 Chris Price H4(Pictures by www.carsten-images.com) "
Caption[45] = "Easter 2008 Mark Jones H21(Pictures by www.carsten-images.com) "
Caption[46] = "Easter 2008 Mike Jones H31(Pictures by www.carsten-images.com) "
Caption[47] = "Easter 2008 Paul Bailey H99(Pictures by www.carsten-images.com) "
Caption[48] = "Easter 2008 Sara Roper H29(Pictures by www.carsten-images.com) "
Caption[49] = "Easter 2008 Drivers Meeting(Pictures by www.carsten-images.com) "
Caption[50] = "Easter 2008 Start Line(Pictures by www.carsten-images.com) "
// NOTHING TO EDIT BELOW HERE ...

Pos=-1

function slideShow(v) {
Pos=Pos+v
if (Pos>PicNo-1) {Pos=0}
if (Pos<0) {Pos=PicNo-1}
document.getElementById('Slides').src=Path+Picture[Pos]
document.getElementById('Desc').value=Caption[Pos]
}

function bigPic() {
thePic="Images/large/"+Picture[Pos]
window.open(thePic) }

// --------------------- END OF SLIDE SHOW SECTION ------------------