window.thumbnails = {};
															thumbnails[5628957] = clik.newPhoto({"id":5628957,"src":"tiny_thumb_thumb.gif","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":151});
															thumbnails[561366] = clik.newPhoto({"id":561366,"src":"Red-stag-roaring2_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561366.html","width":130,"caption":"Red stag, cervus elephus","height":180});
															thumbnails[561692] = clik.newPhoto({"id":561692,"src":"_DM38669_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561692.html","width":130,"caption":"Red stags feeding in the snow.","height":93});
															thumbnails[561714] = clik.newPhoto({"id":561714,"src":"_DM30126Red-deer-17-Oct-09-Edit_thumb.gif","galleries_id":43307,"server_id":1,"link":"photo_561714.html","width":130,"caption":"Red deer hinds feeding.","height":108});
															thumbnails[561759] = clik.newPhoto({"id":561759,"src":"_DM30129Red-stag-17-Oct-09-Edit_thumb.gif","galleries_id":43307,"server_id":1,"link":"photo_561759.html","width":130,"caption":"Red stag.","height":123});
															thumbnails[561773] = clik.newPhoto({"id":561773,"src":"_DM30119Red-hind-17-Oct-09-Edit_thumb.gif","galleries_id":43307,"server_id":1,"link":"photo_561773.html","width":130,"caption":"Curious hind","height":144});
															thumbnails[561777] = clik.newPhoto({"id":561777,"src":"red-deer-calf-calling_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561777.html","width":130,"caption":"Red deer calf.","height":176});
															thumbnails[561781] = clik.newPhoto({"id":561781,"src":"_DM38606_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561781.html","width":130,"caption":"Alert woodland stag","height":182});
															thumbnails[561784] = clik.newPhoto({"id":561784,"src":"Red-stag-with-hinds_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561784.html","width":130,"caption":"Red stag guarding his harem.","height":81});
															thumbnails[561787] = clik.newPhoto({"id":561787,"src":"Roaring-stag-head-on_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561787.html","width":130,"caption":"Red stag in your face.","height":95});
															thumbnails[561790] = clik.newPhoto({"id":561790,"src":"Stag-emerges-roaring_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561790.html","width":130,"caption":"Roaring from the bracken.","height":183});
															thumbnails[561796] = clik.newPhoto({"id":561796,"src":"untitled_shoot-38710_thumb.jpg","galleries_id":43307,"server_id":1,"link":"photo_561796.html","width":130,"caption":"Alert and surveying his domain.","height":183});
															thumbnails[563978] = clik.newPhoto({"id":563978,"src":"_DM30107-Fallow-buck-17-Oct-09-Edit_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_563978.html","width":130,"caption":"Young Fallow buck.","height":174});
															thumbnails[564108] = clik.newPhoto({"id":564108,"src":"couched-sika-stag-_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_564108.html","width":130,"caption":"Sika stag couched.","height":103});
															thumbnails[564119] = clik.newPhoto({"id":564119,"src":"adorned-stag-in-marsh-8232-_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564119.html","width":130,"caption":"Adorned Sika stag","height":183});
															thumbnails[564127] = clik.newPhoto({"id":564127,"src":"stag-2_MG_8553_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564127.html","width":130,"caption":"Sika stag at dawn","height":181});
															thumbnails[564128] = clik.newPhoto({"id":564128,"src":"hind-and-cobwebs-8163-021_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564128.html","width":130,"caption":"Photograph of a Sika hind","height":104});
															thumbnails[564134] = clik.newPhoto({"id":564134,"src":"More-curious-1_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_564134.html","width":130,"caption":"Curiouser and curiouser. ","height":189});
															thumbnails[564138] = clik.newPhoto({"id":564138,"src":"Sika-deer_calves_grooming_DM36082-09_1_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564138.html","width":130,"caption":"Sika deer grooming.","height":163});
															thumbnails[564149] = clik.newPhoto({"id":564149,"src":"sika-hind-and-calf-2_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_564149.html","width":130,"caption":"Sika hind and calf.","height":173});
															thumbnails[564154] = clik.newPhoto({"id":564154,"src":"sika-hind-and-foxgloves-038_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564154.html","width":130,"caption":"Sika hind and foxgloves.","height":96});
															thumbnails[564161] = clik.newPhoto({"id":564161,"src":"stag-1_MG_8588_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564161.html","width":130,"caption":"Sika stag.","height":198});
															thumbnails[564186] = clik.newPhoto({"id":564186,"src":"stag-in-the-misty-woods-811_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_564186.html","width":130,"caption":"Stag in the mist.","height":169});
															thumbnails[565950] = clik.newPhoto({"id":565950,"src":"staring-hare-5_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_565950.html","width":130,"caption":"Mad march hare","height":190});
															thumbnails[571601] = clik.newPhoto({"id":571601,"src":"Roe-rut-37062_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_571601.html","width":130,"caption":"Buck in corn","height":159});
															thumbnails[571607] = clik.newPhoto({"id":571607,"src":"Roe_034-Edit_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_571607.html","width":130,"caption":"Roe buck.","height":171});
															thumbnails[571615] = clik.newPhoto({"id":571615,"src":"doe-37186_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_571615.html","width":130,"caption":"Curious Doe","height":104});
															thumbnails[571618] = clik.newPhoto({"id":571618,"src":"Roe-buck-in-plantation-shpnd_001_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_571618.html","width":130,"caption":"Roe buck","height":167});
															thumbnails[571626] = clik.newPhoto({"id":571626,"src":"roe-buck-3_thumb.jpg","galleries_id":43311,"server_id":1,"link":"photo_571626.html","width":130,"caption":"Old Roe doe","height":108});
															thumbnails[571638] = clik.newPhoto({"id":571638,"src":"Roe-buck-4587_thumb.jpg","galleries_id":43311,"server_id":1,"link":"photo_571638.html","width":130,"caption":"Roe buck","height":179});
															thumbnails[571681] = clik.newPhoto({"id":571681,"src":"roe-buck-breakfast-6441_thumb.jpg","galleries_id":43311,"server_id":1,"link":"photo_571681.html","width":130,"caption":"Roe buck","height":167});
															thumbnails[571685] = clik.newPhoto({"id":571685,"src":"roe-doe-urinating-1114_thumb.jpg","galleries_id":43311,"server_id":1,"link":"photo_571685.html","width":130,"caption":"Roe doe ","height":167});
															thumbnails[571695] = clik.newPhoto({"id":571695,"src":"bluetit-in-snow_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_571695.html","width":130,"caption":"Blue tit","height":180});
															thumbnails[571698] = clik.newPhoto({"id":571698,"src":"ducklings_filtered_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_571698.html","width":130,"caption":"Ducklings","height":102});
															thumbnails[571701] = clik.newPhoto({"id":571701,"src":"grebes-feeding-6666-01_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_571701.html","width":130,"caption":"Crested Grebes","height":94});
															thumbnails[571704] = clik.newPhoto({"id":571704,"src":"robin-in-snow-2_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_571704.html","width":130,"caption":"Robin in winter","height":93});
															thumbnails[571706] = clik.newPhoto({"id":571706,"src":"18_thumb.06.04.AM-Durnford-003.jpg","galleries_id":43314,"server_id":1,"link":"photo_571706.html","width":130,"caption":"Poppies","height":80});
															thumbnails[571707] = clik.newPhoto({"id":571707,"src":"thistle-005_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_571707.html","width":130,"caption":"Thistle","height":97});
															thumbnails[574929] = clik.newPhoto({"id":574929,"src":"Formosan-sika-stag-6327_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_574929.html","width":130,"caption":"Formosan Sika stag","height":191});
															thumbnails[574954] = clik.newPhoto({"id":574954,"src":"sika-stags-sparring-6388_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_574954.html","width":130,"caption":"Sika stags sparring","height":92});
															thumbnails[575035] = clik.newPhoto({"id":575035,"src":"windmill-0250_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_575035.html","width":130,"caption":"windmill at sunset","height":89});
															thumbnails[575036] = clik.newPhoto({"id":575036,"src":"frosty-srise_3855_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_575036.html","width":130,"caption":"Sunrise","height":92});
															thumbnails[580269] = clik.newPhoto({"id":580269,"src":"pheasant-9290_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_580269.html","width":130,"caption":"Cock pheasant on the run.","height":94});
															thumbnails[580271] = clik.newPhoto({"id":580271,"src":"French-partridge--DM30405_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_580271.html","width":130,"caption":"French partridge on guard","height":172});
															thumbnails[580272] = clik.newPhoto({"id":580272,"src":"Langford-lakes-grebes-mating_041-Edit_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_580272.html","width":130,"caption":"Mating Grebes","height":101});
															thumbnails[580275] = clik.newPhoto({"id":580275,"src":"Pheasant0056_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_580275.html","width":130,"caption":"Cock pheasant","height":108});
															thumbnails[580278] = clik.newPhoto({"id":580278,"src":"Robin4701_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_580278.html","width":130,"caption":"Robin","height":98});
															thumbnails[580283] = clik.newPhoto({"id":580283,"src":"SwanandCygnets2076_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_580283.html","width":130,"caption":"Swan and cygnets","height":152});
															thumbnails[580285] = clik.newPhoto({"id":580285,"src":"beeonpurpleflower_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580285.html","width":130,"caption":"Bees on scabious","height":162});
															thumbnails[580286] = clik.newPhoto({"id":580286,"src":"cinnabarcaterpillars_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580286.html","width":130,"caption":"Cinnabar caterpillars","height":179});
															thumbnails[580288] = clik.newPhoto({"id":580288,"src":"devils-bit-scabious_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580288.html","width":130,"caption":"Devils bit scabious","height":163});
															thumbnails[580289] = clik.newPhoto({"id":580289,"src":"dropletonknapweed_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580289.html","width":130,"caption":"Droplet on Knapweed","height":181});
															thumbnails[580291] = clik.newPhoto({"id":580291,"src":"geranium2_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580291.html","width":130,"caption":"Geranium","height":97});
															thumbnails[580294] = clik.newPhoto({"id":580294,"src":"Snowdrop4282_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580294.html","width":130,"caption":"Snowdrops","height":94});
															thumbnails[580297] = clik.newPhoto({"id":580297,"src":"toadstool2_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580297.html","width":130,"caption":"Toadstool","height":99});
															thumbnails[580300] = clik.newPhoto({"id":580300,"src":"Beechwood5007_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580300.html","width":130,"caption":"Beechwood at dawn","height":100});
															thumbnails[580303] = clik.newPhoto({"id":580303,"src":"Bluebellglade9996_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580303.html","width":130,"caption":"Bluebell glade","height":65});
															thumbnails[580304] = clik.newPhoto({"id":580304,"src":"dawnrape6465_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580304.html","width":130,"caption":"Rape field at dawn","height":83});
															thumbnails[580307] = clik.newPhoto({"id":580307,"src":"PoppiesandBarley_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580307.html","width":130,"caption":"Barley storm","height":87});
															thumbnails[580309] = clik.newPhoto({"id":580309,"src":"Potatoefield0079_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580309.html","width":130,"caption":"Potato field","height":81});
															thumbnails[580310] = clik.newPhoto({"id":580310,"src":"Scotspineatsunset1_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580310.html","width":130,"caption":"Sunset over the old pines","height":92});
															thumbnails[580312] = clik.newPhoto({"id":580312,"src":"snowdrops4299_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580312.html","width":130,"caption":"Snowdrops by the stream","height":188});
															thumbnails[580314] = clik.newPhoto({"id":580314,"src":"swansonavon_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580314.html","width":130,"caption":"Avon valley","height":160});
															thumbnails[580315] = clik.newPhoto({"id":580315,"src":"treecanopy0121_thumb.jpg","galleries_id":43315,"server_id":1,"link":"photo_580315.html","width":130,"caption":"Tree canopy","height":86});
															thumbnails[580316] = clik.newPhoto({"id":580316,"src":"buglos1_thumb.jpg","galleries_id":43314,"server_id":1,"link":"photo_580316.html","width":130,"caption":"Buglos","height":182});
															thumbnails[580322] = clik.newPhoto({"id":580322,"src":"Frog-1_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_580322.html","width":130,"caption":"Frog","height":102});
															thumbnails[580323] = clik.newPhoto({"id":580323,"src":"hare-1_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_580323.html","width":130,"caption":"Hare","height":169});
															thumbnails[580326] = clik.newPhoto({"id":580326,"src":"Hare-6_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_580326.html","width":130,"caption":"Hare","height":167});
															thumbnails[580327] = clik.newPhoto({"id":580327,"src":"hare-and-poppies002_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_580327.html","width":130,"caption":"Dozy hare","height":161});
															thumbnails[580329] = clik.newPhoto({"id":580329,"src":"rabbit2_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_580329.html","width":130,"caption":"Rabbit","height":169});
															thumbnails[580331] = clik.newPhoto({"id":580331,"src":"_DM34258-Edit_thumb.gif","galleries_id":43312,"server_id":1,"link":"photo_580331.html","width":130,"caption":"Running hares","height":132});
															thumbnails[591839] = clik.newPhoto({"id":591839,"src":"Buch-scent-marking-63182_thumb.jpg","galleries_id":43311,"server_id":1,"link":"photo_591839.html","width":130,"caption":"Roe buck scent marking","height":109});
															thumbnails[591844] = clik.newPhoto({"id":591844,"src":"roe-buck-2_DM33766_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_591844.html","width":130,"caption":"Roe buck","height":197});
															thumbnails[591847] = clik.newPhoto({"id":591847,"src":"roedoe11_thumb.jpg","galleries_id":43311,"server_id":1,"link":"photo_591847.html","width":130,"caption":"Roe doe","height":108});
															thumbnails[591857] = clik.newPhoto({"id":591857,"src":"Roe-in-wild-flower-meadow--_DM30325_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_591857.html","width":130,"caption":"Roe buck in a meadow of spring flowers.","height":97});
															thumbnails[608712] = clik.newPhoto({"id":608712,"src":"dawn-buck-92_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_608712.html","width":130,"caption":"Roe buck at dawn","height":104});
															thumbnails[610281] = clik.newPhoto({"id":610281,"src":"painted-lady-on-scabious-79_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_610281.html","width":130,"caption":"Painted Lady","height":159});
															thumbnails[610282] = clik.newPhoto({"id":610282,"src":"butterfly_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_610282.html","width":130,"caption":"Butterfly on thistle","height":166});
															thumbnails[610788] = clik.newPhoto({"id":610788,"src":"cfinch5912_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_610788.html","width":130,"caption":"Chaffinch","height":124});
															thumbnails[610807] = clik.newPhoto({"id":610807,"src":"goldfinch3623_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_610807.html","width":130,"caption":"Goldfinch","height":133});
															thumbnails[619110] = clik.newPhoto({"id":619110,"src":"calf-couched-shpnd-8935_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_619110.html","width":130,"caption":"Sika calf","height":109});
															thumbnails[620681] = clik.newPhoto({"id":620681,"src":"hind-feeding-on-heath-8431-_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_620681.html","width":130,"caption":"Sika hind ","height":155});
															thumbnails[620802] = clik.newPhoto({"id":620802,"src":"hind-feeding-8929-01_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_620802.html","width":130,"caption":"Sika hind","height":148});
															thumbnails[621684] = clik.newPhoto({"id":621684,"src":"calf-72691_thumb.jpg","galleries_id":43310,"server_id":1,"link":"photo_621684.html","width":130,"caption":"Sika calf","height":181});
															thumbnails[625902] = clik.newPhoto({"id":625902,"src":"soy-ram-5300_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_625902.html","width":130,"caption":"Soy sheep","height":99});
															thumbnails[625907] = clik.newPhoto({"id":625907,"src":"cows-eye-4823_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_625907.html","width":130,"caption":"Number 410","height":86});
															thumbnails[625931] = clik.newPhoto({"id":625931,"src":"cow-and-calf-6218_thumb.jpg","galleries_id":43312,"server_id":1,"link":"photo_625931.html","width":130,"caption":"A mothers advice....","height":98});
															thumbnails[676256] = clik.newPhoto({"id":676256,"src":"nuthatch-9153-01_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_676256.html","width":130,"caption":"Nuthatch","height":94});
															thumbnails[676266] = clik.newPhoto({"id":676266,"src":"great-tit-shpnd-9004_thumb.jpg","galleries_id":43313,"server_id":1,"link":"photo_676266.html","width":130,"caption":"Great Tit","height":163});
															thumbnails[788826] = clik.newPhoto({"id":788826,"src":"Leaping-Roe-9682-01_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_788826.html","width":130,"caption":"Running Roe deer","height":89});
															thumbnails[790239] = clik.newPhoto({"id":790239,"src":"goldfinch-9790-01_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_790239.html","width":130,"caption":"Goldfinch","height":158});
															thumbnails[790258] = clik.newPhoto({"id":790258,"src":"Hare-2065-01_thumb.gif","galleries_id":43312,"server_id":1,"link":"photo_790258.html","width":130,"caption":"Brown Hare","height":96});
															thumbnails[790276] = clik.newPhoto({"id":790276,"src":"Hare-6156_thumb.gif","galleries_id":43312,"server_id":1,"link":"photo_790276.html","width":130,"caption":"European Brown Hare","height":159});
															thumbnails[790335] = clik.newPhoto({"id":790335,"src":"L-ear-owl-9490-01_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_790335.html","width":130,"caption":"Long Eared Owl. ","height":161});
															thumbnails[790348] = clik.newPhoto({"id":790348,"src":"l-e-owl-9528-01_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_790348.html","width":130,"caption":"Long Eared Owl","height":183});
															thumbnails[790365] = clik.newPhoto({"id":790365,"src":"sika-hind-by-fence-7242-01_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_790365.html","width":130,"caption":"Sika hind","height":101});
															thumbnails[790379] = clik.newPhoto({"id":790379,"src":"snowdrops-9744-01_thumb.gif","galleries_id":43314,"server_id":1,"link":"photo_790379.html","width":130,"caption":"Snowdrops","height":167});
															thumbnails[790415] = clik.newPhoto({"id":790415,"src":"tawny-owl-9434-01_thumb.gif","galleries_id":43313,"server_id":1,"link":"photo_790415.html","width":130,"caption":"Tawny Owl","height":174});
															thumbnails[813923] = clik.newPhoto({"id":813923,"src":"bluebell-1_thumb.gif","galleries_id":43314,"server_id":1,"link":"photo_813923.html","width":130,"caption":"Bluebells","height":182});
															thumbnails[813941] = clik.newPhoto({"id":813941,"src":"Avon-West-Amesbury-9869-01_thumb.gif","galleries_id":43315,"server_id":1,"link":"photo_813941.html","width":130,"caption":"River Avon at sunset","height":87});
															thumbnails[813958] = clik.newPhoto({"id":813958,"src":"sunset-7048-01_thumb.gif","galleries_id":43315,"server_id":1,"link":"photo_813958.html","width":130,"caption":"Lundy sunset","height":155});
															thumbnails[1128499] = clik.newPhoto({"id":1128499,"src":"fallow-3_DM345301_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_1128499.html","width":130,"caption":"Fallow bucks fighting","height":96});
															thumbnails[1128510] = clik.newPhoto({"id":1128510,"src":"Fallow-bucks-0224-01_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_1128510.html","width":130,"caption":"Fallow Bucks","height":85});
															thumbnails[1233470] = clik.newPhoto({"id":1233470,"src":"wary-young-roe-buck-about-t_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_1233470.html","width":130,"caption":"Young Roe buck","height":176});
															thumbnails[1233494] = clik.newPhoto({"id":1233494,"src":"velvet-fallow-buck-7073-01_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_1233494.html","width":130,"caption":"Fallow in Velvet","height":150});
															thumbnails[1233507] = clik.newPhoto({"id":1233507,"src":"leaping-roe-buck-at-sunset-_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_1233507.html","width":130,"caption":"Roe buck in flight","height":106});
															thumbnails[1233546] = clik.newPhoto({"id":1233546,"src":"running-roe-buck-7332-01_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_1233546.html","width":130,"caption":"Running Roe buck","height":95});
															thumbnails[1233579] = clik.newPhoto({"id":1233579,"src":"stalker-0319-01_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_1233579.html","width":130,"caption":"Photo ambush","height":114});
															thumbnails[1233655] = clik.newPhoto({"id":1233655,"src":"fallow-2_DM344521_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_1233655.html","width":130,"caption":"Fallow buck","height":100});
															thumbnails[1233672] = clik.newPhoto({"id":1233672,"src":"Hare-7360-01_thumb.gif","galleries_id":43312,"server_id":1,"link":"photo_1233672.html","width":130,"caption":"European Brown Hare","height":173});
															thumbnails[1259863] = clik.newPhoto({"id":1259863,"src":"buck-sneaking-off-6738-01_thumb.gif","galleries_id":43311,"server_id":1,"link":"photo_1259863.html","width":130,"caption":"Roe buck sneaking away.","height":122});
															thumbnails[1259866] = clik.newPhoto({"id":1259866,"src":"hare-6728-01_thumb.gif","galleries_id":43312,"server_id":1,"link":"photo_1259866.html","width":130,"caption":"Brown Hare on the lookout.","height":167});
															thumbnails[1893865] = clik.newPhoto({"id":1893865,"src":"Hind-and-calf-at-dawn-8540-01_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_1893865.html","width":130,"caption":"Mother and daughter at dawn","height":149});
															thumbnails[1893952] = clik.newPhoto({"id":1893952,"src":"pair-in-the-mist-8140-01_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_1893952.html","width":130,"caption":"Caught out.","height":158});
															thumbnails[1893965] = clik.newPhoto({"id":1893965,"src":"Sika-stag-at-dawn-8521-01_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_1893965.html","width":130,"caption":"Dawn stag","height":115});
															thumbnails[1893980] = clik.newPhoto({"id":1893980,"src":"stag-couched-8428-01_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_1893980.html","width":130,"caption":"Stag at rest.","height":167});
															thumbnails[1894000] = clik.newPhoto({"id":1894000,"src":"stag-whistling-in-gorse-8477-01_thumb.gif","galleries_id":43310,"server_id":1,"link":"photo_1894000.html","width":130,"caption":"A Sika stag whistles.","height":169});
															thumbnails[2124935] = clik.newPhoto({"id":2124935,"src":"Fallow001_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_2124935.html","width":130,"caption":"Melanistic fallow buck","height":101});
															thumbnails[2125041] = clik.newPhoto({"id":2125041,"src":"Fallow002_thumb.gif","galleries_id":43309,"server_id":1,"link":"photo_2125041.html","width":130,"caption":"Menil fallow buck","height":157});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[44353] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ENVIRONMENT","link":"gallery_44353.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"1259866,1233672,813958,813941,813923,790415,790379,790348,790335,790276","id":44353,"singleSection":false});				  						galleries[43309] = clik.newGallery({"parentGallery":43306,"usePopups":false,"title":"Photographs of Fallow deer.","link":"gallery_43309.html","maxRecords":0.0,"photoIDs":[563978.0,1128499.0,1128510.0,1233494.0,1233579.0,1233655.0,2124935.0,2125041.0],"skipIndex":0,"section_code":"gallery","featured_images":563978.0,"id":43309,"singleSection":false});				  						galleries[43307] = clik.newGallery({"parentGallery":43306,"usePopups":false,"title":"Photographs of Red deer.","link":"gallery_43307.html","maxRecords":0.0,"photoIDs":[561366.0,561692.0,561714.0,561759.0,561773.0,561777.0,561781.0,561784.0,561787.0,561790.0,561796.0],"skipIndex":0,"section_code":"gallery","featured_images":561366.0,"id":43307,"singleSection":false});				  						galleries[43311] = clik.newGallery({"parentGallery":43306,"usePopups":false,"title":"Photographs of Roe deer. ","link":"gallery_43311.html","maxRecords":0.0,"photoIDs":[571601.0,571607.0,571615.0,571618.0,571626.0,571638.0,571681.0,571685.0,591839.0,591844.0,591847.0,591857.0,608712.0,788826.0,1233470.0,1233507.0,1233546.0,1259863.0],"skipIndex":0,"section_code":"gallery","featured_images":"1259863,1233546,1233507,1233470,788826,608712,591857,591847,591844,591839","id":43311,"singleSection":false});				  						galleries[43310] = clik.newGallery({"parentGallery":43306,"usePopups":false,"title":"Photographs of Sika deer.","link":"gallery_43310.html","maxRecords":0.0,"photoIDs":[564108.0,564119.0,564127.0,564128.0,564134.0,564138.0,564149.0,564154.0,564161.0,564186.0,574929.0,574954.0,619110.0,620681.0,620802.0,621684.0,790365.0,1893865.0,1893952.0,1893965.0,1893980.0,1894000.0],"skipIndex":0,"section_code":"gallery","featured_images":"1894000,1893980,1893965,1893952,1893865,790365,621684,620802,620681,619110","id":43310,"singleSection":false});				  						galleries[43306] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DEER","link":"gallery_43306.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"563978,561366","id":43306,"singleSection":false});				  						galleries[43312] = clik.newGallery({"parentGallery":44353,"usePopups":false,"title":"ANIMALS","link":"gallery_43312.html","maxRecords":0.0,"photoIDs":[565950.0,580322.0,580323.0,580326.0,580327.0,580329.0,580331.0,610281.0,610282.0,625902.0,625907.0,625931.0,790258.0,790276.0,1233672.0,1259866.0],"skipIndex":0,"section_code":"gallery","featured_images":"1259866,1233672,790276,790258,625931,625907,625902,610282,610281,580331","id":43312,"singleSection":false});				  						galleries[43313] = clik.newGallery({"parentGallery":44353,"usePopups":false,"title":"BIRDS","link":"gallery_43313.html","maxRecords":0.0,"photoIDs":[571695.0,571698.0,571701.0,571704.0,580269.0,580271.0,580272.0,580275.0,580278.0,580283.0,610788.0,610807.0,676256.0,676266.0,790239.0,790335.0,790348.0,790415.0],"skipIndex":0,"section_code":"gallery","featured_images":"790415,790348,790335,790239,676266,676256,610807,610788,580283,580278","id":43313,"singleSection":false});				  						galleries[43314] = clik.newGallery({"parentGallery":44353,"usePopups":false,"title":"FLORA","link":"gallery_43314.html","maxRecords":0.0,"photoIDs":[571706.0,571707.0,580285.0,580286.0,580288.0,580289.0,580291.0,580294.0,580297.0,580316.0,790379.0,813923.0],"skipIndex":0,"section_code":"gallery","featured_images":"813923,790379,580316,580297,580294,580291,580289,580288,580286,580285","id":43314,"singleSection":false});				  						galleries[43315] = clik.newGallery({"parentGallery":44353,"usePopups":false,"title":"LANDSCAPE","link":"gallery_43315.html","maxRecords":0.0,"photoIDs":[575035.0,575036.0,580300.0,580303.0,580304.0,580307.0,580309.0,580310.0,580312.0,580314.0,580315.0,813941.0,813958.0],"skipIndex":0,"section_code":"gallery","featured_images":"813958,813941,580315,580314,580312,580310,580309,580307,580304,580303","id":43315,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '564161';
imageSets[2] = '563978,561366';
imageSets[3] = '5628957,2125041,2124935,1894000,1893980,1893965,1893952,1893865,1259866,1259863,1233672,1233655,1233579,1233546,1233507,1233494,1233470,1128510,1128499,813958,813941,813923,790415,790379,790365,790348,790335,790276,790258,790239,788826,676266,676256,625931,625907,625902,621684,620802,620681,619110,610807,610788,610282,610281,608712,591857,591847,591844,591839,580331';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/georgetrebinski/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/georgetrebinski/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Images of deer and their country. : ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="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 += '<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="george.trebinski@btinternet.com">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					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="george.trebinski@btinternet.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;
	}
}

			

