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[1877690]=new thumbnail(1877690,"45354","Female Plumed Basilisk (Basiliscus plumifrons)","DSC_4628 (Medium)_thumb.JPG",130,87,1);thumbnails[642094]=new thumbnail(642094,"45344","Portrait of Spike - Male lion of the Whipsnade pride","Portrait of Spike2_thumb.jpg",130,87,1);thumbnails[642447]=new thumbnail(642447,"45355","Hover-fly Syrphus ribesii. ","Hover-fly Syrphus ribesii (Medium)_thumb.jpg",130,145,1);thumbnails[642449]=new thumbnail(642449,"45344","'INDY' Bengal Tiger Photo taken at the Wildlife Heritage Foundation.<br>\r\n ","Indy_thumb.jpg",130,87,1);thumbnails[642450]=new thumbnail(642450,"45344","'NIAS' Sumatran Tiger photo taken at the Wildlife Heritage Foundation","Nias_thumb.jpg",130,87,1);thumbnails[642451]=new thumbnail(642451,"45354","Sika Deer taken at Arne in Dorset","Sika Deer2_thumb.JPG",130,87,1);thumbnails[642452]=new thumbnail(642452,"45344","Spike & Mashaka Lila - Whipsnade zoo pride","Spike & Mash_thumb.JPG",130,87,1);thumbnails[642453]=new thumbnail(642453,"45344","Mother & cub - members of the Whipsnade pride","Mother with cub_thumb.jpg",130,93,1);thumbnails[655867]=new thumbnail(655867,"45344","Cubs from the Whipsnade pride taken on the 16th December 06. ","Cubs_thumb.jpg",130,87,1);thumbnails[658230]=new thumbnail(658230,"45352","Bee Orchid (Ophrys apifera) Taken at the Durlston Country Park in Dorset. This was my first attempt at using a reversing ring with a 50mm nikon lens. ","Bee Orchid_thumb.jpg",130,89,1);thumbnails[658352]=new thumbnail(658352,"45344","'I love you Dad' <br>\r\nSpike with one of his cubs.","I love you dad_thumb.jpg",130,97,1);thumbnails[668000]=new thumbnail(668000,"45356","Sampson - British short-haired red tabby approx 11 years old when this photo was taken. His best friend was Maddy the Golden Retriever","Sampson_thumb.jpg",130,77,1);thumbnails[668024]=new thumbnail(668024,"45356","Maddy - Golden Retriever. Pedigree name Pinewell Fechlin Dancer. This photo was taken June 05. She sadly died April 06 at the age of 12 after 8 months of being blind due to a tumour on the optic nerve.","Maddy_thumb.jpg",130,89,1);thumbnails[674488]=new thumbnail(674488,"45344","Amur Leopard","Amur Leopard_thumb.jpg",130,87,1);thumbnails[683346]=new thumbnail(683346,"45356","Mad Maddy - Taken with a Nikon 50mm prime lens","Mad Maddy 2_thumb.jpg",130,165,1);thumbnails[683360]=new thumbnail(683360,"45356","Maddy seeking it out as the sun goes down","Maddy Sun_thumb.jpg",130,89,1);thumbnails[683361]=new thumbnail(683361,"45352","Porcellain Fungus (Oudemansiella mucida) Taken in the New Forest with photographic tips from Heather Angel. For a day out with Heather see the Wild Arena website in the links menu.","Porcellain Fungus (Oudemansiella mucida)_thumb.jpg",130,89,1);thumbnails[683615]=new thumbnail(683615,"45355","Male Common Blue Damselfly (Enallagma cyathigerum) Taken at Rickmansworth aquadrome Hertfordshire ","Male Common Blue Damselfly (Enallagma Cyathigerum)_thumb.jpg",130,89,1);thumbnails[683628]=new thumbnail(683628,"45355","Common Blue Damselflies mating. Taken at Rickmansworth aquadrome Hertfordshire ","Common Blue damselflies Pair Mating_thumb.jpg",130,89,1);thumbnails[683642]=new thumbnail(683642,"45355","Male Common Darter (Sympetrum striolatum) taken by the river Colne, Rickmansworth, Hertfordshire ","Male Common Darter dragonfly (Sympetrum striolatum)_thumb.jpg",130,89,1);thumbnails[683648]=new thumbnail(683648,"45355","Common Darter dragonflies mating by the river Colne, Rickmansworth, Hertfordshire","Common Darters mating_thumb.jpg",130,83,1);thumbnails[683666]=new thumbnail(683666,"45355","Male Keeled Skimmer (Orthetrum coerulescens) taken at Arne RSPB reserve in Dorset","Male Keeled Skimmer (Orthetrum coerulescens)_thumb.jpg",130,90,1);thumbnails[683699]=new thumbnail(683699,"45352","Rooting Bonnet-cap (Mycena galericulata) Taken on the Ashridge Estate, Hertfordshire","Rooting bonnet-cap (Mycena galericulata)_thumb.jpg",130,89,1);thumbnails[717124]=new thumbnail(717124,"45354","Lola comes to say hello","Hippo2_thumb.jpg",130,96,1);thumbnails[717125]=new thumbnail(717125,"45354","Open wide! ","Hippo3_thumb.jpg",130,98,1);thumbnails[720924]=new thumbnail(720924,"45356","Maddy old sea dog","Maddy 'Old Sea Dog'_thumb.jpg",130,82,1);thumbnails[720954]=new thumbnail(720954,"45352","Porcelain fungus from below","Porcelain Fungus_thumb.jpg",130,87,1);thumbnails[749530]=new thumbnail(749530,"45354","White Rhino ","rhino (Large)_thumb.jpg",130,87,1);thumbnails[804609]=new thumbnail(804609,"45354","Giraffe calf born at Whipsnade zoo autumn 2006","Giraffe Calf_thumb.JPG",130,87,1);thumbnails[804692]=new thumbnail(804692,"62355","Mute Swan - Ready for take off","Ready for take off_thumb.jpg",130,96,1);thumbnails[804801]=new thumbnail(804801,"45344","Scratch my chin. I promise I won't bite.","Tiger scratch_thumb.jpg",130,87,1);thumbnails[806572]=new thumbnail(806572,"45344","Lion of the London Zoo pride","Male Lion London_thumb.jpg",130,87,1);thumbnails[937215]=new thumbnail(937215,"62355","Red Kite. Flying over my garden in Hertfordshire.","DSC_65010006_thumb.JPG",130,80,1);thumbnails[937216]=new thumbnail(937216,"45344","New Cheetah at Whipsnade. ","DSC_67180005_thumb.JPG",130,87,1);thumbnails[950907]=new thumbnail(950907,"62355","On of my first photos taken with the Nikon 18-200 VR lens. I am very pleased with the performance of this lens.","parrots_thumb.jpg",130,91,1);thumbnails[959432]=new thumbnail(959432,"72423","Bosham, West Sussex.","Bosham, West Sussex_thumb.jpg",130,195,1);thumbnails[989097]=new thumbnail(989097,"45344","Big Mouth. Lion's yawn captured with the Nikon 18-200 vr lens. ","Big Mouth_thumb.jpg",130,92,1);thumbnails[991707]=new thumbnail(991707,"45344","Cerval named Malawi. Came when his name was called spitting and cussing on occasion but loving the meat on offer.","Malawi Meow_thumb.jpg",130,111,1);thumbnails[991718]=new thumbnail(991718,"45344","Cheetah named Pepo. He was a real cutie posing for the camera","Pepo Looking Up_thumb.jpg",130,87,1);thumbnails[991720]=new thumbnail(991720,"45344","Pepo the posing Cheetah","Pepo Posing_thumb.jpg",130,87,1);thumbnails[997143]=new thumbnail(997143,"62355","Swan sleeping. If you want to see lots of Mute Swans and their cygnets. Take a trip to Abbotsbury Swanery in Dorset","Sleeping Swan_thumb.jpg",130,87,1);thumbnails[997144]=new thumbnail(997144,"62355","Squabbling Swans taken at Abbotsbury Swannery, Dorset.","Squabbling Swans_thumb.jpg",130,79,1);thumbnails[997146]=new thumbnail(997146,"45354","Cheeky Squirrel ","Squirrel Close_thumb.jpg",130,86,1);thumbnails[998594]=new thumbnail(998594,"45352","Purple Salsify (Tragopogon porrifolius) Also known as Oyster Plant as the root is noted for tasting of oysters.","Purple Salify side on_thumb.jpg",130,195,1);thumbnails[998626]=new thumbnail(998626,"45352","A close shot of Salsify. I think the yellow pollen is almost neon like.","Purple Salsify close (Tragopogon porrifolius)_thumb.jpg",130,107,1);thumbnails[1008632]=new thumbnail(1008632,"45354","Running Bunny - My attempt to create the aesthetic effects of blur. See Chris Weston's Wildlife through a Nikon lens. ","Running Bunny_thumb.jpg",130,83,1);thumbnails[1035789]=new thumbnail(1035789,"45354","Grevy's Zebra. This photo makes me laugh every time I see it","Grevy's Zebra_thumb.jpg",130,101,1);thumbnails[1040999]=new thumbnail(1040999,"62355","Brahminy Kite eating food from his talons on the wing","Brahminy Kite_thumb.jpg",130,82,1);thumbnails[1165680]=new thumbnail(1165680,"45354","Baboon taken by the water hole at Treetops in Kenya","Baboon looking up_thumb.JPG",130,160,1);thumbnails[1165695]=new thumbnail(1165695,"45354","Young Bushbuck taken by the water hole at Treetops in Kenya","Bushbuck6_thumb.JPG",130,108,1);thumbnails[1165701]=new thumbnail(1165701,"45354","Baby elephant taken at Samburu Kenya","Baby ele ears_thumb.jpg",130,87,1);thumbnails[1166472]=new thumbnail(1166472,"45354","Spotted Hyaenas taken at Lake Nakuru, Kenya","DSC_0164 (Large)_thumb.JPG",130,76,1);thumbnails[1166475]=new thumbnail(1166475,"45344","Cheetah taken in the Masai Mara","DSC_0335 (Large)_thumb.JPG",130,78,1);thumbnails[1166476]=new thumbnail(1166476,"45344","Cheetah looks out for prey. Taken in the Masai Mara. ","DSC_0343 (Large)_thumb.JPG",130,188,1);thumbnails[1166481]=new thumbnail(1166481,"45344","Lioness yawn. Taken in the Masai Mara","DSC_0419 (Large)_thumb.JPG",130,146,1);thumbnails[1166484]=new thumbnail(1166484,"45344","Leopard. Taken in Samburu, Kenya","DSC_9959 (Large)_thumb.JPG",130,154,1);thumbnails[1166488]=new thumbnail(1166488,"45354","Masai Giraffe taken in the Masai Mara","DSC_0565 (Large)_thumb.JPG",130,93,1);thumbnails[1166489]=new thumbnail(1166489,"45354","Male Impala taken early morning in Samburu","Male Impala shadow_thumb.JPG",130,103,1);thumbnails[1166493]=new thumbnail(1166493,"45354","Vervet Monkey in Samburu, Kenya","Vervet Monkey_thumb.JPG",130,167,1);thumbnails[1377306]=new thumbnail(1377306,"45354","Red Deer ","DSC_0956 (Medium)_thumb.JPG",130,87,1);thumbnails[1408742]=new thumbnail(1408742,"45354","Baby Asian-short clawed Otter. Taken at Paradise Wildlife Park","Baby Otter_thumb.JPG",130,147,1);thumbnails[1408767]=new thumbnail(1408767,"45354","Meerkat - Taken at Paradise Wildlife Park ","Meerkat_thumb.JPG",130,87,1);thumbnails[1408769]=new thumbnail(1408769,"45354","Ring-tailed Lemur","Lemur mirror_thumb.JPG",130,87,1);thumbnails[1408776]=new thumbnail(1408776,"45354","Otter smiling for the camera while eating","Otter saying cheese_thumb.JPG",130,87,1);thumbnails[1408778]=new thumbnail(1408778,"45354","This Otter decided to show us what tasty morsal he was eating.","Otter showing food_thumb.JPG",130,87,1);thumbnails[1410455]=new thumbnail(1410455,"72423","Sunset - Taken near Dylife, Powys, Wales","Sunset Wales_thumb.JPG",130,87,1);thumbnails[1410506]=new thumbnail(1410506,"72423","View over Abergynolwyn, Gwynedd, Wales ","Abergynowyn_thumb.JPG",130,87,1);thumbnails[1410520]=new thumbnail(1410520,"72423","View over Lake Llyn Clewedog, Powys, Wales","Lake Llyn Clewedog 2_thumb.JPG",130,87,1);thumbnails[1434332]=new thumbnail(1434332,"45354","Ring-tailed Lemur - Taken at Whipsnade Zoo. Well worth a visit as you can go 'IN' with the Lemurs.","Lemur_thumb.JPG",130,85,1);thumbnails[1435891]=new thumbnail(1435891,"45354","Meerkat (Suricata suricatta) - Member of the mongoose family.","Meerkat close_thumb.JPG",130,87,1);thumbnails[1435919]=new thumbnail(1435919,"45354","Ring-tailed Lemur eating bamboo","Ring-tailed Lemur eating bamboo_thumb.JPG",130,87,1);thumbnails[1479816]=new thumbnail(1479816,"45354","Barking Sika Stag - Taken at Arne RSPB reserve Dorset 14th Oct 07","Barking Sika Stag_thumb.JPG",130,78,1);thumbnails[1479830]=new thumbnail(1479830,"45354","Female Sika Deer taken at Arne RSPB reserve Dorset. ","Female Sika Deer close_thumb.JPG",130,87,1);thumbnails[1479840]=new thumbnail(1479840,"45354","Female Sika Deer (Cervus nippon) taken at Arne RSPB reserve in Dorset.","Female Sika Deer_thumb.JPG",130,87,1);thumbnails[1592866]=new thumbnail(1592866,"72423","Christchurch Bay","Christchurch Bay_thumb.JPG",130,87,1);thumbnails[1592894]=new thumbnail(1592894,"45354","Grey Squirrel - Taken at Arne RSPB reserve in Dorset","Grey Squirrel_thumb.JPG",130,87,1);thumbnails[1592895]=new thumbnail(1592895,"72423","Old Barns - Langton Matravers Dorset","Old Barns Langton Matravers_thumb.JPG",130,87,1);thumbnails[1592900]=new thumbnail(1592900,"45354","A family of Sika Deer - Taken at Arne RSPB reserve in Dorset","Sika family_thumb.JPG",130,87,1);thumbnails[1592902]=new thumbnail(1592902,"72423","Sunset over Mudeford","Sunset over Mudeford_thumb.JPG",130,87,1);thumbnails[1592906]=new thumbnail(1592906,"72423","View of Corfe Castle in the rain taken from the Langton Matravers road ","View of Corfe Castle in the rain_thumb.JPG",130,87,1);thumbnails[1592908]=new thumbnail(1592908,"72423","Windsurfer off Kimmeridge Bay","Windsurfer off Kimmeridge bay_thumb.JPG",130,87,1);thumbnails[1709186]=new thumbnail(1709186,"72423","Trees in the mist. Taken from Bison Hill in Bedfordshire looking towards Ivanhoe Beacon","misty trees_thumb.JPG",130,87,1);thumbnails[2129249]=new thumbnail(2129249,"45355","Money Spider (Linyphia hortensis) in the bluebells","Spider1_thumb.JPG",130,87,1);thumbnails[2129255]=new thumbnail(2129255,"72423","Bluebells with cairn","Cairn with bluebells_thumb.JPG",130,87,1);thumbnails[2129259]=new thumbnail(2129259,"45352","Bee Orchid","Bee orchid Durlston_thumb.JPG",130,89,1);thumbnails[2129282]=new thumbnail(2129282,"72423","Sarratt in the snow","Sarratt in the snow_thumb.JPG",130,87,1);thumbnails[2129309]=new thumbnail(2129309,"45344","My old favourite the Cheetah.","Cheetah whippy_thumb.JPG",130,80,1);thumbnails[2253221]=new thumbnail(2253221,"62355","Eagle Owl (Bubo bubo) in flight","Eagle Owl_thumb.JPG",130,74,1);thumbnails[2536033]=new thumbnail(2536033,"62355","Dinner has arrived","Dinner has arrived_thumb.JPG",130,87,1);thumbnails[2536038]=new thumbnail(2536038,"62355","Puffin in burrow","In burrow with flowers_thumb.JPG",130,87,1);thumbnails[2536042]=new thumbnail(2536042,"62355","Manx Shearwater","Manx Shearwater_thumb.JPG",130,87,1);thumbnails[2536055]=new thumbnail(2536055,"72423","Martin Haven, Pembrokeshire","Martin Haven_thumb.JPG",130,87,1);thumbnails[2536066]=new thumbnail(2536066,"62355","Puffin flying with sand eels","Puffin fly with fish_thumb.JPG",130,77,1);thumbnails[2536076]=new thumbnail(2536076,"62355","Where's dinner?","Where's dinner_thumb.JPG",130,81,1);thumbnails[2536083]=new thumbnail(2536083,"62355","Puffin flying","Flying_thumb.JPG",130,83,1);thumbnails[2536108]=new thumbnail(2536108,"62355","Puffin (Fratercula arctica) on Skomer","Portrait of puffin_thumb.JPG",130,87,1);thumbnails[2717272]=new thumbnail(2717272,"45355","Common blue butterfly (Polyommatus icarus) on Birdsfoot Trefoil (Lotus corniculatus)","Blue_thumb.JPG",130,83,1);thumbnails[2901217]=new thumbnail(2901217,"62355","Robin (Erithacus rubecula) ","DSC_1268 (Large)_thumb.JPG",129,86,1);thumbnails[2901262]=new thumbnail(2901262,"45344","Is it a bird? The Whipsnade Pride look up ","Lions looking at glider_thumb.JPG",129,86,1);thumbnails[2901266]=new thumbnail(2901266,"45344","One of the Whipsnade Pride","Lion look_thumb.JPG",129,86,1);thumbnails[3021126]=new thumbnail(3021126,"62355","","Superb Starling with grape_thumb.JPG",130,79,1);thumbnails[3063654]=new thumbnail(3063654,"193759","Wildcat (Felis silvestris) ","Wildcat (3)_thumb.JPG",130,87,1);thumbnails[3063708]=new thumbnail(3063708,"193759","Polecat (Mustela putorius) ","Polecat_thumb.JPG",130,83,1);thumbnails[3063728]=new thumbnail(3063728,"193759","Mink (Mustela lutreola)","Mink_thumb.JPG",130,88,1);thumbnails[3063753]=new thumbnail(3063753,"193759","Fox (Vulpes vulpes)","Fox_thumb.JPG",130,87,1);thumbnails[3064741]=new thumbnail(3064741,"193759","Weasel (Mustela nivalis) ","weasel4 (Large)_thumb.JPG",130,86,1);thumbnails[3067876]=new thumbnail(3067876,"193759","Fox ","Fox (1)_thumb.JPG",130,88,1);thumbnails[3067880]=new thumbnail(3067880,"193759","Little Owl (Athene noctua)","Little Owl_thumb.JPG",130,89,1);thumbnails[3067884]=new thumbnail(3067884,"193759","Not so wildcat","Wildcat (2)_thumb.JPG",130,87,1);thumbnails[3155422]=new thumbnail(3155422,"45354","Baby Grey Seal - Taken at Donna Nook Lincolnshire","Grey seal pup_thumb.jpg",130,86,1);thumbnails[3164095]=new thumbnail(3164095,"45354","Beauty & the beast","Beauty and the beast_thumb.jpg",130,83,1);thumbnails[3164096]=new thumbnail(3164096,"45354","Pals - 2 young Grey Seals playing in the surf stopped and posed for photos","Pals_thumb.jpg",130,93,1);thumbnails[3164159]=new thumbnail(3164159,"45354","Grey Seals playing in the surf","Playing_thumb.jpg",130,86,1);thumbnails[3164164]=new thumbnail(3164164,"45354","Hello! Grey Seal Pup","Hello_thumb.jpg",130,91,1);thumbnails[3164184]=new thumbnail(3164184,"62355","Sanderling (Calidris alba) ","Sanderling_thumb.jpg",130,89,1);thumbnails[3164186]=new thumbnail(3164186,"45354","Catch me if you can - The bull seal chases the cow","catch me if you can_thumb.jpg",130,86,1);thumbnails[3164187]=new thumbnail(3164187,"45354","Grey Seal in the surf","Wave_thumb.jpg",130,84,1);thumbnails[3164190]=new thumbnail(3164190,"45354","This is the life ","on back_thumb.jpg",130,94,1);thumbnails[3446161]=new thumbnail(3446161,"257313","","TreeFrog31_thumb.jpg",130,199,1);thumbnails[3446164]=new thumbnail(3446164,"257313","Gargoyle Gecko (Rhacodactylus auriculatus)<br>\r\n<br>\r\n","Gekko_thumb.jpg",130,86,1);thumbnails[3446165]=new thumbnail(3446165,"257313","American Green Tree Frog (Hyla cinerea)<br>\r\n<br>\r\n","Tree Frog_thumb.jpg",130,87,1);thumbnails[3446166]=new thumbnail(3446166,"257313","Vietnamese Blue Flying Frog<br>\r\n<br>\r\n","Tree Frog2_thumb.jpg",130,85,1);thumbnails[3446167]=new thumbnail(3446167,"257313","Peacock Tree Frog ","TreeFrog5_thumb.jpg",130,89,1);thumbnails[3449411]=new thumbnail(3449411,"257313","Mantis","Mantis_thumb.jpg",130,85,1);thumbnails[4383136]=new thumbnail(4383136,"45354","Wolf Howl","Wolf_howl_thumb.jpg",130,87,1);thumbnails[4383241]=new thumbnail(4383241,"298545","","DSC_4397NEF_Large_thumb.jpg",130,91,1);thumbnails[4383243]=new thumbnail(4383243,"298545","","DSC_4447NEF_Large_thumb.jpg",130,86,1);thumbnails[4383244]=new thumbnail(4383244,"298545","","DSC_4507NEF_Large_thumb.jpg",130,87,1);thumbnails[4383245]=new thumbnail(4383245,"298545","","DSC_4520NEF_Large_thumb.jpg",130,83,1);thumbnails[4383248]=new thumbnail(4383248,"298545","","DSC_4646NEF_Large_thumb.jpg",130,83,1);thumbnails[4383252]=new thumbnail(4383252,"298545","","DSC_4665NEF_Large_thumb.jpg",130,85,1);thumbnails[4383275]=new thumbnail(4383275,"298545","","DSC_4696_Large_thumb.jpg",130,87,1);thumbnails[4383281]=new thumbnail(4383281,"298545","","DSC_4419NEF_Large_thumb.jpg",130,92,1);thumbnails[5306916]=new thumbnail(5306916,"","","Woodpecker_thumb.jpg",130,88,1);var galleries=new Object();galleries[298545]=new gallery(298545,"4383244","Anglian Wolf Society","gallery",[4383241,4383243,4383244,4383245,4383248,4383252,4383275,4383281]);galleries[45344]=new gallery(45344,"642453","Big Cats","gallery",[642094,642449,642450,642452,642453,655867,658352,674488,804801,806572,937216,989097,991707,991718,991720,1166475,1166476,1166481,1166484,2129309,2901262,2901266]);galleries[62355]=new gallery(62355,"3164184,3021126,2901217,2536108,2536083,2536076,2536066,2536042,2536038,2536033","Birds","gallery",[804692,937215,950907,997143,997144,1040999,2253221,2536033,2536038,2536042,2536066,2536076,2536083,2536108,2901217,3021126,3164184]);galleries[193759]=new gallery(193759,"3063753","British Wildlife Centre","gallery",[3063654,3063708,3063728,3063753,3064741,3067876,3067880,3067884]);galleries[45354]=new gallery(45354,"642451","Fauna","gallery",[1877690,642451,717124,717125,749530,804609,997146,1008632,1035789,1165680,1165695,1165701,1166472,1166488,1166489,1166493,1377306,1408742,1408767,1408769,1408776,1408778,1434332,1435891,1435919,1479816,1479830,1479840,1592894,1592900,3155422,3164095,3164096,3164159,3164164,3164186,3164187,3164190,4383136]);galleries[45352]=new gallery(45352,"2129259,998626,998594,720954,683699,683361,658230","Flora","gallery",[658230,683361,683699,720954,998594,998626,2129259]);galleries[45355]=new gallery(45355,"683642","Insects","gallery",[642447,683615,683628,683642,683648,683666,2129249,2717272]);galleries[72423]=new gallery(72423,"2536055,2129282,2129255,1709186,1592908,1592906,1592902,1592895,1592866,1410520","Landscapes","gallery",[959432,1410455,1410506,1410520,1592866,1592895,1592902,1592906,1592908,1709186,2129255,2129282,2536055]);galleries[45356]=new gallery(45356,"720924,683360,683346,668024,668000","Maddy & Sampson","gallery",[668000,668024,683346,683360,720924]);galleries[74627]=new gallery(74627,"","New Photos","section105916",[]);galleries[257313]=new gallery(257313,"3449411,3446167,3446166,3446165,3446164,3446161","Wild Arena Macro Experience","gallery",[3446161,3446164,3446165,3446166,3446167,3449411]);var imageSets=new Object();imageSets[1]="5306916";imageSets[2]="4383244,3063753,683642,642453,642451";imageSets[3]="5306916,4383281,4383275,4383252,4383248,4383245,4383244,4383243,4383241,4383136,3449411,3446167,3446166,3446165,3446164,3446161,3164190,3164187,3164186,3164184,3164164,3164159,3164096,3164095,3155422,3067884,3067880,3067876,3064741,3063753,3063728,3063708,3063654,3021126,2901266,2901262,2901217,2717272,2536108,2536083,2536076,2536066,2536055,2536042,2536038,2536033,2253221,2129309,2129282,2129259";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 34:b="http://www9.clikpic.com/paulineworrall/images";break}switch(a){case 1:b="http://www1.clikpic.com/paulineworrall/images";break}switch(a){case 2:b="http://admin.clikpic.com/paulineworrall/images";break}switch(a){case 4:b="http://www.clikchurch.com/paulineworrall/images";break}switch(a){case 5:b="http://www2.clikpic.com/paulineworrall/images";break}switch(a){case 15:b="http://www3.clikpic.com/paulineworrall/images";break}switch(a){case 21:b="http://www6.clikpic.com/paulineworrall/images";break}switch(a){case 18:b="http://www4.clikpic.com/paulineworrall/images";break}switch(a){case 19:b="http://www5.clikpic.com/paulineworrall/images";break}switch(a){case 22:b="http://tpc5/clikpic/paulineworrall/images";break}switch(a){case 23:b="http://tpc10/clikpic/paulineworrall/images";break}switch(a){case 24:b="http://tpc15/clikpic/paulineworrall/images";break}switch(a){case 25:b="http://tpc16/clikpic/paulineworrall/images";break}switch(a){case 31:b="http://www7.clikpic.com/paulineworrall/images";break}switch(a){case 32:b="http://admin2.clikpic.com/paulineworrall/images";break}switch(a){case 33:b="http://www8.clikpic.com/paulineworrall/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("section105916"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="section105916.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+backgrounds[imageID].caption+'" border="0">';if("section105916"!=""){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="Pauline Worrall 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;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>"}if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Order this print:</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="">';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="">';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+'")'})}}};