window.thumbnails = {};
															thumbnails[185131] = clik.newPhoto({"id":185131,"src":"Tree+dandelions_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Untitled","height":201});
															thumbnails[185134] = clik.newPhoto({"id":185134,"src":"wells_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Wells at Cartworth","height":92});
															thumbnails[185520] = clik.newPhoto({"id":185520,"src":"GCharlie_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Charlie","height":104});
															thumbnails[185555] = clik.newPhoto({"id":185555,"src":"Gdales_with_attitude_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Dales with attitude","height":57});
															thumbnails[7619666] = clik.newPhoto({"id":7619666,"src":"1_Through__The__Open__Window_thumb.jpg","galleries_id":413162,"server_id":1,"link":"photo_7619666.html","width":130,"caption":"Through The Open Window (1st Place) Gill Sharp","height":194});
															thumbnails[7619681] = clik.newPhoto({"id":7619681,"src":"2_Goshawk_prepares_to_dine1_thumb.jpg","galleries_id":413162,"server_id":1,"link":"photo_7619681.html","width":130,"caption":"Goshawk Prepares To Dine (2nd Place) Steve Dobrows","height":94});
															thumbnails[7619685] = clik.newPhoto({"id":7619685,"src":"3__Subway_thumb.jpg","galleries_id":413162,"server_id":1,"link":"photo_7619685.html","width":130,"caption":"Subway (3rd Place) Peter Bartlett","height":91});
															thumbnails[7535967] = clik.newPhoto({"id":7535967,"src":"1._Indian_Roller_-_Khana_National_Park__-__Liz_Bamforth_thumb.jpg","galleries_id":408556,"server_id":1,"link":"photo_7535967.html","width":130,"caption":"Indian Roller, by Liz Bamforth (First Place)","height":92});
															thumbnails[7535968] = clik.newPhoto({"id":7535968,"src":"2._Earless_Lizzard_-_Vince_Cunningham_thumb.jpg","galleries_id":408556,"server_id":1,"link":"photo_7535968.html","width":130,"caption":"Earless Lizard, by Vince Cunningham (Second Place)","height":86});
															thumbnails[7535976] = clik.newPhoto({"id":7535976,"src":"3._Pelican_-_Gill_Sharp_thumb.jpg","galleries_id":408556,"server_id":1,"link":"photo_7535976.html","width":130,"caption":"Pelican, by Gill Sharp (Third Place)","height":76});
															thumbnails[549054] = clik.newPhoto({"id":549054,"src":"Cliffe 41_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_549054.html","width":130,"caption":"Untitled","height":85});
															thumbnails[551489] = clik.newPhoto({"id":551489,"src":"Digley-Quarry-Oct_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551489.html","width":130,"caption":"Digley Quarry by Anne Field","height":87});
															thumbnails[551491] = clik.newPhoto({"id":551491,"src":"Digley-Wood_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551491.html","width":130,"caption":"Digley Woodby Les Heywood","height":89});
															thumbnails[551495] = clik.newPhoto({"id":551495,"src":"Flower-Shop-Honley_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551495.html","width":130,"caption":"Flower Shop Honleyby Geoff France","height":92});
															thumbnails[551497] = clik.newPhoto({"id":551497,"src":"Hepworth_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551497.html","width":130,"caption":"Hepworth by Phil Hack","height":87});
															thumbnails[551499] = clik.newPhoto({"id":551499,"src":"Holmfirth_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551499.html","width":130,"caption":"Holmfirth from Shaley Topby Phil Hack","height":87});
															thumbnails[551501] = clik.newPhoto({"id":551501,"src":"Marsden-Clough---Bradshaw_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551501.html","width":130,"caption":"Marsden Clough - Bradshawby Edmund Spavin","height":85});
															thumbnails[551502] = clik.newPhoto({"id":551502,"src":"morris-dancers_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551502.html","width":130,"caption":"Morris Dancers - Hollowgateby Les Heywood","height":90});
															thumbnails[551503] = clik.newPhoto({"id":551503,"src":"Netherthong_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551503.html","width":130,"caption":"Netherthongby Phil Hack","height":86});
															thumbnails[551505] = clik.newPhoto({"id":551505,"src":"Ramsden-Reservoir_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551505.html","width":130,"caption":"Ramsden Reservoirby Edmund Spavin","height":86});
															thumbnails[551506] = clik.newPhoto({"id":551506,"src":"St-Marys-Honley_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551506.html","width":130,"caption":"St Mary's Honleyby Gill Sharpe","height":92});
															thumbnails[551508] = clik.newPhoto({"id":551508,"src":"Wessenden-Winter_thumb.jpg","galleries_id":16968,"server_id":1,"link":"photo_551508.html","width":130,"caption":"Wessenden Winterby Edmund Spavin","height":86});
															thumbnails[1565051] = clik.newPhoto({"id":1565051,"src":"ab_Holme-Moss_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565051.html","width":130,"caption":"Holme Moss","height":86});
															thumbnails[1565055] = clik.newPhoto({"id":1565055,"src":"AB_Wessenden-Head-Moor_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565055.html","width":130,"caption":"Wessenden Head Moor","height":91});
															thumbnails[1565057] = clik.newPhoto({"id":1565057,"src":"ChrisHolmside-Park-Blossom_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565057.html","width":130,"caption":"Park Blossom","height":91});
															thumbnails[1565060] = clik.newPhoto({"id":1565060,"src":"ES_Bilberry-Morning_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565060.html","width":130,"caption":"Bilberry Morning","height":90});
															thumbnails[1565061] = clik.newPhoto({"id":1565061,"src":"ES_Winscar-Farm_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565061.html","width":130,"caption":"Winscar Farm","height":93});
															thumbnails[1565066] = clik.newPhoto({"id":1565066,"src":"GF_magdale_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565066.html","width":130,"caption":"Magdale","height":91});
															thumbnails[1565094] = clik.newPhoto({"id":1565094,"src":"GF_over-digley_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565094.html","width":130,"caption":"Over Digley","height":87});
															thumbnails[1565132] = clik.newPhoto({"id":1565132,"src":"LH_Andrews_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565132.html","width":130,"caption":"Andrews","height":91});
															thumbnails[1565167] = clik.newPhoto({"id":1565167,"src":"LH_Meltham&Nab_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565167.html","width":130,"caption":"Meltham & Nab","height":87});
															thumbnails[1565201] = clik.newPhoto({"id":1565201,"src":"LH_Rotcher_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565201.html","width":130,"caption":"Rotcher","height":91});
															thumbnails[1565231] = clik.newPhoto({"id":1565231,"src":"PH_Wooldale_Arms_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565231.html","width":130,"caption":"Wooldale Arms","height":91});
															thumbnails[1565268] = clik.newPhoto({"id":1565268,"src":"VC_Serendipity-Honley_thumb.jpg","galleries_id":107064,"server_id":1,"link":"photo_1565268.html","width":130,"caption":"Serendipity - Honley","height":88});
															thumbnails[2050792] = clik.newPhoto({"id":2050792,"src":"Shed right _thumb.jpg","galleries_id":137063,"server_id":1,"link":"photo_2050792.html","width":130,"caption":"","height":63});
															thumbnails[5688615] = clik.newPhoto({"id":5688615,"src":"3_Shag_detail_Phalacrocorax_aristoteliscn1_thumb.jpg","galleries_id":322208,"server_id":1,"link":"photo_5688615.html","width":130,"caption":"1st Shag Detail  Chris Newsome","height":94});
															thumbnails[5688633] = clik.newPhoto({"id":5688633,"src":"13_Bluebell_Detail_thumb.jpg","galleries_id":322208,"server_id":1,"link":"photo_5688633.html","width":130,"caption":"3rd Bluebell Detail   Geoff France","height":158});
															thumbnails[5688706] = clik.newPhoto({"id":5688706,"src":"3Yellow_Dung_FlyPB1_thumb.jpg","galleries_id":322208,"server_id":1,"link":"photo_5688706.html","width":130,"caption":"2nd Yellow Dung Fly  Peter Bartlett","height":105});
															thumbnails[702262] = clik.newPhoto({"id":702262,"src":"1eggsactly_one_soldierGF_thumb.jpg","galleries_id":53962,"server_id":1,"link":"photo_702262.html","width":130,"caption":"1st Place: Eggsactly one soldier - Author: Geoff France","height":74});
															thumbnails[757556] = clik.newPhoto({"id":757556,"src":"1_RD_Grace in Play_RD_thumb.jpg","galleries_id":58576,"server_id":1,"link":"photo_757556.html","width":130,"caption":"1st Place - Grace in Play: Author Roy Denton","height":98});
															thumbnails[757605] = clik.newPhoto({"id":757605,"src":"1j_GS_capheaton5 mist_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757605.html","width":130,"caption":"Joint First - Author: Gill Sharp","height":65});
															thumbnails[1956856] = clik.newPhoto({"id":1956856,"src":"Lily_Web_thumb.jpg","galleries_id":131484,"server_id":1,"link":"photo_1956856.html","width":130,"caption":"1st - Lily","height":99});
															thumbnails[1956861] = clik.newPhoto({"id":1956861,"src":"0706Puffin3_thumb.jpg","galleries_id":131485,"server_id":1,"link":"photo_1956861.html","width":130,"caption":"Island Life","height":127});
															thumbnails[2050786] = clik.newPhoto({"id":2050786,"src":"Shed left _thumb.jpg","galleries_id":137063,"server_id":1,"link":"photo_2050786.html","width":130,"caption":"","height":62});
															thumbnails[8869102] = clik.newPhoto({"id":8869102,"src":"1_Freedom_Fighters__Poland_1944_-_resized_thumb.jpg","galleries_id":466482,"server_id":1,"link":"photo_8869102.html","width":130,"caption":"First Place - Freedom Fighters Poland 1944","height":85});
															thumbnails[8869169] = clik.newPhoto({"id":8869169,"src":"2_False_door_Banteay_Srei_temple_Cambodia_-_resized_thumb.jpg","galleries_id":466482,"server_id":1,"link":"photo_8869169.html","width":130,"caption":"Second Place - False door, Banteay Srei temple, Cambodia","height":90});
															thumbnails[8869174] = clik.newPhoto({"id":8869174,"src":"3_William_Morris_glass_panels_Cragside-resized_thumb.jpg","galleries_id":466482,"server_id":1,"link":"photo_8869174.html","width":130,"caption":"Third Place - William Morris Glass Panels, Cragside","height":98});
															thumbnails[702263] = clik.newPhoto({"id":702263,"src":"2Great-tit-LH_thumb.jpg","galleries_id":53962,"server_id":1,"link":"photo_702263.html","width":130,"caption":"2nd Place: Great Tit - Author: Les Harrison","height":90});
															thumbnails[757570] = clik.newPhoto({"id":757570,"src":"2_GF_robin_gf_thumb.jpg","galleries_id":58576,"server_id":1,"link":"photo_757570.html","width":130,"caption":"2nd Place - Robin - Author: Geoff France","height":116});
															thumbnails[757611] = clik.newPhoto({"id":757611,"src":"1j_GS_mist cows9_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757611.html","width":130,"caption":"Joint 1st - Author: Gill Sharp","height":60});
															thumbnails[1956858] = clik.newPhoto({"id":1956858,"src":"Stocks_Web_thumb.jpg","galleries_id":131484,"server_id":1,"link":"photo_1956858.html","width":130,"caption":"Stocks","height":176});
															thumbnails[1956866] = clik.newPhoto({"id":1956866,"src":"0706Puffins21_thumb.jpg","galleries_id":131485,"server_id":1,"link":"photo_1956866.html","width":130,"caption":"Island Life","height":109});
															thumbnails[2050789] = clik.newPhoto({"id":2050789,"src":"Shed centre_thumb.jpg","galleries_id":137063,"server_id":1,"link":"photo_2050789.html","width":130,"caption":"","height":63});
															thumbnails[8869734] = clik.newPhoto({"id":8869734,"src":"1_Waders_-_resized_thumb.jpg","galleries_id":466490,"server_id":1,"link":"photo_8869734.html","width":130,"caption":"First Place - Waders","height":51});
															thumbnails[8869751] = clik.newPhoto({"id":8869751,"src":"2EQ_Now_Thats_Interesting_-_resized_thumb.jpg","galleries_id":466490,"server_id":1,"link":"photo_8869751.html","width":130,"caption":"Joint Second Place - Now That's Interesting","height":85});
															thumbnails[8869841] = clik.newPhoto({"id":8869841,"src":"2EQ_Robin_Hoods_bay_-_resized_thumb.jpg","galleries_id":466490,"server_id":1,"link":"photo_8869841.html","width":130,"caption":"Joint Second Place - Robin Hood's Bay","height":87});
															thumbnails[702264] = clik.newPhoto({"id":702264,"src":"3Langdale_ES_thumb.jpg","galleries_id":53962,"server_id":1,"link":"photo_702264.html","width":130,"caption":"3rd Place: Langdale - Author: Edmund Spavin","height":83});
															thumbnails[757577] = clik.newPhoto({"id":757577,"src":"3_VC_WarGirl_VC_thumb.jpg","galleries_id":58576,"server_id":1,"link":"photo_757577.html","width":130,"caption":"3rd Place - War Girl - Author: Vince Cunningham","height":99});
															thumbnails[757613] = clik.newPhoto({"id":757613,"src":"1j_GS_mist tree475_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757613.html","width":130,"caption":"Joint 1st - Author: Gill Sharp","height":70});
															thumbnails[1956859] = clik.newPhoto({"id":1956859,"src":"Lisianthus_Web1_thumb.jpg","galleries_id":131484,"server_id":1,"link":"photo_1956859.html","width":130,"caption":"Lisianthus","height":104});
															thumbnails[1956877] = clik.newPhoto({"id":1956877,"src":"0706BlackShag_thumb.jpg","galleries_id":131485,"server_id":1,"link":"photo_1956877.html","width":130,"caption":"Island Life","height":91});
															thumbnails[757622] = clik.newPhoto({"id":757622,"src":"1j_PH_Pte-De-La-Galise_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757622.html","width":130,"caption":"Joint 1st - Pte De La Galise ~ Val D'Isere - Author: Phil Hack","height":86});
															thumbnails[757625] = clik.newPhoto({"id":757625,"src":"1j_PH_The sculptor's window PH_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757625.html","width":130,"caption":"Joint 1st - The Sculptors Window ~ Bruges - Author: Phil Hack","height":173});
															thumbnails[757627] = clik.newPhoto({"id":757627,"src":"1j_PH_TuscanDawn_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757627.html","width":130,"caption":"Joint 1st - Tuscan Dawn - Val d'Orcia - Author: Phil Hack","height":67});
															thumbnails[757630] = clik.newPhoto({"id":757630,"src":"3_IG_Lech 01_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757630.html","width":130,"caption":"3rd Place - Author: Ian Gold","height":91});
															thumbnails[757644] = clik.newPhoto({"id":757644,"src":"3_IG_Lech-03_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757644.html","width":130,"caption":"Untitled","height":94});
															thumbnails[757640] = clik.newPhoto({"id":757640,"src":"3_IG_Lech-02_thumb.jpg","galleries_id":58577,"server_id":1,"link":"photo_757640.html","width":130,"caption":"3rd Place - Author: Ian Gold","height":181});
															thumbnails[7615857] = clik.newPhoto({"id":7615857,"src":"Pretty_in_pink_thumb.jpg","galleries_id":413058,"server_id":1,"link":"photo_7615857.html","width":130,"caption":"Pretty In Pink (Joint 3rd Place) Steve Dobrowski","height":174});
															thumbnails[7615925] = clik.newPhoto({"id":7615925,"src":"Daytime_Marauder_thumb.jpg","galleries_id":413058,"server_id":1,"link":"photo_7615925.html","width":130,"caption":"Daytime Marauder (Joint 3rd Place) Bernard Smith","height":162});
															thumbnails[7615963] = clik.newPhoto({"id":7615963,"src":"Geared_for_gold_thumb.jpg","galleries_id":413058,"server_id":1,"link":"photo_7615963.html","width":130,"caption":"Geared for Gold (Joint Second Place) Steve Dobrowski","height":90});
															thumbnails[7617822] = clik.newPhoto({"id":7617822,"src":"Dark__Light_Soft_and_Sharp_thumb.jpg","galleries_id":413058,"server_id":1,"link":"photo_7617822.html","width":130,"caption":"Dark & Light, Soft and Sharp (Joint 3rd Place) Valerie Hirst","height":87});
															thumbnails[7617832] = clik.newPhoto({"id":7617832,"src":"Windmills_at_Royd_Moor_thumb.JPG","galleries_id":413058,"server_id":1,"link":"photo_7617832.html","width":130,"caption":"Windmills at Royd Moor (Joint 2nd Place) Andrew Moxon","height":195});
															thumbnails[7617839] = clik.newPhoto({"id":7617839,"src":"Seen_better_days_thumb.jpg","galleries_id":413058,"server_id":1,"link":"photo_7617839.html","width":130,"caption":"Seen better days (1st Place) Vince Cunningham","height":71});
															thumbnails[7387669] = clik.newPhoto({"id":7387669,"src":"Solitude_1st_GS_thumb.jpg","galleries_id":399906,"server_id":1,"link":"photo_7387669.html","width":130,"caption":"Solitude by Gill Sharp (First Place)","height":65});
															thumbnails[7301027] = clik.newPhoto({"id":7301027,"src":"1_Eilean_Donans_thumb.jpg","galleries_id":394951,"server_id":1,"link":"photo_7301027.html","width":130,"caption":"Eilean Donan (First Place) by Victor Harris","height":92});
															thumbnails[7203067] = clik.newPhoto({"id":7203067,"src":"20_Bubbles_thumb.jpg","galleries_id":389278,"server_id":1,"link":"photo_7203067.html","width":130,"caption":"Bubbles, by David Roberts (First Place)","height":104});
															thumbnails[7064487] = clik.newPhoto({"id":7064487,"src":"1_In_Profile_VH11_thumb.jpg","galleries_id":382480,"server_id":1,"link":"photo_7064487.html","width":130,"caption":"In Profile, 1st Place, Victor Harris","height":64});
															thumbnails[6876029] = clik.newPhoto({"id":6876029,"src":"The_Steam_Room2_thumb.jpg","galleries_id":373343,"server_id":1,"link":"photo_6876029.html","width":130,"caption":"The Steam Room (First Place) Gill Sharp","height":210});
															thumbnails[531814] = clik.newPhoto({"id":531814,"src":"Lacemaker_Bruges_thumb.jpg","galleries_id":41217,"server_id":1,"link":"photo_531814.html","width":130,"caption":"1st Place:       Lace maker - Bruges.Author - Phil Hack","height":157});
															thumbnails[531833] = clik.newPhoto({"id":531833,"src":"1woolpack_thumb.jpg","galleries_id":41229,"server_id":1,"link":"photo_531833.html","width":130,"caption":"1st Place: Woolpack.Author - Peter Jackson","height":84});
															thumbnails[548984] = clik.newPhoto({"id":548984,"src":"roofscape_brugesPH_thumb.jpg","galleries_id":42437,"server_id":1,"link":"photo_548984.html","width":130,"caption":"1st Place - Roofscape BrugesAuthor: Phil Hack","height":92});
															thumbnails[603441] = clik.newPhoto({"id":603441,"src":"1IG_CalmAfterStorm_thumb.jpg","galleries_id":46343,"server_id":1,"link":"photo_603441.html","width":130,"caption":"1st Place - Calm after the storm - Author Ian Gold","height":87});
															thumbnails[637399] = clik.newPhoto({"id":637399,"src":"LH01Birds_thumb.jpg","galleries_id":48640,"server_id":1,"link":"photo_637399.html","width":130,"caption":"1st Place - Blue Tit - Author Les Harrison","height":86});
															thumbnails[1565780] = clik.newPhoto({"id":1565780,"src":"No1-Eyes-1VTH_thumb.jpg","galleries_id":107069,"server_id":1,"link":"photo_1565780.html","width":130,"caption":"1st - Eyes","height":68});
															thumbnails[1565871] = clik.newPhoto({"id":1565871,"src":"No1_thumb.LOWTIDE.MF1.jpg","galleries_id":107072,"server_id":1,"link":"photo_1565871.html","width":130,"caption":"1st - Lowtide","height":88});
															thumbnails[3013975] = clik.newPhoto({"id":3013975,"src":"42 Wild in Africa_thumb.jpg","galleries_id":185505,"server_id":1,"link":"photo_3013975.html","width":130,"caption":"1st Place - Wild In Africa (20 Points)","height":78});
															thumbnails[3120734] = clik.newPhoto({"id":3120734,"src":"blackpool beach_thumb.jpg","galleries_id":191450,"server_id":1,"link":"photo_3120734.html","width":130,"caption":"1st Place - The Beach (20 Points)","height":62});
															thumbnails[3339775] = clik.newPhoto({"id":3339775,"src":"40 Lincoln cathedral_thumb.jpg","galleries_id":203762,"server_id":1,"link":"photo_3339775.html","width":130,"caption":"Lincoln Cathedral - 1st Place (20 Points)","height":86});
															thumbnails[3339988] = clik.newPhoto({"id":3339988,"src":"silverdale-3_thumb.jpg","galleries_id":203770,"server_id":1,"link":"photo_3339988.html","width":130,"caption":"Towards Barrow From Jenny Brown's Point - 1st Place (20 Points)","height":88});
															thumbnails[3340062] = clik.newPhoto({"id":3340062,"src":"74_Goodbent_Lodge_thumb.jpg","galleries_id":203771,"server_id":1,"link":"photo_3340062.html","width":130,"caption":"Goodbent Lodge - 1st Place (20 Points)","height":75});
															thumbnails[4079142] = clik.newPhoto({"id":4079142,"src":"31_Forgotten_People_thumb.jpg","galleries_id":245223,"server_id":1,"link":"photo_4079142.html","width":130,"caption":"Forgotten People - 1st Place  Gill Sharp","height":103});
															thumbnails[4868261] = clik.newPhoto({"id":4868261,"src":"07_Air_Time2_thumb.jpg","galleries_id":277611,"server_id":1,"link":"photo_4868261.html","width":130,"caption":"Airtime - 1st place","height":94});
															thumbnails[5396770] = clik.newPhoto({"id":5396770,"src":"12_The_Etchings_Of_Life_thumb.jpg","galleries_id":304618,"server_id":1,"link":"photo_5396770.html","width":130,"caption":"The Etchings of Life     <br>\r\n1st place   Gill Sharp","height":142});
															thumbnails[5399084] = clik.newPhoto({"id":5399084,"src":"Bradshaw_in_winter_thumb.jpg","galleries_id":304857,"server_id":1,"link":"photo_5399084.html","width":130,"caption":"Bradshaw in Winter 1st","height":87});
															thumbnails[7301034] = clik.newPhoto({"id":7301034,"src":"2_Backstreet_Havana_thumb.jpg","galleries_id":394951,"server_id":1,"link":"photo_7301034.html","width":130,"caption":"Backstreet Havana (Second Place) by Victor Harris","height":184});
															thumbnails[7203087] = clik.newPhoto({"id":7203087,"src":"52_Nobody_Messes_With_This_Angel2_thumb.jpg","galleries_id":389278,"server_id":1,"link":"photo_7203087.html","width":130,"caption":"Nobody Messes with This Angel, by Geoff France (Second Place)","height":98});
															thumbnails[7064580] = clik.newPhoto({"id":7064580,"src":"2_The_Sax_Player_GF11_thumb.jpg","galleries_id":382480,"server_id":1,"link":"photo_7064580.html","width":130,"caption":"The Sax Player, 2nd Place, Geoff France","height":101});
															thumbnails[6876036] = clik.newPhoto({"id":6876036,"src":"Lincolnshire-power-stations_thumb.jpg","galleries_id":373343,"server_id":1,"link":"photo_6876036.html","width":130,"caption":"Lincolnshire Power Stations (Second Place) Vince Cunningham","height":56});
															thumbnails[7301048] = clik.newPhoto({"id":7301048,"src":"3_Haden_thumb.jpg","galleries_id":394951,"server_id":1,"link":"photo_7301048.html","width":130,"caption":"Haden (Third Place) by Gill Sharp","height":190});
															thumbnails[7203071] = clik.newPhoto({"id":7203071,"src":"48_Elements_of_Emma_thumb.jpg","galleries_id":389278,"server_id":1,"link":"photo_7203071.html","width":130,"caption":"Elements of Emma, by Phil Hack (Third Place)","height":82});
															thumbnails[7064653] = clik.newPhoto({"id":7064653,"src":"2_Yacht_Club_MF11_thumb.jpg","galleries_id":382480,"server_id":1,"link":"photo_7064653.html","width":130,"caption":"Yacht Club, 3rd Place, Malcolm Firth","height":87});
															thumbnails[6876039] = clik.newPhoto({"id":6876039,"src":"Hot_Chocolate_thumb.jpg","galleries_id":373343,"server_id":1,"link":"photo_6876039.html","width":130,"caption":"Hot Chocolate (Third Place) Steve Dobrowski","height":186});
															thumbnails[5396854] = clik.newPhoto({"id":5396854,"src":"30_Girona_Balcony_thumb.jpg","galleries_id":304652,"server_id":1,"link":"photo_5396854.html","width":130,"caption":"Girona Balcony  3rd Place  Pat Whalley","height":92});
															thumbnails[5396865] = clik.newPhoto({"id":5396865,"src":"80_Cold_Stream_thumb.jpg","galleries_id":304652,"server_id":1,"link":"photo_5396865.html","width":130,"caption":"Cold Stream   2nd Place  Andy Bewick","height":97});
															thumbnails[5396884] = clik.newPhoto({"id":5396884,"src":"70_Northumbrian_Coast_thumb.jpg","galleries_id":304652,"server_id":1,"link":"photo_5396884.html","width":130,"caption":"Northumbrian Coast   1st Place  Tony Butterworth","height":101});
															thumbnails[7387672] = clik.newPhoto({"id":7387672,"src":"ConwyCastle_2nd_VH_thumb.jpg","galleries_id":399906,"server_id":1,"link":"photo_7387672.html","width":130,"caption":"Conwy Castle by Victor Harris (Second Place)","height":59});
															thumbnails[531816] = clik.newPhoto({"id":531816,"src":"Hepworth_church_thumb.jpg","galleries_id":41217,"server_id":1,"link":"photo_531816.html","width":130,"caption":"2nd Place: Hepworth ChurchNr. Holmfirth.Author - Phil Hack","height":194});
															thumbnails[531835] = clik.newPhoto({"id":531835,"src":"combined_combine_thumb.jpg","galleries_id":41229,"server_id":1,"link":"photo_531835.html","width":130,"caption":"2nd Place: Combined combine.Author - Phil Hack","height":83});
															thumbnails[548992] = clik.newPhoto({"id":548992,"src":"GoneforLunchAustriaIG_thumb.jpg","galleries_id":42437,"server_id":1,"link":"photo_548992.html","width":130,"caption":"2nd Place  ","height":93});
															thumbnails[603473] = clik.newPhoto({"id":603473,"src":"2PBHudds_Station_thumb.jpg","galleries_id":46343,"server_id":1,"link":"photo_603473.html","width":130,"caption":"2nd Place - Huddersfield Station - Author Peter Bray","height":87});
															thumbnails[637401] = clik.newPhoto({"id":637401,"src":"GS02Snowscene_thumb.jpg","galleries_id":48640,"server_id":1,"link":"photo_637401.html","width":130,"caption":"2nd Place - Snow Scene - Author: Gill Sharp","height":50});
															thumbnails[1565810] = clik.newPhoto({"id":1565810,"src":"No2-SallyToumiGF1_thumb.jpg","galleries_id":107069,"server_id":1,"link":"photo_1565810.html","width":130,"caption":"2nd - Sally Toumi","height":191});
															thumbnails[1565872] = clik.newPhoto({"id":1565872,"src":"No2-PoppyCN1_thumb.jpg","galleries_id":107072,"server_id":1,"link":"photo_1565872.html","width":130,"caption":"2nd - Poppy","height":160});
															thumbnails[3013980] = clik.newPhoto({"id":3013980,"src":"11 Glacial ice_thumb.jpg","galleries_id":185505,"server_id":1,"link":"photo_3013980.html","width":130,"caption":"2nd Place - Glacial Ice (19 Points)","height":87});
															thumbnails[3013991] = clik.newPhoto({"id":3013991,"src":"51 Red deer stag (Compressed)_thumb.jpg","galleries_id":185505,"server_id":1,"link":"photo_3013991.html","width":130,"caption":"2nd Place - Red Deer Stag (19 Points)","height":69});
															thumbnails[3120738] = clik.newPhoto({"id":3120738,"src":"bridge_thumb.jpg","galleries_id":191450,"server_id":1,"link":"photo_3120738.html","width":130,"caption":"2nd Place - Bridges of Newcastle (20 Points)","height":77});
															thumbnails[3339875] = clik.newPhoto({"id":3339875,"src":"66 Lowry centre complex_thumb.jpg","galleries_id":203762,"server_id":1,"link":"photo_3339875.html","width":130,"caption":"Lowry Centre Complex - 2nd Place (20 Points)","height":96});
															thumbnails[3339992] = clik.newPhoto({"id":3339992,"src":"chimneys_web2_thumb.jpg","galleries_id":203770,"server_id":1,"link":"photo_3339992.html","width":130,"caption":"Marsden Chimneys - 2nd Place (19.5 Points)","height":94});
															thumbnails[3340066] = clik.newPhoto({"id":3340066,"src":"28_Travellers_thumb.jpg","galleries_id":203771,"server_id":1,"link":"photo_3340066.html","width":130,"caption":"Travellers - Joint 2nd (18 Points)","height":93});
															thumbnails[3340068] = clik.newPhoto({"id":3340068,"src":"39_Warkworth_castle_thumb.jpg","galleries_id":203771,"server_id":1,"link":"photo_3340068.html","width":130,"caption":"Walkworth Castle - Joint 2nd (18 Points)","height":94});
															thumbnails[3340070] = clik.newPhoto({"id":3340070,"src":"58_Riverside_reflections_thumb.jpg","galleries_id":203771,"server_id":1,"link":"photo_3340070.html","width":130,"caption":"Riverside Reflections - Joint 2nd (18 Points)","height":173});
															thumbnails[4079144] = clik.newPhoto({"id":4079144,"src":"55_Nellie_Takes_Coffee_thumb.jpg","galleries_id":245223,"server_id":1,"link":"photo_4079144.html","width":130,"caption":"Nellie Takes Coffee - 2nd Place  Geoff France","height":89});
															thumbnails[4868269] = clik.newPhoto({"id":4868269,"src":"68_white_water_rafting_bala_thumb.jpg","galleries_id":277611,"server_id":1,"link":"photo_4868269.html","width":130,"caption":"White Water Rafting at Bala - 2nd place","height":87});
															thumbnails[5396809] = clik.newPhoto({"id":5396809,"src":"53_Self_Portrait_thumb.jpg","galleries_id":304618,"server_id":1,"link":"photo_5396809.html","width":130,"caption":"Self Portrait   2nd Place  Victor Harris","height":98});
															thumbnails[5399143] = clik.newPhoto({"id":5399143,"src":"wintry_tale3_thumb.jpg","galleries_id":304857,"server_id":1,"link":"photo_5399143.html","width":130,"caption":"Wintry Tale  2nd Place","height":53});
															thumbnails[7387674] = clik.newPhoto({"id":7387674,"src":"Through__The__Open__Window_3rd_GS_thumb.jpg","galleries_id":399906,"server_id":1,"link":"photo_7387674.html","width":130,"caption":"Through The Open Window by Gill Sharp (Third Place)","height":194});
															thumbnails[531817] = clik.newPhoto({"id":531817,"src":"KN_buddah_thumb.jpg","galleries_id":41217,"server_id":1,"link":"photo_531817.html","width":130,"caption":"3rd Place:  Buddah.Author - Ken Norcliffe","height":199});
															thumbnails[531836] = clik.newPhoto({"id":531836,"src":"3feeding_time_mr-gills_farm_thumb.jpg","galleries_id":41229,"server_id":1,"link":"photo_531836.html","width":130,"caption":"3rd Place: Feeding Time at Mr Gills Farm.Author - Les Heywood","height":75});
															thumbnails[549002] = clik.newPhoto({"id":549002,"src":"pityoulishGF_thumb.jpg","galleries_id":42437,"server_id":1,"link":"photo_549002.html","width":130,"caption":"3rd Place - Pityoulish - Aviemore.Author: Geoff France","height":171});
															thumbnails[603478] = clik.newPhoto({"id":603478,"src":"3AE_suzukiRally_thumb.jpg","galleries_id":46343,"server_id":1,"link":"photo_603478.html","width":130,"caption":"3rd Place - Suzuki Rally Car - Author Allan Ellis","height":87});
															thumbnails[637404] = clik.newPhoto({"id":637404,"src":"GS03Ruby_thumb.jpg","galleries_id":48640,"server_id":1,"link":"photo_637404.html","width":130,"caption":"3rd Place - 'Ruby' - Author: Gill Sharp","height":166});
															thumbnails[1565812] = clik.newPhoto({"id":1565812,"src":"No3-Geof-tt1_thumb.jpg","galleries_id":107069,"server_id":1,"link":"photo_1565812.html","width":130,"caption":"Joint 3rd - Geof","height":105});
															thumbnails[1565834] = clik.newPhoto({"id":1565834,"src":"No3-JuliaGF1_thumb.jpg","galleries_id":107069,"server_id":1,"link":"photo_1565834.html","width":130,"caption":"Joint 3rd - Julia","height":194});
															thumbnails[1565873] = clik.newPhoto({"id":1565873,"src":"No3-Puffin1VTH_thumb.jpg","galleries_id":107072,"server_id":1,"link":"photo_1565873.html","width":130,"caption":"3rd - Puffin","height":74});
															thumbnails[3120745] = clik.newPhoto({"id":3120745,"src":"Final Destination JJ1 (1)_thumb.jpg","galleries_id":191450,"server_id":1,"link":"photo_3120745.html","width":130,"caption":"3rd Place - Final Destination (20 Points)","height":180});
															thumbnails[3339905] = clik.newPhoto({"id":3339905,"src":"36 Jonestown castle _thumb.jpg","galleries_id":203762,"server_id":1,"link":"photo_3339905.html","width":130,"caption":"Jonestown Castle - 3rd Place (20 Points)","height":82});
															thumbnails[3340001] = clik.newPhoto({"id":3340001,"src":"Rhubarb-And-Custard_Web_thumb.jpg","galleries_id":203770,"server_id":1,"link":"photo_3340001.html","width":130,"caption":"Rhubarb & Custard - 3rd Place (19 Points)","height":101});
															thumbnails[4079146] = clik.newPhoto({"id":4079146,"src":"34_Sense_of_space_thumb.jpg","galleries_id":245223,"server_id":1,"link":"photo_4079146.html","width":130,"caption":"Sense of Space - 3rd Place  Gill Sharp","height":49});
															thumbnails[4868276] = clik.newPhoto({"id":4868276,"src":"25_Falconry_action_thumb.jpg","galleries_id":277611,"server_id":1,"link":"photo_4868276.html","width":130,"caption":"Falconry Action  - 3rd place","height":119});
															thumbnails[5396783] = clik.newPhoto({"id":5396783,"src":"70_Indian_smile_thumb.jpg","galleries_id":304618,"server_id":1,"link":"photo_5396783.html","width":130,"caption":"Indian Smile       <br>\r\n3rd place<br>\r\nSteve Savage","height":130});
															thumbnails[5399104] = clik.newPhoto({"id":5399104,"src":"CubaSideStreet_thumb.jpg","galleries_id":304857,"server_id":1,"link":"photo_5399104.html","width":130,"caption":"Cuba Side Street  3rd Place","height":197});
															thumbnails[2912104] = clik.newPhoto({"id":2912104,"src":"08_Trumpet_Blues_thumb.jpg","galleries_id":180350,"server_id":1,"link":"photo_2912104.html","width":130,"caption":"1st Place - Trumpet Blues (20 Points)","height":72});
															thumbnails[2912157] = clik.newPhoto({"id":2912157,"src":"34_Spotted_colours_thumb.jpg","galleries_id":180350,"server_id":1,"link":"photo_2912157.html","width":130,"caption":"2nd Place - Spotted Colours (19 Points)","height":86});
															thumbnails[8646577] = clik.newPhoto({"id":8646577,"src":"1st_Place_Geoff_France_Champagne_Flutes_and_Shadows_600_thumb.jpg","galleries_id":456614,"server_id":1,"link":"photo_8646577.html","width":130,"caption":"Champagne Flutes and Shadows","height":87});
															thumbnails[8646584] = clik.newPhoto({"id":8646584,"src":"2nd_Place_Gill_Sharp-_A_Shattered_Life_600_thumb.jpg","galleries_id":456614,"server_id":1,"link":"photo_8646584.html","width":130,"caption":"A Shattered Life","height":86});
															thumbnails[8646592] = clik.newPhoto({"id":8646592,"src":"3rd_Place_Victor_Harris_Glass_Houses_of_Finance_600h_thumb.jpg","galleries_id":456614,"server_id":1,"link":"photo_8646592.html","width":130,"caption":"Glass Houses of Finance","height":198});
															thumbnails[2912146] = clik.newPhoto({"id":2912146,"src":"48_Gravity_thumb.jpg","galleries_id":180350,"server_id":1,"link":"photo_2912146.html","width":130,"caption":"2nd Place - Gravity (19 Points)","height":194});
															thumbnails[737949] = clik.newPhoto({"id":737949,"src":"Cliffe 42_thumb.jpg","galleries_id":53962,"server_id":1,"link":"photo_737949.html","width":130,"caption":"Untitled","height":85});
															thumbnails[2912260] = clik.newPhoto({"id":2912260,"src":"61_Eyeballs_thumb.jpg","galleries_id":180350,"server_id":1,"link":"photo_2912260.html","width":130,"caption":"2nd Place - Eyeballs (19 Points)","height":95});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[466490] = clik.newGallery({"parentGallery":456613,"usePopups":false,"title":"Monochrome - 5th December 2011","link":"gallery_466490.html","maxRecords":0.0,"photoIDs":[8869734.0,8869751.0,8869841.0],"skipIndex":0,"section_code":"gallery","featured_images":"8869841,8869751,8869734","id":466490,"singleSection":false});				  						galleries[466482] = clik.newGallery({"parentGallery":456613,"usePopups":false,"title":"Record and Architecture - 7th November 2011","link":"gallery_466482.html","maxRecords":0.0,"photoIDs":[8869102.0,8869169.0,8869174.0],"skipIndex":0,"section_code":"gallery","featured_images":"8869174,8869169,8869102","id":466482,"singleSection":false});				  						galleries[456614] = clik.newGallery({"parentGallery":456613,"usePopups":false,"title":"Special Subject Competition - Glass - 3\/10\/2011 ","link":"gallery_456614.html","maxRecords":0.0,"photoIDs":[8646577.0,8646584.0,8646592.0],"skipIndex":0,"section_code":"gallery","featured_images":"8646592,8646584,8646577","id":456614,"singleSection":false});				  						galleries[373343] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Special Subject - STEAM, 4th October 2010","link":"gallery_373343.html","maxRecords":0.0,"photoIDs":[6876029.0,6876036.0,6876039.0],"skipIndex":0,"section_code":"gallery","featured_images":"6876039,6876036,6876029","id":373343,"singleSection":false});				  						galleries[382480] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Monochrome, 15th November 2010","link":"gallery_382480.html","maxRecords":0.0,"photoIDs":[7064487.0,7064580.0,7064653.0],"skipIndex":0,"section_code":"gallery","featured_images":"7064653,7064580,7064487","id":382480,"singleSection":false});				  						galleries[389278] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Portrait, 13th December 2010","link":"gallery_389278.html","maxRecords":0.0,"photoIDs":[7203067.0,7203087.0,7203071.0],"skipIndex":0,"section_code":"gallery","featured_images":"7203087,7203071,7203067","id":389278,"singleSection":false});				  						galleries[394951] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"First Open Print Competition - 3rd January 2011","link":"gallery_394951.html","maxRecords":0.0,"photoIDs":[7301027.0,7301034.0,7301048.0],"skipIndex":0,"section_code":"gallery","featured_images":"7301048,7301034,7301027","id":394951,"singleSection":false});				  						galleries[399906] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Open Digital, 7th February 2011","link":"gallery_399906.html","maxRecords":0.0,"photoIDs":[7387669.0,7387672.0,7387674.0],"skipIndex":0,"section_code":"gallery","featured_images":"7387674,7387672,7387669","id":399906,"singleSection":false});				  						galleries[408556] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Natural History, 15th March 2011","link":"gallery_408556.html","maxRecords":0.0,"photoIDs":[7535967.0,7535968.0,7535976.0],"skipIndex":0,"section_code":"gallery","featured_images":"7535976,7535968,7535967","id":408556,"singleSection":false});				  						galleries[413058] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Restricted Entry 2011 - 21st March 2011","link":"gallery_413058.html","maxRecords":0.0,"photoIDs":[7615857.0,7615925.0,7615963.0,7617822.0,7617832.0,7617839.0],"skipIndex":0,"section_code":"gallery","featured_images":"7617839,7617832,7617822,7615963,7615925,7615857","id":413058,"singleSection":false});				  						galleries[413162] = clik.newGallery({"parentGallery":382485,"usePopups":false,"title":"Second Open Print Competition - 4th April 2011","link":"gallery_413162.html","maxRecords":0.0,"photoIDs":[7619666.0,7619681.0,7619685.0],"skipIndex":0,"section_code":"gallery","featured_images":"7619685,7619681,7619666","id":413162,"singleSection":false});				  						galleries[203770] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"2nd Open Print<br>(Jan 2009)","link":"gallery_203770.html","maxRecords":0.0,"photoIDs":[3339988.0,3339992.0,3340001.0],"skipIndex":0,"section_code":"gallery","featured_images":3340001.0,"id":203770,"singleSection":false});				  						galleries[245223] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"3rd Open Digital Competition<br>(March 2009)","link":"gallery_245223.html","maxRecords":0.0,"photoIDs":[4079142.0,4079144.0,4079146.0],"skipIndex":0,"section_code":"gallery","featured_images":"4079146,4079144,4079142","id":245223,"singleSection":false});				  						galleries[322208] = clik.newGallery({"parentGallery":380315,"usePopups":false,"title":"Natural History 2009\/10","link":"gallery_322208.html","maxRecords":0.0,"photoIDs":[5688615.0,5688633.0,5688706.0],"skipIndex":0,"section_code":"gallery","featured_images":"5688706,5688633,5688615","id":322208,"singleSection":false});				  						galleries[304652] = clik.newGallery({"parentGallery":380315,"usePopups":false,"title":"Open Digital 2010","link":"gallery_304652.html","maxRecords":0.0,"photoIDs":[5396854.0,5396865.0,5396884.0],"skipIndex":0,"section_code":"gallery","featured_images":"5396884,5396865,5396854","id":304652,"singleSection":false});				  						galleries[304857] = clik.newGallery({"parentGallery":380315,"usePopups":false,"title":"Open Print 1 2009\/10","link":"gallery_304857.html","maxRecords":0.0,"photoIDs":[5399084.0,5399143.0,5399104.0],"skipIndex":0,"section_code":"gallery","featured_images":"5399143,5399104,5399084","id":304857,"singleSection":false});				  						galleries[304618] = clik.newGallery({"parentGallery":380315,"usePopups":false,"title":"Portrait 2009\/10","link":"gallery_304618.html","maxRecords":0.0,"photoIDs":[5396770.0,5396809.0,5396783.0],"skipIndex":0,"section_code":"gallery","featured_images":"5396809,5396783,5396770","id":304618,"singleSection":false});				  						galleries[277611] = clik.newGallery({"parentGallery":380315,"usePopups":false,"title":"Special Subject<br>(Oct 2009)","link":"gallery_277611.html","maxRecords":0.0,"photoIDs":[4868261.0,4868269.0,4868276.0],"skipIndex":0,"section_code":"gallery","featured_images":"4868276,4868269,4868261","id":277611,"singleSection":false});				  						galleries[191450] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"1st Open Print<br>(Nov 2008)","link":"gallery_191450.html","maxRecords":0.0,"photoIDs":[3120734.0,3120738.0,3120745.0],"skipIndex":0,"section_code":"gallery","featured_images":"3120738,3120734","id":191450,"singleSection":false});				  						galleries[107064] = clik.newGallery({"parentGallery":180347,"usePopups":false,"title":"2008 Calender Images","link":"gallery_107064.html","maxRecords":0.0,"photoIDs":[1565051.0,1565055.0,1565057.0,1565060.0,1565061.0,1565066.0,1565094.0,1565132.0,1565167.0,1565201.0,1565231.0,1565268.0],"skipIndex":0,"section_code":"gallery","featured_images":"1565268,1565231,1565201,1565167,1565132,1565094,1565066,1565061,1565060,1565057","id":107064,"singleSection":false});				  						galleries[180350] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"Abstract & Colour<br>(Oct 2008)","link":"gallery_180350.html","maxRecords":0.0,"photoIDs":[2912104.0,2912157.0,2912146.0,2912260.0],"skipIndex":0,"section_code":"gallery","featured_images":"2912260,2912157,2912146,2912104","id":180350,"singleSection":false});				  						galleries[203762] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"Architecture<br>(Dec 2008)","link":"gallery_203762.html","maxRecords":0.0,"photoIDs":[3339775.0,3339875.0,3339905.0],"skipIndex":0,"section_code":"gallery","featured_images":"3339905,3339875,3339775","id":203762,"singleSection":false});				  						galleries[203771] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"Monochrome<br>(Dec 2008)","link":"gallery_203771.html","maxRecords":0.0,"photoIDs":[3340062.0,3340066.0,3340068.0,3340070.0],"skipIndex":0,"section_code":"gallery","featured_images":"3340070,3340068,3340066,3340062","id":203771,"singleSection":false});				  						galleries[185505] = clik.newGallery({"parentGallery":277609,"usePopups":false,"title":"Natural History<br>(Oct 2008)","link":"gallery_185505.html","maxRecords":0.0,"photoIDs":[3013975.0,3013980.0,3013991.0],"skipIndex":0,"section_code":"gallery","featured_images":"3013991,3013980,3013975","id":185505,"singleSection":false});				  						galleries[107072] = clik.newGallery({"parentGallery":180347,"usePopups":false,"title":"2007 1st Open Competition","link":"gallery_107072.html","maxRecords":0.0,"photoIDs":[1565871.0,1565872.0,1565873.0],"skipIndex":0,"section_code":"gallery","featured_images":"1565873,1565872,1565871","id":107072,"singleSection":false});				  						galleries[131484] = clik.newGallery({"parentGallery":180347,"usePopups":false,"title":"2007 Balanced Panel 1st Place","link":"gallery_131484.html","maxRecords":0.0,"photoIDs":[1956856.0,1956858.0,1956859.0],"skipIndex":0,"section_code":"gallery","featured_images":"1956859,1956858,1956856","id":131484,"singleSection":false});				  						galleries[131485] = clik.newGallery({"parentGallery":180347,"usePopups":false,"title":"2007 Balanced Panel 2nd Place","link":"gallery_131485.html","maxRecords":0.0,"photoIDs":[1956861.0,1956866.0,1956877.0],"skipIndex":0,"section_code":"gallery","featured_images":"1956877,1956866,1956861","id":131485,"singleSection":false});				  						galleries[137063] = clik.newGallery({"parentGallery":180347,"usePopups":false,"title":"2007 Balanced Panel 3rd Place","link":"gallery_137063.html","maxRecords":0.0,"photoIDs":[2050792.0,2050786.0,2050789.0],"skipIndex":0,"section_code":"gallery","featured_images":"2050792,2050789,2050786","id":137063,"singleSection":false});				  						galleries[107069] = clik.newGallery({"parentGallery":180347,"usePopups":false,"title":"2007 Portrait Competition","link":"gallery_107069.html","maxRecords":0.0,"photoIDs":[1565780.0,1565810.0,1565812.0,1565834.0],"skipIndex":0,"section_code":"gallery","featured_images":"1565834,1565812,1565810,1565780","id":107069,"singleSection":false});				  						galleries[53962] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"4th Open Competition Jan 07","link":"gallery_53962.html","maxRecords":0.0,"photoIDs":[702262.0,702263.0,702264.0,737949.0],"skipIndex":0,"section_code":"gallery","featured_images":"737949,702264,702263,702262","id":53962,"singleSection":false});				  						galleries[58576] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"5th Open Competition Feb 07","link":"gallery_58576.html","maxRecords":0.0,"photoIDs":[757556.0,757570.0,757577.0],"skipIndex":0,"section_code":"gallery","featured_images":"757577,757570,757556","id":58576,"singleSection":false});				  						galleries[16968] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"Calendar Images 2007","link":"gallery_16968.html","maxRecords":0.0,"photoIDs":[549054.0,551489.0,551491.0,551495.0,551497.0,551499.0,551501.0,551502.0,551503.0,551505.0,551506.0,551508.0],"skipIndex":0,"section_code":"gallery","featured_images":"551508,551506,551505,551503,551502,551501,551499,551497,551495,551491","id":16968,"singleSection":false});				  						galleries[41229] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"Special Subject - Agriculture","link":"gallery_41229.html","maxRecords":0.0,"photoIDs":[531833.0,531835.0,531836.0],"skipIndex":0,"section_code":"gallery","featured_images":"531836,531835,531833","id":41229,"singleSection":false});				  						galleries[41217] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"1st Open Competition Sept 06","link":"gallery_41217.html","maxRecords":0.0,"photoIDs":[531814.0,531816.0,531817.0],"skipIndex":0,"section_code":"gallery","featured_images":"531817,531816,531814","id":41217,"singleSection":false});				  						galleries[42437] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"2nd Open Competition Oct 06","link":"gallery_42437.html","maxRecords":0.0,"photoIDs":[548984.0,548992.0,549002.0],"skipIndex":0,"section_code":"gallery","featured_images":"549002,548992,548984","id":42437,"singleSection":false});				  						galleries[48640] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"3rd Open Competition Nov 06","link":"gallery_48640.html","maxRecords":0.0,"photoIDs":[637399.0,637401.0,637404.0],"skipIndex":0,"section_code":"gallery","featured_images":"637404,637401,637399","id":48640,"singleSection":false});				  						galleries[58577] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"A3 Print Competition","link":"gallery_58577.html","maxRecords":0.0,"photoIDs":[757605.0,757611.0,757613.0,757622.0,757625.0,757627.0,757630.0,757644.0,757640.0],"skipIndex":0,"section_code":"gallery","featured_images":"757644,757640,757630,757627,757625,757622,757613,757611,757605","id":58577,"singleSection":false});				  						galleries[46343] = clik.newGallery({"parentGallery":107054,"usePopups":false,"title":"Open Slide Folio","link":"gallery_46343.html","maxRecords":0.0,"photoIDs":[603441.0,603473.0,603478.0],"skipIndex":0,"section_code":"gallery","featured_images":"603478,603473,603441","id":46343,"singleSection":false});				  						galleries[456613] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Season 2011 - 2012","link":"gallery_456613.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8869841,8869751,8869734,8869174,8869169,8869102,8646592,8646584,8646577","id":456613,"singleSection":false});				  						galleries[382485] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Season 2010 - 2011","link":"gallery_382485.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"7619685,7619681,7619666,7617839,7617832,7617822,7615963,7615925,7615857,7535976","id":382485,"singleSection":false});				  						galleries[380315] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Season 2009 - 2010","link":"gallery_380315.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5688706,5688633,5688615,5399143,5399104,5399084,5396884,5396865,5396854,5396809","id":380315,"singleSection":false});				  						galleries[277609] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Season 2008-2009","link":"gallery_277609.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"3340070,3340068,3340066,3340062,3340001,3339905,3339875,3339775,3120738,3120734,3013991,3013980,3013975,2912260,2912157,2912146,2912104","id":277609,"singleSection":false});				  						galleries[180347] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Season 2007-2008","link":"gallery_180347.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"2050792,2050789,2050786,1956877,1956866,1956861,1956859,1956858,1956856,1565873","id":180347,"singleSection":false});				  						galleries[107054] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Season 2006-2007","link":"gallery_107054.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"757644,757640,757630,757627,757625,757622,757613,757611,757605,757577","id":107054,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7535967,1565268,1565132,1565057,551503,551495,1956856,757556,702262,8869174,8869169,1956858,702263,8869841,8869751,8869734,757627,7617839,7387669,7301027,7064487,5396770,3340062,3339775,3120734,1565871,637399,531833,7301034,7301048,6876039,5396884,7387672,4868269,3339992,7387674,4868276,549002,8646584,8646577';
imageSets[2] = '3340062,3339775,3120734,3013975,3340070,3340068,3340066,3339875,3120738,3013991,3013980,3340001,3339905,2912104,2912157,2912146,2912260';
imageSets[3] = '8869841,8869751,8869734,8869174,8869169,8869102,8646592,8646584,8646577,7619685,7619681,7619666,7617839,7617832,7617822,7615963,7615925,7615857,7535976,7535968,7535967,7387674,7387672,7387669,7301048,7301034,7301027,7203087,7203071,7203067,7064653,7064580,7064487,6876039,6876036,6876029,5688706,5688633,5688615,5399143,5399104,5399084,5396884,5396865,5396854,5396809,5396783,5396770,4868276,4868269';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/philhack/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/philhack/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/philhack/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/philhack/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/philhack/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/philhack/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/philhack/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/philhack/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Holmfirth Camera Club: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

