window.thumbnails = {};
															thumbnails[3372081] = clik.newPhoto({"id":3372081,"src":"_MG_3753_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3372081.html","width":130,"caption":"Fox","height":87});
															thumbnails[3372386] = clik.newPhoto({"id":3372386,"src":"_MG_3769_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3372386.html","width":130,"caption":"Fox","height":87});
															thumbnails[7333589] = clik.newPhoto({"id":7333589,"src":"_MG_3747_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_7333589.html","width":130,"caption":"Fox","height":87});
															thumbnails[4735126] = clik.newPhoto({"id":4735126,"src":"_MG_6943_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4735126.html","width":130,"caption":"Grey Seal","height":87});
															thumbnails[4735129] = clik.newPhoto({"id":4735129,"src":"_MG_7037_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4735129.html","width":130,"caption":"Grey Seal","height":87});
															thumbnails[4735130] = clik.newPhoto({"id":4735130,"src":"_MG_7241_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4735130.html","width":130,"caption":"Grey Seal","height":87});
															thumbnails[4735162] = clik.newPhoto({"id":4735162,"src":"_MG_7286_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4735162.html","width":130,"caption":"Grey Seal","height":87});
															thumbnails[4735168] = clik.newPhoto({"id":4735168,"src":"_MG_7472_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4735168.html","width":130,"caption":"Grey Seal","height":87});
															thumbnails[4770508] = clik.newPhoto({"id":4770508,"src":"_MG_7793_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4770508.html","width":130,"caption":"Grey Seal","height":87});
															thumbnails[3927190] = clik.newPhoto({"id":3927190,"src":"_MG_2925_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3927190.html","width":130,"caption":"Irish Mountain Hare","height":87});
															thumbnails[3927194] = clik.newPhoto({"id":3927194,"src":"_MG_2926_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3927194.html","width":130,"caption":"Irish Mountain Hare","height":87});
															thumbnails[3927199] = clik.newPhoto({"id":3927199,"src":"_MG_2987_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3927199.html","width":130,"caption":"Irish Mountain Hare","height":87});
															thumbnails[7333063] = clik.newPhoto({"id":7333063,"src":"_MG_1866_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_7333063.html","width":130,"caption":"Irish Mountain Hare","height":87});
															thumbnails[4928745] = clik.newPhoto({"id":4928745,"src":"_MG_8261_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4928745.html","width":130,"caption":"Sika Deer","height":87});
															thumbnails[4928784] = clik.newPhoto({"id":4928784,"src":"_MG_8296_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4928784.html","width":130,"caption":"Sika Deer","height":87});
															thumbnails[4928800] = clik.newPhoto({"id":4928800,"src":"_MG_8381_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4928800.html","width":87,"caption":"Sika Deer","height":130});
															thumbnails[4928874] = clik.newPhoto({"id":4928874,"src":"_MG_8407_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_4928874.html","width":130,"caption":"Sika Deer","height":87});
															thumbnails[3372141] = clik.newPhoto({"id":3372141,"src":"_MG_9924_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3372141.html","width":130,"caption":"Fallow Deer","height":87});
															thumbnails[5500641] = clik.newPhoto({"id":5500641,"src":"_MG_1218_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_5500641.html","width":130,"caption":"Fallow Deer","height":87});
															thumbnails[6201310] = clik.newPhoto({"id":6201310,"src":"_MG_0232_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_6201310.html","width":130,"caption":"Fallow Deer","height":87});
															thumbnails[6203175] = clik.newPhoto({"id":6203175,"src":"_MG_0240_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_6203175.html","width":130,"caption":"Fallow Deer","height":87});
															thumbnails[3515545] = clik.newPhoto({"id":3515545,"src":"_MG_7372_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_3515545.html","width":130,"caption":"Grey Squirrel","height":87});
															thumbnails[6763017] = clik.newPhoto({"id":6763017,"src":"_MG_2928_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_6763017.html","width":130,"caption":"Grey Squrrill","height":87});
															thumbnails[6763031] = clik.newPhoto({"id":6763031,"src":"_MG_2938_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_6763031.html","width":130,"caption":"Grey Squrrill","height":87});
															thumbnails[6066674] = clik.newPhoto({"id":6066674,"src":"_MG_2392_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_6066674.html","width":130,"caption":"Rathlin Island Golden Hare","height":87});
															thumbnails[6066680] = clik.newPhoto({"id":6066680,"src":"_MG_2549_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_6066680.html","width":130,"caption":"Rathlin Island Golden Hare","height":87});
															thumbnails[7333097] = clik.newPhoto({"id":7333097,"src":"_MG_2558_thumb.JPG","galleries_id":205911,"server_id":32,"link":"photo_7333097.html","width":130,"caption":"Rathlin Island Golden Hare","height":87});
															thumbnails[7407244] = clik.newPhoto({"id":7407244,"src":"_MG_3687_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7407244.html","width":130,"caption":"Dunnock","height":87});
															thumbnails[7354069] = clik.newPhoto({"id":7354069,"src":"_MG_1355_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354069.html","width":130,"caption":"Tufted Duck","height":87});
															thumbnails[7354100] = clik.newPhoto({"id":7354100,"src":"_MG_1359_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354100.html","width":130,"caption":"Tufted Duck","height":87});
															thumbnails[7354180] = clik.newPhoto({"id":7354180,"src":"_MG_5738_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354180.html","width":130,"caption":"Tufted Duck","height":87});
															thumbnails[7354246] = clik.newPhoto({"id":7354246,"src":"_MG_5731_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354246.html","width":130,"caption":"Tufted Duck","height":87});
															thumbnails[7396489] = clik.newPhoto({"id":7396489,"src":"_MG_1487_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7396489.html","width":130,"caption":"Tufted Duck","height":87});
															thumbnails[7396756] = clik.newPhoto({"id":7396756,"src":"_MG_9552_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7396756.html","width":130,"caption":"Tufted Duck","height":87});
															thumbnails[7353965] = clik.newPhoto({"id":7353965,"src":"_MG_2738_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7353965.html","width":130,"caption":"Barn Swallow","height":87});
															thumbnails[7353980] = clik.newPhoto({"id":7353980,"src":"_MG_2739_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7353980.html","width":130,"caption":"Barn Swallow","height":87});
															thumbnails[7354033] = clik.newPhoto({"id":7354033,"src":"_MG_2745_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354033.html","width":130,"caption":"Barn Swallow","height":87});
															thumbnails[3877816] = clik.newPhoto({"id":3877816,"src":"_MG_2578_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3877816.html","width":130,"caption":"Puffin","height":87});
															thumbnails[3877817] = clik.newPhoto({"id":3877817,"src":"_MG_2616_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3877817.html","width":130,"caption":"Puffin","height":87});
															thumbnails[7319033] = clik.newPhoto({"id":7319033,"src":"_MG_1511_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319033.html","width":130,"caption":"Puffin","height":87});
															thumbnails[8276196] = clik.newPhoto({"id":8276196,"src":"_MG_1503_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276196.html","width":130,"caption":"Puffin","height":87});
															thumbnails[8276198] = clik.newPhoto({"id":8276198,"src":"_MG_1759_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276198.html","width":130,"caption":"Puffin","height":87});
															thumbnails[8276207] = clik.newPhoto({"id":8276207,"src":"puffin_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276207.html","width":130,"caption":"Puffin","height":87});
															thumbnails[8276213] = clik.newPhoto({"id":8276213,"src":"_MG_1714_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276213.html","width":130,"caption":"Puffin","height":87});
															thumbnails[5500671] = clik.newPhoto({"id":5500671,"src":"_MG_1355_B00F6609-24E8-5EC4-4FA2333CAEF8A62F_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_5500671.html","width":130,"caption":"Redwing","height":87});
															thumbnails[8276256] = clik.newPhoto({"id":8276256,"src":"_MG_4034_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276256.html","width":130,"caption":"Redwing","height":87});
															thumbnails[3989714] = clik.newPhoto({"id":3989714,"src":"_MG_2609_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989714.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[7319064] = clik.newPhoto({"id":7319064,"src":"_MG_3001_1_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319064.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[7354493] = clik.newPhoto({"id":7354493,"src":"_MG_6574_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354493.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[8276283] = clik.newPhoto({"id":8276283,"src":"_MG_8885_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276283.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[8276286] = clik.newPhoto({"id":8276286,"src":"_MG_8911_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276286.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[8276288] = clik.newPhoto({"id":8276288,"src":"_MG_8929_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276288.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[3372031] = clik.newPhoto({"id":3372031,"src":"_MG_3582_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372031.html","width":130,"caption":"Stonechat","height":87});
															thumbnails[3941375] = clik.newPhoto({"id":3941375,"src":"_MG_8493_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3941375.html","width":130,"caption":"Stonechat","height":87});
															thumbnails[7354590] = clik.newPhoto({"id":7354590,"src":"_MG_3234_DDF93D54-24E8-5EC4-4FD2F82715D046F7_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354590.html","width":130,"caption":"Stonechat","height":87});
															thumbnails[3989468] = clik.newPhoto({"id":3989468,"src":"_MG_3730_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989468.html","width":130,"caption":"Shag","height":87});
															thumbnails[7319084] = clik.newPhoto({"id":7319084,"src":"_MG_6305_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319084.html","width":87,"caption":"Shag","height":130});
															thumbnails[8276335] = clik.newPhoto({"id":8276335,"src":"_MG_6425_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276335.html","width":130,"caption":"Shag","height":87});
															thumbnails[4134249] = clik.newPhoto({"id":4134249,"src":"_MG_5861_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4134249.html","width":130,"caption":"Goldfinch","height":87});
															thumbnails[4134312] = clik.newPhoto({"id":4134312,"src":"_MG_58711_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4134312.html","width":130,"caption":"Goldfinch","height":87});
															thumbnails[3989539] = clik.newPhoto({"id":3989539,"src":"_MG_4647_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989539.html","width":130,"caption":"Peregrine Falcon","height":87});
															thumbnails[3989545] = clik.newPhoto({"id":3989545,"src":"_MG_4649_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989545.html","width":130,"caption":"Peregrine Falcon","height":87});
															thumbnails[3989695] = clik.newPhoto({"id":3989695,"src":"_MG_4710_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989695.html","width":130,"caption":"Peregrine Falcon","height":87});
															thumbnails[7319092] = clik.newPhoto({"id":7319092,"src":"_MG_6461_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319092.html","width":130,"caption":"Peregrine Falcon","height":87});
															thumbnails[3683266] = clik.newPhoto({"id":3683266,"src":"_MG_0284_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3683266.html","width":130,"caption":"Short Eared Owl","height":87});
															thumbnails[3683274] = clik.newPhoto({"id":3683274,"src":"_MG_0438_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3683274.html","width":130,"caption":"Short Eared Owl","height":87});
															thumbnails[4770485] = clik.newPhoto({"id":4770485,"src":"_MG_7716_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4770485.html","width":130,"caption":"Wheatear","height":87});
															thumbnails[8276336] = clik.newPhoto({"id":8276336,"src":"_MG_4441_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276336.html","width":130,"caption":"Wheatear","height":87});
															thumbnails[8276337] = clik.newPhoto({"id":8276337,"src":"_MG_4501_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276337.html","width":130,"caption":"Wheatear","height":87});
															thumbnails[8276340] = clik.newPhoto({"id":8276340,"src":"_MG_4597_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276340.html","width":130,"caption":"Wheatear","height":87});
															thumbnails[7319028] = clik.newPhoto({"id":7319028,"src":"_MG_1989_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319028.html","width":130,"caption":"Common Eider","height":87});
															thumbnails[7319030] = clik.newPhoto({"id":7319030,"src":"_MG_1994_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319030.html","width":130,"caption":"Common Eider","height":87});
															thumbnails[8276351] = clik.newPhoto({"id":8276351,"src":"_MG_1999_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276351.html","width":130,"caption":"Common Eider","height":87});
															thumbnails[3721758] = clik.newPhoto({"id":3721758,"src":"_MG_0637_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3721758.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[3836096] = clik.newPhoto({"id":3836096,"src":"_MG_1453_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3836096.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[4612352] = clik.newPhoto({"id":4612352,"src":"_MG_6480_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4612352.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[4612562] = clik.newPhoto({"id":4612562,"src":"_MG_6641_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4612562.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[7354850] = clik.newPhoto({"id":7354850,"src":"_MG_7250_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354850.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[7354861] = clik.newPhoto({"id":7354861,"src":"_MG_7254_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354861.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[8276354] = clik.newPhoto({"id":8276354,"src":"_MG_3595_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276354.html","width":130,"caption":"Meadow Pipit","height":87});
															thumbnails[6849281] = clik.newPhoto({"id":6849281,"src":"_MG_4809_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6849281.html","width":130,"caption":"Jackdaw","height":87});
															thumbnails[6849327] = clik.newPhoto({"id":6849327,"src":"_MG_4798_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6849327.html","width":130,"caption":"Jackdaw","height":87});
															thumbnails[7407194] = clik.newPhoto({"id":7407194,"src":"_MG_4824_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7407194.html","width":130,"caption":"Jackdaw","height":87});
															thumbnails[3877804] = clik.newPhoto({"id":3877804,"src":"_MG_1775_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3877804.html","width":130,"caption":"Razorbill","height":87});
															thumbnails[3877806] = clik.newPhoto({"id":3877806,"src":"_MG_2282_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3877806.html","width":130,"caption":"Razorbill","height":87});
															thumbnails[3877810] = clik.newPhoto({"id":3877810,"src":"_MG_2250_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3877810.html","width":87,"caption":"Razorbill","height":130});
															thumbnails[8276368] = clik.newPhoto({"id":8276368,"src":"_MG_3156_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276368.html","width":130,"caption":"Razorbill","height":87});
															thumbnails[8276369] = clik.newPhoto({"id":8276369,"src":"_MG_0469_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276369.html","width":130,"caption":"Razorbill","height":87});
															thumbnails[8276372] = clik.newPhoto({"id":8276372,"src":"_MG_0742_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276372.html","width":130,"caption":"Razorbill","height":87});
															thumbnails[4132955] = clik.newPhoto({"id":4132955,"src":"_MG_5298_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4132955.html","width":130,"caption":"Guillemot","height":87});
															thumbnails[4132978] = clik.newPhoto({"id":4132978,"src":"_MG_5290_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4132978.html","width":130,"caption":"Guillemot","height":87});
															thumbnails[4134221] = clik.newPhoto({"id":4134221,"src":"_MG_1837_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4134221.html","width":87,"caption":"Guillemot","height":130});
															thumbnails[8276381] = clik.newPhoto({"id":8276381,"src":"_MG_0718_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276381.html","width":130,"caption":"Guillemot","height":87});
															thumbnails[8276382] = clik.newPhoto({"id":8276382,"src":"_MG_1046_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276382.html","width":87,"caption":"Guillemot","height":130});
															thumbnails[8276385] = clik.newPhoto({"id":8276385,"src":"_MG_1415_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276385.html","width":130,"caption":"Guillemot","height":87});
															thumbnails[8276386] = clik.newPhoto({"id":8276386,"src":"_MG_1440_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276386.html","width":130,"caption":"Guillemot","height":87});
															thumbnails[4133811] = clik.newPhoto({"id":4133811,"src":"_MG_1950_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4133811.html","width":130,"caption":"Fulmar","height":87});
															thumbnails[4612278] = clik.newPhoto({"id":4612278,"src":"_MG_6342_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4612278.html","width":130,"caption":"Fulmar","height":87});
															thumbnails[4612304] = clik.newPhoto({"id":4612304,"src":"_MG_6361_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4612304.html","width":130,"caption":"Fulmar","height":87});
															thumbnails[8276395] = clik.newPhoto({"id":8276395,"src":"_MG_4841_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276395.html","width":130,"caption":"Fulmar","height":87});
															thumbnails[8276397] = clik.newPhoto({"id":8276397,"src":"_MG_4981_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276397.html","width":130,"caption":"Fulmar","height":87});
															thumbnails[8276400] = clik.newPhoto({"id":8276400,"src":"_MG_6005_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276400.html","width":130,"caption":"Fulmar","height":87});
															thumbnails[6805448] = clik.newPhoto({"id":6805448,"src":"_MG_3935_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6805448.html","width":130,"caption":"Linnet","height":87});
															thumbnails[7333608] = clik.newPhoto({"id":7333608,"src":"_MG_8582_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333608.html","width":130,"caption":"Linnet","height":87});
															thumbnails[3941411] = clik.newPhoto({"id":3941411,"src":"_MG_5930_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3941411.html","width":130,"caption":"Teal","height":87});
															thumbnails[7275488] = clik.newPhoto({"id":7275488,"src":"_MG_6063_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275488.html","width":130,"caption":"Teal","height":87});
															thumbnails[7333577] = clik.newPhoto({"id":7333577,"src":"_MG_2815_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333577.html","width":130,"caption":"Teal","height":87});
															thumbnails[3372123] = clik.newPhoto({"id":3372123,"src":"_MG_4701_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372123.html","width":130,"caption":"Redshank","height":87});
															thumbnails[3941414] = clik.newPhoto({"id":3941414,"src":"_MG_5871_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3941414.html","width":130,"caption":"Redshank","height":87});
															thumbnails[7396771] = clik.newPhoto({"id":7396771,"src":"_MG_9037_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7396771.html","width":130,"caption":"Redshank","height":87});
															thumbnails[8276429] = clik.newPhoto({"id":8276429,"src":"_MG_4677_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276429.html","width":130,"caption":"Redshank","height":87});
															thumbnails[3683350] = clik.newPhoto({"id":3683350,"src":"_MG_9379_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3683350.html","width":130,"caption":"Mandarin Duck","height":87});
															thumbnails[7275537] = clik.newPhoto({"id":7275537,"src":"_MG_5714_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275537.html","width":130,"caption":"Mandarin Duck","height":87});
															thumbnails[3683366] = clik.newPhoto({"id":3683366,"src":"_MG_9526_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3683366.html","width":130,"caption":"Little Egret","height":87});
															thumbnails[7333601] = clik.newPhoto({"id":7333601,"src":"_MG_7945_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333601.html","width":130,"caption":"Little Egret","height":87});
															thumbnails[7333603] = clik.newPhoto({"id":7333603,"src":"_MG_8274_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333603.html","width":130,"caption":"Little Egret","height":87});
															thumbnails[7333605] = clik.newPhoto({"id":7333605,"src":"_MG_8279_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333605.html","width":130,"caption":"Little Egret","height":87});
															thumbnails[7354712] = clik.newPhoto({"id":7354712,"src":"_MG_0542_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7354712.html","width":130,"caption":"Little Egret","height":87});
															thumbnails[3372017] = clik.newPhoto({"id":3372017,"src":"_MG_3459_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372017.html","width":130,"caption":"Bar-tailed Godwit","height":87});
															thumbnails[4770425] = clik.newPhoto({"id":4770425,"src":"_MG_7687_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4770425.html","width":130,"caption":"Bar-tailed Godwit","height":87});
															thumbnails[6805332] = clik.newPhoto({"id":6805332,"src":"0004_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6805332.html","width":130,"caption":"Bar-tailed Godwit","height":87});
															thumbnails[8281676] = clik.newPhoto({"id":8281676,"src":"_MG_3454_16F14031-1EC9-DFB6-09B44E0A290C971F_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281676.html","width":130,"caption":"Bar-tailed Godwit","height":87});
															thumbnails[3372108] = clik.newPhoto({"id":3372108,"src":"_MG_4338_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372108.html","width":130,"caption":"Turnstone","height":87});
															thumbnails[6805275] = clik.newPhoto({"id":6805275,"src":"_MG_3616_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6805275.html","width":130,"caption":"Turnstone","height":87});
															thumbnails[6805284] = clik.newPhoto({"id":6805284,"src":"_MG_3695_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6805284.html","width":130,"caption":"Turnstone","height":87});
															thumbnails[6805322] = clik.newPhoto({"id":6805322,"src":"_MG_3696_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6805322.html","width":130,"caption":"Turnstone","height":87});
															thumbnails[7330437] = clik.newPhoto({"id":7330437,"src":"_MG_4829_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330437.html","width":130,"caption":"Moorehen","height":87});
															thumbnails[7330439] = clik.newPhoto({"id":7330439,"src":"_MG_2094_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330439.html","width":130,"caption":"Moorehen","height":87});
															thumbnails[7330514] = clik.newPhoto({"id":7330514,"src":"_MG_2803_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330514.html","width":130,"caption":"Moorehen","height":87});
															thumbnails[7330679] = clik.newPhoto({"id":7330679,"src":"_MG_2819_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330679.html","width":130,"caption":"Moorehen","height":87});
															thumbnails[4133033] = clik.newPhoto({"id":4133033,"src":"_MG_5206_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4133033.html","width":87,"caption":"Cormorant","height":130});
															thumbnails[4133183] = clik.newPhoto({"id":4133183,"src":"_MG_5063_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4133183.html","width":130,"caption":"Cormorant","height":87});
															thumbnails[6147733] = clik.newPhoto({"id":6147733,"src":"_MG_2588_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6147733.html","width":130,"caption":"Cormorant","height":87});
															thumbnails[6147992] = clik.newPhoto({"id":6147992,"src":"_MG_3000_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6147992.html","width":130,"caption":"Cormorant","height":87});
															thumbnails[6148020] = clik.newPhoto({"id":6148020,"src":"_MG_3234_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6148020.html","width":130,"caption":"Cormorant","height":87});
															thumbnails[3372130] = clik.newPhoto({"id":3372130,"src":"_MG_4811_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372130.html","width":130,"caption":"Curlew","height":87});
															thumbnails[3941362] = clik.newPhoto({"id":3941362,"src":"_MG_3693_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3941362.html","width":130,"caption":"Curlew","height":87});
															thumbnails[6805347] = clik.newPhoto({"id":6805347,"src":"_MG_3859_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6805347.html","width":130,"caption":"Curlew","height":87});
															thumbnails[6840408] = clik.newPhoto({"id":6840408,"src":"_MG_4568_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6840408.html","width":130,"caption":"Curlew","height":87});
															thumbnails[6840426] = clik.newPhoto({"id":6840426,"src":"_MG_4540_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6840426.html","width":130,"caption":"Curlew","height":87});
															thumbnails[7330111] = clik.newPhoto({"id":7330111,"src":"_MG_0611_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330111.html","width":130,"caption":"Grey Heron","height":87});
															thumbnails[7330135] = clik.newPhoto({"id":7330135,"src":"_MG_0615_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330135.html","width":130,"caption":"Grey Heron","height":87});
															thumbnails[7330147] = clik.newPhoto({"id":7330147,"src":"_MG_0616_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330147.html","width":130,"caption":"Grey Heron","height":87});
															thumbnails[7330155] = clik.newPhoto({"id":7330155,"src":"_MG_0620_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330155.html","width":130,"caption":"Grey Heron","height":87});
															thumbnails[7330282] = clik.newPhoto({"id":7330282,"src":"_MG_4668_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330282.html","width":130,"caption":"Grey Heron","height":87});
															thumbnails[7333610] = clik.newPhoto({"id":7333610,"src":"_MG_8587_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333610.html","width":130,"caption":"Grey Heron","height":87});
															thumbnails[3372135] = clik.newPhoto({"id":3372135,"src":"_MG_5384_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372135.html","width":130,"caption":"Brent Goose","height":87});
															thumbnails[7275473] = clik.newPhoto({"id":7275473,"src":"_MG_6094_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275473.html","width":130,"caption":"Brent Goose","height":87});
															thumbnails[7333588] = clik.newPhoto({"id":7333588,"src":"_MG_3307_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333588.html","width":130,"caption":"Brent Goose","height":87});
															thumbnails[3372127] = clik.newPhoto({"id":3372127,"src":"_MG_1391_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372127.html","width":130,"caption":"Gannet","height":87});
															thumbnails[3882097] = clik.newPhoto({"id":3882097,"src":"_MG_2402_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3882097.html","width":130,"caption":"Gannet","height":87});
															thumbnails[3882114] = clik.newPhoto({"id":3882114,"src":"_MG_2088_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3882114.html","width":130,"caption":"Gannet","height":87});
															thumbnails[3989438] = clik.newPhoto({"id":3989438,"src":"_MG_3541_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989438.html","width":130,"caption":"Gannet","height":87});
															thumbnails[8281009] = clik.newPhoto({"id":8281009,"src":"_MG_1281_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281009.html","width":130,"caption":"Gannet","height":87});
															thumbnails[8281011] = clik.newPhoto({"id":8281011,"src":"_MG_1345_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281011.html","width":130,"caption":"Gannet","height":87});
															thumbnails[8281015] = clik.newPhoto({"id":8281015,"src":"_MG_1229_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281015.html","width":130,"caption":"Gannet","height":87});
															thumbnails[2258431] = clik.newPhoto({"id":2258431,"src":"_MG_4399_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_2258431.html","width":130,"caption":"Great Black-backed Gull","height":87});
															thumbnails[3989490] = clik.newPhoto({"id":3989490,"src":"_MG_3785_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989490.html","width":130,"caption":"Great Black-backed Gull","height":87});
															thumbnails[3989501] = clik.newPhoto({"id":3989501,"src":"_MG_3801_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989501.html","width":130,"caption":"Great Black-backed Gull","height":87});
															thumbnails[3989515] = clik.newPhoto({"id":3989515,"src":"_MG_3811_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989515.html","width":130,"caption":"Great Black-backed Gull","height":87});
															thumbnails[8276454] = clik.newPhoto({"id":8276454,"src":"_MG_4396_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276454.html","width":130,"caption":"Great Black-backed Gull","height":87});
															thumbnails[7275292] = clik.newPhoto({"id":7275292,"src":"_MG_6149_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275292.html","width":130,"caption":"Pintail Duck","height":87});
															thumbnails[7275296] = clik.newPhoto({"id":7275296,"src":"_MG_6137_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275296.html","width":130,"caption":"Pintail Duck","height":87});
															thumbnails[7275315] = clik.newPhoto({"id":7275315,"src":"_MG_5998_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275315.html","width":130,"caption":"Pintail Duck","height":87});
															thumbnails[7275359] = clik.newPhoto({"id":7275359,"src":"_MG_5954_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275359.html","width":130,"caption":"Pintail Duck","height":87});
															thumbnails[7333598] = clik.newPhoto({"id":7333598,"src":"_MG_5097_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333598.html","width":130,"caption":"Pintail Duck","height":87});
															thumbnails[6840387] = clik.newPhoto({"id":6840387,"src":"_MG_4290_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6840387.html","width":130,"caption":"Little Grebe","height":87});
															thumbnails[7330431] = clik.newPhoto({"id":7330431,"src":"_MG_6600_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330431.html","width":130,"caption":"Little Grebe","height":87});
															thumbnails[7330680] = clik.newPhoto({"id":7330680,"src":"_MG_4374_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7330680.html","width":130,"caption":"Little Grebe","height":87});
															thumbnails[7333057] = clik.newPhoto({"id":7333057,"src":"_MG_4317_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333057.html","width":130,"caption":"Little Grebe","height":87});
															thumbnails[5500658] = clik.newPhoto({"id":5500658,"src":"_MG_1305_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_5500658.html","width":130,"caption":"Robin","height":87});
															thumbnails[8281668] = clik.newPhoto({"id":8281668,"src":"_MG_5387_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281668.html","width":130,"caption":"Robin","height":87});
															thumbnails[3941372] = clik.newPhoto({"id":3941372,"src":"_MG_5421_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3941372.html","width":130,"caption":"Wigeon","height":87});
															thumbnails[8281570] = clik.newPhoto({"id":8281570,"src":"_MG_5410_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281570.html","width":130,"caption":"Wigeon","height":87});
															thumbnails[8281571] = clik.newPhoto({"id":8281571,"src":"_MG_9687_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281571.html","width":130,"caption":"Wigeon","height":87});
															thumbnails[3435664] = clik.newPhoto({"id":3435664,"src":"_MG_6757_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3435664.html","width":130,"caption":"Pied Wag-tail","height":87});
															thumbnails[3683374] = clik.newPhoto({"id":3683374,"src":"_MG_9566_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3683374.html","width":130,"caption":"Lapwing","height":87});
															thumbnails[3683388] = clik.newPhoto({"id":3683388,"src":"_MG_9599_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3683388.html","width":130,"caption":"Black Stork","height":87});
															thumbnails[3941379] = clik.newPhoto({"id":3941379,"src":"_MG_4882_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3941379.html","width":130,"caption":"Oystercatcher","height":87});
															thumbnails[6758272] = clik.newPhoto({"id":6758272,"src":"_MG_2461_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_6758272.html","width":130,"caption":"Mallard Duck","height":87});
															thumbnails[3961322] = clik.newPhoto({"id":3961322,"src":"_MG_3336_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3961322.html","width":130,"caption":"Skylark","height":87});
															thumbnails[3372015] = clik.newPhoto({"id":3372015,"src":"_MG_3454_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3372015.html","width":130,"caption":"Arctic Tern","height":87});
															thumbnails[7333613] = clik.newPhoto({"id":7333613,"src":"_MG_9364_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7333613.html","width":130,"caption":"Red-crested Pochard","height":87});
															thumbnails[7275423] = clik.newPhoto({"id":7275423,"src":"_MG_6107_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7275423.html","width":130,"caption":"Hooded Crow","height":87});
															thumbnails[7319093] = clik.newPhoto({"id":7319093,"src":"_MG_9728_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319093.html","width":130,"caption":"Black-headed Gull","height":87});
															thumbnails[8281581] = clik.newPhoto({"id":8281581,"src":"_MG_5661_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281581.html","width":130,"caption":"Black-headed Gull","height":87});
															thumbnails[8281585] = clik.newPhoto({"id":8281585,"src":"_MG_7875_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281585.html","width":130,"caption":"Black-headed Gull","height":87});
															thumbnails[7319069] = clik.newPhoto({"id":7319069,"src":"_MG_3303_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_7319069.html","width":87,"caption":"Red-tailed Hawk","height":130});
															thumbnails[3989533] = clik.newPhoto({"id":3989533,"src":"_MG_4504_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_3989533.html","width":130,"caption":"Herring Gull","height":87});
															thumbnails[4132851] = clik.newPhoto({"id":4132851,"src":"_MG_5488_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_4132851.html","width":87,"caption":"Herring Gull","height":130});
															thumbnails[8276416] = clik.newPhoto({"id":8276416,"src":"_MG_3588_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276416.html","width":130,"caption":"Herring Gull","height":87});
															thumbnails[8276417] = clik.newPhoto({"id":8276417,"src":"_MG_4429_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8276417.html","width":130,"caption":"Herring Gull","height":87});
															thumbnails[8281650] = clik.newPhoto({"id":8281650,"src":"_MG_5145_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281650.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281651] = clik.newPhoto({"id":8281651,"src":"_MG_5151_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281651.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281652] = clik.newPhoto({"id":8281652,"src":"_MG_7050_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281652.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281654] = clik.newPhoto({"id":8281654,"src":"_MG_7140_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281654.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281656] = clik.newPhoto({"id":8281656,"src":"_MG_7358_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281656.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281659] = clik.newPhoto({"id":8281659,"src":"_MG_9300_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281659.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281661] = clik.newPhoto({"id":8281661,"src":"_MG_9346_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281661.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281663] = clik.newPhoto({"id":8281663,"src":"_MG_9484_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281663.html","width":130,"caption":"Black Guillemot","height":87});
															thumbnails[8281715] = clik.newPhoto({"id":8281715,"src":"_MG_1432_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281715.html","width":130,"caption":"Wood Pigeon","height":87});
															thumbnails[8281717] = clik.newPhoto({"id":8281717,"src":"_MG_1463_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281717.html","width":130,"caption":"Wood Pigeon","height":87});
															thumbnails[8281719] = clik.newPhoto({"id":8281719,"src":"_MG_4143_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281719.html","width":130,"caption":"Wood Pigeon","height":87});
															thumbnails[8281740] = clik.newPhoto({"id":8281740,"src":"_MG_5335_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281740.html","width":130,"caption":"House Sparrow","height":87});
															thumbnails[8281743] = clik.newPhoto({"id":8281743,"src":"_MG_5363_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281743.html","width":130,"caption":"House Sparrow","height":87});
															thumbnails[8281745] = clik.newPhoto({"id":8281745,"src":"_MG_5366_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281745.html","width":130,"caption":"House Sparrow","height":87});
															thumbnails[8281748] = clik.newPhoto({"id":8281748,"src":"_MG_5385_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281748.html","width":130,"caption":"House Sparrow","height":87});
															thumbnails[8281749] = clik.newPhoto({"id":8281749,"src":"_MG_5421_177A8DEC-1EC9-DFB6-09714572A1ED3BE0_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281749.html","width":130,"caption":"House Sparrow","height":87});
															thumbnails[8281752] = clik.newPhoto({"id":8281752,"src":"_MG_2602_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281752.html","width":130,"caption":"Rock Pipit","height":87});
															thumbnails[8281753] = clik.newPhoto({"id":8281753,"src":"_MG_3013_1_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281753.html","width":130,"caption":"Rock Pipit","height":87});
															thumbnails[8281755] = clik.newPhoto({"id":8281755,"src":"_MG_3020_1_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281755.html","width":130,"caption":"Rock Pipit","height":87});
															thumbnails[8281759] = clik.newPhoto({"id":8281759,"src":"_MG_3026_1_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281759.html","width":130,"caption":"Rock Pipit","height":87});
															thumbnails[8281764] = clik.newPhoto({"id":8281764,"src":"_MG_3072_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281764.html","width":130,"caption":"Rock Pipit","height":87});
															thumbnails[8281772] = clik.newPhoto({"id":8281772,"src":"_MG_1618_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281772.html","width":130,"caption":"Rook","height":87});
															thumbnails[8281774] = clik.newPhoto({"id":8281774,"src":"_MG_1833_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281774.html","width":130,"caption":"Rook","height":87});
															thumbnails[8281776] = clik.newPhoto({"id":8281776,"src":"_MG_1896_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281776.html","width":130,"caption":"Rook","height":87});
															thumbnails[8281777] = clik.newPhoto({"id":8281777,"src":"_MG_1906_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281777.html","width":130,"caption":"Rook","height":87});
															thumbnails[8281781] = clik.newPhoto({"id":8281781,"src":"_MG_2035_thumb.JPG","galleries_id":368061,"server_id":32,"link":"photo_8281781.html","width":130,"caption":"Rook","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[368061] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"section181096_368061.html","maxRecords":0.0,"photoIDs":[7407244.0,7354069.0,7354100.0,7354180.0,7354246.0,7396489.0,7396756.0,7353965.0,7353980.0,7354033.0,3877816.0,3877817.0,7319033.0,8276196.0,8276198.0,8276207.0,8276213.0,5500671.0,8276256.0,3989714.0,7319064.0,7354493.0,8276283.0,8276286.0,8276288.0,3372031.0,3941375.0,7354590.0,3989468.0,7319084.0,8276335.0,4134249.0,4134312.0,3989539.0,3989545.0,3989695.0,7319092.0,3683266.0,3683274.0,4770485.0,8276336.0,8276337.0,8276340.0,7319028.0,7319030.0,8276351.0,3721758.0,3836096.0,4612352.0,4612562.0,7354850.0,7354861.0,8276354.0,6849281.0,6849327.0,7407194.0,3877804.0,3877806.0,3877810.0,8276368.0,8276369.0,8276372.0,4132955.0,4132978.0,4134221.0,8276381.0,8276382.0,8276385.0,8276386.0,4133811.0,4612278.0,4612304.0,8276395.0,8276397.0,8276400.0,6805448.0,7333608.0,3941411.0,7275488.0,7333577.0,3372123.0,3941414.0,7396771.0,8276429.0,3683350.0,7275537.0,3683366.0,7333601.0,7333603.0,7333605.0,7354712.0,3372017.0,4770425.0,6805332.0,8281676.0,3372108.0,6805275.0,6805284.0,6805322.0,7330437.0,7330439.0,7330514.0,7330679.0,4133033.0,4133183.0,6147733.0,6147992.0,6148020.0,3372130.0,3941362.0,6805347.0,6840408.0,6840426.0,7330111.0,7330135.0,7330147.0,7330155.0,7330282.0,7333610.0,3372135.0,7275473.0,7333588.0,3372127.0,3882097.0,3882114.0,3989438.0,8281009.0,8281011.0,8281015.0,2258431.0,3989490.0,3989501.0,3989515.0,8276454.0,7275292.0,7275296.0,7275315.0,7275359.0,7333598.0,6840387.0,7330431.0,7330680.0,7333057.0,5500658.0,8281668.0,3941372.0,8281570.0,8281571.0,3435664.0,3683374.0,3683388.0,3941379.0,6758272.0,3961322.0,3372015.0,7333613.0,7275423.0,7319093.0,8281581.0,8281585.0,7319069.0,3989533.0,4132851.0,8276416.0,8276417.0,8281650.0,8281651.0,8281652.0,8281654.0,8281656.0,8281659.0,8281661.0,8281663.0,8281715.0,8281717.0,8281719.0,8281740.0,8281743.0,8281745.0,8281748.0,8281749.0,8281752.0,8281753.0,8281755.0,8281759.0,8281764.0,8281772.0,8281774.0,8281776.0,8281777.0,8281781.0],"skipIndex":0,"section_code":"section181096","featured_images":"8281781,8281777,8281776,8281774,8281772,8281764,8281759,8281755,8281753,8281752,8281749,8281748,8281745,8281743,8281740,8281717,8281715,8281676,8281668,8281663,8281661,8281659,8281656,8281654,8281652,8281651,8281650,8281585,8281581,8281571,8281570,8281011,8281009,8276454,8276429,8276417,8276416,8276400,8276397,8276395,8276386,8276385,8276382,8276381,8276372,8276369,8276368,8276354,8276351,8276340,8276337,8276336,8276335,8276288,8276286,8276283,8276213,8276207,8276198,8276196,7407244,7407194,7396771,7396756,7396489,7354861,7354850,7354712,7354590,7354493,7354246,7354180,7354100,7354069,7354033,7353980,7353965,7333613,7333610,7333608,7333605,7333603,7333601,7333598,7333588,7333577,7333057,7330680,7330679,7330514,7330439,7330437,7330431,7330282,7330155,7330147,7330111,7319093,7319092,7319084,7319069,7319064,7319033,7319030,7319028,7275537,7275488,7275473,7275423,7275359,7275315,7275296,7275292,6849327,6849281,6840426,6840408,6840387,6805448,6805347,6805332,6805322,6805284,6805275,6758272,6148020,6147992,6147733,5500671,5500658,4770485,4770425,4612562,4612352,4612304,4612278,4134312,4134249,4134221,4133811,4133183,4133033,4132978,4132955,4132851,3989714,3989695,3989545,3989539,3989533,3989515,3989501,3989490,3989468,3989438,3961322,3941414,3941411,3941379,3941375,3941372,3941362,3882114,3882097,3877817,3877816,3877810,3877806,3877804,3836096,3721758,3683388,3683374,3683366,3683350,3683274,3683266,3435664,3372135,3372130,3372127,3372123,3372108,3372031,3372017,3372015,2258431","id":368061,"singleSection":false});				  						galleries[205911] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mammals","link":"section181096_205911.html","maxRecords":0.0,"photoIDs":[3372081.0,3372386.0,7333589.0,4735126.0,4735129.0,4735130.0,4735162.0,4735168.0,4770508.0,3927190.0,3927194.0,3927199.0,7333063.0,4928745.0,4928784.0,4928800.0,4928874.0,3372141.0,5500641.0,6201310.0,6203175.0,3515545.0,6763017.0,6763031.0,6066674.0,6066680.0,7333097.0],"skipIndex":0,"section_code":"section181096","featured_images":"7333589,7333097,7333063,6763031,6763017,6203175,6201310,6066680,6066674,5500641,4928874,4928800,4928784,4928745,4770508,4735168,4735162,4735130,4735129,4735126,3927199,3927194,3927190,3515545,3372386,3372141,3372081","id":205911,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7333589,7333097,7333063,6763031,6763017,6203175,6201310,6066680,6066674,5500641,4928874,4928800,4928784,4928745,4770508,4735168,4735162,4735130,4735129,4735126,3927199,3927194,3927190,3515545,3372386,3372141,3372081,7407244,7396756,7396489,7354246,7354180,7354100,7354069,7354033,7353980,7353965,8276213,8276207,8276198,8276196,7319033,3877817,3877816,5500671,8276288,8276286,8276283,7354493,7319064,3989714,7354590,3941375,3372031,8276335,7319084,3989468,4134312,4134249,7319092,3989695,3989545,3989539,3683274,3683266,8276340,8276337,8276336,4770485,8276351,7319030,7319028,8276354,7354861,7354850,4612562,4612352,3836096,3721758,7407194,6849327,6849281,8276372,8276369,8276368,3877810,3877806,3877804,8276386,8276385,8276382,8276381,4134221,4132978,4132955,8276400,8276397,8276395,4612304,4612278,4133811,7333608,6805448,7333577,7275488,3941411,8276429,7396771,3941414,3372123,7275537,3683350,7354712,7333605,7333603,7333601,3683366,8281676,6805332,4770425,3372017,6805322,6805284,6805275,3372108,7330679,7330514,7330439,7330437,6148020,6147992,6147733,4133183,4133033,6840426,6840408,6805347,3941362,3372130,7333610,7330282,7330155,7330147,7330111,7333588,7275473,3372135,8281011,8281009,3989438,3882114,3882097,3372127,8276454,3989515,3989501,3989490,2258431,7333598,7275359,7275315,7275296,7275292,7333057,7330680,7330431,6840387,8281668,5500658,8281571,8281570,3941372,3435664,3683374,3683388,3941379,6758272,3961322,3372015,7333613,7275423,8281585,8281581,7319093,7319069,8276417,8276416,4132851,3989533,8281663,8281661,8281659,8281656,8281654,8281652,8281651,8281650,8281717,8281715,8281749,8281748,8281745,8281743,8281740,8281764,8281759,8281755,8281753,8281752,8281781,8281777,8281776,8281774,8281772';
imageSets[2] = '7333589,7333097,7333063,6763031,6763017,6203175,6201310,6066680,6066674,5500641,4928874,4928800,4928784,4928745,4770508,4735168,4735162,4735130,4735129,4735126,3927199,3927194,3927190,3515545,3372386,3372141,3372081,7407244,7396756,7396489,7354246,7354180,7354100,7354069,7354033,7353980,7353965,8276213,8276207,8276198,8276196,7319033,3877817,3877816,5500671,8276288,8276286,8276283,7354493,7319064,3989714,7354590,3941375,3372031,8276335,7319084,3989468,4134312,4134249,7319092,3989695,3989545,3989539,3683274,3683266,8276340,8276337,8276336,4770485,8276351,7319030,7319028,8276354,7354861,7354850,4612562,4612352,3836096,3721758,7407194,6849327,6849281,8276372,8276369,8276368,3877810,3877806,3877804,8276386,8276385,8276382,8276381,4134221,4132978,4132955,8276400,8276397,8276395,4612304,4612278,4133811,7333608,6805448,7333577,7275488,3941411,8276429,7396771,3941414,3372123,7275537,3683350,7354712,7333605,7333603,7333601,3683366,8281676,6805332,4770425,3372017,6805322,6805284,6805275,3372108,7330679,7330514,7330439,7330437,6148020,6147992,6147733,4133183,4133033,6840426,6840408,6805347,3941362,3372130,7333610,7330282,7330155,7330147,7330111,7333588,7275473,3372135,8281011,8281009,3989438,3882114,3882097,3372127,8276454,3989515,3989501,3989490,2258431,7333598,7275359,7275315,7275296,7275292,7333057,7330680,7330431,6840387,8281668,5500658,8281571,8281570,3941372,3435664,3683374,3683388,3941379,6758272,3961322,3372015,7333613,7275423,8281585,8281581,7319093,7319069,8276417,8276416,4132851,3989533,8281663,8281661,8281659,8281656,8281654,8281652,8281651,8281650,8281717,8281715,8281749,8281748,8281745,8281743,8281740,8281764,8281759,8281755,8281753,8281752,8281781,8281777,8281776,8281774,8281772';
imageSets[3] = '7333589,7333097,7333063,6763031,6763017,6203175,6201310,6066680,6066674,5500641,4928874,4928800,4928784,4928745,4770508,4735168,4735162,4735130,4735129,4735126,3927199,3927194,3927190,3515545,3372386,3372141,3372081,7407244,7396756,7396489,7354246,7354180,7354100,7354069,7354033,7353980,7353965,8276213,8276207,8276198,8276196,7319033,3877817,3877816,5500671,8276288,8276286,8276283,7354493,7319064,3989714,7354590,3941375,3372031,8276335,7319084,3989468,4134312,4134249,7319092,3989695,3989545,3989539,3683274,3683266,8276340,8276337,8276336,4770485,8276351,7319030,7319028,8276354,7354861,7354850,4612562,4612352,3836096,3721758,7407194,6849327,6849281,8276372,8276369,8276368,3877810,3877806,3877804,8276386,8276385,8276382,8276381,4134221,4132978,4132955,8276400,8276397,8276395,4612304,4612278,4133811,7333608,6805448,7333577,7275488,3941411,8276429,7396771,3941414,3372123,7275537,3683350,7354712,7333605,7333603,7333601,3683366,8281676,6805332,4770425,3372017,6805322,6805284,6805275,3372108,7330679,7330514,7330439,7330437,6148020,6147992,6147733,4133183,4133033,6840426,6840408,6805347,3941362,3372130,7333610,7330282,7330155,7330147,7330111,7333588,7275473,3372135,8281011,8281009,3989438,3882114,3882097,3372127,8276454,3989515,3989501,3989490,2258431,7333598,7275359,7275315,7275296,7275292,7333057,7330680,7330431,6840387,8281668,5500658,8281571,8281570,3941372,3435664,3683374,3683388,3941379,6758272,3961322,3372015,7333613,7275423,8281585,8281581,7319093,7319069,8276417,8276416,4132851,3989533,8281663,8281661,8281659,8281656,8281654,8281652,8281651,8281650,8281717,8281715,8281749,8281748,8281745,8281743,8281740,8281764,8281759,8281755,8281753,8281752,8281781,8281777,8281776,8281774,8281772';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/colmfitz0511/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/colmfitz0511/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 += 'section181096.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 && 'section181096' != '') {
					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 = 'Colm Fitzpatrick LIPF: ' + 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> &euro;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="cvfitzpatrick@gmail.com">';
					temp += '<input type="hidden" name="currency_code" value="EUR">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="cvfitzpatrick@gmail.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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;
	}
}

			

