window.thumbnails = {};
															thumbnails[1527391] = clik.newPhoto({"id":1527391,"src":"simon-048crop_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_1527391.html","width":130,"caption":"Simon","height":112});
															thumbnails[1372356] = clik.newPhoto({"id":1372356,"src":"_MG_7805trek_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1372356.html","width":130,"caption":"Burlesque","height":171});
															thumbnails[1372358] = clik.newPhoto({"id":1372358,"src":"_MG_7811ecc_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_1372358.html","width":130,"caption":"Bunny","height":97});
															thumbnails[1372361] = clik.newPhoto({"id":1372361,"src":"_MG_7849b&W1ec4_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1372361.html","width":130,"caption":"Goth","height":108});
															thumbnails[1372362] = clik.newPhoto({"id":1372362,"src":"eviltrek_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_1372362.html","width":130,"caption":"Own up!","height":94});
															thumbnails[1372364] = clik.newPhoto({"id":1372364,"src":"Image_0225trek_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_1372364.html","width":130,"caption":"Going Down","height":214});
															thumbnails[1372366] = clik.newPhoto({"id":1372366,"src":"Image_0237ec_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_1372366.html","width":130,"caption":"Out of control","height":96});
															thumbnails[1372368] = clik.newPhoto({"id":1372368,"src":"lifttrek_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_1372368.html","width":130,"caption":"Lift","height":202});
															thumbnails[1314312] = clik.newPhoto({"id":1314312,"src":"_MG_7576b&W_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1314312.html","width":130,"caption":"Brian","height":93});
															thumbnails[1314317] = clik.newPhoto({"id":1314317,"src":"_MG_7687c_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1314317.html","width":130,"caption":"Brian 2","height":86});
															thumbnails[1314323] = clik.newPhoto({"id":1314323,"src":"a32_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_1314323.html","width":130,"caption":"Curious","height":117});
															thumbnails[1314330] = clik.newPhoto({"id":1314330,"src":"a34_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_1314330.html","width":130,"caption":"Together","height":84});
															thumbnails[1314307] = clik.newPhoto({"id":1314307,"src":"_MG_7297trek_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_1314307.html","width":130,"caption":"Marilyn","height":86});
															thumbnails[1268175] = clik.newPhoto({"id":1268175,"src":"pain-or-pleasureec_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_1268175.html","width":130,"caption":"Resistance","height":96});
															thumbnails[1268181] = clik.newPhoto({"id":1268181,"src":"Torture-000095trek_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_1268181.html","width":130,"caption":"Realisation","height":174});
															thumbnails[1211862] = clik.newPhoto({"id":1211862,"src":"_Jul122007__000211trek_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1211862.html","width":130,"caption":"Sonia","height":140});
															thumbnails[1211864] = clik.newPhoto({"id":1211864,"src":"_MG_6116_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1211864.html","width":130,"caption":"Sonia","height":169});
															thumbnails[1156962] = clik.newPhoto({"id":1156962,"src":"_MG_5638ec_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_1156962.html","width":130,"caption":"Who you calling Pussy?","height":121});
															thumbnails[1156965] = clik.newPhoto({"id":1156965,"src":"Jun282007__000131-crop1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1156965.html","width":130,"caption":"Longing","height":109});
															thumbnails[1156966] = clik.newPhoto({"id":1156966,"src":"_MG_5874crop_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_1156966.html","width":130,"caption":"Oriental","height":128});
															thumbnails[1124747] = clik.newPhoto({"id":1124747,"src":"_MG_5465_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1124747.html","width":130,"caption":"Thoughtful","height":130});
															thumbnails[1124753] = clik.newPhoto({"id":1124753,"src":"_MG_5524_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1124753.html","width":130,"caption":"Attitude","height":92});
															thumbnails[1124768] = clik.newPhoto({"id":1124768,"src":"_MG_5578_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1124768.html","width":130,"caption":"Watching","height":191});
															thumbnails[1124776] = clik.newPhoto({"id":1124776,"src":"_MG_5581-1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1124776.html","width":130,"caption":"Sanam ","height":129});
															thumbnails[1124789] = clik.newPhoto({"id":1124789,"src":"Jun282007__000166ec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1124789.html","width":130,"caption":"Sanam","height":87});
															thumbnails[1124799] = clik.newPhoto({"id":1124799,"src":"Jun282007__000063ec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1124799.html","width":130,"caption":"Graceful ","height":119});
															thumbnails[1086241] = clik.newPhoto({"id":1086241,"src":"Jun182007_000093ec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1086241.html","width":130,"caption":"East End Girl","height":91});
															thumbnails[1086269] = clik.newPhoto({"id":1086269,"src":"Jun182007_000099-1ec1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1086269.html","width":130,"caption":"East is East","height":80});
															thumbnails[1047337] = clik.newPhoto({"id":1047337,"src":"_MG_5182a1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1047337.html","width":130,"caption":"Chloe","height":108});
															thumbnails[985409] = clik.newPhoto({"id":985409,"src":"_MG_2094croptrek_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_985409.html","width":130,"caption":"Jess","height":124});
															thumbnails[985412] = clik.newPhoto({"id":985412,"src":"_MG_2769_7_8_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_985412.html","width":130,"caption":"Greenwich Park","height":83});
															thumbnails[985414] = clik.newPhoto({"id":985414,"src":"_MG_3364_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_985414.html","width":130,"caption":"Jess","height":112});
															thumbnails[985417] = clik.newPhoto({"id":985417,"src":"_MG_4153-2__-1_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_985417.html","width":130,"caption":"fowey","height":86});
															thumbnails[985420] = clik.newPhoto({"id":985420,"src":"Bmtrek_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_985420.html","width":130,"caption":"Great Court British Muesum","height":88});
															thumbnails[980255] = clik.newPhoto({"id":980255,"src":"_MG_4083-1_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_980255.html","width":130,"caption":"Too hot?","height":118});
															thumbnails[980261] = clik.newPhoto({"id":980261,"src":"_MG_4160_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_980261.html","width":130,"caption":"First Day","height":91});
															thumbnails[980277] = clik.newPhoto({"id":980277,"src":"_MG_4511-2ec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_980277.html","width":130,"caption":"Posing","height":152});
															thumbnails[980284] = clik.newPhoto({"id":980284,"src":"_MG_4582ec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_980284.html","width":130,"caption":"Lost","height":146});
															thumbnails[980289] = clik.newPhoto({"id":980289,"src":"_MG_4589-1trek_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_980289.html","width":130,"caption":"Dreaming","height":70});
															thumbnails[980297] = clik.newPhoto({"id":980297,"src":"_MG_4712-1_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_980297.html","width":130,"caption":"Henry the Ferret","height":176});
															thumbnails[998871] = clik.newPhoto({"id":998871,"src":"_MG_6776_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_998871.html","width":130,"caption":"Greenwich Park","height":84});
															thumbnails[939362] = clik.newPhoto({"id":939362,"src":"_MG_3759-1ec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_939362.html","width":130,"caption":"Vikki 2","height":101});
															thumbnails[939992] = clik.newPhoto({"id":939992,"src":"_MG_3207a_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_939992.html","width":130,"caption":"Becky 5","height":102});
															thumbnails[918275] = clik.newPhoto({"id":918275,"src":"_MG_2572cropec_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_918275.html","width":130,"caption":"Becky 1","height":93});
															thumbnails[918276] = clik.newPhoto({"id":918276,"src":"_MG_2456_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_918276.html","width":130,"caption":"becky 2","height":149});
															thumbnails[918281] = clik.newPhoto({"id":918281,"src":"_MG_2451multiplytrek_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_918281.html","width":130,"caption":"Becky 3","height":122});
															thumbnails[918282] = clik.newPhoto({"id":918282,"src":"_MG_2929-1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_918282.html","width":130,"caption":"Becky 4","height":92});
															thumbnails[790255] = clik.newPhoto({"id":790255,"src":"_MG_0620-5__-1_-2_-3_-4_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_790255.html","width":130,"caption":"Raining","height":90});
															thumbnails[790264] = clik.newPhoto({"id":790264,"src":"_MG_1045_1trek_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_790264.html","width":130,"caption":"Steph","height":99});
															thumbnails[790287] = clik.newPhoto({"id":790287,"src":"_MG_1311_09_10_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_790287.html","width":130,"caption":"Scotney Castle","height":145});
															thumbnails[790316] = clik.newPhoto({"id":790316,"src":"antigua_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_790316.html","width":130,"caption":"Beach life","height":99});
															thumbnails[790324] = clik.newPhoto({"id":790324,"src":"glasstesticletrek_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_790324.html","width":130,"caption":"Thames Side","height":84});
															thumbnails[790332] = clik.newPhoto({"id":790332,"src":"towertrek_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_790332.html","width":130,"caption":"Tower Bridge","height":72});
															thumbnails[790251] = clik.newPhoto({"id":790251,"src":"_MG_0128-2__-1_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_790251.html","width":130,"caption":"Beach ","height":86});
															thumbnails[753943] = clik.newPhoto({"id":753943,"src":"_MG_0425_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_753943.html","width":130,"caption":"snowy coo","height":86});
															thumbnails[718505] = clik.newPhoto({"id":718505,"src":"_MG_4842trek_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_718505.html","width":130,"caption":"Yes?","height":78});
															thumbnails[718508] = clik.newPhoto({"id":718508,"src":"_MG_5657--print-B&W_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_718508.html","width":130,"caption":"OLd Naval college, Greenwich","height":88});
															thumbnails[718515] = clik.newPhoto({"id":718515,"src":"_MG_9755-trek_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_718515.html","width":130,"caption":"Traflagar Tavern Greenwich","height":88});
															thumbnails[718520] = clik.newPhoto({"id":718520,"src":"Chapel-a_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_718520.html","width":130,"caption":"Chapel at Naval College","height":98});
															thumbnails[718522] = clik.newPhoto({"id":718522,"src":"thames-barge-trek_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_718522.html","width":130,"caption":"Canary Wharf","height":82});
															thumbnails[683081] = clik.newPhoto({"id":683081,"src":"_MG_9551_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_683081.html","width":130,"caption":"Thames Barrier","height":84});
															thumbnails[613221] = clik.newPhoto({"id":613221,"src":"tim_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_613221.html","width":130,"caption":"Tim","height":94});
															thumbnails[607663] = clik.newPhoto({"id":607663,"src":"bigissueec_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_607663.html","width":130,"caption":"Anxiety","height":79});
															thumbnails[607665] = clik.newPhoto({"id":607665,"src":"_MG_8100_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_607665.html","width":130,"caption":"Centurion ","height":178});
															thumbnails[607645] = clik.newPhoto({"id":607645,"src":"_MG_7893_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_607645.html","width":130,"caption":"Cat Wanted","height":134});
															thumbnails[629147] = clik.newPhoto({"id":629147,"src":"_MG_8196_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_629147.html","width":130,"caption":"Pensive","height":81});
															thumbnails[573575] = clik.newPhoto({"id":573575,"src":"suzythurlow_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_573575.html","width":130,"caption":"Susie","height":97});
															thumbnails[542765] = clik.newPhoto({"id":542765,"src":"toby2_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_542765.html","width":130,"caption":"Toby","height":87});
															thumbnails[542825] = clik.newPhoto({"id":542825,"src":"tom1_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_542825.html","width":130,"caption":"Tom","height":90});
															thumbnails[494579] = clik.newPhoto({"id":494579,"src":"jake1_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_494579.html","width":130,"caption":"Jake","height":140});
															thumbnails[492575] = clik.newPhoto({"id":492575,"src":"Pluto1_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_492575.html","width":130,"caption":"Pluto","height":89});
															thumbnails[492576] = clik.newPhoto({"id":492576,"src":"pluto3_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_492576.html","width":130,"caption":"Pluto","height":89});
															thumbnails[492579] = clik.newPhoto({"id":492579,"src":"pluto5_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_492579.html","width":130,"caption":"Pluto","height":86});
															thumbnails[492586] = clik.newPhoto({"id":492586,"src":"shirley1_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_492586.html","width":130,"caption":"Shirley","height":96});
															thumbnails[492594] = clik.newPhoto({"id":492594,"src":"BOY by martin jordan_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_492594.html","width":130,"caption":"Jordan","height":122});
															thumbnails[495191] = clik.newPhoto({"id":495191,"src":"jess1_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_495191.html","width":130,"caption":"Jess","height":129});
															thumbnails[447381] = clik.newPhoto({"id":447381,"src":"john3ec_1_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_447381.html","width":130,"caption":"John","height":167});
															thumbnails[447383] = clik.newPhoto({"id":447383,"src":"phill1_1_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_447383.html","width":130,"caption":"Phill","height":165});
															thumbnails[391796] = clik.newPhoto({"id":391796,"src":"dring2_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_391796.html","width":130,"caption":"Dring Brothers ","height":144});
															thumbnails[391798] = clik.newPhoto({"id":391798,"src":"drings_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_391798.html","width":130,"caption":"Dring Brothers","height":78});
															thumbnails[391799] = clik.newPhoto({"id":391799,"src":"edward2_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_391799.html","width":130,"caption":"Edward","height":93});
															thumbnails[335650] = clik.newPhoto({"id":335650,"src":"kirsten_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_335650.html","width":130,"caption":"Kirsten","height":161});
															thumbnails[337354] = clik.newPhoto({"id":337354,"src":"wheat_1_thumb.jpg","galleries_id":26192,"server_id":18,"link":"photo_337354.html","width":130,"caption":"Barley","height":86});
															thumbnails[337395] = clik.newPhoto({"id":337395,"src":"bblues1_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_337395.html","width":130,"caption":"The Blues","height":90});
															thumbnails[301574] = clik.newPhoto({"id":301574,"src":"_MG_0042-01_thumb.jpg","galleries_id":26187,"server_id":18,"link":"photo_301574.html","width":130,"caption":"Christmas Wheel","height":96});
															thumbnails[301581] = clik.newPhoto({"id":301581,"src":"_MG_0137_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_301581.html","width":130,"caption":"Canary Wharf ","height":185});
															thumbnails[301582] = clik.newPhoto({"id":301582,"src":"_MG_0886-tl_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301582.html","width":130,"caption":"Loch Earne","height":83});
															thumbnails[301585] = clik.newPhoto({"id":301585,"src":"_MG_0970_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301585.html","width":130,"caption":"Loch Earne 2","height":85});
															thumbnails[301586] = clik.newPhoto({"id":301586,"src":"_MG_0997_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_301586.html","width":130,"caption":"Waiting","height":85});
															thumbnails[301588] = clik.newPhoto({"id":301588,"src":"_MG_1851-03_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_301588.html","width":130,"caption":"Window shopping","height":87});
															thumbnails[301595] = clik.newPhoto({"id":301595,"src":"_MG_4430_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_301595.html","width":130,"caption":"Docklands Bridge","height":182});
															thumbnails[301597] = clik.newPhoto({"id":301597,"src":"_MG_0901a_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301597.html","width":130,"caption":"Loch Earne 1","height":85});
															thumbnails[301601] = clik.newPhoto({"id":301601,"src":"_MG_2902-01_thumb.jpg","galleries_id":26192,"server_id":18,"link":"photo_301601.html","width":130,"caption":"Blue cubes","height":182});
															thumbnails[301603] = clik.newPhoto({"id":301603,"src":"alfi_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_301603.html","width":130,"caption":"Alfi","height":128});
															thumbnails[301605] = clik.newPhoto({"id":301605,"src":"_MG_7796-02_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301605.html","width":130,"caption":"Lighthouse","height":81});
															thumbnails[301606] = clik.newPhoto({"id":301606,"src":"_MG_7863-01mod_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301606.html","width":130,"caption":"Snowdonia","height":88});
															thumbnails[301607] = clik.newPhoto({"id":301607,"src":"_MG_9396-02_thumb.jpg","galleries_id":26187,"server_id":18,"link":"photo_301607.html","width":130,"caption":"Skating at Greenwich","height":192});
															thumbnails[301608] = clik.newPhoto({"id":301608,"src":"_MG_9637-02_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_301608.html","width":130,"caption":"Chestnut seller","height":94});
															thumbnails[301609] = clik.newPhoto({"id":301609,"src":"_MG_9937-01river-TL_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_301609.html","width":130,"caption":"Wheels of power","height":176});
															thumbnails[301611] = clik.newPhoto({"id":301611,"src":"3-couples-TL_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_301611.html","width":130,"caption":"conversations","height":78});
															thumbnails[301620] = clik.newPhoto({"id":301620,"src":"alpine-ec_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301620.html","width":130,"caption":"Alpine Mist","height":73});
															thumbnails[301623] = clik.newPhoto({"id":301623,"src":"baltic_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_301623.html","width":130,"caption":"Newcastle","height":89});
															thumbnails[301625] = clik.newPhoto({"id":301625,"src":"beach4_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301625.html","width":130,"caption":"Beach","height":83});
															thumbnails[301629] = clik.newPhoto({"id":301629,"src":"bhomeland_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_301629.html","width":130,"caption":"Homeland ","height":174});
															thumbnails[301631] = clik.newPhoto({"id":301631,"src":"birchington_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301631.html","width":130,"caption":"Reculver Towers ","height":43});
															thumbnails[304734] = clik.newPhoto({"id":304734,"src":"blion_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_304734.html","width":130,"caption":"lion","height":89});
															thumbnails[304737] = clik.newPhoto({"id":304737,"src":"breakwater-lt_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_304737.html","width":130,"caption":"breakwater","height":87});
															thumbnails[304742] = clik.newPhoto({"id":304742,"src":"bully1_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_304742.html","width":130,"caption":"highland cows","height":87});
															thumbnails[304744] = clik.newPhoto({"id":304744,"src":"busker5clubentry-lt_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_304744.html","width":130,"caption":"busker","height":82});
															thumbnails[304746] = clik.newPhoto({"id":304746,"src":"canary3_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_304746.html","width":130,"caption":"canary web","height":195});
															thumbnails[304749] = clik.newPhoto({"id":304749,"src":"canton-ec_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_304749.html","width":130,"caption":"big issue","height":80});
															thumbnails[304761] = clik.newPhoto({"id":304761,"src":"dome_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_304761.html","width":130,"caption":"dome","height":77});
															thumbnails[304772] = clik.newPhoto({"id":304772,"src":"fenceec_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_304772.html","width":130,"caption":"gate","height":87});
															thumbnails[305017] = clik.newPhoto({"id":305017,"src":"ewan-mod-ec1_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_305017.html","width":130,"caption":"Lavender","height":207});
															thumbnails[305020] = clik.newPhoto({"id":305020,"src":"foweyestuary_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_305020.html","width":130,"caption":"Fowey Estuary ","height":84});
															thumbnails[305021] = clik.newPhoto({"id":305021,"src":"gate-finished-ec_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_305021.html","width":130,"caption":"Green field","height":90});
															thumbnails[305023] = clik.newPhoto({"id":305023,"src":"gaze-ec_thumb.jpg","galleries_id":26184,"server_id":18,"link":"photo_305023.html","width":130,"caption":"The look","height":175});
															thumbnails[305026] = clik.newPhoto({"id":305026,"src":"girl_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_305026.html","width":130,"caption":"Girl with a diamond earing","height":85});
															thumbnails[305030] = clik.newPhoto({"id":305030,"src":"greenwichparkec_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_305030.html","width":130,"caption":"Greenwich Park","height":81});
															thumbnails[305035] = clik.newPhoto({"id":305035,"src":"homefarm1_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_305035.html","width":130,"caption":"Cooling off","height":85});
															thumbnails[305039] = clik.newPhoto({"id":305039,"src":"IMG_3077_thumb.jpg","galleries_id":26187,"server_id":18,"link":"photo_305039.html","width":130,"caption":"Watch this space","height":171});
															thumbnails[305787] = clik.newPhoto({"id":305787,"src":"labanabig_1_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_305787.html","width":130,"caption":"Laban centre ","height":120});
															thumbnails[305788] = clik.newPhoto({"id":305788,"src":"labancover1_1_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_305788.html","width":130,"caption":"Laban centre 1","height":185});
															thumbnails[307918] = clik.newPhoto({"id":307918,"src":"char3_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_307918.html","width":130,"caption":"Charlene","height":84});
															thumbnails[310962] = clik.newPhoto({"id":310962,"src":"paige_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_310962.html","width":130,"caption":"Paige","height":149});
															thumbnails[310986] = clik.newPhoto({"id":310986,"src":"kathy_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_310986.html","width":130,"caption":"Kathy","height":87});
															thumbnails[312337] = clik.newPhoto({"id":312337,"src":"Pelican-Brief-By-Martin-Jor_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_312337.html","width":130,"caption":"Pelican Brief","height":85});
															thumbnails[312338] = clik.newPhoto({"id":312338,"src":"newt_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_312338.html","width":130,"caption":"Newt","height":190});
															thumbnails[312340] = clik.newPhoto({"id":312340,"src":"ted21_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_312340.html","width":130,"caption":"Ted","height":148});
															thumbnails[312342] = clik.newPhoto({"id":312342,"src":"_MG_01351_thumb.jpg","galleries_id":26187,"server_id":18,"link":"photo_312342.html","width":130,"caption":"Docklands Sunset","height":176});
															thumbnails[301417] = clik.newPhoto({"id":301417,"src":"web12_thumb.jpg","galleries_id":24484,"server_id":18,"link":"photo_301417.html","width":130,"caption":"Antigua","height":83});
															thumbnails[301441] = clik.newPhoto({"id":301441,"src":"web21_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_301441.html","width":130,"caption":"Red Squirrel","height":137});
															thumbnails[301442] = clik.newPhoto({"id":301442,"src":"web31_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_301442.html","width":130,"caption":"Frog","height":81});
															thumbnails[301613] = clik.newPhoto({"id":301613,"src":"agnes_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_301613.html","width":130,"caption":"agnes","height":169});
															thumbnails[301616] = clik.newPhoto({"id":301616,"src":"alan-ec_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_301616.html","width":130,"caption":"smile","height":104});
															thumbnails[312341] = clik.newPhoto({"id":312341,"src":"canaryview2ep1_thumb.jpg","galleries_id":26183,"server_id":18,"link":"photo_312341.html","width":130,"caption":"Canary Clock","height":185});
															thumbnails[718511] = clik.newPhoto({"id":718511,"src":"_MG_7322-2__-1-chall_thumb.jpg","galleries_id":26172,"server_id":18,"link":"photo_718511.html","width":130,"caption":"Highland Cows","height":86});
															thumbnails[1211882] = clik.newPhoto({"id":1211882,"src":"_MG_6250_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1211882.html","width":130,"caption":"Sonia","height":106});
															thumbnails[1211885] = clik.newPhoto({"id":1211885,"src":"_MG_6270_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1211885.html","width":130,"caption":"Sonia","height":97});
															thumbnails[1211909] = clik.newPhoto({"id":1211909,"src":"Jul122007_000075-trek_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1211909.html","width":130,"caption":"Sonia ","height":117});
															thumbnails[1211912] = clik.newPhoto({"id":1211912,"src":"Jul202007__000178trek_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1211912.html","width":130,"caption":"David","height":103});
															thumbnails[1211915] = clik.newPhoto({"id":1211915,"src":"Jul202007__000208ec_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1211915.html","width":130,"caption":"David","height":143});
															thumbnails[1211918] = clik.newPhoto({"id":1211918,"src":"Jul232007-000162-2eca_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_1211918.html","width":130,"caption":"Callie","height":158});
															thumbnails[1211922] = clik.newPhoto({"id":1211922,"src":"Jul232007_000084ec_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_1211922.html","width":130,"caption":"Callie","height":165});
															thumbnails[2156793] = clik.newPhoto({"id":2156793,"src":"heather-andrews-266epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2156793.html","width":130,"caption":"","height":189});
															thumbnails[2156822] = clik.newPhoto({"id":2156822,"src":"heather-andrews-421-1_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2156822.html","width":130,"caption":"","height":151});
															thumbnails[2156823] = clik.newPhoto({"id":2156823,"src":"heather-andrews-585epz_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2156823.html","width":130,"caption":"","height":99});
															thumbnails[2156826] = clik.newPhoto({"id":2156826,"src":"heather-andrews-595-1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2156826.html","width":130,"caption":"","height":129});
															thumbnails[2175432] = clik.newPhoto({"id":2175432,"src":"bwtrek_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2175432.html","width":130,"caption":"Jazz Singer","height":133});
															thumbnails[2188417] = clik.newPhoto({"id":2188417,"src":"heather-andrews-441sepia_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2188417.html","width":130,"caption":"Jazz singer","height":127});
															thumbnails[2288725] = clik.newPhoto({"id":2288725,"src":"_MG_8758-1epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288725.html","width":130,"caption":"Rebecca","height":125});
															thumbnails[2288726] = clik.newPhoto({"id":2288726,"src":"becky-067epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288726.html","width":130,"caption":"Rebecca","height":153});
															thumbnails[2288729] = clik.newPhoto({"id":2288729,"src":"heatherandrews1723cropepz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288729.html","width":130,"caption":"Heather","height":163});
															thumbnails[2288732] = clik.newPhoto({"id":2288732,"src":"heather-andrews-213epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288732.html","width":130,"caption":"Heather","height":85});
															thumbnails[2288733] = clik.newPhoto({"id":2288733,"src":"heather-andrews-230epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288733.html","width":130,"caption":"Heather","height":125});
															thumbnails[2288734] = clik.newPhoto({"id":2288734,"src":"heather-andrews-219epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288734.html","width":130,"caption":"Heather","height":96});
															thumbnails[2288735] = clik.newPhoto({"id":2288735,"src":"heather-andrews-217-1epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288735.html","width":130,"caption":"Heather","height":97});
															thumbnails[2288736] = clik.newPhoto({"id":2288736,"src":"_MG_8606epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288736.html","width":130,"caption":"Heather","height":154});
															thumbnails[2288738] = clik.newPhoto({"id":2288738,"src":"heather-andrews-101epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2288738.html","width":130,"caption":"Heather","height":75});
															thumbnails[2288740] = clik.newPhoto({"id":2288740,"src":"IMG_0094epz_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2288740.html","width":130,"caption":"Shirley","height":86});
															thumbnails[2288741] = clik.newPhoto({"id":2288741,"src":"IMG_0090_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2288741.html","width":130,"caption":"Shirley","height":183});
															thumbnails[2410013] = clik.newPhoto({"id":2410013,"src":"_MG_9082s_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2410013.html","width":130,"caption":"","height":107});
															thumbnails[2410016] = clik.newPhoto({"id":2410016,"src":"_MG_88472_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2410016.html","width":130,"caption":"","height":164});
															thumbnails[2410046] = clik.newPhoto({"id":2410046,"src":"_MG_9117_thumb.jpg","galleries_id":26186,"server_id":18,"link":"photo_2410046.html","width":130,"caption":"Twiglet","height":107});
															thumbnails[2494621] = clik.newPhoto({"id":2494621,"src":"bald-091a_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2494621.html","width":130,"caption":"","height":114});
															thumbnails[2495600] = clik.newPhoto({"id":2495600,"src":"bald-1151_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2495600.html","width":130,"caption":"","height":126});
															thumbnails[2495601] = clik.newPhoto({"id":2495601,"src":"bald-146trek1_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_2495601.html","width":130,"caption":"","height":119});
															thumbnails[4340663] = clik.newPhoto({"id":4340663,"src":"_MG_1679epz_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_4340663.html","width":130,"caption":"","height":109});
															thumbnails[4340710] = clik.newPhoto({"id":4340710,"src":"_MG_1750_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_4340710.html","width":130,"caption":"","height":117});
															thumbnails[4340711] = clik.newPhoto({"id":4340711,"src":"_MG_1973_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_4340711.html","width":130,"caption":"","height":92});
															thumbnails[4340713] = clik.newPhoto({"id":4340713,"src":"_MG_2120trek_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_4340713.html","width":130,"caption":"","height":89});
															thumbnails[2095074] = clik.newPhoto({"id":2095074,"src":"_MG_5388_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095074.html","width":130,"caption":"","height":76});
															thumbnails[2095137] = clik.newPhoto({"id":2095137,"src":"baby-130-3crop1trek800_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095137.html","width":130,"caption":"","height":91});
															thumbnails[2095165] = clik.newPhoto({"id":2095165,"src":"david-&-jo-309epz_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095165.html","width":130,"caption":"","height":92});
															thumbnails[2095226] = clik.newPhoto({"id":2095226,"src":"simon7_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095226.html","width":130,"caption":"","height":121});
															thumbnails[2095263] = clik.newPhoto({"id":2095263,"src":"_MG_6770_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_2095263.html","width":130,"caption":"","height":195});
															thumbnails[3102083] = clik.newPhoto({"id":3102083,"src":"2_5_thumb.jpg","galleries_id":26169,"server_id":18,"link":"photo_3102083.html","width":130,"caption":"","height":131});
															thumbnails[2095075] = clik.newPhoto({"id":2095075,"src":"_MG_6469_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095075.html","width":130,"caption":"","height":130});
															thumbnails[2095138] = clik.newPhoto({"id":2095138,"src":"baby-149-1earstrek_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095138.html","width":130,"caption":"","height":111});
															thumbnails[2095166] = clik.newPhoto({"id":2095166,"src":"david-&-jo-4061_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095166.html","width":130,"caption":"","height":121});
															thumbnails[2095227] = clik.newPhoto({"id":2095227,"src":"Susiecropped_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095227.html","width":130,"caption":"","height":86});
															thumbnails[2095264] = clik.newPhoto({"id":2095264,"src":"_MG_6871ec_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_2095264.html","width":130,"caption":" MG 6871ec","height":96});
															thumbnails[3102084] = clik.newPhoto({"id":3102084,"src":"DSC_5247_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_3102084.html","width":130,"caption":"","height":163});
															thumbnails[2095076] = clik.newPhoto({"id":2095076,"src":"_MG_6487_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095076.html","width":130,"caption":"","height":131});
															thumbnails[2095139] = clik.newPhoto({"id":2095139,"src":"baby-152-1trek_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095139.html","width":130,"caption":"","height":124});
															thumbnails[2095167] = clik.newPhoto({"id":2095167,"src":"double-2_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095167.html","width":130,"caption":"","height":89});
															thumbnails[2095228] = clik.newPhoto({"id":2095228,"src":"Untitled-13a_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095228.html","width":130,"caption":"","height":35});
															thumbnails[2095265] = clik.newPhoto({"id":2095265,"src":"_MG_6912ec_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_2095265.html","width":130,"caption":" MG 6912ec","height":91});
															thumbnails[3102085] = clik.newPhoto({"id":3102085,"src":"IMG_0181epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_3102085.html","width":130,"caption":"","height":180});
															thumbnails[2095077] = clik.newPhoto({"id":2095077,"src":"_MG_6492_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095077.html","width":130,"caption":"","height":130});
															thumbnails[2095168] = clik.newPhoto({"id":2095168,"src":"girls_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095168.html","width":130,"caption":"","height":78});
															thumbnails[2095266] = clik.newPhoto({"id":2095266,"src":"_MG_6948ec_thumb.jpg","galleries_id":90236,"server_id":18,"link":"photo_2095266.html","width":130,"caption":" MG 6948ec","height":94});
															thumbnails[3102086] = clik.newPhoto({"id":3102086,"src":"IMG_0377epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_3102086.html","width":130,"caption":"","height":134});
															thumbnails[2095078] = clik.newPhoto({"id":2095078,"src":"_MG_8913_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095078.html","width":130,"caption":"","height":146});
															thumbnails[2095140] = clik.newPhoto({"id":2095140,"src":"david-&-jo-414_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095140.html","width":130,"caption":"","height":94});
															thumbnails[2095169] = clik.newPhoto({"id":2095169,"src":"montageflat_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_2095169.html","width":130,"caption":"","height":89});
															thumbnails[3102087] = clik.newPhoto({"id":3102087,"src":"IMG_0420epz_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_3102087.html","width":130,"caption":"","height":119});
															thumbnails[3102088] = clik.newPhoto({"id":3102088,"src":"_MG_0071_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_3102088.html","width":130,"caption":"","height":86});
															thumbnails[3102089] = clik.newPhoto({"id":3102089,"src":"_MG_0077_thumb.jpg","galleries_id":139666,"server_id":18,"link":"photo_3102089.html","width":130,"caption":"","height":202});
															thumbnails[3102090] = clik.newPhoto({"id":3102090,"src":"_MG_9469_thumb.jpg","galleries_id":26498,"server_id":18,"link":"photo_3102090.html","width":130,"caption":"","height":85});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[26192] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Abstract","link":"gallery_26192.html","maxRecords":0.0,"photoIDs":[337354.0,301601.0],"skipIndex":0,"section_code":"gallery","featured_images":"337354,301601","id":26192,"singleSection":false});				  						galleries[26183] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Architecture","link":"gallery_26183.html","maxRecords":0.0,"photoIDs":[1314307.0,985417.0,985420.0,790324.0,790332.0,718508.0,718515.0,718520.0,718522.0,683081.0,301581.0,301595.0,301609.0,301623.0,304746.0,304761.0,305787.0,305788.0,312341.0],"skipIndex":0,"section_code":"gallery","featured_images":"1314307,985420,985417,790332,790324,718522,718520,718515,718508,683081","id":26183,"singleSection":false});				  						galleries[26498] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Beauty","link":"gallery_26498.html","maxRecords":0.0,"photoIDs":[1372356.0,1372361.0,1211862.0,1211864.0,1156965.0,1124768.0,1124776.0,1124789.0,1124799.0,1086241.0,1086269.0,1047337.0,980277.0,980284.0,980289.0,939362.0,939992.0,918275.0,918276.0,918281.0,918282.0,790264.0,335650.0,307918.0,310962.0,310986.0,1211882.0,1211885.0,1211909.0,1211918.0,2156793.0,2156826.0,2288725.0,2288726.0,2288729.0,2288732.0,2288733.0,2288734.0,2288735.0,2288736.0,2288738.0,2494621.0,2495600.0,2495601.0,3102084.0,3102085.0,3102086.0,3102087.0,3102090.0],"skipIndex":0,"section_code":"gallery","featured_images":"3102090,3102087,3102086,3102085,3102084,2495601,2495600,2494621,2288738,2288736","id":26498,"singleSection":false});				  						galleries[139666] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Children","link":"gallery_139666.html","maxRecords":0.0,"photoIDs":[1527391.0,573575.0,492594.0,391799.0,305026.0,4340663.0,4340710.0,2095074.0,2095137.0,2095165.0,2095226.0,2095075.0,2095138.0,2095166.0,2095227.0,2095076.0,2095139.0,2095167.0,2095228.0,2095077.0,2095168.0,2095078.0,2095140.0,2095169.0,3102088.0,3102089.0],"skipIndex":0,"section_code":"gallery","featured_images":"4340710,4340663,3102089,3102088,2095228,2095227,2095226,2095169,2095168,2095167","id":139666,"singleSection":false});				  						galleries[26187] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miscelleanous  ","link":"gallery_26187.html","maxRecords":0.0,"photoIDs":[301574.0,301607.0,305039.0,312342.0],"skipIndex":0,"section_code":"gallery","featured_images":"312342,305039,301607,301574","id":26187,"singleSection":false});				  						galleries[26184] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"People","link":"gallery_26184.html","maxRecords":0.0,"photoIDs":[980255.0,980261.0,790255.0,790316.0,607665.0,542765.0,542825.0,391796.0,391798.0,337395.0,301586.0,301588.0,301608.0,301611.0,304744.0,304749.0,305023.0],"skipIndex":0,"section_code":"gallery","featured_images":"980261,980255,790316,790255,607665,542825,542765,391798,391796,337395","id":26184,"singleSection":false});				  						galleries[26186] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pets","link":"gallery_26186.html","maxRecords":0.0,"photoIDs":[1372358.0,1314323.0,1314330.0,1156962.0,1156966.0,980297.0,607645.0,494579.0,492575.0,492576.0,492579.0,301603.0,312340.0,301613.0,2410046.0],"skipIndex":0,"section_code":"gallery","featured_images":"2410046,1372358,1314330,1314323,1156966,1156962,980297,607645,494579,492579","id":26186,"singleSection":false});				  						galleries[26169] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portrait","link":"gallery_26169.html","maxRecords":0.0,"photoIDs":[1314312.0,1314317.0,1124747.0,1124753.0,985409.0,985414.0,718505.0,613221.0,607663.0,629147.0,492586.0,495191.0,447381.0,447383.0,301616.0,1211912.0,1211915.0,1211922.0,2156822.0,2156823.0,2175432.0,2188417.0,2288740.0,2288741.0,2410013.0,2410016.0,4340711.0,4340713.0,2095263.0,3102083.0],"skipIndex":0,"section_code":"gallery","featured_images":"4340713,4340711,3102083,2410016,2410013,2288741,2288740,2188417,2175432,2156823","id":26169,"singleSection":false});				  						galleries[90236] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Set Pieces","link":"gallery_90236.html","maxRecords":0.0,"photoIDs":[1372362.0,1372364.0,1372366.0,1372368.0,1268175.0,1268181.0,2095264.0,2095265.0,2095266.0],"skipIndex":0,"section_code":"gallery","featured_images":"2095266,2095265,2095264,1372368,1372366,1372364,1372362,1268181,1268175","id":90236,"singleSection":false});				  						galleries[26172] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wildlife","link":"gallery_26172.html","maxRecords":0.0,"photoIDs":[753943.0,301629.0,304734.0,304742.0,305035.0,312337.0,312338.0,301441.0,301442.0,718511.0],"skipIndex":0,"section_code":"gallery","featured_images":"753943,718511,312338,312337,305035,304742,304734,301629,301442,301441","id":26172,"singleSection":false});				  						galleries[24484] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscape","link":"gallery_24484.html","maxRecords":0.0,"photoIDs":[985412.0,998871.0,790287.0,790251.0,301582.0,301585.0,301597.0,301605.0,301606.0,301620.0,301625.0,301631.0,304737.0,304772.0,305017.0,305020.0,305021.0,305030.0,301417.0],"skipIndex":0,"section_code":"gallery","featured_images":"998871,985412,790287,790251,305030,305021,305020,305017,304772,304737","id":24484,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '2288725,1372368,1156965,1086269,918282,918275,304734,3102083,2095263,2095264,2095166';
imageSets[3] = '4340713,4340711,4340710,4340663,3102090,3102089,3102088,3102087,3102086,3102085,3102084,3102083,2495601,2495600,2494621,2410046,2410016,2410013,2288741,2288740,2288738,2288736,2288735,2288734,2288733,2288732,2288729,2288726,2288725,2188417,2175432,2156826,2156823,2156822,2156793,2095266,2095265,2095264,2095263,2095228,2095227,2095226,2095169,2095168,2095167,2095166,2095165,2095140,2095139,2095138';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/mpjordan/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/mpjordan/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 && backgrounds[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 = 'JordanPhotography: ' + 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 !== '' || this.payment_groups_id !== '') {
			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;
	}
}

			

