function thumbnail(g,e,b,f,d,a,c){this.id=g;this.galleries_id=e;this.caption=b;this.src=getServerPath(c)+"/"+f;this.width=d;this.height=a}function gallery(e,c,d,b,a){this.id=e;this.featured_images=c;this.title=d;this.section_code=b;this.photoIDs=a}var thumbnails=new Object();thumbnails[1506894]=new thumbnail(1506894,"198082","Nuthatch","nuthatch framed 3_thumb.jpg",130,106,1);thumbnails[1506904]=new thumbnail(1506904,"198082","Nuthatch","Frame_nuthatch14_thumb.jpg",130,186,1);thumbnails[953165]=new thumbnail(953165,"72035","Holly Blue Butterfly","forum Blue Holly  1_thumb.jpg",130,125,1);thumbnails[953199]=new thumbnail(953199,"72035","Gotcha!","forum spider 5_thumb.jpg",130,115,1);thumbnails[953172]=new thumbnail(953172,"72035","Bug","forum bug 2_thumb.jpg",130,109,1);thumbnails[953148]=new thumbnail(953148,"42325","The Fox","email fox1_thumb.jpg",130,87,1);thumbnails[953179]=new thumbnail(953179,"72035","The Honey Bee's Head.","forum honey bee_thumb.jpg",130,90,1);thumbnails[953181]=new thumbnail(953181,"198082","The Green Woodpecker","forum woodpecker_thumb.jpg",130,119,1);thumbnails[953154]=new thumbnail(953154,"208600","The Adder  ","Forum adder 1_thumb.jpg",130,101,1);thumbnails[953197]=new thumbnail(953197,"358628","Black Tailed Godwits. (Limosa Limosa)","forum DSLR_thumb.jpg",130,91,1);thumbnails[546229]=new thumbnail(546229,"198082","The Jay","website 9a_thumb.jpg",130,108,1);thumbnails[546542]=new thumbnail(546542,"42325","The Stag","website 51_thumb.jpg",130,152,1);thumbnails[421085]=new thumbnail(421085,"198082","Sparrow & The Mayfly","Sparrow & Mayfly_thumb.jpg",130,99,1);thumbnails[421145]=new thumbnail(421145,"358628","Canada Geese","geese pair 3_thumb.jpg",130,81,1);thumbnails[421093]=new thumbnail(421093,"198082","The swallow","Swallow_thumb.jpg",130,102,1);thumbnails[546548]=new thumbnail(546548,"139377","The Sparrow Hawk","website copy1_thumb.jpg",130,136,1);thumbnails[141226]=new thumbnail(141226,"42325","The Red Deer","web 41_thumb.jpg",130,111,1);thumbnails[141227]=new thumbnail(141227,"42325","Twinkle in your eye","web 51_thumb.jpg",130,98,1);thumbnails[141231]=new thumbnail(141231,"139380","Enlightened.","web 8_thumb.jpg",130,87,1);thumbnails[141240]=new thumbnail(141240,"42325","The otter","web 6_thumb.jpg",130,87,1);thumbnails[142627]=new thumbnail(142627,"13094","Day at the races","web 221_thumb.jpg",130,103,1);thumbnails[142628]=new thumbnail(142628,"13094","Last one in","web 23_thumb.jpg",130,116,1);thumbnails[142637]=new thumbnail(142637,"42325","The red squirrel","web 24_thumb.jpg",130,100,1);thumbnails[142641]=new thumbnail(142641,"42325","The Leopard","web 211_thumb.jpg",130,87,1);thumbnails[142643]=new thumbnail(142643,"42325","Snow leopard","web 25_thumb.jpg",130,115,1);thumbnails[142647]=new thumbnail(142647,"139380","Autumn sunset","web 13_thumb.jpg",130,87,1);thumbnails[142648]=new thumbnail(142648,"42325","Look of hope","web 20_thumb.jpg",130,100,1);thumbnails[143436]=new thumbnail(143436,"42325","Hare today","Web 53_thumb.jpg",130,107,1);thumbnails[143484]=new thumbnail(143484,"139377","Flying high.","web 112_thumb.jpg",130,99,1);thumbnails[146911]=new thumbnail(146911,"139380","Blue moon","web moon_thumb.jpg",130,87,1);thumbnails[146914]=new thumbnail(146914,"139380","Moonlit night","web sky_thumb.jpg",130,77,1);thumbnails[659431]=new thumbnail(659431,"198082","Kingfisher on Bullrush (Alcedo Atthis)","forum 11_thumb.jpg",130,128,1);thumbnails[659540]=new thumbnail(659540,"198082","The Skylark (Alauda Arvensis)","forum 8_thumb.jpg",130,134,1);thumbnails[659550]=new thumbnail(659550,"198082","Kingfisher. (Alcedo Atthis)","forum 6_thumb.jpg",130,157,1);thumbnails[779595]=new thumbnail(779595,"358628","The grey Heron - Ardea Cinerea","forum 12_thumb.jpg",130,96,1);thumbnails[871281]=new thumbnail(871281,"358628","The grey Heron","forum 21_thumb.jpg",130,143,1);thumbnails[871293]=new thumbnail(871293,"198082","The Sparrow & The Blossom.","web 113_thumb.jpg",130,92,1);thumbnails[871315]=new thumbnail(871315,"139380","River Crouch at Dusk.","forum 4_thumb.jpg",130,87,1);thumbnails[871318]=new thumbnail(871318,"139380","Hullbridge - River Crouch.","web 54_thumb.jpg",130,87,1);thumbnails[871322]=new thumbnail(871322,"139380","Hanningfield Reservoir","web 37_thumb.jpg",130,87,1);thumbnails[953041]=new thumbnail(953041,"208600","Grass Snake","forum Grassnake 1_thumb.jpg",130,105,1);thumbnails[1035369]=new thumbnail(1035369,"198082","The swallow in flight.","forum swallow 1_thumb.jpg",130,108,1);thumbnails[1037020]=new thumbnail(1037020,"42325","Freedom","website merlin 2_thumb.jpg",130,87,1);thumbnails[1037023]=new thumbnail(1037023,"42325","Merlin","website merlin 3_thumb.jpg",130,93,1);thumbnails[1052511]=new thumbnail(1052511,"42325","Eye to Eye Contact.","forum mouse 3_thumb.jpg",130,136,1);thumbnails[1052518]=new thumbnail(1052518,"208600","The Toad","forum toad 2_thumb.jpg",130,87,1);thumbnails[1052521]=new thumbnail(1052521,"208600","Toad on the run.","forum toad 1_thumb.jpg",130,80,1);thumbnails[1306617]=new thumbnail(1306617,"139380","My Kinda Sunset.","pink night sky_thumb.jpg",130,100,1);thumbnails[1306618]=new thumbnail(1306618,"72035","The Common Hawker Dragonfly","forum dragonfly_thumb.jpg",130,108,1);thumbnails[1306620]=new thumbnail(1306620,"72035","The Cinnabar Caterpillar","Forum_thumb..jpg",130,121,1);thumbnails[1306629]=new thumbnail(1306629,"72035","The Cross or Garden Spider(Araneus diadematus)","spider ok1_thumb.jpg",130,111,1);thumbnails[1306640]=new thumbnail(1306640,"198082","Juvenile Starlings.","starlings sibs_thumb.jpg",130,142,1);thumbnails[1306644]=new thumbnail(1306644,"42325","The Field Mouse","mouse peep 3_thumb.jpg",130,115,1);thumbnails[1306657]=new thumbnail(1306657,"198082","Tai Chi for Starlings.","starling 20_thumb.jpg",130,147,1);thumbnails[1306667]=new thumbnail(1306667,"198082","Starling Aerobics","starling 7_thumb.jpg",130,85,1);thumbnails[1349991]=new thumbnail(1349991,"72035","The Marbled White.","craqaleur Butterfly_thumb.jpg",130,107,1);thumbnails[1349992]=new thumbnail(1349992,"12947","Deadly Nightshade.","deadley nightshade buzz stack moulded frame_thumb.jpg",130,135,1);thumbnails[1349994]=new thumbnail(1349994,"12947","Rippled Reflection.","flower rippled 1_thumb.jpg",130,108,1);thumbnails[1350055]=new thumbnail(1350055,"72035","The Marbled White Butterfly","marble edgeworks molded_thumb.jpg",130,125,1);thumbnails[1351889]=new thumbnail(1351889,"72035","The Hawker Close up.","dragonfly close_thumb.jpg",130,83,1);thumbnails[1351947]=new thumbnail(1351947,"12947","Redundant.","unknown plant_thumb.jpg",130,106,1);thumbnails[1351956]=new thumbnail(1351956,"198082","Starling rivalry","stars 3_thumb.jpg",130,128,1);thumbnails[1506908]=new thumbnail(1506908,"139377","Great Grey Owl","aspen 7_thumb.jpg",130,104,1);thumbnails[1506912]=new thumbnail(1506912,"139377","The Great Grey Owl.","Great Grey Owl_thumb.jpg",130,99,1);thumbnails[1506922]=new thumbnail(1506922,"139377","The Red Kite","kite 7_thumb.jpg",130,92,1);thumbnails[1506931]=new thumbnail(1506931,"139377","The Harris Hawk","kite cloned_thumb.jpg",130,128,1);thumbnails[1506939]=new thumbnail(1506939,"139377","Kite in flight","Kite 4_thumb.jpg",130,112,1);thumbnails[1506959]=new thumbnail(1506959,"42325","Red Deer and Fawn","deer and fawn_thumb.jpg",130,101,1);thumbnails[1506964]=new thumbnail(1506964,"42325","Red Deer and Young.","deer and fawn 2_thumb.jpg",130,86,1);thumbnails[1506969]=new thumbnail(1506969,"42325","The Red Deer Stag","stag 2_thumb.jpg",130,96,1);thumbnails[1506972]=new thumbnail(1506972,"42325","Stag","stag 9_thumb.jpg",130,86,1);thumbnails[1599370]=new thumbnail(1599370,"139380","One man and his dog.","one man and his dog framed_thumb.jpg",130,82,1);thumbnails[1599380]=new thumbnail(1599380,"139377","Red Kite","red kite framed_thumb.jpg",130,107,1);thumbnails[1599412]=new thumbnail(1599412,"72035","Saving lunch for later.","spider and fly webb_thumb.jpg",130,122,1);thumbnails[1722385]=new thumbnail(1722385,"143759","The Kookaburra","kook flight 6_thumb.jpg",130,104,1);thumbnails[1722396]=new thumbnail(1722396,"143759","The Lanner Falcon","lanar 6_thumb.jpg",130,102,1);thumbnails[1722411]=new thumbnail(1722411,"143759","Marbled Polecat","marbled polecat v_thumb.jpg",130,94,1);thumbnails[2098491]=new thumbnail(2098491,"","North Fambridge, Essex.","fambridge ok_filtered_thumb.jpg",130,73,1);thumbnails[2098502]=new thumbnail(2098502,"","View of Rayleigh, Essex.","rayleigh view_filtered_thumb.jpg",130,80,1);thumbnails[2098514]=new thumbnail(2098514,"","Crocus","HDR Crocus ok_thumb.jpg",130,187,1);thumbnails[2098534]=new thumbnail(2098534,"","Rayleigh Mill","windmill Windmill HDR_filtered_thumb.jpg",130,91,1);thumbnails[2098543]=new thumbnail(2098543,"198082","The Duckling & Fly","duckling dance ok_thumb.jpg",130,122,1);thumbnails[2098550]=new thumbnail(2098550,"12947","Champagne Bubble Poppy.","poppy ok 4_thumb.jpg",130,106,1);thumbnails[2098559]=new thumbnail(2098559,"12947","Poppy Seed Pod.","poppy pod 1_thumb.jpg",130,155,1);thumbnails[2098569]=new thumbnail(2098569,"12947","Poppy pod with dew drops.","poppy pod rain 7_thumb.jpg",130,101,1);thumbnails[2098578]=new thumbnail(2098578,"143759","Looking to the sky.","Napoleon look_thumb.jpg",130,99,1);thumbnails[2098589]=new thumbnail(2098589,"139377","Harris Hawk ","hawk flight_thumb.jpg",130,97,1);thumbnails[2098601]=new thumbnail(2098601,"143759","The Barn Owl","owl flight_filtered_thumb.jpg",130,81,1);thumbnails[2098614]=new thumbnail(2098614,"12947","Refreshed.","poppy rain 4_thumb.jpg",130,204,1);thumbnails[2098645]=new thumbnail(2098645,"143759","The Lanner Falcon","lanner v_thumb.jpg",130,93,1);thumbnails[2169082]=new thumbnail(2169082,"143759","The Postman Butterfly","butterfly 1_thumb.jpg",130,110,1);thumbnails[2169106]=new thumbnail(2169106,"143759","Young Wallaby.","forty winks_thumb.jpg",130,133,1);thumbnails[2169188]=new thumbnail(2169188,"143759","Iguana","igggy 2_thumb.jpg",130,107,1);thumbnails[2169189]=new thumbnail(2169189,"143759","Sleepy baby Marmoset","marmoset baby 7_filtered1_thumb.jpg",130,88,1);thumbnails[2169219]=new thumbnail(2169219,"143759","Love you dad.","marmoset baby 9_filtered_thumb.jpg",130,120,1);thumbnails[2169222]=new thumbnail(2169222,"143759","Anita & Khan Eurasian Otters.","anita and khan 3_thumb.jpg",130,92,1);thumbnails[2169228]=new thumbnail(2169228,"143759","Itchy the barn owl.","itchy no jessie_thumb.jpg",130,95,1);thumbnails[2169252]=new thumbnail(2169252,"143759","Brother and Sister Marbled Polecats.<br>\r\n","polecats framed_thumb.jpg",130,144,1);thumbnails[2169254]=new thumbnail(2169254,"143759","Enquisative Baby Marmoset.","marmoset look 4_filtered_thumb.jpg",130,107,1);thumbnails[2169279]=new thumbnail(2169279,"143759","The Mormon Butterfly","butterfly i_thumb.jpg",130,99,1);thumbnails[2169300]=new thumbnail(2169300,"143759","Pinky the Parrot.","sleepy pinky_thumb.jpg",130,83,1);thumbnails[2346253]=new thumbnail(2346253,"72035","The Common Blue Butterfly","Butterfly forum_thumb.jpg",130,98,1);thumbnails[2346257]=new thumbnail(2346257,"12947","Gazania after the rain","Gazania & raindrops_thumb.jpg",130,130,1);thumbnails[2482616]=new thumbnail(2482616,"208600","The Green Anole Lizard","Lizzy 1_thumb.jpg",130,96,1);thumbnails[2482621]=new thumbnail(2482621,"208600","The Whites Tree frog.","bogie 9_thumb.jpg",130,134,1);thumbnails[2482626]=new thumbnail(2482626,"208600","The Bearded Dragon","ike forum 2_thumb.jpg",130,122,1);thumbnails[2482631]=new thumbnail(2482631,"208600","Eye of Lizard!","Ike eye _filtered_thumb.jpg",130,98,1);thumbnails[2482653]=new thumbnail(2482653,"72035","The Flame - (Dryas Julia)Butterfly","Orange forum_thumb.jpg",130,166,1);thumbnails[2482663]=new thumbnail(2482663,"72035","The Hecales Longwing- (Heliconius Hecale) Butterfly","orange large forum_thumb.jpg",130,112,1);thumbnails[3413490]=new thumbnail(3413490,"139377","The Bald Eagle","bald eagle 2 forum1_thumb.jpg",130,94,1);thumbnails[3413498]=new thumbnail(3413498,"72035","Bee & Thistle","bee & thistle forum_thumb.jpg",130,133,1);thumbnails[3413503]=new thumbnail(3413503,"139377","Barn Owl at dusk.","barn owl  cr_filtered_thumb.jpg",130,104,1);thumbnails[3413506]=new thumbnail(3413506,"42325","The Cheetah","cheetah 5_thumb.jpg",130,148,1);thumbnails[3413508]=new thumbnail(3413508,"358628","The Little Egret.","egret b forum_thumb.jpg",130,93,1);thumbnails[3413510]=new thumbnail(3413510,"143759","The Lanner falcon in full flight","lanner flight 1_thumb.jpg",130,89,1);thumbnails[3413513]=new thumbnail(3413513,"72035","Garden Spider.","spider forum_thumb.jpg",130,108,1);thumbnails[3413514]=new thumbnail(3413514,"143759","Great Grey Owl and its lunch.","nap & chick ok_thumb.jpg",130,171,1);thumbnails[3413516]=new thumbnail(3413516,"358628","River Dance","swan pair landing forum_thumb.jpg",130,83,1);thumbnails[3413519]=new thumbnail(3413519,"198082","The Goldfinch.","The Goldfinch forum_thumb.jpg",130,144,1);thumbnails[3413526]=new thumbnail(3413526,"358628","Young swan resting.","young swan 2 forum_thumb.jpg",130,164,1);thumbnails[3413537]=new thumbnail(3413537,"143759","Angry Tortoise.","tortoise forum 1_thumb.jpg",130,115,1);thumbnails[3413539]=new thumbnail(3413539,"143759","The Tree Nymph butterfly.","Tree Nymph in flight_thumb.jpg",130,136,1);thumbnails[3413548]=new thumbnail(3413548,"358628","The Gadwell Duck","teal male forum_thumb.jpg",130,93,1);thumbnails[3413564]=new thumbnail(3413564,"198082","The Wheatear.","wheatear 3 forum edit_thumb.jpg",130,128,1);thumbnails[3413568]=new thumbnail(3413568,"198082","The Meadow Pipit.","meadow pipit 2 forum_thumb.jpg",130,109,1);thumbnails[3413578]=new thumbnail(3413578,"208600","Ike my bearded dragon.","Ike 1 forum_thumb.jpg",130,116,1);thumbnails[3488593]=new thumbnail(3488593,"208600","Whites tree Frog.","ja ja ok s_thumb.jpg",130,100,1);thumbnails[3488597]=new thumbnail(3488597,"208600","MAle & Female Whites Tree Frogs.","_ja ja & bogie ok 2_thumb.jpg",130,98,1);thumbnails[3488601]=new thumbnail(3488601,"208600","Crested Gecko","gecko 3_thumb.jpg",130,98,1);thumbnails[3488657]=new thumbnail(3488657,"208600","Ground Panther gecko.","Gecko face wash_thumb.jpg",130,114,1);thumbnails[3488660]=new thumbnail(3488660,"208600","Best of Friends.","pete & slim 1_thumb.jpg",130,97,1);thumbnails[3488688]=new thumbnail(3488688,"208600","Green Anole & its Lunch!","pete eat 1_thumb.jpg",130,135,1);thumbnails[3488692]=new thumbnail(3488692,"208600","Down the hatch!","peter locust forum_thumb.jpg",130,97,1);thumbnails[3488713]=new thumbnail(3488713,"208600","Ground Panther Gecko.","Gecko 2 ok1_thumb.jpg",130,96,1);thumbnails[3488883]=new thumbnail(3488883,"208600","Some things are Hard to swallow!","peter chew forum_thumb.jpg",130,86,1);thumbnails[3765013]=new thumbnail(3765013,"12947","My Bleedng Heart.","bleeding_heart_forum_copy_2_thumb.jpg",130,192,1);thumbnails[3765020]=new thumbnail(3765020,"12947","Allium & The Ladybird.","ladybird_1_forum_thumb.jpg",130,204,1);thumbnails[3765034]=new thumbnail(3765034,"12947","White Aqualigia.","white_aqualigia_email_thumb.jpg",130,102,1);thumbnails[3765038]=new thumbnail(3765038,"12947","Fritillaria.","bellflower__fritallaria_thumb.jpg",130,161,1);thumbnails[3765062]=new thumbnail(3765062,"12947","Daffodile Dew","daff_water_dropsforum_3_thumb.jpg",130,204,1);thumbnails[4072328]=new thumbnail(4072328,"358628","The Gannet.","gannet_3_ok_forum_thumb.jpg",130,105,1);thumbnails[4114539]=new thumbnail(4114539,"198082","The Male Pheasant - Ruffled feathers.","Pheasant_1_forum_thumb.jpg",130,93,1);thumbnails[4114546]=new thumbnail(4114546,"198082","Male Pheasant 2","pheasant_4_forum_thumb.jpg",130,103,1);thumbnails[4114556]=new thumbnail(4114556,"198082","The Male Pheasant.","pheasant_5_forum_thumb.jpg",130,110,1);thumbnails[4114562]=new thumbnail(4114562,"198082","Male Pheasant Portrait","pheasant_6_forum_thumb.jpg",130,119,1);thumbnails[4114576]=new thumbnail(4114576,"42325","The Red Squirrel","red_squirrel_1_forum_thumb.jpg",130,187,1);thumbnails[4114585]=new thumbnail(4114585,"42325","Red Squirrel 2","red_squirrel_2_forum_thumb.jpg",130,207,1);thumbnails[4114611]=new thumbnail(4114611,"42325","Im watching you - Red Squirrel","red_squirrel_4_forum_thumb.jpg",130,106,1);thumbnails[4114622]=new thumbnail(4114622,"42325","Red Squirrel 3","red_squirrel_6_forum_thumb.jpg",130,92,1);thumbnails[4114632]=new thumbnail(4114632,"42325","Red Squirrel 4","red_squirrel_7_forum_thumb.jpg",130,90,1);thumbnails[4114635]=new thumbnail(4114635,"198082","Proud Male Pheasant.","pheasant_2_forum_thumb.jpg",130,82,1);thumbnails[4114761]=new thumbnail(4114761,"198082","The Swallow","Swallow_1_forum_thumb.jpg",130,87,1);thumbnails[4114779]=new thumbnail(4114779,"198082","The Swallow 2","swallow_3_forum_thumb.jpg",130,87,1);thumbnails[4325339]=new thumbnail(4325339,"72035","The Hover Fly","hover_fly_july_09_forum_thumb.jpg",130,84,1);thumbnails[4325349]=new thumbnail(4325349,"198082","Long Tailed Tits","long_tailed_tit_chicks_batch_thumb.jpg",130,130,1);thumbnails[4325804]=new thumbnail(4325804,"198082","Juvenile Female Gree Woodpecker","woodpecker_white_forum_thumb.jpg",130,91,1);thumbnails[4325813]=new thumbnail(4325813,"72035","Resting Hover Fly","hover_fly_forum_thumb.jpg",130,107,1);thumbnails[6519661]=new thumbnail(6519661,"358628","Little Grebe","dab_1_email_thumb.jpg",130,82,1);thumbnails[6519667]=new thumbnail(6519667,"358628","Little Grebe","dab_5_email_thumb.jpg",130,145,1);thumbnails[6519678]=new thumbnail(6519678,"358628","The Little Egret.","Egret_flight_2_email_thumb.jpg",130,111,1);thumbnails[6519684]=new thumbnail(6519684,"358628","The Grey Heron and The Egret","Heron__Egret_email_thumb.jpg",130,88,1);thumbnails[6519745]=new thumbnail(6519745,"358628","Oyster Catcher","oyster_catcher_3_email_thumb.jpg",130,118,1);thumbnails[6519751]=new thumbnail(6519751,"358628","The Oyster Catcher preening.","oyster_catcher_looking_email_2_thumb.jpg",130,103,1);thumbnails[6519753]=new thumbnail(6519753,"358628","The Cormorant","the_cormorant_1_email_thumb.jpg",130,81,1);thumbnails[6519755]=new thumbnail(6519755,"358628","Grey Heron in flight.","heron_flight_2_email_thumb.jpg",130,85,1);thumbnails[6519759]=new thumbnail(6519759,"358628","The Curlew","wader_1_email_thumb.jpg",130,86,1);thumbnails[6519763]=new thumbnail(6519763,"358628","The Black Swan","black_swan_profile_email_thumb.jpg",130,161,1);thumbnails[6519771]=new thumbnail(6519771,"42325","The Weazel","weazel_1_email_thumb.jpg",130,98,1);thumbnails[6519774]=new thumbnail(6519774,"358628","","heron__fish_2_email_thumb.jpg",130,136,1);thumbnails[6519776]=new thumbnail(6519776,"358628","Grey Heron - The Landing","heron_6_15_june_2010_email_thumb.jpg",130,118,1);thumbnails[6519777]=new thumbnail(6519777,"358628","Grey Heron - Reflections","heron_k_email_thumb.jpg",130,95,1);thumbnails[6519787]=new thumbnail(6519787,"198082","Male Reed Bunting","stonechat_male_email_thumb.jpg",130,135,1);thumbnails[421128]=new thumbnail(421128,"4101","Nothing like a good sunbath","BEVB2976_thumb.JPG",130,113,1);thumbnails[421113]=new thumbnail(421113,"4101","The robin or Vampire!","BEVB2948_thumb.JPG",130,103,1);thumbnails[140194]=new thumbnail(140194,"4101","Winters little wonder","web 3_thumb.jpg",130,99,1);thumbnails[211403]=new thumbnail(211403,"4101","Cock Robin","robin cr2_thumb.jpg",130,106,1);thumbnails[211404]=new thumbnail(211404,"4101","Do you like my moustache?","IMG_4215_thumb.JPG",130,109,1);thumbnails[211407]=new thumbnail(211407,"4101","She's down there somewhere!","IMG_5166_thumb.JPG",130,114,1);thumbnails[779617]=new thumbnail(779617,"4101","Full Trust","done 26_thumb.JPG",130,119,1);thumbnails[871298]=new thumbnail(871298,"4101","Little Angel.","forum 61_thumb.jpg",130,110,1);thumbnails[871304]=new thumbnail(871304,"4101","Hmm, funny creatures Humans.","forum 71_thumb.jpg",130,111,1);thumbnails[871309]=new thumbnail(871309,"4101","Robin Aerobics in the blossom.","web 215_thumb.jpg",130,101,1);thumbnails[1306645]=new thumbnail(1306645,"4101","Full trust.","ephotoz forum 1a_thumb.jpg",130,120,1);thumbnails[1351876]=new thumbnail(1351876,"4101","Male robin feeding his young.","Dad and family_thumb..jpg",130,84,1);thumbnails[1351903]=new thumbnail(1351903,"4101","Mother and Child.","ephotozene 1_thumb.jpg",130,129,1);thumbnails[1351935]=new thumbnail(1351935,"4101","Caught in the rain.","ephotoz forum 9_thumb.jpg",130,96,1);thumbnails[3413584]=new thumbnail(3413584,"4101","LOve in the open.","C10 B Barker Robins_thumb.jpg",130,113,1);thumbnails[3413587]=new thumbnail(3413587,"4101","Male robin showing aggression towards another male in his territory.","chip aggressive forum_thumb.jpg",130,92,1);thumbnails[3413589]=new thumbnail(3413589,"4101","Stumpy the resident Robin.","stumps forum_thumb.jpg",130,108,1);thumbnails[3413602]=new thumbnail(3413602,"4101","Wet and Weary.","chip wet_thumb.jpg",130,102,1);thumbnails[4325482]=new thumbnail(4325482,"4101","Flying in for a meal.","stumps_flight_1_forum_thumb.jpg",130,104,1);thumbnails[4325739]=new thumbnail(4325739,"4101","Trusting","stumps_flight_2_forum_thumb.jpg",130,87,1);var galleries=new Object();galleries[139377]=new gallery(139377,"3413503,3413490,2098589,1599380,1506939,1506931,1506922,1506912,1506908,546548","Birds of Prey","gallery",[546548,143484,1506908,1506912,1506922,1506931,1506939,1599380,2098589,3413490,3413503]);galleries[139380]=new gallery(139380,"1599370,1306617,871322,871318,871315","Landscape","gallery",[141231,142647,146911,146914,871315,871318,871322,1306617,1599370]);galleries[72035]=new gallery(72035,"3413513,3413498,2482663,2482653,2346253,1599412,1351889,1350055,1349991,1306629,1306620,1306618,953199,953179,953172,953165","Macro Photography","gallery",[953165,953199,953172,953179,1306618,1306620,1306629,1349991,1350055,1351889,1599412,2346253,2482653,2482663,3413498,3413513,4325339,4325813]);galleries[12947]=new gallery(12947,"3765062,3765038,3765034,3765020,3765013,2346257,2098614,2098569,2098559,2098550,1351947,1349994,1349992","Plants,  Flowers & Forna","gallery",[1349992,1349994,1351947,2098550,2098559,2098569,2098614,2346257,3765013,3765020,3765034,3765038,3765062]);galleries[208600]=new gallery(208600,"3488883,3488713,3488692,3488688,3488660,3488657,3488601,3488597,3488593,3413578,2482631,2482626,2482621,2482616,1052521,1052518,953154,953041","Reptiles & Amphibians","gallery",[953154,953041,1052518,1052521,2482616,2482621,2482626,2482631,3413578,3488593,3488597,3488601,3488657,3488660,3488688,3488692,3488713,3488883]);galleries[13094]=new gallery(13094,"142628,142627","Sport & Action","gallery",[142627,142628]);galleries[143759]=new gallery(143759,"3413539,3413537,3413514,3413510,2169300,2169279,2169252,2169228,2169222,2169219,2169188,2169106,2169082,2098645,2098601,2098578,1722411,1722396,1722385","Tropical Wings.","gallery",[1722385,1722396,1722411,2098578,2098601,2098645,2169082,2169106,2169188,2169189,2169219,2169222,2169228,2169252,2169254,2169279,2169300,3413510,3413514,3413537,3413539]);galleries[358628]=new gallery(358628,"4072328,3413548,3413526,3413516,3413508,953197,871281,779595,421145","Wading & Sea Birds","gallery",[953197,421145,779595,871281,3413508,3413516,3413526,3413548,4072328,6519661,6519667,6519678,6519684,6519745,6519751,6519753,6519755,6519759,6519763,6519774,6519776,6519777]);galleries[198082]=new gallery(198082,"4114779,4114761,4114635,4114562,4114556,4114546,4114539,3413568,3413564,3413519,2098543,1506904,1506894,1351956,1306667,1306657,1306640,1035369,953181,871293,659550,659540,659431,546229,421093","Wild Birds of the UK.","gallery",[1506894,1506904,953181,546229,421085,421093,659431,659540,659550,871293,1035369,1306640,1306657,1306667,1351956,2098543,3413519,3413564,3413568,4114539,4114546,4114556,4114562,4114635,4114761,4114779,4325349,4325804,6519787]);galleries[42325]=new gallery(42325,"4114632,4114622,4114611,4114585,4114576,3413506,1506972,1506969,1506964,1506959,1306644,1052511,1037023,1037020,953148,546542","Wildlife & Animals.","gallery",[953148,546542,141226,141227,141240,142637,142641,142643,142648,143436,1037020,1037023,1052511,1306644,1506959,1506964,1506969,1506972,3413506,4114576,4114585,4114611,4114622,4114632,6519771]);galleries[4101]=new gallery(4101,"3413602,3413589,3413587,3413584,1351935,1351903,1351876,1306645,871309,871304,871298,779617,421128,421113","My Robins","gallery",[421128,421113,140194,211403,211404,211407,779617,871298,871304,871309,1306645,1351876,1351903,1351935,3413584,3413587,3413589,3413602,4325482,4325739]);var imageSets=new Object();imageSets[1]="4114779,4114761,4114635,4114632,4114622,4114611,4114585,4114576,4114562,4114556,4114546,4114539,4072328,3765062,3765038,3765034,3765020,3765013,3488883,3488713,3488692,3488688,3488660,3488657,3488601,3488597,3488593,3413602,3413589,3413587,3413584,3413578,3413568,3413564,3413548,3413539,3413537,3413526,3413519,3413516,3413514,3413513,3413510,3413508,3413506,3413503,3413498,3413490,2482663,2482653,2482631,2482626,2482621,2482616,2346257,2346253,2169300,2169279,2169252,2169228,2169222,2169219,2169188,2169106,2169082,2098645,2098614,2098601,2098589,2098578,2098569,2098559,2098550,2098543,2098534,2098514,2098502,2098491,1722411,1722396,1722385,1599412,1599380,1599370,1506972,1506969,1506964,1506959,1506939,1506931,1506922,1506912,1506908,1506904,1506894,1351956,1351947,1351935,1351903,1351889,1351876,1350055,1349994,1349992,1349991,1306667,1306657,1306645,1306644,1306640,1306629,1306620,1306618,1306617,1052521,1052518,1052511,1037023,1037020,1035369,953199,953197,953181,953179,953172,953165,953154,953148,953041,871322,871318,871315,871309,871304,871298,871293,871281,779617,779595,659550,659540,659431,546548,546542,546229,421145,421128,421113,421093,421085,211407,211403,141231";imageSets[2]="4114779,4114761,4114635,4114632,4114622,4114611,4114585,4114576,4114562,4114556,4114546,4114539,4072328,3765062,3765038,3765034,3765020,3765013,3488883,3488713,3488692,3488688,3488660,3488657,3488601,3488597,3488593,3413602,3413589,3413587,3413584,3413578,3413568,3413564,3413548,3413539,3413537,3413526,3413519,3413516,3413514,3413513,3413510,3413508,3413506,3413503,3413498,3413490,2482663,2482653,2482631,2482626,2482621,2482616,2346257,2346253,2169300,2169279,2169252,2169228,2169222,2169219,2169188,2169106,2169082,2098645,2098614,2098601,2098589,2098578,2098569,2098559,2098550,2098543,2098534,2098514,2098502,2098491,1722411,1722396,1722385,1599412,1599380,1599370,1506972,1506969,1506964,1506959,1506939,1506931,1506922,1506912,1506908,1506904,1506894,1351956,1351947,1351935,1351903,1351889,1351876,1350055,1349994,1349992,1349991,1306667,1306657,1306645,1306644,1306640,1306629,1306620,1306618,1306617,1052521,1052518,1052511,1037023,1037020,1035369,953199,953197,953181,953179,953172,953165,953154,953148,953041,871322,871318,871315,871309,871304,871298,871293,871281,779617,779595,659550,659540,659431,546548,546542,546229,421145,421128,421113,421093";imageSets[3]="6519787,6519777,6519776,6519774,6519771,6519763,6519759,6519755,6519753,6519751,6519745,6519684,6519678,6519667,6519661,4325813,4325804,4325739,4325482,4325349,4325339,4114779,4114761,4114635,4114632,4114622,4114611,4114585,4114576,4114562,4114556,4114546,4114539,4072328,3765062,3765038,3765034,3765020,3765013,3488883,3488713,3488692,3488688,3488660,3488657,3488601,3488597,3488593,3413602,3413589";function randomListVal(a){arrayVals=a.split(",");if(arrayVals.length){pos=Math.round(Math.random()*(arrayVals.length-1));val=arrayVals[pos]}else{val=0}return val}function getServerPath(a){var b=-1;switch(a){case 21:b="http://www6.clikpic.com/BevBarker/images";break}switch(a){case 1:b="http://www1.clikpic.com/BevBarker/images";break}switch(a){case 2:b="http://admin.clikpic.com/BevBarker/images";break}switch(a){case 24:b="http://tpc15/clikpic/BevBarker/images";break}switch(a){case 4:b="http://www.clikchurch.com/BevBarker/images";break}switch(a){case 5:b="http://www2.clikpic.com/BevBarker/images";break}switch(a){case 22:b="http://tpc5/clikpic/BevBarker/images";break}switch(a){case 23:b="http://tpc10/clikpic/BevBarker/images";break}switch(a){case 25:b="http://tpc16/clikpic/BevBarker/images";break}switch(a){case 15:b="http://www3.clikpic.com/BevBarker/images";break}switch(a){case 18:b="http://www4.clikpic.com/BevBarker/images";break}switch(a){case 19:b="http://www5.clikpic.com/BevBarker/images";break}switch(a){case 31:b="http://www7.clikpic.com/BevBarker/images";break}switch(a){case 32:b="http://admin2.clikpic.com/BevBarker/images";break}switch(a){case 33:b="http://www8.clikpic.com/BevBarker/images";break}switch(a){case 34:b="http://www9.clikpic.com/BevBarker/images";break}switch(a){case 35:b="http://admin3.clikpic.com/BevBarker/images";break}switch(a){case 37:b="http://admin4.clikpic.com/BevBarker/images";break}return b}function showHomeImage(a){imageID=randomListVal("");if(!basic){a.src=photos[imageID].src;a.width=photos[imageID].width;a.height=photos[imageID].height}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function showHomeImageInline(){html="";imageID=randomListVal(imageSets[1]);if("gallery"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="gallery.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+escape(backgrounds[imageID].caption)+'" border="0">';if("gallery"!=""){html+="</a>"}$("#homepageimage").html(html)}function getNextId(b,d,a){var c=getArrayPos(d,b);if(a){if(c==0){nextImgPos=d.length-1}else{nextImgPos=c-1}}else{if(c==d.length-1){nextImgPos=0}else{nextImgPos=c+1}}nextImg=d[nextImgPos];return nextImg}function next(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a);if(nextImg!=-1){updateImage(nextImg,d,b)}}function updateImage(f,e,b){if(!basic){document.getElementById("imagePhoto").innerHTML='<img class="mainphoto photo" src="'+photos[f].src+' " id="mainPic" name="mainPic" width="'+photos[f].width+'" height="'+photos[f].height+'" alt="'+photos[f].caption+'">';e.value=photos[f].id;$("#imageTitle").html(photos[f].caption);document.title="Bev Barker photography: "+photos[f].caption;if(photos[f].caption==""){document.getElementById("imageTitle").style.display="none"}else{document.getElementById("imageTitle").style.display="block"}var a=fnGetImageDetails(f);if(a==""){document.getElementById("imageDetails").style.display="none";var c=document.getElementById("infoWrap");var d=document.getElementById("photoInfo");if(photos[f].caption==""){if(c!=null){c.className="empty"}if(d!=null){d.className="empty"}}else{if(c!=null){c.className="noinfo"}if(d!=null){d.className="noinfo"}}}else{document.getElementById("imageDetails").style.display="block";var c=document.getElementById("infoWrap");if(c!=null){c.className="normal"}var d=document.getElementById("photoInfo");if(d!=null){d.className="normal"}}document.getElementById("imageDetails").innerHTML=a;resizePhotoInfo();toggleAddToCartConfirm()}else{window.location="photo_"+photos[f].id+".html"}}function toggleAddToCartConfirm(){if($("#paymentConfirm").size()){$("#paymentConfirm").hide();$("#paymentAddButton").unbind().click(function(){form=document.getElementById("paymentForm");option_id=0;if(form.item_option.value){option_id=form.item_option.value}if(addItemToBasket(form.item_number.value,photos,form.site.value,parseInt(form.quantity.value,10),option_id)){if($.browser.msie){$("#paymentConfirm").text("Item added to cart").show()}else{$("#paymentConfirm").text("Item added to cart").fadeIn()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}a=a+fnGetPaymentInfo(photos[b]);if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Buy now using PayPal:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 				&pound;"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Buy this print online:</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';b=b+getPaymentOptions(c.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[c.payment_groups_id].options[0];if(paymentOptions[a]){var e=paymentOptions[a].payment_option;var d=paymentOptions[a].price}}else{}}if(c.item_price!==""||c.payment_groups_id!==""){b=b+'<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="item_name" value="'+e+'">';ref="";if(c.photo_ref!=""){ref=c.photo_ref+" - "+c.caption}else{ref=c.id+" - "+c.caption}price=d;b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="barkerlass@yahoo.com">';b=b+'<input type="hidden" name="currency_code" value="GBP">';b=b+'<input type="hidden" name="add" value="1">';b=b+'<input type="hidden" name="amount" value="'+d+'">';b=b+'<input type="hidden" name="item_number" value="'+ref+'">';b=b+'<input type="Submit" value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="barkerlass@yahoo.com">';b=b+'<input type="hidden" name="display" value="1">';b=b+'<input type="Submit" value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};