function album(pToGet,psub) {

                         //year, year narrative
	aYear = new Array( "2008,After a stonkingly good Annual Dinner&#44; we stormed into 2008 with a meets list packed with promise and adventure.  Unfortunately the winter storms followed us&#44; but does that dampen our spirits?  Hell no!"
		          ,"2007,Last year we had a packed schedule of exciting meets&#44; and luckily we always find that good weather isn't a necessity for having fun.  The Peaks&#44; Lakes&#44; Pembroke and Cornwall were all firmly on the list several times over."
	                  ,"2006,2006 saw some amazing weather &#44; and we really made good use of it with a return to Lancashire&#44; which was scorching again&#44; and the usual favourites&#44; The Lakes&#44; Snowdonia&#44; oh and an exploratory trip to Dartmoor where the only downside was watching England loose against Portugal."
	                  ,"2005,In 2005 we made our way through an exciting new meets list.  As always there was plenty of variety&#44; and on the list we included the much overlooked gritstone quarries of Lancashire and the impressive towering walls of Cheddar and its famous gorge."
	                  ,"2004,In 2004 we enjoyed 18 club meets all over the country and an excellent trip to the Freyer Gorge in Belgium at Easter.  In addition there were several skiing&#44; mountaineering and rock climbing trips to The Alps organised by club members&#44; and a very successful trip to the Peak District to celebrate the club president's birthday."
	                  ,"2003,In 2003 we enjoyed 20 club meets all over the country.  In addition to this several club members got together to organise rock climbing and mountaineering trips abroad.  This included a very successful end of year trip to the Costa Blanca for sport climbing and snorkelling."
	                  ,"Annual,We celebrate the end of the climbing year with an almighty knees up. Its a fancy dress event. The challenge for some is to turn up in the most striking costume by spending the least amount of money.  The fun kicks off with a civilised three course meal&#44; followed by the awards ceremony. Nothing too serious. Nominations are made for awards such as 'Wally of the Year'&#44; or the much more sought after 'Climber of the Year'. This is a great chance to air the often hilarious stories of the past twelve months. As the last few awards are being voted upon the karaoke machine will be belting out the tunes in the background.  Then its time for dancing&#44; drinking&#44; singing (or attempting to)&#44; laughing&#44; and eagerly discussing mad schemes for the oncoming year."
			  );

                        //year,thumbnail width,venue,filename,caption 1 (tooltip), caption 2 (main caption)
	aImage 	= new Array (
	                 "2008,68,Peak District,jun08Peaks02.jpg,Froggatt,Chequers Buttress HVS 5a ***"
	                ,"2008,120,Peak District,jun08Peaks10.jpg,Stanage,Paradise Wall VS 4C ***"
	                ,"2008,68,Peak District,jun08Peaks08.jpg,Peak Gritstone,Pausing for photos"
	                ,"2008,120,Peak District,jun08Peaks09.jpg,Stanage,SAKMC as a family"
	                ,"2008,68,Peak District,jun08Peaks06.jpg,Stoney Middleton,We are not always on the rock - sometimes we can be found under it!"
	                ,"2008,135,Peak District,sep08Peaks19.jpg,Stanage,the view from Stanage - Peak District perfect"
	                ,"2008,68,Peak District,sep08Peaks04.jpg,Stanage End,Valediction HVS 5a *"
	                ,"2008,94,Peak District,sep08Peaks07.jpg,Millstone,Supra Direct HVS 5b *"
	                ,"2008,68,Peak District,sep08Peaks11.jpg,Millstone,Great North Road HVS 5a ***"
	                ,"2008,69,Peak District,sep08Peaks06.jpg,Millstone,Between climbs on a glorious afternoon at Millstone"
	                ,"2008,79,Peak District,jun08Peaks01.jpg,Stanage,Hello from Stanage"
	                ,"2008,81,Peak District,jun08Peaks19.jpg,Stanage,Chequers Buttress HVS 5a ***"
	                ,"2008,43,Peak District,jun08Peaks22.jpg,Froggat,Pedestal Crack HVS 5a **"
	                ,"2008,107,Peak District,jun08Peaks24.jpg,Stanage,Goliaths Groove HVS 5a *** - successfully completed."
	                ,"2008,67,Peak District,dec08Annual68.jpg,Castle Naze,Scoop Face HVS 5b ***"
	                ,"2008,90,Peak District,dec08Annual36.jpg,Castle Naze,Pilgrims Progress HS *"	                
	                ,"2008,120,Cornwall,may08Cornwall12.jpg,Cornish Campsite,Its barbecue time"
	                ,"2008,68,Cornwall,may08Cornwall02.jpg,Shipwreck,Onboard the RMS Mulheim of Duisburg"	
	                ,"2008,120,Snowdonia,jan08Wales01.jpg,Winter warmth,Mountain huts are a great place to chilax and have fun"
	                ,"2008,120,Snowdonia,jan08Wales08.jpg,Nant Ffrancon valley,Snowdonia winter beauty"
	                ,"2008,54,Yorkshire,aug08Yorkshire02.jpg,Brimham Rocks,An ambitious start to the weekend on Lancet Crack VS 5a *** at Brimham"	                
	                ,"2008,73,Yorkshire,aug08Yorkshire01.jpg,Brimham Rocks,Just hanging around on the crag"
	                ,"2008,120,Yorkshire,aug08Yorkshire04.jpg,Ilkley Quarry,The club covers Ilkley Quarry.  In the foreground our president storms up Napoleon VS 4c **"
	                ,"2007,98,Snowdonia,feb07Snowdonia12.jpg,Llanberis Pass,T-Shirt weather in Snowdonia in February!"	
	                ,"2007,66,Snowdonia,feb07Snowdonia13.jpg,Llanberis Pass,The exciting arete of Chockstone Rib - Severe"	
	                ,"2007,93,Snowdonia,mar07Snowdonia05.jpg,Tremadog,Approaching the second belay on Christmas Curry - a Tremadog classic."	
	                ,"2007,56,Snowdonia,jun07Snowdonia12.jpg,Llanberis Slate Quarries,Approaching every climb with a smile"
	                ,"2007,79,Snowdonia,jun07Snowdonia15.jpg,Llanberis Slate Quarries,Solstice HVS 5a "
	                ,"2007,44,Snowdonia,jun07Snowdonia17.jpg,Llanberis Slate Quarries,The classic Fools Gold E1 5b **"
	                ,"2007,68,Cornwall,apr07Cornwall56.jpg,Pordenack Point,Zeke's Route (HS 4b)"	
                        ,"2007,106,Cornwall,apr07Cornwall27.jpg,Wicca Pillar,Wicca Pillar - a sea stack adventure"
                        ,"2007,135,Cornwall,apr07Cornwall51.jpg,Lands End,Tackling some of the harder routes at Lands End"
	                ,"2007,135,Cornwall,apr07Cornwall55.jpg,Apres Climb,Even well 'ard climbers can't resist an ice cream or two"
	                ,"2007,62,Cornwall,apr07Cornwall38.jpg,Bosigran,Little Brown Jug on Bosigran - Three star routes always bring out a smile"
	                ,"2007,120,Cornwall,apr07Cornwall20.jpg,Bishops Rock from Lands End,Glorious weather ends in glorious sunsets :)"	
	                ,"2007,52,The Peak District,apr07Peaks16.jpg,Millstone Quarry,Hells Bells HS 4a *"
	                ,"2007,120,The Peak District,apr07Peaks12.jpg,Millstone Quarry,Some of the best gritstone climbing that the Peak District has to offer - The Mall VS 4C ***"	
	                ,"2007,111,The Peak District,apr07Peaks05.jpg,Millstone Quarry,Climbing - a great spectator sport."	
	                ,"2007,91,The Peak District,apr07Peaks26.jpg,Millstone Quarry,Demonstrating bridging moves on Estremo HVS 5a **"
	                ,"2007,63,The Peak District,jun07Peaks08.jpg,Bamford Edge,Gargoyle Flake VS 4c ***"
	                ,"2007,120,The Peak District,jun07Peaks06.jpg,Bamford Edge,The Indian rope trick"
	                ,"2007,66,The Peak District,jun07Peaks04.jpg,Bamford Edge,Finishing on a strenuous HVS at Bamford"
	                ,"2007,70,The Peak District,jul07Roaches05.jpg,The Roaches,Valkerie VS 4c ***"
	                ,"2007,74,The Peak District,sep07Peaks11.jpg,Black Rocks,Birch Tree Wall VS 5a ***"
	                ,"2007,180,Yorkshire,aug07Yorkshire03.jpg,Brimham Rocks,Climbing takes us all over the country to some wild locations.<BR>This is Brimham Rocks near Harrogate"
	                ,"2007,63,Yorkshire,aug07Yorkshire08.jpg,Ilkley Quarry,Fairy Steps HVDiff *<BR>The grades don't have to be hard for the climbing to be fun."
	                ,"2007,61,Yorkshire,aug07Yorkshire25.jpg,Almscliff,One of our more unorthodox climbing techniques" 
	                ,"2007,46,Yorkshire,aug07Yorkshire27.jpg,Almscliff,The opening moves on South Wall Traverse VS 4c **"
	                ,"2007,98,Yorkshire,aug07Yorkshire21.jpg,Almscliff,Après-climb"
	                ,"2007,107,Yorkshire,aug07Yorkshire28.jpg,Almscliff,The end of another perfect day on the crag."
	                ,"2007,120,Swiss Alps,jul07Alps48.jpg,The Allalinhorn,The Allalinhorn "
	                ,"2007,72,Swiss Alps,jul07Alps19.jpg,Swiss Alps,Alpine start"
	                ,"2007,120,Swiss Alps,jul07Alps47.jpg,Swiss Alps,Sunrise"
	                ,"2007,98,Swiss Alps,jul07Alps11.jpg,Strahlhorn,On top of the Strahlhorn 4190m"
	                ,"2007,120,Swiss Alps,jul07Alps07.jpg,Swiss Alps,The Rothorn hut"
	                ,"2007,87,Swiss Alps,jul07Alps26.jpg,Swiss Alps,Dawn over the Matterhorn"
	                ,"2007,119,Swiss Alps,jul07Alps46.jpg,Swiss Alps,Approaching the technical summit of the Zinalrothorn."
	                ,"2007,120,Pembroke,may07Pembroke01.jpg,Pembroke - South Coast,Climbing gets us to see some picturesque parts of the country.<BR>This is an early morning walk at the Bosherton lily ponds."
	                ,"2007,83,Pembroke,may07Pembroke10.jpg,Pembroke - South Coast,Sometimes when its a bit breezy on the sea cliffs its best to wear a hat."
	                ,"2007,96,Pembroke,jul07Pembroke06.jpg,Porth Clais - Pembroke north coast,Enjoying the sun and the rock at Porth Clais"
	                ,"2007,117,Pembroke,jul07Pembroke04.jpg,Porth Clais - Pembroke north coast,Red Wall Severe 4a **"
	                ,"2007,100,Pembroke,jul07Pembroke03.jpg,Porth Clais - Pembroke north coast,Bridging techniques are a good way to avoid getting your feet wet!"
 	                ,"2006,68,Yorkshire,aug06Yorkshire27.jpg,Almscliffe,Great Western HVS 5a **** is as popular as ever"
	                ,"2006,53,Yorkshire,aug06Yorkshire36.jpg,Brimham Rocks,Struggling with the opening moves of Desperation Crack HVS"
	                ,"2006,68,Yorkshire,aug06Yorkshire08.jpg,Ilkley Quarry,Cherry Valley Rib HVS 5a at Ilkley Quarry"
	                ,"2006,68,Yorkshire,aug06Yorkshire43.jpg,Almscliffe,One of the more unusual climbing moves on Piggots Stride VS at Almscliffe"
	                ,"2006,55,Yorkshire,aug06Yorkshire34.jpg,Brimham Rocks,An early introduction to climbing"
	                ,"2006,62,Pembroke,apr06pembroke01.jpg,Saddle Head,Climbing at Saddle Head"
	                ,"2006,60,Pembroke,apr06pembroke07.jpg,Huntsman's Leap,Climbing at Huntsman's Leap"
	                ,"2006,135,Pembroke,apr06pembroke08.jpg,Pembroke,Atmospheric climbing above the waves at Pembroke"
	                ,"2006,68,Pembroke,sep06Pembroke29.jpg,Pembroke,Climbing at Saddle Head"
	                ,"2006,68,Pembroke,sep06Pembroke26.jpg,Pembroke,Relaxing in the sun"
	                ,"2006,77,Swiss Alps,jul06alps10.jpg,The Mönch,The sharp upper ridge to the Mönch with both sides sweeping down to oblivion. Great stuff!"
	                ,"2006,57,Swiss Alps,jul06alps28.jpg,The Lagginhorn,Ascent of the Lagginhorn" 
	                ,"2006,120,Swiss Alps,jul06alps34.jpg,The Weismeis,A more steady ascent up the summit cone of the Weismeis after the excitement of the glacier"
	                ,"2006,67,Swiss Alps,jul06alps36.jpg,The Weismeis,Taking a few moments on the summit of the Weismeis"
	                ,"2006,123,Swiss Alps,jul06alps23.jpg,The Weismeis hut,Sunset from the Weismeis hut"
	                ,"2006,60,Lancashire,jul06Lancashire27.jpg,Anglezarke,Terra Cotta (HVS 5a)"   
                        ,"2006,60,Lancashire,jul06Lancashire29.jpg,Anglezarke,First Finale (E2 5b)"                 
	                ,"2006,120,Dartmoor,jul06Dartmoor21.jpg,Dewerstone,In determined loafing-about mode at Dewerstone"
	                ,"2006,135,Dartmoor,jul06Dartmoor26.jpg,Dewerstone,Climbers Club - classic VS action"
	                ,"2006,120,Dartmoor,jul06Dartmoor11.jpg,Dartmoor,Campsite cooking<BR>How to turn your dinner into charcoal in one easy step."
	                ,"2006,60,Dartmoor,jul06Dartmoor22.jpg,Haytor Rocks,Outward Bound&#44; HVS 4c"
			,"2006,68,Lake District,jan06Langdale16.jpg,Langdale,Approaching Jack's Rake&#44; the classic scramble that draws the crowds each year"
			,"2006,120,Lake District,jan06Langdale22.jpg,Langdale,Human curling"
			,"2006,60,Lake District,jan06Langdale34.jpg,Langdale,We find some 'vertical' ice to play around on"
			,"2006,65,Peak District,nov06Peaks04.jpg,Lawrence Field,Great Harry (HVS 4c)"
			,"2006,58,Peak District,nov06Peaks12.jpg,Froggatt,Diamond Crack (HS 4b)"
			,"2006,79,Peak District,nov06Peaks13.jpg,Froggatt,Valkyrie (HVS 5a)"
			,"2006,68,Peak District,sep06Peaks01.jpg,Horse Shoe Quarry,Climbing at Horse Shoe Quarry"
			,"2006,135,Cornwall,apr06Cornwall12.jpg,Sennon Cove,Some classic lines at Sennen"
			,"2006,60,Cornwall,apr06Cornwall24.jpg,Sennon Cove,Zig Zag HVS 5b"
			,"2006,60,Cornwall,apr06Cornwall21.jpg,Sennon Cove,Topping out on Zig Zag with a dramatic maritime backdrop"
			,"2006,120,Cornwall,apr06Cornwall04.jpg,Sennon Cove,Apres Climb"			
			,"2006,68,Snowdonia,mar06Snowdonia30.jpg,Eastern Terrace,Grade 1 Winter Route"
			,"2006,120,Snowdonia,mar06Snowdonia40.jpg,Crib Goch,The classic Crib Goch ridge in winter conditions"
			,"2006,70,Snowdonia,mar06Snowdonia46.jpg,Eastern Terrace,Ice climbing on Eastern Terrace"
			,"2006,61,Snowdonia,mar06Snowdonia47.jpg,Eastern Terrace,Perfect winter conditions"
			,"2005,108,Cornwall,mar05Cornwall02.jpg,Sennen Cove,Gearing up for adventure at Sennen"
			,"2005,57,Cornwall,mar05Cornwall07.jpg,Sennen Cove,Africa Route VS 5a *"
			,"2005,65,Cornwall,mar05Cornwall08.jpg,Sennen Cove,Africa Route VS 5a *"
			,"2005,67,Cornwall,mar05Cornwall24.jpg,Bosigran,HVS start on Little Brown Jug at Bosigran"		
                        ,"2005,59,Snowdonia,feb05Wales18.jpg,Snowdonia,Enjoying the winter conditions"
                        ,"2005,115,Snowdonia,feb05Wales23.jpg,Snowdonia,Hut Comforts"
                        ,"2005,68,Snowdonia,may05SnoPe10.jpg,Llanberis slate quarries,One of the HVS classics in the Llanberis slate quarries"
                        ,"2005,62,Snowdonia,may05SnoPe42.jpg,Tryfan,The leap between Adam and Eve on Tryfan"
                        ,"2005,61,Snowdonia,may05SnoPe44.jpg,Snowdonia,Relaxing at the camp site"
			,"2005,93,Lake District,mar05Lakes14.jpg,Langdale,Winter descent from Wetherlam"
			,"2005,108,Lake District,mar05Lakes39.jpg,Langdale, Classic Lake District scrambling&#44; Jack's Rake in Great Langdale"
                        ,"2005,132,Pembroke,apr05Pembroke32.jpg,Saddle Head,Enjoying the Sun"
                        ,"2005,67,Pembroke,apr05Pembroke15.jpg,St Govans,Chieftain VS 4c *&#44; one of the classic VS routes at St Govans"
                        ,"2005,67,Pembroke,apr05Pembroke19.jpg,St Govans,Army Dreamers HVS 5a **<BR>(the route on the right)"
                        ,"2005,120,Pembroke,apr05Pembroke34.jpg,St Govans,Army Dreamers&#44; Looking down the route"
                        ,"2005,69,Pembroke,aug05PemPeaks13.jpg,Pembroke,Abseiling fun"
                        ,"2005,106,Pembroke,aug05PemPeaks11.jpg,Pembroke,Beach fun"
                        ,"2005,68,Peak District,may05SnoPe33.jpg,Froggatt,after a successful lead of Valkyrie HVS 5a ***"
                        ,"2005,68,Peak District,aug05PemPeaks33.jpg,Horseshoe Quarry,Bouldering"
                        ,"2005,68,Peak District,aug05PemPeaks23.jpg,Horseshoe Quarry,Sports climbing"
                        ,"2005,68,Peak District,aug05Peaks100.jpg,The Roaches,After a midnight ascent of Pebbledash HVS 5a in the rain"
                        ,"2005,68,Peak District,nov05Peaks101.jpg,Curbar,A challenging gritstone roof"
                        ,"2005,68,Peak District,aug05Peaks101.jpg,The Roaches,One of the challenging gritstone problems on The Roaches lower tier"
                        ,"2005,68,Peak District,may05Peaks100.jpg,Peak District,Gritstone wall"
                        ,"2005,68,Peak District,may05Peaks101.jpg,Peak District,Peak Gritstone - made for climbing"
                        ,"2005,68,Peak District,nov05Peaks100.jpg,Curbar,Peapod HVS 5b"
                        ,"2005,114,Peak District,may05SnoPe26.jpg,Millstone,Enjoying a summer barbecue at the crag"
                        ,"2005,68,Lancashire,jul05Lancs11.jpg,Wilton Quarry Three,seconding Parallel Cracks Severe 4a *"
                        ,"2005,57,Lancashire,jul05Lancs17.jpg,Wilton Quarry One,Psyching up for Max E3 5c ***"
                        ,"2005,147,Lancashire,jul05Lancs20.jpg,Anglezarke,Wedge HS 4a **"
                        ,"2005,64,Lancashire,jul05Lancs24.jpg,Anglezarke,Many Happy Returns E1 5a"
                        ,"2005,68,Lancashire,jul05Lancs25.jpg,Anglezarke,in fine position on Terror Cotta HVS 5a ***"
                        ,"2005,45,Swanage,apr05Swanage08.jpg,Subliminal,Looking for the missing handhold on Baboon at Subliminal"
                        ,"2005,120,Kalymnos,sep05kalymnos50.jpg,Odyssey,One of the best climbing areas that Kalymnos has to offer"                     
                        ,"2005,68,Kalymnos,sep05kalymnos44.jpg,Odyssey,The start of one of the superior 6b routes at Odyssey"
                        ,"2005,53,Kalymnos,sep05kalymnos52.jpg,Kalymnos,Welcome to winter sun"
                        ,"2005,68,Kalymnos,sep05kalymnos46.jpg,Kalymnos,Perfect limestone climbing with a warm Mediterranean backdrop"
                        ,"2005,120,Kalymnos,sep05kalymnos40.jpg,Kalymnos,A glorious sunset ends every day"
                        ,"2004,59,Peak District,feb04Peaks10.jpg,Black Rocks,Enjoying the triple starred VS&#44; Birch Tree Wall&#44; at Black Rocks"
                        ,"2004,52,Peak District,apr04Peaks02.jpg,Stanage,Paradise Wall VS 4c **&#44; a Stanage classic"
                        ,"2004,51,Peak District,apr04Peaks05.jpg,Stanage,Who needs feet anyway ?"
                        ,"2004,68,Peak District,apr04Peaks13.jpg,Stanage, HVS Stanage Style"
                        ,"2004,42,Peak District,apr04Peaks44.jpg,Stanage,Finally some clouds waft in and cast some blessed shade on the rock :)"
                        ,"2004,106,Peak District,sep04Peaks14.jpg,Stanage,Chance for a group photo"
                        ,"2004,64,Peak District,sep04Peaks17.jpg,Stanage,Crux Move on Dovers Wall HVS 5a"
                        ,"2004,148,Belgium,apr04Belgium30.jpg,Belgium,Just some of the limestone playground on offer at Freyer"
                        ,"2004,68,Belgium,apr04Belgium32.jpg,Freyer,La Nouvelle Jeunessee *** 4 (VS)"
                        ,"2004,77,Belgium,apr04Belgium29.jpg,Belgium Hospitality,Tackling the first pitch of an ice cream mountain!"
                        ,"2004,121,Snowdonia,feb04Snowdonia05.jpg,Cwm Idwal,Walking in a winter wonderland"
                        ,"2004,68,Snowdonia,feb04Snowdonia03.jpg,Cwm Idwal,Climbing in a winter wonderland!"
                        ,"2004,64,Snowdonia,jun04Wales02.jpg,Tremadog,The Tremadog Experience<BR>The second pitch of Grim Wall VS 4c"
                        ,"2004,126,Lake District,may04Lakes14.jpg,Lake District,Derwent water from Catbells<BR>a bank holiday deluge of sunshine,"
                        ,"2004,63,Lake District,may04Lakes02.jpg,Borrowdale,On Mandrake HVS 5a ***&#44; one of the Borrowdale gems"
                        ,"2004,53,Lake District,may04Lakes09.jpg,Shepherds Crag,Fishers Folly VS 4c<BR>Gearing up for some hard rock action"
                        ,"2004,133,Lake District,may04Lakes16.jpg,Lake District,Too hot to climb!"            
                        ,"2004,55,Swanage,may04Swanage06.jpg,Subliminal,Freda VS 4c/5a **<BR>Enjoying the climbing and the cooling sea breeze" 
                        ,"2004,47,Swanage,may04Swanage05.jpg,Subliminal,Quality climbing at Subliminal"
                        ,"2004,64,Cornwall,may04Cornwall01.jpg,St Loy,Sunbaked Cornwall<BR>Chlorophyll Cluster E1 5b"
                        ,"2004,52,Cornwall,may04Cornwall02.jpg,St Loy,Cress Cendo VS 5a"
                        ,"2004,102,Pembroke,jul04Pembroke05.jpg,Saddle Head,Pink Un VS 5a<BR>Atmosperic climbing at Saddle Head"
                        ,"2004,68,Pembroke,jul04Pembroke08.jpg,Stenis Head,Stenis Arete HS"
                        ,"2004,43,Anglesey,aug04Gogarth12.jpg,Holyhead Mountain,Breaking The Barrier E1 5b ***"
                        ,"2004,109,Yorkshire,aug04Yorkshire01.jpg,Ilkley Quarry,Bouldering at Ilkly Quarry"
                        ,"2004,120,Yorkshire,aug04Yorkshire52.jpg,Rylestone Edge,Posing for photos at Rylestone Edge"
                        ,"2004,55,Yorkshire,aug04Yorkshire33.jpg,Brimham Rocks,Right Hand Crack VS 4b at Brimham Rocks"     
                        ,"2003,135,Snowdonia,jan03Wales10.jpg,Pinnacle Hut,Hut Olympics<BR>The arm wrestling contest"
                        ,"2003,44,Snowdonia,mar03Wales15.jpg,Llanberis slate quarries,Climbing action at the Slate Quarries<BR>Seems the Same E1 5b"
                        ,"2003,44,Snowdonia,jul03Pass18.jpg,Llanberis Pass,Top pitch of Overlapping Wall E1 5b"
                        ,"2003,126,Snowdonia,jul03Pass10.jpg,Llanberis Pass,Relaxing with beers back at the camp site"
                        ,"2003,68,Swanage,apr03Swanage03.jpg,Subliminal,Quality limestone in the sun"
                        ,"2003,114,Swanage,apr03Swanage11.jpg,Guillemot,We investigate some new angles to bouldering" 
                        ,"2003,68,Cornwall,apr03Cornwall05.jpg,Chair Ladder,Looking cool on pitch 3 of Pegasus"
                        ,"2003,122,Cornwall,apr03Cornwall13.jpg,Sennen Cove,A little bit of rain does not stop us from climbing"
                        ,"2003,43,Cornwall,apr03Cornwall17.jpg,Sennen,The storm clouds are barely out of sight before the club secretary tackles Zig Zag HVS 5a"
                        ,"2003,68,Lake District,may03Lakes05.jpg,Shepherds Crag,Fishers Folly VS 4c,Borrowdale"
                        ,"2003,155,Peak District,jun03Pindale04.jpg,Champagne,Celebrating Ex-SAKMC member David Hamilton\'s success guiding a recent Jagged Globe Everest expedition"
                        ,"2003,54,Peak District,jun03Pindale05.jpg,Popular Stanage,Some sporting moves and a lot of traffic on Billiard Buttress HVS 5a"
                        ,"2003,58,Peak District,jun03Roaches26.jpg,The Roaches,Chalkstorm 5c<BR>Some interesting moves"
                        ,"2003,61,Peak District,aug03Peaks11.jpg,Shining Clough,Climbing hard at Shining Clough"
                        ,"2003,131,Peak District,aug03Peaks09.jpg,Shining Clough,Climbing the hard way at Shining Clough - but as long as were having fun :)"
                        ,"2003,55,Peak District,nov03Peaks01.jpg,Curber Edge,Tackling Bel Ami VS 4b **"
                        ,"2003,52,Peak District,nov03Peaks02.jpg,Hut Car Park,Tackling an awkward golf hole from the hut car park"
                        ,"2003,225,Peak District,jun03Roaches21.jpg,The Roaches,Pebbledash HVS 5a<BR>Climbing as a spectator sport"
                        ,"2003,129,Gower Peninsular,jun03Gower02.jpg,Fall Bay,SAKMC ready for some climbing action&#44; or maybe an hour or two on the beach :)"
                        ,"2003,109,Gower Peninsular,jun03Gower08.jpg,Fall Bay,The Gower beaches were never far away"
                        ,"2003,43,Gower Peninsular,jun03Gower23.jpg,Three Cliffs Bay,HVS Action on Inverted V"
                        ,"2003,90,Dartmoor,jul03Dartmoor08.jpg,Haytor Rocks,The impressive crux moves on Outward Bound HVS 4c"
                        ,"2003,68,Yorkshire,aug03Yorkshire43.jpg,Almscliffe,Quality routes all round at Almscliffe"
                        ,"2003,41,Yorkshire,aug03Yorkshire16.jpg,Guise Cliff,Jungle bashing at Guise Cliff<BR>We couldn\'t find anything worth climbing&#44; but we had a good laugh"
                        ,"2003,87,Yorkshire,aug03Yorkshire41.jpg,Guise Cliff,Ye Olde bouldering problem"
                        ,"2003,39,Yorkshire,aug03Yorkshire20.jpg,Ilkly Quarry,Climbing fun at Ilkly Quarry"
                        ,"2003,77,North Devon,sep03Baggy06.jpg,Baggy Point,The Excellent Shangri-La HS **"
                        ,"2003,59,North Devon,sep03Baggy08.jpg,Baggy Point,First VS Lead!"
                        ,"Annual,156,Annual Dinner,dec08Annual16.jpg,Annual Dinner 2008,Celebrities" 
                        ,"Annual,79,Annual Dinner,dec07Annual04.jpg,Annual Dinner 2007,Punk Rock" 
                        ,"Annual,149,Annual Dinner,dec06Annual12.jpg,Annual Dinner 2006,Mad Hatters" 
                        ,"Annual,120,Annual Dinner,dec05Annual25.jpg,Annual Dinner 2005,25th Anniversary<BR>Black tie and beards"
                        ,"Annual,170,Annual Dinner,dec04Annual02.jpg,Annual Dinner 2004,The theme<BR>Heroes and Villains"
                        ,"Annual,89,Annual Dinner,dec03Annual27.jpg,Annual Dinner 2003,The theme<BR>Childrens TV"
                        ,"Annual,135,Annual Dinner,dec02Annual02.jpg,Annual Dinner 2002,School Disco<BR>30 SAKMC school brats take over the Heights Hotel Llanberis"
                        ,"Annual,159,Annual Dinner,dec01Annual01.jpg,Annual Dinner 2001,The theme<BR>Stars In Their Eyes"
                        ,"Annual,135,Annual Dinner,dec85Annual10.jpg,Annual Dinner 1985,Pantomine pantha and camel scare the novices on Idwal Slabs the Sunday after the dinner"
			);

	function getReq() {

              search_request = new String;
	      l_req = new String;
	      l_req = "-1";

              search_request = this.location.search;

              if(search_request.length > 1) {
	        l_req = search_request.substring(1,search_request.length);
	      }

	      return parseInt(l_req);

	}
	
	function getYearDetails(pindex,psub) {
	
          re = /,/g

	  if (pindex > getYearCount()) {
	    pindex = getYearCount();
	  }
	
	  yearSplit = aYear[pindex].split(re)
	
	  return yearSplit[psub];
	}

	function getImageDetails(pindex,psub) {
	
          re = /,/g
	
	  if (pindex > getImageCount()) {
	    pindex = getImageCount();
	  }
	
	  imageSplit = aImage[pindex].split(re)
	
	  return imageSplit[psub];
	}


	function getYearCount() {
	  l_length = aYear.length - 1;

	  return l_length;
	}

	function getImageCount() {
	  l_length = aImage.length - 1;

	  return l_length;
	}

	function getYear(l_index) {

              return getYearDetails(l_index,0);

	}
	
	function getYearDesc(l_index) {
	
	      return getYearDetails(l_index,1);
	
	}
	
	function getImageYear(l_index) {
	
	      return getImageDetails(l_index,0);
	
	}
	
	function getImageThumbWidth(l_index) {
	
	      return parseInt(getImageDetails(l_index,1));
	
	}
	
	function getLocation(l_index) {
	
	      return getImageDetails(l_index,2);
	
	}	
	
	function getFilename(l_index) {
	
	      return getImageDetails(l_index,3);
	
	}	
	
	function getFileLoc(l_index) {
	
	      l_filename = getFilename(l_index);
	      
	      l_filename = './public/photos/' + getImageYear(l_index) + '/' + l_filename;
	      
	      return l_filename;
	
	}	
	
	function getThumbFileLoc(l_index) {
	
	      l_filename = getFilename(l_index);
	      
	      l_filename = './public/photos/' + getImageYear(l_index) + '/thumbs/tmb_' + l_filename;
	      
	      return l_filename;
	
	}
	
	function getCap1(l_index) {
	
	      return getImageDetails(l_index,4);
	
	}	

	function getCap2(l_index) {
	
	      return getImageDetails(l_index,5);
	
	}
		
	
	if (pToGet == "getReq") {

	   	return getReq();
	}	
	
	if (pToGet == "getYearCount") {
	
	   	return getYearCount();
	}
	
	if (pToGet == "getImageCount") {
	
	   	return getImageCount();
	}	
	
	if (pToGet == "getYear")  {
		
		return getYear(psub);
	}

	if (pToGet == "getYearDesc")  {
		
		return getYearDesc(psub);
	}
	
	if (pToGet == "getImageYear")  {
		
		return getImageYear(psub);
	}
	
	if (pToGet == "getImageThumbWidth")  {
		
		return getImageThumbWidth(psub);
	}	

	if (pToGet == "getLocation")  {
		
		return getLocation(psub);
	}	

	if (pToGet == "getFileLoc")  {
		
		return getFileLoc(psub);
	}
	
	if (pToGet == "getThumbFileLoc")  {
			
		return getThumbFileLoc(psub);
	}

	if (pToGet == "getCap1")  {
		
		return getCap1(psub);
	}

	if (pToGet == "getCap2")  {
		
		return getCap2(psub);
	}
		
}
