function photo(i,c,m,q,d,j,h,o,p,a,l,f,k,b,r,n,g,e){this.id=i;this.galleries_id=c;this.photo_ref=m;this.section_code=q;this.src=d;this.width=j;this.height=h;this.caption=o;this.home=p;this.gallery=a;this.description=l;this.takendate=f;this.photographer=k;this.location=b;this.item_price=r;this.purchase_instruction=n;this.payment_groups_id=g;this.server_id=e;this.src=getServerPath(this.server_id)+"/"+this.src}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 backgrounds=new Object();backgrounds[5036789]=new photo(5036789,"","","","Red_Deer_Rut__1742009.jpg",799,529,"Red Deer hinds at dawn",0,0,"red deer hinds at sunrise","","","","","","",18);backgrounds[5167000]=new photo(5167000,"","","","Stormy_Rascarrel_1404_Nov_09.jpg",799,466,"",0,0,"Stormy sea at Rascarrel Bay","","","Rascarrel near Auchencairn","","","",18);backgrounds[5215847]=new photo(5215847,"","","","Kenick_Burn__1310in_spate_Nov_09.jpg",799,534,"Kenick Burn",0,0,"Kenick Burn waterfall","","","","","","",18);backgrounds[5921610]=new photo(5921610,"","","","Stealth_Gear_KK2_4938April_24th_2010.jpg",750,595,"Keith",0,0,"Keith Kirk wildlife photographer uses Stealth Gear clothing","","Keith Kirk","","","","",18);backgrounds[5924306]=new photo(5924306,"","","","Pied_Flycatcher_4995May_3rd_2010.jpg",500,324,"Pied Flycatcher",0,0,"Pied Flycatcher in a Galloway Wood","","","Castramon Wood ","","","",18);backgrounds[5770995]=new photo(5770995,"282818","","gallery","Goats_domestic_4410April_7th_2010.jpg",650,431,"",0,0,"Goats escaping","","Keith Kirk","","","","",18);backgrounds[5770997]=new photo(5770997,"282818","","gallery","Goats_domestic_4428April_7th_2010.jpg",649,413,"",0,0,"Goat kids having fun","","","","","","",18);backgrounds[5771001]=new photo(5771001,"282818","","gallery","Sheep_and_lambs_4401April_7th_2010.jpg",650,431,"Young lamb",0,0,"Lamb looking for it's mother","","","","","","",18);backgrounds[5953298]=new photo(5953298,"282818","","gallery","Whimbrel_4991May_2nd_2010.jpg",799,560,"",0,0,"Whimbrel on the north Solway shore","","","North Solway coastline Dumfries and Galloway","","","",18);backgrounds[6263097]=new photo(6263097,"282818","","gallery","Banded_Demoisele_7979June_30th_2010.jpg",799,479,"Banded Demoiselles in flight",0,0,"Male Banded Demoiselles in flight over a burn near Dalbeattie. Dumfries and Galloway","","","Dalbeattie","","","",18);backgrounds[6263150]=new photo(6263150,"282818","","gallery","Spotted_Flycatch_7729June_25th_2010.jpg",799,530,"Spotted Flycatcher at the nest",0,0,"Spotted Flycatcher at the nest","","","Gatehouse of Fleet","","","",18);backgrounds[5276323]=new photo(5276323,"282475","","gallery","Roe_Deer__Castl_1924Dec_2009.jpg",799,534,"Roe Deer at Threave Castle",0,0,"Roe Deer feeding in front of Threave Castle on a winter's day.","","","","","","",18);backgrounds[6453898]=new photo(6453898,"282475","","gallery","Minke_Whale_MJuv-0017_July_30th_2010.jpg",799,534,"Minke Male washed up on a Stewartry beach",0,0,"Minke Whale washed up on a Stewartry beach on July 29th 2010","","","","","","",18);backgrounds[4985388]=new photo(4985388,"282474","","gallery","Shoveler_WWT_08_40.jpg",799,453,"Shoveler (male)",0,0,"Male Shoveler on water","","","","","","",18);backgrounds[5452039]=new photo(5452039,"282474","","gallery","Kingfisher__2524winter_Jan_2010.jpg",535,800,"",0,0,"Kingfisher in winter","","","Dumfries and Galloway","","","",18);backgrounds[5452070]=new photo(5452070,"282474","","gallery","Brambling_312623rd__Jan2010.jpg",799,541,"Brambling",0,0,"Brambling ","","","Dumfries and Galloway","","","",18);backgrounds[6045566]=new photo(6045566,"282474","","gallery","Goosander_young_5734May_2010.jpg",799,474,"Female Goosander with young",0,0,"Female goosander with running young","","Keith Kirk","Loch Ken","","","",18);backgrounds[4985394]=new photo(4985394,"282542","","gallery","Southerness_Lighthouse_Feb_09_17.jpg",799,534,"Southerness Lighthouse",0,0,"Southerness Lighthouse (disused) on the North Solway Coast","","","","","","",18);backgrounds[4985400]=new photo(4985400,"282542","","gallery","Wigtown_Bay_Merse_1.jpg",799,599,"Wigtown Bay Local Nature Reserve",0,0,"Wigtown Bay Local Nature Reserve and Cairnsmore of Fleet","","","Dumfries and Galloway","","","",18);backgrounds[5167038]=new photo(5167038,"282542","","gallery","Stormy_Rascarrel_1416_Nov_09.jpg",799,534,"",0,0,"Stormy sea at Rascarrel","","","","","","",18);backgrounds[5167042]=new photo(5167042,"282542","","gallery","Stormy_Rascarrel_1418_Nov_09.jpg",799,534,"Storm suds on Rascarrel Bay",0,0,"Storm suds on beach","","","","","","",18);backgrounds[5167043]=new photo(5167043,"282542","","gallery","Stormy_Rascarrel_1428_Nov_09.jpg",799,534,"Rascarrel Bay",0,0,"Winter storm foamy suds on beach","","","","","","",18);backgrounds[5141370]=new photo(5141370,"290575","","gallery","Forestry_Log_piles_5_1CB37E2E-2219-B5B5-4CF01FFF58F190AA.jpg",799,534,"Forestry Log Piles",0,0,"Forest Log piles in the Galloway Forest Park","","","Galloway Forest Park","","","",18);backgrounds[5141379]=new photo(5141379,"290575","","gallery","KarlAngus__135with_Cheggies.jpg",799,534,"",0,0,'Playing the traditional game of "Cheggies"',"","","Castle Douglas","","","",18);backgrounds[5141382]=new photo(5141382,"290575","","gallery","Leyton_with_fish_262_Sunset_2009.jpg",799,534,"",0,0,"Catching minnows","","","Scotland","","","",18);backgrounds[5141387]=new photo(5141387,"290575","","gallery","RLNI_Rescue_2008_113.jpg",799,594,"",0,0,"RLNI Rescue in the Solway Firth","","","","","","",18);backgrounds[5141389]=new photo(5141389,"290575","","gallery","RLNI_Rescue_2008_129.jpg",799,576,"",0,0,"RLNI Rescue Boats in the Solway","","","","","","",18);backgrounds[5141399]=new photo(5141399,"290575","","gallery","Silage_cutting_Congeith_09_13.jpg",799,534,"",0,0,"Silage Cutting at Congeith Farm Kirkgunzeon","","","Congeith Farm, Kirkgunzeon","","","",18);backgrounds[5141403]=new photo(5141403,"290575","","gallery","Solway_Turbines_from_road_105mm_2009.jpg",799,534,"",0,0,"Solway Windfarm (Robin Rigg)","","","Solway Firth","","","",18);backgrounds[5141406]=new photo(5141406,"290575","","gallery","Solway_Wind__Turbines_from_Buittle_1.jpg",799,530,"",0,0,"Robin Rigg Windfarm","","","","","","",18);backgrounds[5141414]=new photo(5141414,"290575","","gallery","Wind_Turbines_in_Galloway_Hills_8.jpg",799,530,"",0,0,"Wind Turbines in the Galloway Hills","","","Blackmark","","","",18);backgrounds[5141436]=new photo(5141436,"290575","","gallery","windfarm_from_Rascarrel_Sept_09.jpg",799,599,"",0,0,"Robin Rigg Windfram in the Solway","","","","","","",18);backgrounds[4985391]=new photo(4985391,"282541","","gallery","Silage_cutting_wide_July_09_5.jpg",799,534,"Silage Cutting ",0,0,"","","","Congeith Farm, Kirkgunzeon","","","",18);backgrounds[5285914]=new photo(5285914,"282541","","gallery","Conifers_in_2070_Snow_Dec_2009.jpg",799,530,"Snowy landscape in Galloway",0,0,"Snowy landscape in the southern Uplands<br>\r\n","","","","","","",18);backgrounds[5285915]=new photo(5285915,"282541","","gallery","Merrick_in_snow_2033500mm__Dec_2009.jpg",799,529,"Looking at the summit of The Merrick in snow",0,0,"Looking at the summit of The Merrick in snow in the Southern Uplands of Galloway","","","","","","",18);backgrounds[5285916]=new photo(5285916,"282541","","gallery","Craignell_1995Snow_Dec_2009.jpg",799,534,"Looking across Clatteringshaws Loch to a snowy Craignell in the Galloway Forest Park",0,0,"Looking across Clatteringshaws Loch to a snowy Craignell in the Galloway Forest Park","","","","","","",18);backgrounds[4985372]=new photo(4985372,"282543","","gallery","Red_Squirrel_rusty_10.jpg",799,531,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985373]=new photo(4985373,"282543","","gallery","RSQ_1a1_30.jpg",799,531,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985375]=new photo(4985375,"282543","","gallery","RSQ_20_9_08_4.jpg",799,711,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985377]=new photo(4985377,"282543","","gallery","RSQ_Doach_27th_Sept_08_24.jpg",799,534,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985378]=new photo(4985378,"282543","","gallery","RSQ_Doach_27th_Sept_08_70.jpg",799,534,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985380]=new photo(4985380,"282543","","gallery","RSQ_Doach_Aug_08_9.jpg",799,530,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985381]=new photo(4985381,"282543","","gallery","RSQ_Doach_Aug_08_66.jpg",799,530,"Red Squirrel",0,0,"","","","","","","",18);backgrounds[4985382]=new photo(4985382,"282543","","gallery","RSQ_Flash_Octo_08_29.jpg",799,534,"Red Squirrel",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[4985385]=new photo(4985385,"282543","","gallery","RSQ_running_1z.jpg",799,534,"Red Squirrel running",0,0,"","","","","","","",18);backgrounds[5313653]=new photo(5313653,"282543","","gallery","Red_Squirrel_sno_2125snow__Dec_2009.jpg",799,534,"Red Squirrel with short dark tail",0,0,"Red Squirrel in a Galloway Forest","","","","","","",18);backgrounds[5333335]=new photo(5333335,"282543","","gallery","Red_Sq_in_snow_2392_Jan_2010.jpg",799,534,"Red Squirrel in snow on the ground",0,0,"Red Squirrel in snow in a Galloway Forest","","","Galloway , Scotland","","","",18);backgrounds[5545956]=new photo(5545956,"282543","","gallery","Red_Sq_in_snow_2372_Jan_2010.jpg",799,535,"Red Squirrel in snow in conifers",0,0,"Red Squirrel in snow","","","Dumfries and Galloway","","","",18);backgrounds[5545963]=new photo(5545963,"282543","","gallery","Red_Sq_in_snow_2356_Jan_2010.jpg",799,534,"Red Squirrel in snow",0,0,"Red Squirrel in snow in a conifer plantation","","","Dumfries and Galloway","","","",18);backgrounds[5770973]=new photo(5770973,"282764","","gallery","Emperor_Moth_4267March_22nd_2010.jpg",401,600,"Emperor Moth emerging<br>\r\n",0,0,"Emperor Moth emerging","","","Emperor_moth_emerging","","","",18);