window.thumbnails = {};
															thumbnails[8411266] = clik.newPhoto({"id":8411266,"src":"Family_of_Fungi_small_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_8411266.html","width":130,"caption":"Fungi Family","height":136});
															thumbnails[5828571] = clik.newPhoto({"id":5828571,"src":"StHelens_Grove_copy_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_5828571.html","width":130,"caption":"St Helen's, village of Grove","height":100});
															thumbnails[8411423] = clik.newPhoto({"id":8411423,"src":"Nature_up_close_small_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_8411423.html","width":130,"caption":"Subtle Hues of Nature","height":99});
															thumbnails[7402732] = clik.newPhoto({"id":7402732,"src":"St_John_the_Evangelistsmall_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_7402732.html","width":130,"caption":"St John, Oulton","height":124});
															thumbnails[7286614] = clik.newPhoto({"id":7286614,"src":"Linch_Clough_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_7286614.html","width":130,"caption":"Peak District stream","height":106});
															thumbnails[7095130] = clik.newPhoto({"id":7095130,"src":"Conker2_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_7095130.html","width":130,"caption":"Conkers","height":109});
															thumbnails[6576527] = clik.newPhoto({"id":6576527,"src":"spitfire_copy_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_6576527.html","width":130,"caption":"A beauty of the sky","height":110});
															thumbnails[2890770] = clik.newPhoto({"id":2890770,"src":"Normanby Hall copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_2890770.html","width":130,"caption":"01 Normanby Hall","height":104});
															thumbnails[2232442] = clik.newPhoto({"id":2232442,"src":"Carewside_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_2232442.html","width":130,"caption":"Carew Castle 01","height":88});
															thumbnails[1867711] = clik.newPhoto({"id":1867711,"src":"Bridge2 copy_thumb.jpg","galleries_id":399399,"server_id":18,"link":"photo_1867711.html","width":130,"caption":"Humber Bridge 01","height":185});
															thumbnails[3276693] = clik.newPhoto({"id":3276693,"src":"Church Blend_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_3276693.html","width":130,"caption":"Tealby Church","height":87});
															thumbnails[5309616] = clik.newPhoto({"id":5309616,"src":"Kingsway2_copy_copy_EA877FD1-2219-B5B5-4CD9F008BD61B0A5_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5309616.html","width":130,"caption":"Kingsway Gadens, Scunthorpe","height":83});
															thumbnails[5671055] = clik.newPhoto({"id":5671055,"src":"Single_Flower_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_5671055.html","width":130,"caption":"Yellow flower","height":128});
															thumbnails[6269975] = clik.newPhoto({"id":6269975,"src":"Clickpick_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_6269975.html","width":130,"caption":"","height":102});
															thumbnails[6274340] = clik.newPhoto({"id":6274340,"src":"Window_copy_border_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_6274340.html","width":130,"caption":"","height":99});
															thumbnails[7286753] = clik.newPhoto({"id":7286753,"src":"Squirrel_Feeding_thumb.jpg","galleries_id":399440,"server_id":18,"link":"photo_7286753.html","width":130,"caption":"Squirrel","height":98});
															thumbnails[7132164] = clik.newPhoto({"id":7132164,"src":"Robin_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_7132164.html","width":130,"caption":"Robin","height":105});
															thumbnails[6844570] = clik.newPhoto({"id":6844570,"src":"Bamford_Edge_small_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_6844570.html","width":130,"caption":"Bamford Edge","height":105});
															thumbnails[6844701] = clik.newPhoto({"id":6844701,"src":"September_Flowers_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6844701.html","width":130,"caption":"Flowers","height":124});
															thumbnails[6634940] = clik.newPhoto({"id":6634940,"src":"End_of_day_thumb.jpg","galleries_id":399464,"server_id":18,"link":"photo_6634940.html","width":130,"caption":"Summer Sunset","height":106});
															thumbnails[5926483] = clik.newPhoto({"id":5926483,"src":"Hurricane_copy_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_5926483.html","width":130,"caption":"RAF Hurricane","height":101});
															thumbnails[5828529] = clik.newPhoto({"id":5828529,"src":"Normanby_Hall_copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_5828529.html","width":130,"caption":"04 Normanby Hall","height":100});
															thumbnails[5452169] = clik.newPhoto({"id":5452169,"src":"1_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_5452169.html","width":130,"caption":"","height":91});
															thumbnails[2890785] = clik.newPhoto({"id":2890785,"src":"Bee copy_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_2890785.html","width":130,"caption":"Pollen Time","height":102});
															thumbnails[2637280] = clik.newPhoto({"id":2637280,"src":"DSC03969 copy_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_2637280.html","width":130,"caption":"Church of St Nicholas","height":88});
															thumbnails[1239534] = clik.newPhoto({"id":1239534,"src":"DSC09964_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_1239534.html","width":130,"caption":"02 Newark riverboat","height":92});
															thumbnails[1088345] = clik.newPhoto({"id":1088345,"src":"bridge1_thumb.jpg","galleries_id":399399,"server_id":18,"link":"photo_1088345.html","width":130,"caption":"Humber Bridge 02","height":194});
															thumbnails[1860546] = clik.newPhoto({"id":1860546,"src":"Carew Castle_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_1860546.html","width":130,"caption":"Carew Castle 02","height":98});
															thumbnails[5309702] = clik.newPhoto({"id":5309702,"src":"Pittwood_House_Front_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5309702.html","width":130,"caption":"North Lincolnshire Council HQ","height":89});
															thumbnails[5671062] = clik.newPhoto({"id":5671062,"src":"Bridge_7C0FEAB6-1D09-001F-9952DA342BD3FE22_thumb.jpg","galleries_id":399399,"server_id":18,"link":"photo_5671062.html","width":130,"caption":"Humber Bridge 03","height":102});
															thumbnails[8411307] = clik.newPhoto({"id":8411307,"src":"St_John_the_Baptist_small_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_8411307.html","width":130,"caption":"St John the Baptist, Burringham","height":105});
															thumbnails[9038254] = clik.newPhoto({"id":9038254,"src":"St_Margarets_Bucknall_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_9038254.html","width":130,"caption":"St Margarets, Bucknall, Lincolnshire","height":99});
															thumbnails[7132166] = clik.newPhoto({"id":7132166,"src":"Normanby_Hall_small_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7132166.html","width":130,"caption":"02 Normanby in the snow","height":103});
															thumbnails[7132234] = clik.newPhoto({"id":7132234,"src":"Winter_Sun_thumb.jpg","galleries_id":399464,"server_id":18,"link":"photo_7132234.html","width":130,"caption":"Snowy sunset","height":112});
															thumbnails[6508470] = clik.newPhoto({"id":6508470,"src":"Derwentvalley_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_6508470.html","width":130,"caption":"Derwent Reservoir","height":115});
															thumbnails[6576487] = clik.newPhoto({"id":6576487,"src":"Mirfield_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_6576487.html","width":130,"caption":"St Marys Church","height":129});
															thumbnails[6844782] = clik.newPhoto({"id":6844782,"src":"Trent_Bridge_Newark_copy_thumb.jpg","galleries_id":399399,"server_id":18,"link":"photo_6844782.html","width":130,"caption":"Trent Bridge","height":113});
															thumbnails[5530431] = clik.newPhoto({"id":5530431,"src":"Gullattack_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_5530431.html","width":130,"caption":"Seagulls","height":83});
															thumbnails[4458582] = clik.newPhoto({"id":4458582,"src":"Miss_Marina_Mae_2_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_4458582.html","width":130,"caption":"Singing","height":109});
															thumbnails[4109723] = clik.newPhoto({"id":4109723,"src":"Tansysmallface_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_4109723.html","width":130,"caption":"","height":114});
															thumbnails[3405746] = clik.newPhoto({"id":3405746,"src":"Rose_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_3405746.html","width":130,"caption":"A Rose","height":108});
															thumbnails[2231401] = clik.newPhoto({"id":2231401,"src":"Carew Castle1_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_2231401.html","width":130,"caption":"Carew Castle 03","height":94});
															thumbnails[1266053] = clik.newPhoto({"id":1266053,"src":"butterfly_2_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_1266053.html","width":130,"caption":"Sharing together","height":89});
															thumbnails[1777485] = clik.newPhoto({"id":1777485,"src":"BritanniaRulesTheAir_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_1777485.html","width":130,"caption":"Battle Of Britain fly past 2007","height":80});
															thumbnails[5309790] = clik.newPhoto({"id":5309790,"src":"Woodlands_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5309790.html","width":130,"caption":"Resting Place","height":88});
															thumbnails[7402730] = clik.newPhoto({"id":7402730,"src":"Ferrybridge_thumb.jpg","galleries_id":399399,"server_id":18,"link":"photo_7402730.html","width":130,"caption":"Ferrybridge, Yorkshire.","height":91});
															thumbnails[7229880] = clik.newPhoto({"id":7229880,"src":"Sun_Halo_small_thumb.jpg","galleries_id":399464,"server_id":18,"link":"photo_7229880.html","width":130,"caption":"Sun Halo","height":106});
															thumbnails[6508472] = clik.newPhoto({"id":6508472,"src":"Ladybower_5B6A643A-1D09-001F-994A1C62FE61F385_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_6508472.html","width":130,"caption":"01 Ladybower","height":108});
															thumbnails[5926520] = clik.newPhoto({"id":5926520,"src":"All_Saints_Bigby_copy_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_5926520.html","width":130,"caption":"All Saints Church, Bigby","height":100});
															thumbnails[3511583] = clik.newPhoto({"id":3511583,"src":"NWSC4_thumb.JPG","galleries_id":399438,"server_id":18,"link":"photo_3511583.html","width":130,"caption":"Flying goose","height":73});
															thumbnails[2701219] = clik.newPhoto({"id":2701219,"src":"Lighthouse_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_2701219.html","width":130,"caption":"Flamborough Head Lighthouse","height":107});
															thumbnails[4192547] = clik.newPhoto({"id":4192547,"src":"Flower_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_4192547.html","width":130,"caption":"Flower close up","height":95});
															thumbnails[2164610] = clik.newPhoto({"id":2164610,"src":"Lanc1 copy_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_2164610.html","width":130,"caption":"RAF Hibaldstow fly by 2008","height":96});
															thumbnails[1261913] = clik.newPhoto({"id":1261913,"src":"Bee_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_1261913.html","width":130,"caption":"Bee and flower","height":114});
															thumbnails[916668] = clik.newPhoto({"id":916668,"src":"Normanby Hall Gardens copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_916668.html","width":130,"caption":"05 Normanby Hall Garden Walk","height":92});
															thumbnails[847364] = clik.newPhoto({"id":847364,"src":"Horse2 copy_thumb.jpg","galleries_id":399440,"server_id":18,"link":"photo_847364.html","width":130,"caption":"I'm watching you...","height":91});
															thumbnails[5310928] = clik.newPhoto({"id":5310928,"src":"BoatTrent_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5310928.html","width":130,"caption":"Sailing on the river","height":95});
															thumbnails[2332838] = clik.newPhoto({"id":2332838,"src":"Lancastercolourweb2_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_2332838.html","width":130,"caption":"Alternative Lancaster","height":88});
															thumbnails[5311963] = clik.newPhoto({"id":5311963,"src":"Steam_Engine_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_5311963.html","width":130,"caption":"Out for a ride","height":87});
															thumbnails[6269937] = clik.newPhoto({"id":6269937,"src":"Lancaster_Model_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_6269937.html","width":130,"caption":"01 Lancaster Bomber model","height":86});
															thumbnails[5828565] = clik.newPhoto({"id":5828565,"src":"Ducks_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_5828565.html","width":130,"caption":"Out for a stroll","height":110});
															thumbnails[7094860] = clik.newPhoto({"id":7094860,"src":"Castelton_Lights_copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_7094860.html","width":130,"caption":"Castleton Xmas Lights 2009","height":108});
															thumbnails[5315313] = clik.newPhoto({"id":5315313,"src":"Normsnow1_copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_5315313.html","width":130,"caption":"03 Normanby Hall in snow","height":92});
															thumbnails[4866641] = clik.newPhoto({"id":4866641,"src":"blueandgold_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_4866641.html","width":130,"caption":"Autumnal colours","height":94});
															thumbnails[4471805] = clik.newPhoto({"id":4471805,"src":"Butterfly_1_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_4471805.html","width":130,"caption":"01 Butterfly ","height":115});
															thumbnails[3683204] = clik.newPhoto({"id":3683204,"src":"Hardwick_Hall_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_3683204.html","width":130,"caption":"Hardwick Hall","height":99});
															thumbnails[2504560] = clik.newPhoto({"id":2504560,"src":"LincolnCathedral copylighter1_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_2504560.html","width":130,"caption":"Lincoln Cathedral 01","height":95});
															thumbnails[2304180] = clik.newPhoto({"id":2304180,"src":"Sheep_thumb.jpg","galleries_id":399440,"server_id":18,"link":"photo_2304180.html","width":130,"caption":"Free range sheep","height":81});
															thumbnails[5309717] = clik.newPhoto({"id":5309717,"src":"Scuntrain_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5309717.html","width":130,"caption":"Rail Station","height":85});
															thumbnails[7229869] = clik.newPhoto({"id":7229869,"src":"Normanby_Hall_at_Sunset_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7229869.html","width":130,"caption":"Sunset at the Hall","height":96});
															thumbnails[7759855] = clik.newPhoto({"id":7759855,"src":"City_of_Lincoln_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_7759855.html","width":130,"caption":"Lancaster Bomber at RAF Hibaldstow 2011","height":81});
															thumbnails[5311072] = clik.newPhoto({"id":5311072,"src":"trees_copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_5311072.html","width":130,"caption":"06 Normanby Snow time","height":95});
															thumbnails[8411468] = clik.newPhoto({"id":8411468,"src":"Peacock_Butterfly_Inachis_io_copy_small_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_8411468.html","width":130,"caption":"Peacock Butterfly","height":94});
															thumbnails[7229877] = clik.newPhoto({"id":7229877,"src":"Moonrise_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_7229877.html","width":130,"caption":"Solstice moonrise","height":96});
															thumbnails[7229876] = clik.newPhoto({"id":7229876,"src":"Holy_Trinity_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_7229876.html","width":130,"caption":"Holy Trinity","height":101});
															thumbnails[5381639] = clik.newPhoto({"id":5381639,"src":"Easter_Flower_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_5381639.html","width":130,"caption":"Winter flower","height":140});
															thumbnails[5309446] = clik.newPhoto({"id":5309446,"src":"BamfordChurch_copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309446.html","width":130,"caption":"St John the Baptist, Bamford","height":95});
															thumbnails[4978494] = clik.newPhoto({"id":4978494,"src":"Norm2_thumb.JPG","galleries_id":298872,"server_id":18,"link":"photo_4978494.html","width":130,"caption":"01 Autumn Colours","height":113});
															thumbnails[4585948] = clik.newPhoto({"id":4585948,"src":"End_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_4585948.html","width":130,"caption":"WWII","height":136});
															thumbnails[4471618] = clik.newPhoto({"id":4471618,"src":"Spitfire_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_4471618.html","width":130,"caption":"Flying High","height":108});
															thumbnails[4242858] = clik.newPhoto({"id":4242858,"src":"Nost_thumb.JPG","galleries_id":399402,"server_id":18,"link":"photo_4242858.html","width":130,"caption":"Nostell Priory","height":83});
															thumbnails[3623003] = clik.newPhoto({"id":3623003,"src":"Swanside_copy_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_3623003.html","width":130,"caption":"It's that swan again","height":125});
															thumbnails[6508489] = clik.newPhoto({"id":6508489,"src":"Tansy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_6508489.html","width":130,"caption":"","height":180});
															thumbnails[4482277] = clik.newPhoto({"id":4482277,"src":"SpitfireandMustang_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_4482277.html","width":130,"caption":"RAF and USAF","height":75});
															thumbnails[5309399] = clik.newPhoto({"id":5309399,"src":"Teashop_copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309399.html","width":130,"caption":"Castleton tea shop and restaurant","height":72});
															thumbnails[5311965] = clik.newPhoto({"id":5311965,"src":"snow1_copy_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5311965.html","width":130,"caption":"Snow Time","height":94});
															thumbnails[5235825] = clik.newPhoto({"id":5235825,"src":"Norm1_thumb.JPG","galleries_id":298872,"server_id":18,"link":"photo_5235825.html","width":130,"caption":"02 Autumn Walk","height":122});
															thumbnails[4930540] = clik.newPhoto({"id":4930540,"src":"Red_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_4930540.html","width":130,"caption":"Autumn 2009","height":110});
															thumbnails[4242291] = clik.newPhoto({"id":4242291,"src":"p19_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_4242291.html","width":130,"caption":"Spitfire","height":77});
															thumbnails[1900045] = clik.newPhoto({"id":1900045,"src":"100_1013 copy_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_1900045.html","width":130,"caption":"Nottingham Eye 27\/02\/08","height":98});
															thumbnails[1380271] = clik.newPhoto({"id":1380271,"src":"Building2_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_1380271.html","width":130,"caption":"Old style grand cemetery","height":89});
															thumbnails[6269922] = clik.newPhoto({"id":6269922,"src":"HurricaneMk1_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_6269922.html","width":130,"caption":"Hawker Hurricane Mk. 1","height":79});
															thumbnails[6269964] = clik.newPhoto({"id":6269964,"src":"Poppy_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6269964.html","width":130,"caption":"Sunshine poppy","height":122});
															thumbnails[5311968] = clik.newPhoto({"id":5311968,"src":"Snow2_copy_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5311968.html","width":130,"caption":"Museum Snow","height":90});
															thumbnails[1809316] = clik.newPhoto({"id":1809316,"src":"Church_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_1809316.html","width":130,"caption":"Aisthorpe church","height":103});
															thumbnails[1308141] = clik.newPhoto({"id":1308141,"src":"View4_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_1308141.html","width":130,"caption":"02 Ladybower Reservoir","height":70});
															thumbnails[1800451] = clik.newPhoto({"id":1800451,"src":"Roche Abbey600px_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_1800451.html","width":130,"caption":"01 Roche Abbey","height":76});
															thumbnails[5311960] = clik.newPhoto({"id":5311960,"src":"Woodland_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_5311960.html","width":130,"caption":"03 Autumn Woodland","height":94});
															thumbnails[5309334] = clik.newPhoto({"id":5309334,"src":"Bridgefinish_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309334.html","width":130,"caption":"A winter scene","height":75});
															thumbnails[5311008] = clik.newPhoto({"id":5311008,"src":"AlkHDR_copy_copy_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5311008.html","width":130,"caption":"Alkborough","height":96});
															thumbnails[2181022] = clik.newPhoto({"id":2181022,"src":"Bluebellsborder_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_2181022.html","width":130,"caption":"Bluebells 01","height":99});
															thumbnails[1800565] = clik.newPhoto({"id":1800565,"src":"Roche Abbey2_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_1800565.html","width":130,"caption":"02 Roche Abbey","height":88});
															thumbnails[5309823] = clik.newPhoto({"id":5309823,"src":"Yaddle_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_5309823.html","width":130,"caption":"Yaddlethorpe","height":87});
															thumbnails[5311979] = clik.newPhoto({"id":5311979,"src":"Reds_thumb.JPG","galleries_id":251281,"server_id":18,"link":"photo_5311979.html","width":130,"caption":"01 Red Arrows","height":108});
															thumbnails[8411366] = clik.newPhoto({"id":8411366,"src":"Mow_Cop_Castle_small_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_8411366.html","width":130,"caption":"Mow Cop Castle","height":97});
															thumbnails[7229873] = clik.newPhoto({"id":7229873,"src":"Rutting_Deer_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7229873.html","width":130,"caption":"Fighting for food","height":107});
															thumbnails[7229879] = clik.newPhoto({"id":7229879,"src":"Day13_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_7229879.html","width":130,"caption":"Sunset and snow","height":113});
															thumbnails[4242352] = clik.newPhoto({"id":4242352,"src":"BigRed_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_4242352.html","width":130,"caption":"Red Arrows return home","height":75});
															thumbnails[1980864] = clik.newPhoto({"id":1980864,"src":"HDR Snow Border_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_1980864.html","width":130,"caption":"Easter Sunday Snow 2008","height":102});
															thumbnails[1842550] = clik.newPhoto({"id":1842550,"src":"Reflection5_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_1842550.html","width":130,"caption":"03 Ladybower Reservoir","height":74});
															thumbnails[1149650] = clik.newPhoto({"id":1149650,"src":"Sunshine1_thumb.jpg","galleries_id":399464,"server_id":18,"link":"photo_1149650.html","width":130,"caption":"Flooding 07\/07\/07","height":98});
															thumbnails[524740] = clik.newPhoto({"id":524740,"src":"DSC05285 copy_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_524740.html","width":130,"caption":"All Saints in Winterton","height":87});
															thumbnails[3052592] = clik.newPhoto({"id":3052592,"src":"Summer_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_3052592.html","width":130,"caption":"Twigmoor Woods ","height":107});
															thumbnails[1842561] = clik.newPhoto({"id":1842561,"src":"Reflection2_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_1842561.html","width":130,"caption":"04 Ladybower Reflections","height":74});
															thumbnails[1779713] = clik.newPhoto({"id":1779713,"src":"Countryside500px_thumb.jpg","galleries_id":399464,"server_id":18,"link":"photo_1779713.html","width":130,"caption":"Beautiful Day","height":107});
															thumbnails[7229871] = clik.newPhoto({"id":7229871,"src":"Fallow_Deer_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7229871.html","width":130,"caption":"Feeding time","height":117});
															thumbnails[5309480] = clik.newPhoto({"id":5309480,"src":"Reflection_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309480.html","width":130,"caption":"05 Ladybower snow","height":98});
															thumbnails[3801332] = clik.newPhoto({"id":3801332,"src":"Bluebells_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_3801332.html","width":130,"caption":"Bluebell woodland","height":97});
															thumbnails[1915741] = clik.newPhoto({"id":1915741,"src":"Colourchurchborder_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_1915741.html","width":130,"caption":"St Helens, Kirmington","height":95});
															thumbnails[5310954] = clik.newPhoto({"id":5310954,"src":"Xmas_tree_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5310954.html","width":130,"caption":"Xmas tree","height":140});
															thumbnails[6576274] = clik.newPhoto({"id":6576274,"src":"Clickpic_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_6576274.html","width":130,"caption":"","height":181});
															thumbnails[6576457] = clik.newPhoto({"id":6576457,"src":"Sacrifice_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_6576457.html","width":130,"caption":"Headstone","height":104});
															thumbnails[3801661] = clik.newPhoto({"id":3801661,"src":"Bluebells2_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_3801661.html","width":130,"caption":"Bluebells 02","height":131});
															thumbnails[2414983] = clik.newPhoto({"id":2414983,"src":"heli500_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_2414983.html","width":130,"caption":"Acrobatic Lynx","height":147});
															thumbnails[2342947] = clik.newPhoto({"id":2342947,"src":"4web_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_2342947.html","width":130,"caption":"Time for an evening stroll....","height":106});
															thumbnails[2342476] = clik.newPhoto({"id":2342476,"src":"Ladybower_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2342476.html","width":130,"caption":"Sunny June Afternoon","height":84});
															thumbnails[7864050] = clik.newPhoto({"id":7864050,"src":"Megan_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7864050.html","width":130,"caption":"","height":168});
															thumbnails[7800113] = clik.newPhoto({"id":7800113,"src":"Young_Deer_copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7800113.html","width":130,"caption":"07 Normanby Deer","height":87});
															thumbnails[6844725] = clik.newPhoto({"id":6844725,"src":"Bluebells2_copy_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6844725.html","width":130,"caption":"Bluebells 2010","height":132});
															thumbnails[5170943] = clik.newPhoto({"id":5170943,"src":"St_Lawrences_at_night_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_5170943.html","width":130,"caption":"Night time church","height":95});
															thumbnails[3483875] = clik.newPhoto({"id":3483875,"src":"RedHelicopter_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_3483875.html","width":130,"caption":"Former RAF Gazelle","height":107});
															thumbnails[3280169] = clik.newPhoto({"id":3280169,"src":"rock_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_3280169.html","width":130,"caption":"Rocks of Stanage Edge","height":90});
															thumbnails[1932409] = clik.newPhoto({"id":1932409,"src":"Sandtoft101_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_1932409.html","width":130,"caption":"Sandtoft Airfield 09\/03\/08","height":81});
															thumbnails[7864061] = clik.newPhoto({"id":7864061,"src":"Megan_BW_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7864061.html","width":130,"caption":"","height":189});
															thumbnails[4706034] = clik.newPhoto({"id":4706034,"src":"Bikefront_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_4706034.html","width":130,"caption":"Police Bike","height":167});
															thumbnails[5778751] = clik.newPhoto({"id":5778751,"src":"Plane_E9B1DA4D-1D09-001F-99A6F4B08F0AEF0B_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_5778751.html","width":130,"caption":"Colourful Plane","height":84});
															thumbnails[5310977] = clik.newPhoto({"id":5310977,"src":"Snowchurch_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_5310977.html","width":130,"caption":"West Halton","height":93});
															thumbnails[5309514] = clik.newPhoto({"id":5309514,"src":"Farmer_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309514.html","width":130,"caption":"Wintry November","height":79});
															thumbnails[2013388] = clik.newPhoto({"id":2013388,"src":"daffodilborder_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_2013388.html","width":130,"caption":"Daffodil - Spring 2008","height":134});
															thumbnails[1900053] = clik.newPhoto({"id":1900053,"src":"100_1017 copy_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_1900053.html","width":130,"caption":"02 Nottingham Eye 27\/02\/08","height":173});
															thumbnails[7981693] = clik.newPhoto({"id":7981693,"src":"All_four_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7981693.html","width":130,"caption":"","height":216});
															thumbnails[5310984] = clik.newPhoto({"id":5310984,"src":"St_John_the_Baptist_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_5310984.html","width":130,"caption":"Alkborough Church","height":84});
															thumbnails[3594609] = clik.newPhoto({"id":3594609,"src":"Daffclose_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_3594609.html","width":130,"caption":"Close up daffodil spring 2009","height":138});
															thumbnails[5534182] = clik.newPhoto({"id":5534182,"src":"Biplane_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_5534182.html","width":130,"caption":"Bi-plane","height":63});
															thumbnails[2074670] = clik.newPhoto({"id":2074670,"src":"Waterfall copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2074670.html","width":130,"caption":"Peak District stream ","height":127});
															thumbnails[4334161] = clik.newPhoto({"id":4334161,"src":"Bridge_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_4334161.html","width":130,"caption":"Upper Burbage Bridge","height":94});
															thumbnails[7132162] = clik.newPhoto({"id":7132162,"src":"St_Johns_Small_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_7132162.html","width":130,"caption":"St John's in the snow","height":104});
															thumbnails[4763305] = clik.newPhoto({"id":4763305,"src":"St_Johns_copy_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_4763305.html","width":130,"caption":"St Johns, Scunthorpe","height":194});
															thumbnails[5309342] = clik.newPhoto({"id":5309342,"src":"View1_copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309342.html","width":130,"caption":"Snowy Peak District beauty....","height":106});
															thumbnails[3682957] = clik.newPhoto({"id":3682957,"src":"Plane_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_3682957.html","width":130,"caption":"02 Sandtoft Airfield","height":106});
															thumbnails[2237390] = clik.newPhoto({"id":2237390,"src":"St Issells copy2_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_2237390.html","width":130,"caption":"St Issell's, Wales","height":168});
															thumbnails[7981687] = clik.newPhoto({"id":7981687,"src":"Tryp1websig_clickpic_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7981687.html","width":130,"caption":"","height":67});
															thumbnails[7425974] = clik.newPhoto({"id":7425974,"src":"Model_Triptych500_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7425974.html","width":130,"caption":"","height":66});
															thumbnails[1842525] = clik.newPhoto({"id":1842525,"src":"Uptop_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_1842525.html","width":130,"caption":"Stanage Edge ","height":87});
															thumbnails[875815] = clik.newPhoto({"id":875815,"src":"Barnby Dun Church_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_875815.html","width":130,"caption":"Barnby Dunn","height":184});
															thumbnails[7422556] = clik.newPhoto({"id":7422556,"src":"Jadesmall_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7422556.html","width":130,"caption":"","height":184});
															thumbnails[7094890] = clik.newPhoto({"id":7094890,"src":"Woodland_copy_copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7094890.html","width":130,"caption":"04 Autumn in the woods","height":124});
															thumbnails[2432743] = clik.newPhoto({"id":2432743,"src":"cloud-1_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2432743.html","width":130,"caption":"Gigantic cloud","height":78});
															thumbnails[2387461] = clik.newPhoto({"id":2387461,"src":"All Saints_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_2387461.html","width":130,"caption":"All Saints, Mattersey","height":210});
															thumbnails[3052523] = clik.newPhoto({"id":3052523,"src":"NormHall_thumb.JPG","galleries_id":298872,"server_id":18,"link":"photo_3052523.html","width":130,"caption":"08 Normanby Hall thru' the trees","height":129});
															thumbnails[3643638] = clik.newPhoto({"id":3643638,"src":"Haxey_thumb.JPG","galleries_id":399401,"server_id":18,"link":"photo_3643638.html","width":130,"caption":"Church view, Haxey","height":176});
															thumbnails[2414982] = clik.newPhoto({"id":2414982,"src":"Vulcan500_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_2414982.html","width":130,"caption":"Vulcan at RAF Waddington 2008","height":146});
															thumbnails[2304112] = clik.newPhoto({"id":2304112,"src":"Village5_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2304112.html","width":130,"caption":"Evening Sunshine","height":80});
															thumbnails[7981699] = clik.newPhoto({"id":7981699,"src":"Casual_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7981699.html","width":130,"caption":"","height":163});
															thumbnails[7981701] = clik.newPhoto({"id":7981701,"src":"Tansyweb_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7981701.html","width":130,"caption":"","height":180});
															thumbnails[7981707] = clik.newPhoto({"id":7981707,"src":"Girl_in_Poppy_Field_copy_thumb.jpg","galleries_id":211026,"server_id":18,"link":"photo_7981707.html","width":130,"caption":"","height":99});
															thumbnails[961001] = clik.newPhoto({"id":961001,"src":"trophytwo-1_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_961001.html","width":130,"caption":"(Football) Scunthorpe United win the League One title for the 2006 \/ 2007 season","height":174});
															thumbnails[7132235] = clik.newPhoto({"id":7132235,"src":"Normanby_Hall_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7132235.html","width":130,"caption":"Sundial","height":112});
															thumbnails[6508484] = clik.newPhoto({"id":6508484,"src":"AirAmb_thumb.jpg","galleries_id":251281,"server_id":18,"link":"photo_6508484.html","width":130,"caption":"01 Air Ambulance","height":184});
															thumbnails[6844764] = clik.newPhoto({"id":6844764,"src":"Newark_castle_copy_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_6844764.html","width":130,"caption":"Newark Castle","height":207});
															thumbnails[3802771] = clik.newPhoto({"id":3802771,"src":"Ripon_thumb.JPG","galleries_id":399401,"server_id":18,"link":"photo_3802771.html","width":130,"caption":"Ripon Cathedral","height":190});
															thumbnails[2890955] = clik.newPhoto({"id":2890955,"src":"DSC04151_thumb.JPG","galleries_id":67199,"server_id":18,"link":"photo_2890955.html","width":129,"caption":"Pirate Ship","height":171});
															thumbnails[1361140] = clik.newPhoto({"id":1361140,"src":"butterfly_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_1361140.html","width":130,"caption":"02 Butterfly feeding","height":143});
															thumbnails[5309667] = clik.newPhoto({"id":5309667,"src":"Donny_Road_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5309667.html","width":130,"caption":"Autumn Colours","height":155});
															thumbnails[6576332] = clik.newPhoto({"id":6576332,"src":"Fly_thumb.jpg","galleries_id":399439,"server_id":18,"link":"photo_6576332.html","width":130,"caption":"Hover Fly","height":146});
															thumbnails[5235799] = clik.newPhoto({"id":5235799,"src":"HDR_Dam_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5235799.html","width":130,"caption":"01 Derwent Dam","height":97});
															thumbnails[4711624] = clik.newPhoto({"id":4711624,"src":"Lincoln_Cathedral_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_4711624.html","width":130,"caption":"Lincoln Cathedral 02","height":194});
															thumbnails[4458612] = clik.newPhoto({"id":4458612,"src":"Mill2_thumb.jpg","galleries_id":399402,"server_id":18,"link":"photo_4458612.html","width":130,"caption":"Cromford Canal","height":148});
															thumbnails[5311192] = clik.newPhoto({"id":5311192,"src":"Towers_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5311192.html","width":130,"caption":"Three Towers","height":189});
															thumbnails[1759523] = clik.newPhoto({"id":1759523,"src":"Derwent Dam copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_1759523.html","width":130,"caption":"02 Derwent Dam","height":101});
															thumbnails[4242908] = clik.newPhoto({"id":4242908,"src":"Ladybower_copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_4242908.html","width":130,"caption":"03 Derwent Dam","height":87});
															thumbnails[6844588] = clik.newPhoto({"id":6844588,"src":"Main_Door_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_6844588.html","width":130,"caption":"Lincoln Cathedral 03","height":203});
															thumbnails[5309370] = clik.newPhoto({"id":5309370,"src":"HighSt_copy_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_5309370.html","width":130,"caption":"Christmas in Castleton","height":150});
															thumbnails[5168300] = clik.newPhoto({"id":5168300,"src":"Ravendale_St_thumb.jpg","galleries_id":298755,"server_id":18,"link":"photo_5168300.html","width":130,"caption":"Christmas Lights","height":200});
															thumbnails[3801396] = clik.newPhoto({"id":3801396,"src":"Church2_thumb.JPG","galleries_id":399401,"server_id":18,"link":"photo_3801396.html","width":130,"caption":"Bothamsall, Nottinghamshire","height":157});
															thumbnails[888506] = clik.newPhoto({"id":888506,"src":"Amcotts Church_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_888506.html","width":130,"caption":"Amcotts village church","height":156});
															thumbnails[4241631] = clik.newPhoto({"id":4241631,"src":"Church_1_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_4241631.html","width":130,"caption":"St Hybald's, Hibaldstow","height":177});
															thumbnails[7094929] = clik.newPhoto({"id":7094929,"src":"Church_View_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_7094929.html","width":130,"caption":"Perlethopre, St John's Church","height":155});
															thumbnails[2743203] = clik.newPhoto({"id":2743203,"src":"Clumber Park_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_2743203.html","width":130,"caption":"Clumber Park","height":183});
															thumbnails[2743213] = clik.newPhoto({"id":2743213,"src":"DSC04476small_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_2743213.html","width":130,"caption":"Clumber Park church","height":152});
															thumbnails[4617479] = clik.newPhoto({"id":4617479,"src":"St_Peters_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_4617479.html","width":130,"caption":"Church of St Peter ad Vincula","height":195});
															thumbnails[4272465] = clik.newPhoto({"id":4272465,"src":"Killingsmall_copy_thumb.jpg","galleries_id":399401,"server_id":18,"link":"photo_4272465.html","width":130,"caption":"St Deny's","height":186});
															thumbnails[2342931] = clik.newPhoto({"id":2342931,"src":"3web_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_2342931.html","width":130,"caption":"What you looking at?","height":151});
															thumbnails[1308113] = clik.newPhoto({"id":1308113,"src":"View222_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_1308113.html","width":130,"caption":"01 Hillside View","height":192});
															thumbnails[7390532] = clik.newPhoto({"id":7390532,"src":"Colourful_small_copy_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_7390532.html","width":130,"caption":"Snowdrop 01","height":180});
															thumbnails[5607049] = clik.newPhoto({"id":5607049,"src":"Gull_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_5607049.html","width":130,"caption":"Black headed gull","height":135});
															thumbnails[3622972] = clik.newPhoto({"id":3622972,"src":"trees_thumb.JPG","galleries_id":298872,"server_id":18,"link":"photo_3622972.html","width":130,"caption":"09 Normanby Hall in the Spring","height":195});
															thumbnails[2304193] = clik.newPhoto({"id":2304193,"src":"Hillside_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2304193.html","width":130,"caption":"02 Hillside View","height":194});
															thumbnails[7229874] = clik.newPhoto({"id":7229874,"src":"stag_copy_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_7229874.html","width":130,"caption":"10 Normanby Stag","height":155});
															thumbnails[6844601] = clik.newPhoto({"id":6844601,"src":"Hathersage_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_6844601.html","width":130,"caption":"Hathersage village","height":149});
															thumbnails[5926572] = clik.newPhoto({"id":5926572,"src":"Blue_Flower_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_5926572.html","width":130,"caption":"Blueness....","height":186});
															thumbnails[5315708] = clik.newPhoto({"id":5315708,"src":"Robin_copy_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_5315708.html","width":130,"caption":"Robin in tree","height":210});
															thumbnails[4242828] = clik.newPhoto({"id":4242828,"src":"pop_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_4242828.html","width":130,"caption":"Poppy Field","height":176});
															thumbnails[2590088] = clik.newPhoto({"id":2590088,"src":"Duck_thumb.jpg","galleries_id":399438,"server_id":18,"link":"photo_2590088.html","width":130,"caption":"Duck","height":182});
															thumbnails[2342929] = clik.newPhoto({"id":2342929,"src":"1web_thumb.jpg","galleries_id":298872,"server_id":18,"link":"photo_2342929.html","width":130,"caption":"Young Deer","height":165});
															thumbnails[6269958] = clik.newPhoto({"id":6269958,"src":"Another_Poppy_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6269958.html","width":130,"caption":"Single poppy","height":175});
															thumbnails[6093626] = clik.newPhoto({"id":6093626,"src":"Etherow_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_6093626.html","width":130,"caption":"River Etherow","height":183});
															thumbnails[2162525] = clik.newPhoto({"id":2162525,"src":"A Summers Day copy_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_2162525.html","width":130,"caption":"Rape Seed Field ","height":199});
															thumbnails[6508386] = clik.newPhoto({"id":6508386,"src":"Derwent_Edge_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_6508386.html","width":130,"caption":"Derwent Valley, Derbyshire","height":178});
															thumbnails[6093616] = clik.newPhoto({"id":6093616,"src":"Daisies_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6093616.html","width":130,"caption":"Daisies in the wild","height":174});
															thumbnails[3052444] = clik.newPhoto({"id":3052444,"src":"SwanForward_thumb.JPG","galleries_id":399438,"server_id":18,"link":"photo_3052444.html","width":130,"caption":"Swan","height":190});
															thumbnails[6576319] = clik.newPhoto({"id":6576319,"src":"Pink_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6576319.html","width":130,"caption":"Pinkness....","height":191});
															thumbnails[6576305] = clik.newPhoto({"id":6576305,"src":"Blue_Flower_916957A7-1D09-001F-997168869E716DE5_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_6576305.html","width":130,"caption":"A blue flower...","height":178});
															thumbnails[2071064] = clik.newPhoto({"id":2071064,"src":"Derbyshire Sunset_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2071064.html","width":130,"caption":"Winnats Pass","height":200});
															thumbnails[3683061] = clik.newPhoto({"id":3683061,"src":"Tree_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_3683061.html","width":130,"caption":"Clumber Park, Sherwood Forest","height":192});
															thumbnails[3656419] = clik.newPhoto({"id":3656419,"src":"Clumber_Lake_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_3656419.html","width":130,"caption":"Sherwood Forest","height":200});
															thumbnails[3405623] = clik.newPhoto({"id":3405623,"src":"Arse_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_3405623.html","width":130,"caption":"Cave Entrance","height":170});
															thumbnails[2918823] = clik.newPhoto({"id":2918823,"src":"DSC04447_thumb.JPG","galleries_id":399437,"server_id":18,"link":"photo_2918823.html","width":130,"caption":"Woodland Path","height":180});
															thumbnails[2304380] = clik.newPhoto({"id":2304380,"src":"Callow_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2304380.html","width":130,"caption":"Callow Bank Farm","height":163});
															thumbnails[1063277] = clik.newPhoto({"id":1063277,"src":"treesblurborder_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_1063277.html","width":130,"caption":"Willingham Woods, Market Rasen","height":192});
															thumbnails[713734] = clik.newPhoto({"id":713734,"src":"BritishWoodland_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_713734.html","width":130,"caption":"British Woodland","height":194});
															thumbnails[5530424] = clik.newPhoto({"id":5530424,"src":"Snowdrops2_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_5530424.html","width":130,"caption":"Snowdrops 02","height":194});
															thumbnails[2304283] = clik.newPhoto({"id":2304283,"src":"Cement_thumb.jpg","galleries_id":138850,"server_id":18,"link":"photo_2304283.html","width":130,"caption":"Employment in the Peaks","height":180});
															thumbnails[5534172] = clik.newPhoto({"id":5534172,"src":"Snowdrop_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_5534172.html","width":130,"caption":"More Snowdrops","height":212});
															thumbnails[5671058] = clik.newPhoto({"id":5671058,"src":"Yellow_Flower_thumb.jpg","galleries_id":399437,"server_id":18,"link":"photo_5671058.html","width":130,"caption":"Yellow Daisy Flowers","height":167});
															thumbnails[7743799] = clik.newPhoto({"id":7743799,"src":"Images_copy_copy_thumb.jpg","galleries_id":67199,"server_id":18,"link":"photo_7743799.html","width":130,"caption":"","height":124});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[399399] = clik.newGallery({"parentGallery":399398,"usePopups":true,"title":"Bridges","link":"gallery_399399.html","maxRecords":0.0,"photoIDs":[1867711.0,1088345.0,5671062.0,6844782.0,7402730.0],"skipIndex":0,"section_code":"gallery","featured_images":1867711.0,"id":399399,"singleSection":false});				  						galleries[399401] = clik.newGallery({"parentGallery":399398,"usePopups":true,"title":"Churches","link":"gallery_399401.html","maxRecords":0.0,"photoIDs":[5828571.0,7402732.0,3276693.0,2637280.0,8411307.0,9038254.0,6576487.0,5926520.0,2504560.0,7229876.0,1380271.0,1809316.0,5309823.0,524740.0,1915741.0,6576457.0,5170943.0,5310977.0,5310984.0,7132162.0,4763305.0,2237390.0,875815.0,2387461.0,3643638.0,3802771.0,4711624.0,6844588.0,3801396.0,888506.0,4241631.0,7094929.0,2743203.0,2743213.0,4617479.0,4272465.0],"skipIndex":0,"section_code":"gallery","featured_images":4272465.0,"id":399401,"singleSection":false});				  						galleries[399437] = clik.newGallery({"parentGallery":399430,"usePopups":true,"title":"Plants, Flowers & Trees","link":"gallery_399437.html","maxRecords":0.0,"photoIDs":[8411266.0,8411423.0,5671055.0,6844701.0,3405746.0,4192547.0,4866641.0,5381639.0,4930540.0,6269964.0,2181022.0,1980864.0,3052592.0,3801332.0,3801661.0,6844725.0,2013388.0,3594609.0,7390532.0,5926572.0,4242828.0,6269958.0,2162525.0,6093616.0,6576319.0,6576305.0,3683061.0,3656419.0,2918823.0,1063277.0,713734.0,5530424.0,5534172.0,5671058.0],"skipIndex":0,"section_code":"gallery","featured_images":4242828.0,"id":399437,"singleSection":false});				  						galleries[399398] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Architecture and Buildings","link":"gallery_399398.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6844764,4272465,1867711","id":399398,"singleSection":false});				  						galleries[399438] = clik.newGallery({"parentGallery":399430,"usePopups":true,"title":"Birds","link":"gallery_399438.html","maxRecords":0.0,"photoIDs":[7132164.0,5530431.0,3511583.0,5828565.0,3623003.0,5607049.0,5315708.0,2590088.0,3052444.0],"skipIndex":0,"section_code":"gallery","featured_images":5315708.0,"id":399438,"singleSection":false});				  						galleries[399402] = clik.newGallery({"parentGallery":399398,"usePopups":true,"title":"Other","link":"gallery_399402.html","maxRecords":0.0,"photoIDs":[2232442.0,1860546.0,2231401.0,2701219.0,3683204.0,4242858.0,1900045.0,1800451.0,1800565.0,8411366.0,6844764.0,4458612.0],"skipIndex":0,"section_code":"gallery","featured_images":6844764.0,"id":399402,"singleSection":false});				  						galleries[211026] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"People & Portraits","link":"gallery_211026.html","maxRecords":0.0,"photoIDs":[6269975.0,6274340.0,5452169.0,4109723.0,6508489.0,6576274.0,7864050.0,7864061.0,7981693.0,7981687.0,7425974.0,7422556.0,7981699.0,7981701.0,7981707.0],"skipIndex":0,"section_code":"gallery","featured_images":6576274.0,"id":211026,"singleSection":false});				  						galleries[399430] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Natural World","link":"gallery_399430.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"6576332,5315708,4471805,4242828","id":399430,"singleSection":false});				  						galleries[399464] = clik.newGallery({"parentGallery":399430,"usePopups":true,"title":"Landscapes","link":"gallery_399464.html","maxRecords":0.0,"photoIDs":[6634940.0,7132234.0,7229880.0,1149650.0,1779713.0],"skipIndex":0,"section_code":"gallery","featured_images":"7229880,7132234,6634940,1779713,1149650","id":399464,"singleSection":false});				  						galleries[298755] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Scunthorpe and North Lincolnshire","link":"gallery_298755.html","maxRecords":0.0,"photoIDs":[5309616.0,5309702.0,5309790.0,5310928.0,5309717.0,7229877.0,5311965.0,5311968.0,5311008.0,7229879.0,5310954.0,5309667.0,5311192.0,5168300.0],"skipIndex":0,"section_code":"gallery","featured_images":5309616.0,"id":298755,"singleSection":false});				  						galleries[138850] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Peak District","link":"gallery_138850.html","maxRecords":0.0,"photoIDs":[7286614.0,6844570.0,6508470.0,6508472.0,7094860.0,5309446.0,5309399.0,1308141.0,5309334.0,1842550.0,1842561.0,5309480.0,2342476.0,3280169.0,5309514.0,2074670.0,4334161.0,5309342.0,1842525.0,2432743.0,2304112.0,5235799.0,1759523.0,4242908.0,5309370.0,1308113.0,2304193.0,6844601.0,6093626.0,6508386.0,2071064.0,3405623.0,2304380.0,2304283.0],"skipIndex":0,"section_code":"gallery","featured_images":7286614.0,"id":138850,"singleSection":false});				  						galleries[251281] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Aircraft","link":"gallery_251281.html","maxRecords":0.0,"photoIDs":[6576527.0,5926483.0,1777485.0,2164610.0,2332838.0,6269937.0,7759855.0,4471618.0,4482277.0,4242291.0,6269922.0,5311979.0,4242352.0,2414983.0,3483875.0,1932409.0,5778751.0,5534182.0,3682957.0,2414982.0,6508484.0],"skipIndex":0,"section_code":"gallery","featured_images":6576527.0,"id":251281,"singleSection":false});				  						galleries[399439] = clik.newGallery({"parentGallery":399430,"usePopups":true,"title":"Insects","link":"gallery_399439.html","maxRecords":0.0,"photoIDs":[2890785.0,1266053.0,1261913.0,4471805.0,8411468.0,1361140.0,6576332.0],"skipIndex":0,"section_code":"gallery","featured_images":"6576332,4471805","id":399439,"singleSection":false});				  						galleries[67199] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"General","link":"gallery_67199.html","maxRecords":0.0,"photoIDs":[7095130.0,1239534.0,4458582.0,4585948.0,4706034.0,1900053.0,961001.0,2890955.0,7743799.0],"skipIndex":0,"section_code":"gallery","featured_images":7095130.0,"id":67199,"singleSection":false});				  						galleries[399440] = clik.newGallery({"parentGallery":399430,"usePopups":true,"title":"Animals","link":"gallery_399440.html","maxRecords":0.0,"photoIDs":[7286753.0,847364.0,2304180.0],"skipIndex":0,"section_code":"gallery","featured_images":"7286753,2304180,847364","id":399440,"singleSection":false});				  						galleries[298872] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Normanby Park","link":"gallery_298872.html","maxRecords":0.0,"photoIDs":[2890770.0,5828529.0,7132166.0,916668.0,5311963.0,5315313.0,7229869.0,5311072.0,4978494.0,5235825.0,5311960.0,7229873.0,7229871.0,2342947.0,7800113.0,7094890.0,3052523.0,7132235.0,2342931.0,3622972.0,7229874.0,2342929.0],"skipIndex":0,"section_code":"gallery","featured_images":7132166.0,"id":298872,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7743799';
imageSets[2] = '7286614,7095130,6576527,5309616,1867711,7132166,4471805,6576274,6844764,6576332,4272465,5315708,4242828';
imageSets[3] = '9038254,8411468,8411423,8411366,8411307,8411266,7981707,7981701,7981699,7981693,7981687,7864061,7864050,7800113,7759855,7743799,7425974,7422556,7402732,7402730,7390532,7286753,7286614,7229880,7229879,7229877,7229876,7229874,7229873,7229871,7229869,7132235,7132234,7132166,7132164,7132162,7095130,7094929,7094890,7094860,6844782,6844764,6844725,6844701,6844601,6844588,6844570,6634940,6576527,6576487';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Simpson/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Simpson/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Simpson/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Simpson/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/Simpson/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/Simpson/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Simpson/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/Simpson/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 = 'Paul Simpson Photography: ' + 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>';
	}
				
	temp += this.fnGetPaymentInfo();
				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>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="SIMPSON">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

