window.thumbnails = {};
															thumbnails[8030807] = clik.newPhoto({"id":8030807,"src":"_MG_1591_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_8030807.html","width":130,"caption":"Oystercatcher","height":87});
															thumbnails[8030772] = clik.newPhoto({"id":8030772,"src":"_MG_1574_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_8030772.html","width":130,"caption":"Tufted Duck with chicks","height":87});
															thumbnails[7516150] = clik.newPhoto({"id":7516150,"src":"516_Brambling_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7516150.html","width":130,"caption":"Bramblings","height":87});
															thumbnails[7464625] = clik.newPhoto({"id":7464625,"src":"_MG_1344_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7464625.html","width":130,"caption":"","height":190});
															thumbnails[7311568] = clik.newPhoto({"id":7311568,"src":"53_Smew_female_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7311568.html","width":130,"caption":"Smew","height":87});
															thumbnails[7297518] = clik.newPhoto({"id":7297518,"src":"_MG_1326_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7297518.html","width":130,"caption":"Brent Geese, cheap grass cutters.","height":61});
															thumbnails[7193249] = clik.newPhoto({"id":7193249,"src":"_MG_1302_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7193249.html","width":130,"caption":"Glaucous Gull","height":87});
															thumbnails[7195706] = clik.newPhoto({"id":7195706,"src":"_MG_13101_E43D55FB-1EC9-D45B-1C8B6C998753B029_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7195706.html","width":130,"caption":"3 Swans a Flying","height":87});
															thumbnails[7102308] = clik.newPhoto({"id":7102308,"src":"_MG_1265_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_7102308.html","width":130,"caption":"Iceland Gull","height":87});
															thumbnails[7051510] = clik.newPhoto({"id":7051510,"src":"_MG_1225_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_7051510.html","width":130,"caption":"The Shetland Ferry in Stormy Seas off Aberdeen","height":87});
															thumbnails[6982273] = clik.newPhoto({"id":6982273,"src":"_MG_1201_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6982273.html","width":130,"caption":"A Corner of Loch Kinord","height":87});
															thumbnails[6982276] = clik.newPhoto({"id":6982276,"src":"_MG_1220_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6982276.html","width":130,"caption":"A Corner of Loch Kinord","height":87});
															thumbnails[6982279] = clik.newPhoto({"id":6982279,"src":"_MG_1223_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6982279.html","width":130,"caption":"Autumn Reflections on Loch Kinord","height":87});
															thumbnails[6937178] = clik.newPhoto({"id":6937178,"src":"_MG_1140_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6937178.html","width":130,"caption":"Falls of Feugh","height":87});
															thumbnails[6937179] = clik.newPhoto({"id":6937179,"src":"_MG_1145_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6937179.html","width":130,"caption":"Falls of Feugh","height":87});
															thumbnails[6937181] = clik.newPhoto({"id":6937181,"src":"_MG_1151_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6937181.html","width":130,"caption":"Falls of Feugh","height":87});
															thumbnails[6836355] = clik.newPhoto({"id":6836355,"src":"_MG_1026_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6836355.html","width":130,"caption":"Lapland Bunting","height":87});
															thumbnails[6836359] = clik.newPhoto({"id":6836359,"src":"_MG_1038_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6836359.html","width":130,"caption":"Lapland Bunting","height":87});
															thumbnails[6836362] = clik.newPhoto({"id":6836362,"src":"_MG_1045_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6836362.html","width":130,"caption":"Goldcrest","height":87});
															thumbnails[6836364] = clik.newPhoto({"id":6836364,"src":"_MG_1062_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6836364.html","width":130,"caption":"Whinchat","height":87});
															thumbnails[6836365] = clik.newPhoto({"id":6836365,"src":"_MG_1067_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6836365.html","width":130,"caption":"Spider's Web","height":87});
															thumbnails[6843683] = clik.newPhoto({"id":6843683,"src":"_MG_1056_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6843683.html","width":130,"caption":"Reed Bunting","height":87});
															thumbnails[6800529] = clik.newPhoto({"id":6800529,"src":"203_Pectoral_Sandpiper_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6800529.html","width":130,"caption":"Pectoral Sandpiper","height":87});
															thumbnails[6788051] = clik.newPhoto({"id":6788051,"src":"cambus_51_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6788051.html","width":130,"caption":"Forest Stream, Cambus o'May","height":87});
															thumbnails[6788053] = clik.newPhoto({"id":6788053,"src":"pass_of_Ballater_8_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6788053.html","width":130,"caption":"Forest Stream, Pass of Ballater","height":87});
															thumbnails[6788055] = clik.newPhoto({"id":6788055,"src":"pass_of_Ballater_11_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6788055.html","width":130,"caption":"Forest Stream, Pass of Ballater","height":87});
															thumbnails[6788161] = clik.newPhoto({"id":6788161,"src":"cambus_3_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6788161.html","width":130,"caption":"Forest Pool, Cambus o'May","height":87});
															thumbnails[6756362] = clik.newPhoto({"id":6756362,"src":"_MG_0918_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6756362.html","width":130,"caption":"Forest Fungi","height":87});
															thumbnails[6756363] = clik.newPhoto({"id":6756363,"src":"_MG_0926_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6756363.html","width":130,"caption":"Forest Stream","height":87});
															thumbnails[6756364] = clik.newPhoto({"id":6756364,"src":"_MG_0930_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6756364.html","width":130,"caption":"Forest Stream","height":87});
															thumbnails[6756366] = clik.newPhoto({"id":6756366,"src":"_MG_0933_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6756366.html","width":130,"caption":"Forest Stream","height":87});
															thumbnails[6756368] = clik.newPhoto({"id":6756368,"src":"_MG_0934_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6756368.html","width":130,"caption":"Running Water. ","height":87});
															thumbnails[6756372] = clik.newPhoto({"id":6756372,"src":"_MG_09141_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6756372.html","width":130,"caption":"Forest Fungi","height":87});
															thumbnails[6572375] = clik.newPhoto({"id":6572375,"src":"_MG_0872_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_6572375.html","width":130,"caption":"Meikle Loch","height":87});
															thumbnails[6558458] = clik.newPhoto({"id":6558458,"src":"_MG_0855_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6558458.html","width":130,"caption":"Dunlin","height":87});
															thumbnails[6558462] = clik.newPhoto({"id":6558462,"src":"_MG_0856_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6558462.html","width":130,"caption":"Dunlin","height":87});
															thumbnails[6505385] = clik.newPhoto({"id":6505385,"src":"_MG_0810_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6505385.html","width":130,"caption":"Herring Gull","height":87});
															thumbnails[6505389] = clik.newPhoto({"id":6505389,"src":"_MG_0812_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6505389.html","width":130,"caption":"Herring Gull","height":87});
															thumbnails[6314713] = clik.newPhoto({"id":6314713,"src":"_MG_0721_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6314713.html","width":130,"caption":"Gannet, Troup Head","height":87});
															thumbnails[6314716] = clik.newPhoto({"id":6314716,"src":"_MG_0724_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6314716.html","width":130,"caption":"Gannet, Troup Head","height":87});
															thumbnails[6314717] = clik.newPhoto({"id":6314717,"src":"_MG_0745_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6314717.html","width":130,"caption":"Gannet, Troup Head","height":87});
															thumbnails[6314718] = clik.newPhoto({"id":6314718,"src":"_MG_0755_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6314718.html","width":130,"caption":"Gannet, Troup Head","height":87});
															thumbnails[6314719] = clik.newPhoto({"id":6314719,"src":"_MG_0773_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6314719.html","width":130,"caption":"Gannets, Troup Head","height":87});
															thumbnails[6277619] = clik.newPhoto({"id":6277619,"src":"_MG_0689_edited-1_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6277619.html","width":130,"caption":"Small Pearl-bordered Fritillary","height":195});
															thumbnails[6277621] = clik.newPhoto({"id":6277621,"src":"_MG_0693_edited-1_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_6277621.html","width":130,"caption":"Silver Ground Carpet Moth","height":87});
															thumbnails[6225298] = clik.newPhoto({"id":6225298,"src":"_MG_0646_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6225298.html","width":130,"caption":"Herring Gull","height":87});
															thumbnails[6225320] = clik.newPhoto({"id":6225320,"src":"_MG_0653_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6225320.html","width":130,"caption":"Black-legged Kittiwake Family","height":87});
															thumbnails[6225325] = clik.newPhoto({"id":6225325,"src":"_MG_0660_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6225325.html","width":130,"caption":"Sea Bird City, RSPB Fowlsheugh","height":87});
															thumbnails[6225328] = clik.newPhoto({"id":6225328,"src":"_MG_0663_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6225328.html","width":130,"caption":"Dunnock","height":87});
															thumbnails[6225339] = clik.newPhoto({"id":6225339,"src":"_MG_0651_thumb.jpg","galleries_id":254229,"server_id":15,"link":"photo_6225339.html","width":130,"caption":"Grey Seal, RSPB Fowlsheugh","height":87});
															thumbnails[6165462] = clik.newPhoto({"id":6165462,"src":"_MG_0626_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6165462.html","width":130,"caption":"Common Redshank, Lochindorb","height":87});
															thumbnails[6165465] = clik.newPhoto({"id":6165465,"src":"_MG_0644_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6165465.html","width":130,"caption":"Common Sandpiper, Lochindorb","height":87});
															thumbnails[6165455] = clik.newPhoto({"id":6165455,"src":"_MG_0571_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6165455.html","width":130,"caption":"Red Grouse, wary as ever","height":87});
															thumbnails[6137609] = clik.newPhoto({"id":6137609,"src":"_MG_0566_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6137609.html","width":130,"caption":"Meadow Pipit, a Much Underrated Bird","height":87});
															thumbnails[6112506] = clik.newPhoto({"id":6112506,"src":"_MG_0533_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112506.html","width":130,"caption":"Pied Flycatcher (female) at Sumburgh Lighthouse.  The only \"rarity\" I found.","height":87});
															thumbnails[6112508] = clik.newPhoto({"id":6112508,"src":"_MG_0539_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112508.html","width":130,"caption":"Shetland Wren","height":87});
															thumbnails[6112512] = clik.newPhoto({"id":6112512,"src":"_MG_0542_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112512.html","width":130,"caption":"Fulmar, Sumburgh Head","height":87});
															thumbnails[6112517] = clik.newPhoto({"id":6112517,"src":"_MG_0551_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112517.html","width":130,"caption":"Looking North from Sumburgh Head to Fitful Head","height":87});
															thumbnails[6112519] = clik.newPhoto({"id":6112519,"src":"_MG_0558_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112519.html","width":130,"caption":"Shetland Starling","height":87});
															thumbnails[6112499] = clik.newPhoto({"id":6112499,"src":"_MG_0490_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112499.html","width":130,"caption":"Mousa from South Mainland.  The Broch is visible","height":87});
															thumbnails[6112500] = clik.newPhoto({"id":6112500,"src":"_MG_0493_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112500.html","width":130,"caption":"Sunset at Bigton Wick","height":87});
															thumbnails[6112502] = clik.newPhoto({"id":6112502,"src":"_MG_0504_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112502.html","width":130,"caption":"Sunset at Bigton Wick","height":87});
															thumbnails[6112504] = clik.newPhoto({"id":6112504,"src":"_MG_0508_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112504.html","width":130,"caption":"Sunset at Bigton Wick","height":87});
															thumbnails[6112485] = clik.newPhoto({"id":6112485,"src":"_MG_0466_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112485.html","width":130,"caption":"Hermaness Hill, Unst.  Still a Long Way to go!","height":87});
															thumbnails[6112490] = clik.newPhoto({"id":6112490,"src":"_MG_0477_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112490.html","width":130,"caption":"As Far North as You Can Go in The UK. Muckle Flugga Lighthouse and Outstack","height":87});
															thumbnails[6112493] = clik.newPhoto({"id":6112493,"src":"_MG_0482_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112493.html","width":130,"caption":"Great Skua (Bonxie) on Hermaness Hill","height":87});
															thumbnails[6112497] = clik.newPhoto({"id":6112497,"src":"_MG_0484_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112497.html","width":130,"caption":"Bus Shelter on Unst","height":87});
															thumbnails[6112469] = clik.newPhoto({"id":6112469,"src":"_MG_0436_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112469.html","width":130,"caption":"Summer Plumaged Dunlin at Pool of Virkie, South Mainland","height":87});
															thumbnails[6112473] = clik.newPhoto({"id":6112473,"src":"_MG_0445_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112473.html","width":130,"caption":"Common Gull at Pool of Virkie","height":87});
															thumbnails[6112475] = clik.newPhoto({"id":6112475,"src":"_MG_0448_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112475.html","width":130,"caption":"Ringed Plover at Pool of Virkie","height":87});
															thumbnails[6112479] = clik.newPhoto({"id":6112479,"src":"_MG_0453_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112479.html","width":130,"caption":"Across the Tombolo to St. Ninian's Isle, South Mainland","height":87});
															thumbnails[6112465] = clik.newPhoto({"id":6112465,"src":"_MG_0425_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112465.html","width":130,"caption":"Cliffs at Eshaness, West Mainland","height":87});
															thumbnails[6112451] = clik.newPhoto({"id":6112451,"src":"_MG_0405_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112451.html","width":130,"caption":"Bigton, South Mainland, with Foula in the distance","height":59});
															thumbnails[6112460] = clik.newPhoto({"id":6112460,"src":"_MG_0412_thumb.jpg","galleries_id":342555,"server_id":15,"link":"photo_6112460.html","width":130,"caption":"The Tombolo leading to St. Ninian's Isle, South Mainland","height":87});
															thumbnails[5908806] = clik.newPhoto({"id":5908806,"src":"_MG_0329_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5908806.html","width":130,"caption":"Little Ringed Plover","height":87});
															thumbnails[5908812] = clik.newPhoto({"id":5908812,"src":"_MG_0362_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5908812.html","width":130,"caption":"Greylag Gosling","height":87});
															thumbnails[5908816] = clik.newPhoto({"id":5908816,"src":"_MG_0398_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5908816.html","width":130,"caption":"Bearded Tit (C)","height":87});
															thumbnails[5801161] = clik.newPhoto({"id":5801161,"src":"_MG_0224_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5801161.html","width":130,"caption":"Chiffchaff","height":87});
															thumbnails[5783203] = clik.newPhoto({"id":5783203,"src":"_MG_0216_thumb.jpg","galleries_id":254229,"server_id":15,"link":"photo_5783203.html","width":130,"caption":"Seals at the mouth of the River Ythan","height":87});
															thumbnails[5783208] = clik.newPhoto({"id":5783208,"src":"_MG_0214_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5783208.html","width":130,"caption":"Eider drake on the River Ythan","height":87});
															thumbnails[5783213] = clik.newPhoto({"id":5783213,"src":"_MG_0220_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5783213.html","width":130,"caption":"Mallard drake preening","height":87});
															thumbnails[5783217] = clik.newPhoto({"id":5783217,"src":"_MG_0221_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5783217.html","width":130,"caption":"Great Tit and spring buds","height":87});
															thumbnails[5723849] = clik.newPhoto({"id":5723849,"src":"_MG_0195_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5723849.html","width":130,"caption":"Oystercatchers, high tide on the Ythan","height":87});
															thumbnails[5723847] = clik.newPhoto({"id":5723847,"src":"_MG_0189_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5723847.html","width":130,"caption":"Wheatear, the first of 2010 at Girdleness","height":87});
															thumbnails[5674981] = clik.newPhoto({"id":5674981,"src":"_MG_0134_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5674981.html","width":130,"caption":"Scrapping Mallards","height":87});
															thumbnails[5515308] = clik.newPhoto({"id":5515308,"src":"1454_Crested_Tit_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5515308.html","width":130,"caption":"Crested Tit","height":87});
															thumbnails[5349270] = clik.newPhoto({"id":5349270,"src":"IMG_0257_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5349270.html","width":130,"caption":"Fieldfare","height":87});
															thumbnails[5254752] = clik.newPhoto({"id":5254752,"src":"IMG_0222_-_Copy_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5254752.html","width":130,"caption":"Robin","height":195});
															thumbnails[5254755] = clik.newPhoto({"id":5254755,"src":"IMG_0227_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_5254755.html","width":130,"caption":"A Winter Sunset over Montrose Basin","height":87});
															thumbnails[5124899] = clik.newPhoto({"id":5124899,"src":"1850_Snow_Bunting_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5124899.html","width":130,"caption":"Snow Bunting","height":78});
															thumbnails[5124873] = clik.newPhoto({"id":5124873,"src":"0171_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_5124873.html","width":130,"caption":"River Dee at Potarch","height":217});
															thumbnails[5094404] = clik.newPhoto({"id":5094404,"src":"067_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_5094404.html","width":130,"caption":"River Dee at Ballochbuie","height":87});
															thumbnails[5081317] = clik.newPhoto({"id":5081317,"src":"1002_Richards_Pipit_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5081317.html","width":130,"caption":"Richard's Pipit","height":93});
															thumbnails[5081461] = clik.newPhoto({"id":5081461,"src":"037_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_5081461.html","width":130,"caption":"Eiders in Flight","height":93});
															thumbnails[4908015] = clik.newPhoto({"id":4908015,"src":"IMG_0020_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4908015.html","width":130,"caption":"Glossy Ibis, St. Combs","height":87});
															thumbnails[4547676] = clik.newPhoto({"id":4547676,"src":"IMG_9794_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4547676.html","width":130,"caption":"Dunlin","height":87});
															thumbnails[4547678] = clik.newPhoto({"id":4547678,"src":"IMG_9802_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4547678.html","width":130,"caption":"Dunlin, on reflection","height":87});
															thumbnails[4547680] = clik.newPhoto({"id":4547680,"src":"IMG_9815_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4547680.html","width":130,"caption":"Small Tortoiseshell Butterfly","height":87});
															thumbnails[3943845] = clik.newPhoto({"id":3943845,"src":"IMG_7645_landscape_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3943845.html","width":130,"caption":"Sanderling","height":87});
															thumbnails[4497322] = clik.newPhoto({"id":4497322,"src":"IMG_97533_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4497322.html","width":130,"caption":"Osprey, with skate or ray?","height":87});
															thumbnails[4497365] = clik.newPhoto({"id":4497365,"src":"IMG_97723_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_4497365.html","width":130,"caption":"Montrose and Scurdie Ness Lighthouse from the Cairn o'Mount","height":87});
															thumbnails[4483108] = clik.newPhoto({"id":4483108,"src":"IMG_9711_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483108.html","width":130,"caption":"It's not a golf ball","height":87});
															thumbnails[4483109] = clik.newPhoto({"id":4483109,"src":"IMG_9714_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483109.html","width":130,"caption":"Damsel Fly","height":87});
															thumbnails[4483111] = clik.newPhoto({"id":4483111,"src":"IMG_9718_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483111.html","width":130,"caption":"Dragonfly","height":87});
															thumbnails[4483114] = clik.newPhoto({"id":4483114,"src":"IMG_9721_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483114.html","width":130,"caption":"Blue Butterfly","height":87});
															thumbnails[4483115] = clik.newPhoto({"id":4483115,"src":"IMG_9728_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483115.html","width":130,"caption":"Dragonfly","height":87});
															thumbnails[4483116] = clik.newPhoto({"id":4483116,"src":"IMG_9730_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483116.html","width":130,"caption":"Mushroom","height":195});
															thumbnails[4483118] = clik.newPhoto({"id":4483118,"src":"IMG_9745_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483118.html","width":130,"caption":"Spider eating a Butterfly","height":87});
															thumbnails[4483121] = clik.newPhoto({"id":4483121,"src":"IMG_9750_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_4483121.html","width":130,"caption":"Flower","height":195});
															thumbnails[6505393] = clik.newPhoto({"id":6505393,"src":"_MG_0817_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6505393.html","width":130,"caption":"Starling bathing","height":87});
															thumbnails[6505396] = clik.newPhoto({"id":6505396,"src":"_MG_0818_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6505396.html","width":130,"caption":"Starling bathing","height":87});
															thumbnails[6505399] = clik.newPhoto({"id":6505399,"src":"_MG_0821_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_6505399.html","width":130,"caption":"Starling drying off","height":87});
															thumbnails[4355522] = clik.newPhoto({"id":4355522,"src":"IMG_9708_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4355522.html","width":130,"caption":"Common Terns, Ythan Estuary","height":86});
															thumbnails[4313501] = clik.newPhoto({"id":4313501,"src":"IMG_9611_thumb.jpg","galleries_id":254229,"server_id":15,"link":"photo_4313501.html","width":130,"caption":"Seals sunbathing at the Ythan Estuary","height":93});
															thumbnails[4313504] = clik.newPhoto({"id":4313504,"src":"IMG_9613_thumb.jpg","galleries_id":254229,"server_id":15,"link":"photo_4313504.html","width":130,"caption":"Inquisitive Seal on the Ythan","height":93});
															thumbnails[4222072] = clik.newPhoto({"id":4222072,"src":"IMG_9578_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4222072.html","width":130,"caption":"Skylark dust bathing","height":87});
															thumbnails[4136051] = clik.newPhoto({"id":4136051,"src":"IMG_9457_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4136051.html","width":130,"caption":"Shelduck","height":87});
															thumbnails[4136053] = clik.newPhoto({"id":4136053,"src":"IMG_9479_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4136053.html","width":130,"caption":"Puffin Portrait","height":87});
															thumbnails[4136054] = clik.newPhoto({"id":4136054,"src":"IMG_9491_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4136054.html","width":130,"caption":"Puffin in Flight","height":87});
															thumbnails[4136055] = clik.newPhoto({"id":4136055,"src":"IMG_9517_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4136055.html","width":130,"caption":"Puffin Take Off","height":93});
															thumbnails[4136057] = clik.newPhoto({"id":4136057,"src":"IMG_9533_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4136057.html","width":130,"caption":"Great Skua (Bonxie)","height":93});
															thumbnails[4008354] = clik.newPhoto({"id":4008354,"src":"IMG_9329_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4008354.html","width":130,"caption":"Willow Warbler","height":87});
															thumbnails[4008367] = clik.newPhoto({"id":4008367,"src":"IMG_9331_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4008367.html","width":130,"caption":"Willow Warbler","height":87});
															thumbnails[4008368] = clik.newPhoto({"id":4008368,"src":"IMG_9351_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4008368.html","width":130,"caption":"Little Tern","height":87});
															thumbnails[4008372] = clik.newPhoto({"id":4008372,"src":"IMG_9371_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4008372.html","width":130,"caption":"Sandwich Tern","height":87});
															thumbnails[3943837] = clik.newPhoto({"id":3943837,"src":"IMG_9241_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3943837.html","width":130,"caption":"Corn Bunting","height":87});
															thumbnails[3943839] = clik.newPhoto({"id":3943839,"src":"IMG_9253_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3943839.html","width":130,"caption":"Eider Drake","height":87});
															thumbnails[3896295] = clik.newPhoto({"id":3896295,"src":"0003_Black-throated_Diver_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896295.html","width":130,"caption":"Black-throated Diver","height":57});
															thumbnails[3892521] = clik.newPhoto({"id":3892521,"src":"wood_warbler_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3892521.html","width":130,"caption":"Wood Warbler","height":87});
															thumbnails[3896889] = clik.newPhoto({"id":3896889,"src":"IMG_9211_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896889.html","width":130,"caption":"Guillemots","height":87});
															thumbnails[3896893] = clik.newPhoto({"id":3896893,"src":"IMG_9220_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896893.html","width":130,"caption":"Guillemots, the leftmost bird is of the bridled variety","height":87});
															thumbnails[3896792] = clik.newPhoto({"id":3896792,"src":"IMG_9154_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896792.html","width":130,"caption":"Corn Bunting","height":87});
															thumbnails[3897111] = clik.newPhoto({"id":3897111,"src":"0260Marsh_Harrier_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897111.html","width":130,"caption":"Marsh Harrier","height":87});
															thumbnails[3896888] = clik.newPhoto({"id":3896888,"src":"IMG_9138_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896888.html","width":130,"caption":"Goldeneye, Drake","height":87});
															thumbnails[3934263] = clik.newPhoto({"id":3934263,"src":"0168_Brent_Geese12_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934263.html","width":130,"caption":"Brent Geese","height":87});
															thumbnails[3897088] = clik.newPhoto({"id":3897088,"src":"0159_White-fronted_Goose_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897088.html","width":130,"caption":"White-fronted Goose<br>\r\na scarce bird in NE Scotland - this one was photographged on Islay","height":87});
															thumbnails[3915667] = clik.newPhoto({"id":3915667,"src":"IMG_8850_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915667.html","width":130,"caption":"South Breakwater, Aberdeen","height":87});
															thumbnails[3897143] = clik.newPhoto({"id":3897143,"src":"0589_Ring-billed_Gull_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897143.html","width":130,"caption":"Ring-billed Gull","height":87});
															thumbnails[3943945] = clik.newPhoto({"id":3943945,"src":"IMG_86091_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3943945.html","width":130,"caption":"Winter in Ballogie","height":87});
															thumbnails[3934432] = clik.newPhoto({"id":3934432,"src":"IMG_85442_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934432.html","width":130,"caption":"Black-headed Gull","height":87});
															thumbnails[3897201] = clik.newPhoto({"id":3897201,"src":"1314_Goldcrest_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897201.html","width":130,"caption":"Goldcrest","height":87});
															thumbnails[3915662] = clik.newPhoto({"id":3915662,"src":"IMG_8230_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915662.html","width":130,"caption":"Falls of Feugh, Banchory","height":87});
															thumbnails[3915666] = clik.newPhoto({"id":3915666,"src":"IMG_8235_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915666.html","width":130,"caption":"River Feugh, Banchory","height":87});
															thumbnails[3943942] = clik.newPhoto({"id":3943942,"src":"IMG_82321_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3943942.html","width":130,"caption":"Falls of Feugh, Banchory","height":87});
															thumbnails[3915656] = clik.newPhoto({"id":3915656,"src":"IMG_8165_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915656.html","width":130,"caption":"Loch Kinord","height":57});
															thumbnails[3915660] = clik.newPhoto({"id":3915660,"src":"IMG_8186_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915660.html","width":130,"caption":"On the Shore of Loch Kinord","height":87});
															thumbnails[3944120] = clik.newPhoto({"id":3944120,"src":"IMG_81611_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944120.html","width":130,"caption":"Autumn Berries","height":87});
															thumbnails[3897116] = clik.newPhoto({"id":3897116,"src":"0304_Kestrel_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897116.html","width":130,"caption":"Kestrel","height":87});
															thumbnails[3915655] = clik.newPhoto({"id":3915655,"src":"IMG_7870_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915655.html","width":130,"caption":"The \"North Boat\" Leaving Aberdeen Harbour","height":87});
															thumbnails[3943836] = clik.newPhoto({"id":3943836,"src":"IMG_7849_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3943836.html","width":130,"caption":"Redstart (female)","height":87});
															thumbnails[3934428] = clik.newPhoto({"id":3934428,"src":"IMG_78012_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934428.html","width":130,"caption":"Goldfinch (juvenile)","height":195});
															thumbnails[3915654] = clik.newPhoto({"id":3915654,"src":"IMG_7724_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915654.html","width":130,"caption":"Victoria Bridge and Harbour, Aberdeen","height":87});
															thumbnails[3897177] = clik.newPhoto({"id":3897177,"src":"1001_House_Martin_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897177.html","width":130,"caption":"House Martin","height":87});
															thumbnails[3915649] = clik.newPhoto({"id":3915649,"src":"IMG_7548_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915649.html","width":130,"caption":"In the Grounds of Haddo House","height":87});
															thumbnails[3915651] = clik.newPhoto({"id":3915651,"src":"IMG_7549_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915651.html","width":130,"caption":"Haddo House","height":87});
															thumbnails[3943939] = clik.newPhoto({"id":3943939,"src":"IMG_74381_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3943939.html","width":130,"caption":"Sunset over Moray Firth","height":88});
															thumbnails[3897146] = clik.newPhoto({"id":3897146,"src":"0590_Common_Gull1_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897146.html","width":130,"caption":"Common Gull","height":87});
															thumbnails[3896883] = clik.newPhoto({"id":3896883,"src":"IMG_6853_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896883.html","width":130,"caption":"Gannet","height":87});
															thumbnails[3897202] = clik.newPhoto({"id":3897202,"src":"1335_Spotted_Flycatcher_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897202.html","width":130,"caption":"Spotted Flycatcher","height":87});
															thumbnails[3934226] = clik.newPhoto({"id":3934226,"src":"0071_Gannet12_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934226.html","width":130,"caption":"Gannet, Troup Head","height":195});
															thumbnails[3896881] = clik.newPhoto({"id":3896881,"src":"IMG_6730_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896881.html","width":130,"caption":"Guillemot","height":104});
															thumbnails[3944119] = clik.newPhoto({"id":3944119,"src":"IMG_6757_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944119.html","width":130,"caption":"Red Campion","height":130});
															thumbnails[3897192] = clik.newPhoto({"id":3897192,"src":"1139_Stonechat_male_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897192.html","width":130,"caption":"Stonechat, male","height":87});
															thumbnails[3934404] = clik.newPhoto({"id":3934404,"src":"1106_Bluethroat12_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934404.html","width":130,"caption":"Bluethroat, Girdleness","height":87});
															thumbnails[3896789] = clik.newPhoto({"id":3896789,"src":"IMG_6633_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896789.html","width":130,"caption":"Carrion Crow","height":87});
															thumbnails[3897197] = clik.newPhoto({"id":3897197,"src":"1274_Lesser_Whitethroat_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897197.html","width":130,"caption":"Lesser Whitethroat","height":87});
															thumbnails[3897220] = clik.newPhoto({"id":3897220,"src":"1660_Linnet_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897220.html","width":130,"caption":"Linnet","height":87});
															thumbnails[3944116] = clik.newPhoto({"id":3944116,"src":"IMG_64261_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944116.html","width":130,"caption":"Spring Morning","height":87});
															thumbnails[3944117] = clik.newPhoto({"id":3944117,"src":"IMG_64281_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944117.html","width":130,"caption":"Early Morning Reflections","height":87});
															thumbnails[3944118] = clik.newPhoto({"id":3944118,"src":"IMG_64291_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944118.html","width":130,"caption":"Spring Bough","height":87});
															thumbnails[3944110] = clik.newPhoto({"id":3944110,"src":"IMG_6411_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944110.html","width":130,"caption":"Mossy","height":195});
															thumbnails[3897126] = clik.newPhoto({"id":3897126,"src":"0470_Ringed_Plover_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897126.html","width":130,"caption":"Ringed Plover","height":87});
															thumbnails[3915648] = clik.newPhoto({"id":3915648,"src":"IMG_6326_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915648.html","width":130,"caption":"The Pilot Boat Leaving Aberdeen Harbour","height":87});
															thumbnails[3896876] = clik.newPhoto({"id":3896876,"src":"0191_Garganey_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896876.html","width":130,"caption":"Garganey Drake","height":87});
															thumbnails[3897211] = clik.newPhoto({"id":3897211,"src":"1560_Jackdaw_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897211.html","width":130,"caption":"Jackdaw","height":87});
															thumbnails[3934246] = clik.newPhoto({"id":3934246,"src":"0154_Whooper_Swan1_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934246.html","width":130,"caption":"Whooper Swans","height":104});
															thumbnails[3934414] = clik.newPhoto({"id":3934414,"src":"Buzzard2_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934414.html","width":130,"caption":"Buzzard","height":105});
															thumbnails[3944108] = clik.newPhoto({"id":3944108,"src":"IMG_6074_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944108.html","width":130,"caption":"Budding Spring","height":136});
															thumbnails[3897183] = clik.newPhoto({"id":3897183,"src":"1014_Rock_Pipit_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897183.html","width":130,"caption":"Rock Pipit","height":87});
															thumbnails[3934426] = clik.newPhoto({"id":3934426,"src":"IMG_59792_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934426.html","width":130,"caption":"Buzzard","height":195});
															thumbnails[3934408] = clik.newPhoto({"id":3934408,"src":"1437_Long-tailed_Tit12_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934408.html","width":130,"caption":"Long-tailed Tit","height":177});
															thumbnails[3934425] = clik.newPhoto({"id":3934425,"src":"IMG_58411_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934425.html","width":130,"caption":"Coal Tit","height":148});
															thumbnails[3897210] = clik.newPhoto({"id":3897210,"src":"1461_Coal_Tit_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897210.html","width":130,"caption":"Coal Tit","height":93});
															thumbnails[3943951] = clik.newPhoto({"id":3943951,"src":"KICX3695_edited-11_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3943951.html","width":130,"caption":"Loch Morlich and Cairngorm","height":101});
															thumbnails[3943935] = clik.newPhoto({"id":3943935,"src":"IMG_5259_edited-11_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3943935.html","width":130,"caption":"Sunset over Montrose Basin","height":87});
															thumbnails[3896785] = clik.newPhoto({"id":3896785,"src":"0684_Collared_Dove_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3896785.html","width":130,"caption":"Collared Dove","height":96});
															thumbnails[3944107] = clik.newPhoto({"id":3944107,"src":"IMG_5059_edited-1_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944107.html","width":130,"caption":"Ice Patterns","height":172});
															thumbnails[3897141] = clik.newPhoto({"id":3897141,"src":"0575_Mediterranean_Gull_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897141.html","width":130,"caption":"Mediterranean Gull","height":76});
															thumbnails[3944096] = clik.newPhoto({"id":3944096,"src":"IMG_4878_edited-1_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944096.html","width":130,"caption":"Frosted Beech Leaves","height":100});
															thumbnails[3944097] = clik.newPhoto({"id":3944097,"src":"IMG_4889_edited-11_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944097.html","width":130,"caption":"Frosted Flower Head","height":81});
															thumbnails[3944099] = clik.newPhoto({"id":3944099,"src":"IMG_4890_edited-11_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944099.html","width":130,"caption":"Frosted Cones","height":101});
															thumbnails[3944100] = clik.newPhoto({"id":3944100,"src":"IMG_4891_edited-11_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944100.html","width":130,"caption":"Frosted Grasses","height":87});
															thumbnails[3944102] = clik.newPhoto({"id":3944102,"src":"IMG_4893_edited-1_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944102.html","width":130,"caption":"Frozen Flower Heads","height":179});
															thumbnails[3944103] = clik.newPhoto({"id":3944103,"src":"IMG_4903_edited-11_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944103.html","width":130,"caption":"Winter Bracken","height":103});
															thumbnails[3944104] = clik.newPhoto({"id":3944104,"src":"IMG_4904_edited-11_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944104.html","width":130,"caption":"Lichen on Rock","height":93});
															thumbnails[3944105] = clik.newPhoto({"id":3944105,"src":"IMG_4905_edited-11_thumb.jpg","galleries_id":237968,"server_id":15,"link":"photo_3944105.html","width":130,"caption":"Lichen on Rock","height":89});
															thumbnails[3944089] = clik.newPhoto({"id":3944089,"src":"IMG_4842_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944089.html","width":130,"caption":"Frosted Leaves","height":129});
															thumbnails[3944091] = clik.newPhoto({"id":3944091,"src":"IMG_48471_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944091.html","width":130,"caption":"Frosted Beech Leaves","height":85});
															thumbnails[3944092] = clik.newPhoto({"id":3944092,"src":"IMG_48711_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944092.html","width":130,"caption":"Frosted Spruce Cones","height":94});
															thumbnails[3944093] = clik.newPhoto({"id":3944093,"src":"IMG_48731_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944093.html","width":130,"caption":"Winter Branches","height":87});
															thumbnails[3944095] = clik.newPhoto({"id":3944095,"src":"IMG_4875_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944095.html","width":130,"caption":"Winter Rose Hips","height":131});
															thumbnails[3897134] = clik.newPhoto({"id":3897134,"src":"0510_Purple_Sandpipers_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897134.html","width":130,"caption":"Purple Sandpipers","height":88});
															thumbnails[3934403] = clik.newPhoto({"id":3934403,"src":"1048_Waxwing12_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934403.html","width":130,"caption":"Waxwing","height":140});
															thumbnails[3915643] = clik.newPhoto({"id":3915643,"src":"IMG_4590_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915643.html","width":130,"caption":"Lochnagar and Glen Muick","height":81});
															thumbnails[3915687] = clik.newPhoto({"id":3915687,"src":"Queens_View_1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915687.html","width":130,"caption":"The Queen's View, Tarland","height":87});
															thumbnails[3915641] = clik.newPhoto({"id":3915641,"src":"IMG_4476_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915641.html","width":130,"caption":"Evening on the Ythan Estuary","height":59});
															thumbnails[3934424] = clik.newPhoto({"id":3934424,"src":"IMG_44022_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934424.html","width":130,"caption":"Black-headed Gull","height":94});
															thumbnails[3943933] = clik.newPhoto({"id":3943933,"src":"IMG_43681_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3943933.html","width":130,"caption":"Storm at Bay of Nigg","height":87});
															thumbnails[3897109] = clik.newPhoto({"id":3897109,"src":"0239_Red_Kite_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897109.html","width":130,"caption":"Red Kite","height":86});
															thumbnails[3915639] = clik.newPhoto({"id":3915639,"src":"IMG_3968_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915639.html","width":130,"caption":"In the Grounds of Crathes Castle","height":87});
															thumbnails[3915640] = clik.newPhoto({"id":3915640,"src":"IMG_3999_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915640.html","width":130,"caption":"Crathes Castle","height":106});
															thumbnails[3934421] = clik.newPhoto({"id":3934421,"src":"IMG_35432_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934421.html","width":130,"caption":"Blackbird (female) on Rowans","height":93});
															thumbnails[3934420] = clik.newPhoto({"id":3934420,"src":"IMG_3438-11_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934420.html","width":130,"caption":"Herring Gull","height":114});
															thumbnails[3897194] = clik.newPhoto({"id":3897194,"src":"1243_Sedge_Warbler_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897194.html","width":130,"caption":"Sedge Warbler","height":101});
															thumbnails[3915675] = clik.newPhoto({"id":3915675,"src":"KICX3654_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915675.html","width":130,"caption":"Barley Fields at Collieston","height":98});
															thumbnails[3915638] = clik.newPhoto({"id":3915638,"src":"IMG_3014_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915638.html","width":130,"caption":"Sand Dune at Forvie, Ythan Estuary","height":87});
															thumbnails[3897171] = clik.newPhoto({"id":3897171,"src":"0992_Swallow_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897171.html","width":130,"caption":"Swallow feeding young","height":99});
															thumbnails[3897181] = clik.newPhoto({"id":3897181,"src":"1011_Meadow_Pipit_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897181.html","width":130,"caption":"Meadow Pipit","height":110});
															thumbnails[3897163] = clik.newPhoto({"id":3897163,"src":"0654_Puffin_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897163.html","width":130,"caption":"Puffin","height":105});
															thumbnails[3896874] = clik.newPhoto({"id":3896874,"src":"0122_Grey_Heron_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3896874.html","width":130,"caption":"Grey Heron","height":101});
															thumbnails[3897113] = clik.newPhoto({"id":3897113,"src":"0301_Osprey_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897113.html","width":130,"caption":"Osprey, with Flounder, Ythan Estuary","height":89});
															thumbnails[3897179] = clik.newPhoto({"id":3897179,"src":"1009_Tree_Pipit_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897179.html","width":130,"caption":"Tree Pipit","height":109});
															thumbnails[3897123] = clik.newPhoto({"id":3897123,"src":"0450_Oystercatcher_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897123.html","width":130,"caption":"Oystercatcher","height":103});
															thumbnails[3897216] = clik.newPhoto({"id":3897216,"src":"1653_Goldfinch1_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897216.html","width":130,"caption":"Goldfinch","height":76});
															thumbnails[3897226] = clik.newPhoto({"id":3897226,"src":"1877_Reed_Bunting_m_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897226.html","width":130,"caption":"Reed Bunting","height":91});
															thumbnails[3934405] = clik.newPhoto({"id":3934405,"src":"1349_Pied_Flycatcher12_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934405.html","width":130,"caption":"Pied Flycatcher","height":111});
															thumbnails[3934417] = clik.newPhoto({"id":3934417,"src":"IMG_23832_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934417.html","width":130,"caption":"Blackbird (male)","height":87});
															thumbnails[3897152] = clik.newPhoto({"id":3897152,"src":"0615_Common_Tern_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897152.html","width":130,"caption":"Common Tern","height":80});
															thumbnails[3897212] = clik.newPhoto({"id":3897212,"src":"1567_Hooded_Crow_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897212.html","width":130,"caption":"Hooded Crow","height":97});
															thumbnails[3897188] = clik.newPhoto({"id":3897188,"src":"1066_Wren_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897188.html","width":130,"caption":"Wren","height":90});
															thumbnails[3897151] = clik.newPhoto({"id":3897151,"src":"0611_Sandwich_Tern_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897151.html","width":130,"caption":"Sandwich Tern","height":89});
															thumbnails[3897156] = clik.newPhoto({"id":3897156,"src":"0624_Little_Tern_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897156.html","width":130,"caption":"Little Tern","height":91});
															thumbnails[4313496] = clik.newPhoto({"id":4313496,"src":"IMG_9618_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4313496.html","width":130,"caption":"Little Tern on the Ythan","height":93});
															thumbnails[3915618] = clik.newPhoto({"id":3915618,"src":"Cairngorms_from_Tomintoul_Road_2_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915618.html","width":130,"caption":"Cairngorms from Tomintoul Road","height":98});
															thumbnails[3897137] = clik.newPhoto({"id":3897137,"src":"0561_Turnstone_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897137.html","width":130,"caption":"Turnstone","height":87});
															thumbnails[3897228] = clik.newPhoto({"id":3897228,"src":"1882_Corn_Bunting1_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897228.html","width":130,"caption":"Corn Bunting","height":106});
															thumbnails[3897098] = clik.newPhoto({"id":3897098,"src":"0212_Long-tailed_Duck_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897098.html","width":130,"caption":"Long-tailed Duck","height":79});
															thumbnails[3897199] = clik.newPhoto({"id":3897199,"src":"1312_Willow_Warbler_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897199.html","width":130,"caption":"Willow Warbler","height":82});
															thumbnails[3934393] = clik.newPhoto({"id":3934393,"src":"0876_Great_Spotted_Woodpecker12_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934393.html","width":130,"caption":"Great-spotted Woodpecker","height":195});
															thumbnails[3934415] = clik.newPhoto({"id":3934415,"src":"IMG_19551_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934415.html","width":130,"caption":"Blackbird (female)","height":87});
															thumbnails[3934416] = clik.newPhoto({"id":3934416,"src":"IMG_19612_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934416.html","width":130,"caption":"Blackbird (female)","height":87});
															thumbnails[3897118] = clik.newPhoto({"id":3897118,"src":"0394_Pheasant_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897118.html","width":130,"caption":"Pheasant","height":88});
															thumbnails[3897092] = clik.newPhoto({"id":3897092,"src":"0184_Teal_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897092.html","width":130,"caption":"Teal drake","height":89});
															thumbnails[3897164] = clik.newPhoto({"id":3897164,"src":"0670_Woodpigeon_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897164.html","width":130,"caption":"Woodpigeon","height":106});
															thumbnails[3897189] = clik.newPhoto({"id":3897189,"src":"1099_Robin_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897189.html","width":130,"caption":"Robin","height":96});
															thumbnails[3934092] = clik.newPhoto({"id":3934092,"src":"0080-Shag1_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3934092.html","width":130,"caption":"Shags, Fraserburgh","height":108});
															thumbnails[3897100] = clik.newPhoto({"id":3897100,"src":"0221_Red-breasted_Merganser_m_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897100.html","width":130,"caption":"Red-breasted Merganser","height":87});
															thumbnails[3944076] = clik.newPhoto({"id":3944076,"src":"IMG_13701_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944076.html","width":130,"caption":"Ice Patterns","height":87});
															thumbnails[3897105] = clik.newPhoto({"id":3897105,"src":"0223_Goosander_f_thumb.jpeg","galleries_id":236387,"server_id":15,"link":"photo_3897105.html","width":130,"caption":"Goosanders, female","height":87});
															thumbnails[3897120] = clik.newPhoto({"id":3897120,"src":"0424_Moorhen_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_3897120.html","width":130,"caption":"Moorhen","height":102});
															thumbnails[3915669] = clik.newPhoto({"id":3915669,"src":"KICX3231_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915669.html","width":130,"caption":"Montrose","height":98});
															thumbnails[3897166] = clik.newPhoto({"id":3897166,"src":"0767_Long_eared_Owl_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897166.html","width":130,"caption":"Long-eared Owl","height":108});
															thumbnails[3915630] = clik.newPhoto({"id":3915630,"src":"Fyvie_Castle_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915630.html","width":130,"caption":"In the Grounds of Fyvie Castle","height":98});
															thumbnails[3897094] = clik.newPhoto({"id":3897094,"src":"0186_Mallard_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897094.html","width":130,"caption":"Mallard drake","height":87});
															thumbnails[3934269] = clik.newPhoto({"id":3934269,"src":"0493_Lapwing12_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934269.html","width":130,"caption":"Lapwing","height":123});
															thumbnails[3915627] = clik.newPhoto({"id":3915627,"src":"Fowlsheugh_3_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915627.html","width":130,"caption":"Fowlsheugh","height":98});
															thumbnails[3943948] = clik.newPhoto({"id":3943948,"src":"Lairig_Ghru_from_Avielochan_July_2006-11_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3943948.html","width":130,"caption":"Avielochan","height":97});
															thumbnails[3915691] = clik.newPhoto({"id":3915691,"src":"Waulkmill_1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915691.html","width":130,"caption":"Waulkmill on the Ythan Estuary","height":98});
															thumbnails[3934411] = clik.newPhoto({"id":3934411,"src":"1857_yellowhammer12_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3934411.html","width":130,"caption":"Yellowhammer","height":143});
															thumbnails[3915625] = clik.newPhoto({"id":3915625,"src":"Fowlsheugh_1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915625.html","width":130,"caption":"Fowlsheugh","height":114});
															thumbnails[3897222] = clik.newPhoto({"id":3897222,"src":"1662_Twite_thumb.JPG","galleries_id":236387,"server_id":15,"link":"photo_3897222.html","width":130,"caption":"Twite","height":98});
															thumbnails[3915682] = clik.newPhoto({"id":3915682,"src":"Old_Bridge_of_Dee_1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915682.html","width":130,"caption":"Old Bridge of Dee, Aberdeen","height":98});
															thumbnails[3943941] = clik.newPhoto({"id":3943941,"src":"Glen_Cat_11_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3943941.html","width":130,"caption":"Autumn in Ballogie","height":182});
															thumbnails[3915678] = clik.newPhoto({"id":3915678,"src":"Mill_of_Cattie_road_6_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915678.html","width":130,"caption":"In Glen Cat","height":109});
															thumbnails[3915620] = clik.newPhoto({"id":3915620,"src":"Dinnet_Moor_1-1_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915620.html","width":130,"caption":"Dinnet Moor","height":98});
															thumbnails[3915617] = clik.newPhoto({"id":3915617,"src":"Cairngorms_from_Morrone_Birkwood_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915617.html","width":130,"caption":"Cairngorms from Morrone Birkwood","height":90});
															thumbnails[3915622] = clik.newPhoto({"id":3915622,"src":"Dinnet_Oakwood_6_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915622.html","width":130,"caption":"Dinnet Oakwood","height":98});
															thumbnails[5349287] = clik.newPhoto({"id":5349287,"src":"KICX3896_edited-1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_5349287.html","width":130,"caption":"Winter at Potarch","height":173});
															thumbnails[5349289] = clik.newPhoto({"id":5349289,"src":"KICX3904_edited-1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_5349289.html","width":130,"caption":"Winter at Potarch","height":98});
															thumbnails[3915631] = clik.newPhoto({"id":3915631,"src":"Gannochy_Bridge_1_thumb.JPG","galleries_id":236388,"server_id":15,"link":"photo_3915631.html","width":130,"caption":"Gannochy Bridge, River North Esk","height":98});
															thumbnails[3915635] = clik.newPhoto({"id":3915635,"src":"Howe_of_Alford_1_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_3915635.html","width":130,"caption":"Howe of Alford and Benachie","height":87});
															thumbnails[3944079] = clik.newPhoto({"id":3944079,"src":"IMG_3296-1_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944079.html","width":130,"caption":"Flower and Insect","height":103});
															thumbnails[3944080] = clik.newPhoto({"id":3944080,"src":"IMG_3306-1_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944080.html","width":130,"caption":"Rowan Berries","height":121});
															thumbnails[3944083] = clik.newPhoto({"id":3944083,"src":"IMG_3379-1_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_3944083.html","width":130,"caption":"Thistle","height":153});
															thumbnails[4261378] = clik.newPhoto({"id":4261378,"src":"mapythan_thumb.JPG","galleries_id":252059,"server_id":15,"link":"photo_4261378.html","width":130,"caption":"Ythan Estuary","height":163});
															thumbnails[4261396] = clik.newPhoto({"id":4261396,"src":"KICX36732_thumb.JPG","galleries_id":252059,"server_id":15,"link":"photo_4261396.html","width":130,"caption":"Girdleness","height":119});
															thumbnails[4261486] = clik.newPhoto({"id":4261486,"src":"KICX38331_thumb.jpg","galleries_id":252059,"server_id":15,"link":"photo_4261486.html","width":130,"caption":"North-east Scotland","height":146});
															thumbnails[4497339] = clik.newPhoto({"id":4497339,"src":"KICX38571_thumb.JPG","galleries_id":254229,"server_id":15,"link":"photo_4497339.html","width":130,"caption":"What the Pine Marten left","height":87});
															thumbnails[4587659] = clik.newPhoto({"id":4587659,"src":"IMG_9835_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4587659.html","width":130,"caption":"Greenshank backlit","height":93});
															thumbnails[4587661] = clik.newPhoto({"id":4587661,"src":"IMG_9843_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4587661.html","width":130,"caption":"Greenshank","height":93});
															thumbnails[4587663] = clik.newPhoto({"id":4587663,"src":"IMG_9850_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4587663.html","width":130,"caption":"Goosander","height":93});
															thumbnails[4640867] = clik.newPhoto({"id":4640867,"src":"IMG_98611_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4640867.html","width":130,"caption":"Bar-tailed Godwit","height":87});
															thumbnails[4682323] = clik.newPhoto({"id":4682323,"src":"IMG_9867_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4682323.html","width":130,"caption":"Chaffinch","height":104});
															thumbnails[4682324] = clik.newPhoto({"id":4682324,"src":"IMG_98791_thumb.jpg","galleries_id":236387,"server_id":15,"link":"photo_4682324.html","width":130,"caption":"Spotted Redshank","height":93});
															thumbnails[4699939] = clik.newPhoto({"id":4699939,"src":"KICX3859_thumb.JPG","galleries_id":254229,"server_id":15,"link":"photo_4699939.html","width":130,"caption":"Roe Deer in Anagach Woods","height":182});
															thumbnails[4699940] = clik.newPhoto({"id":4699940,"src":"KICX3858_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_4699940.html","width":130,"caption":"Tree on Tree","height":182});
															thumbnails[4699941] = clik.newPhoto({"id":4699941,"src":"KICX3862_thumb.JPG","galleries_id":237968,"server_id":15,"link":"photo_4699941.html","width":130,"caption":"Stumped","height":93});
															thumbnails[5685810] = clik.newPhoto({"id":5685810,"src":"KICX3909_edited-1_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_5685810.html","width":130,"caption":"Winter in Glen Gelder","height":87});
															thumbnails[5685811] = clik.newPhoto({"id":5685811,"src":"KICX3915_edited-1_thumb.jpg","galleries_id":236388,"server_id":15,"link":"photo_5685811.html","width":130,"caption":"Lochnagar, from Glen Gelder","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[236387] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_236387.html","maxRecords":0.0,"photoIDs":[8030807.0,8030772.0,7516150.0,7464625.0,7311568.0,7297518.0,7193249.0,7195706.0,7102308.0,6836355.0,6836359.0,6836362.0,6836364.0,6843683.0,6800529.0,6558458.0,6558462.0,6505385.0,6505389.0,6314713.0,6314716.0,6314717.0,6314718.0,6314719.0,6225298.0,6225320.0,6225325.0,6225328.0,6165462.0,6165465.0,6165455.0,6137609.0,5908806.0,5908812.0,5908816.0,5801161.0,5783208.0,5783213.0,5783217.0,5723849.0,5723847.0,5674981.0,5515308.0,5349270.0,5254752.0,5124899.0,5081317.0,5081461.0,4908015.0,4547676.0,4547678.0,3943845.0,4497322.0,6505393.0,6505396.0,6505399.0,4355522.0,4222072.0,4136051.0,4136053.0,4136054.0,4136055.0,4136057.0,4008354.0,4008367.0,4008368.0,4008372.0,3943837.0,3943839.0,3896295.0,3892521.0,3896889.0,3896893.0,3896792.0,3897111.0,3896888.0,3934263.0,3897088.0,3897143.0,3934432.0,3897201.0,3897116.0,3943836.0,3934428.0,3897177.0,3897146.0,3896883.0,3897202.0,3934226.0,3896881.0,3897192.0,3934404.0,3896789.0,3897197.0,3897220.0,3897126.0,3896876.0,3897211.0,3934246.0,3934414.0,3897183.0,3934426.0,3934408.0,3934425.0,3897210.0,3896785.0,3897141.0,3897134.0,3934403.0,3934424.0,3897109.0,3934421.0,3934420.0,3897194.0,3897171.0,3897181.0,3897163.0,3896874.0,3897113.0,3897179.0,3897123.0,3897216.0,3897226.0,3934405.0,3934417.0,3897152.0,3897212.0,3897188.0,3897151.0,3897156.0,4313496.0,3897137.0,3897228.0,3897098.0,3897199.0,3934393.0,3934415.0,3934416.0,3897118.0,3897092.0,3897164.0,3897189.0,3934092.0,3897100.0,3897105.0,3897120.0,3897166.0,3897094.0,3934269.0,3934411.0,3897222.0,4587659.0,4587661.0,4587663.0,4640867.0,4682323.0,4682324.0],"skipIndex":0,"section_code":"gallery","featured_images":"8030807,8030772,7516150,7464625,7311568,7297518,7195706,7193249,7102308,6843683","id":236387,"singleSection":false});				  						galleries[236388] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_236388.html","maxRecords":0.0,"photoIDs":[7051510.0,6982273.0,6982276.0,6982279.0,6937178.0,6937179.0,6937181.0,6788051.0,6788053.0,6788055.0,6788161.0,6572375.0,5254755.0,5124873.0,5094404.0,4497365.0,3915667.0,3943945.0,3915662.0,3915666.0,3943942.0,3915656.0,3915660.0,3915655.0,3915654.0,3915649.0,3915651.0,3943939.0,3915648.0,3943951.0,3943935.0,3915643.0,3915687.0,3915641.0,3943933.0,3915639.0,3915640.0,3915675.0,3915638.0,3915618.0,3915669.0,3915630.0,3915627.0,3943948.0,3915691.0,3915625.0,3915682.0,3943941.0,3915678.0,3915620.0,3915617.0,3915622.0,5349287.0,5349289.0,3915631.0,3915635.0,5685810.0,5685811.0],"skipIndex":0,"section_code":"gallery","featured_images":"7051510,6982279,6982276,6982273,6937181,6937179,6937178,6788161,6788055,6788053","id":236388,"singleSection":false});				  						galleries[237968] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nature Up Close","link":"gallery_237968.html","maxRecords":0.0,"photoIDs":[6836365.0,6756362.0,6756363.0,6756364.0,6756366.0,6756368.0,6756372.0,6277619.0,6277621.0,4547680.0,4483108.0,4483109.0,4483111.0,4483114.0,4483115.0,4483116.0,4483118.0,4483121.0,3944120.0,3944119.0,3944116.0,3944117.0,3944118.0,3944110.0,3944108.0,3944107.0,3944096.0,3944097.0,3944099.0,3944100.0,3944102.0,3944103.0,3944104.0,3944105.0,3944089.0,3944091.0,3944092.0,3944093.0,3944095.0,3944076.0,3944079.0,3944080.0,3944083.0,4699940.0,4699941.0],"skipIndex":0,"section_code":"gallery","featured_images":"6836365,6756372,6756368,6756366,6756364,6756363,6756362,6277621,6277619,4699941","id":237968,"singleSection":false});				  						galleries[254229] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mammals","link":"gallery_254229.html","maxRecords":0.0,"photoIDs":[6225339.0,5783203.0,4313501.0,4313504.0,4497339.0,4699939.0],"skipIndex":0,"section_code":"gallery","featured_images":"6225339,5783203,4699939,4497339,4313504,4313501","id":254229,"singleSection":false});				  						galleries[342555] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Shetland Islands","link":"gallery_342555.html","maxRecords":0.0,"photoIDs":[6112506.0,6112508.0,6112512.0,6112517.0,6112519.0,6112499.0,6112500.0,6112502.0,6112504.0,6112485.0,6112490.0,6112493.0,6112497.0,6112469.0,6112473.0,6112475.0,6112479.0,6112465.0,6112451.0,6112460.0],"skipIndex":0,"section_code":"gallery","featured_images":"6112519,6112517,6112512,6112508,6112506,6112504,6112502,6112500,6112499,6112497","id":342555,"singleSection":false});				  						galleries[252059] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Maps of Areas in \"Where to Watch Birds\" Page ","link":"gallery_252059.html","maxRecords":0.0,"photoIDs":[4261378.0,4261396.0,4261486.0],"skipIndex":0,"section_code":"gallery","featured_images":"4261486,4261396,4261378","id":252059,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8030807,8030772,7516150,7464625,7311568,7297518,7195706,7193249,7102308,7051510,6982279,6982276,6982273,6937181,6937179,6937178,6843683,6836365,6836364,6836362,6836359,6836355,6800529,6788161,6788055,6788053,6788051,6756372,6756368,6756366,6756364,6756363,6756362,6572375,6558462,6558458,6505399,6505396,6505393,6505389,6505385,6314719,6314718,6314717,6314716,6314713,6277621,6277619,6225339,6225328';
imageSets[3] = '8030807,8030772,7516150,7464625,7311568,7297518,7195706,7193249,7102308,7051510,6982279,6982276,6982273,6937181,6937179,6937178,6843683,6836365,6836364,6836362,6836359,6836355,6800529,6788161,6788055,6788053,6788051,6756372,6756368,6756366,6756364,6756363,6756362,6572375,6558462,6558458,6505399,6505396,6505393,6505389,6505385,6314719,6314718,6314717,6314716,6314713,6277621,6277619,6225339,6225328';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/khallbirds/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/khallbirds/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'The Nature of North East Scotland: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.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="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		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 += '<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;
	}
}

			

