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[2583323]=new thumbnail(2583323,"275486","Fields of Pauntley","Fields of Pauntley1_thumb.jpg",130,87,32);thumbnails[2583328]=new thumbnail(2583328,"275489","Greenwich Meridian","Meridian looking south2_thumb.jpg",130,194,32);thumbnails[2587888]=new thumbnail(2587888,"225451","Weir at Chew Valley Reservoir ","Chew Valley Lake1_thumb.jpg",130,87,32);thumbnails[2587891]=new thumbnail(2587891,"333962","Show Jumping Practice","Ben practicing on Millie1_thumb.jpg",130,98,32);thumbnails[2587893]=new thumbnail(2587893,"164951","Nibeley Bits and Pieces","Nibeley Bits and Pieces1_thumb.jpg",130,194,32);thumbnails[2587894]=new thumbnail(2587894,"164526","Dock Crane Bristol Docks","Dock Crane Bristol Industrial Museum1_thumb.jpg",130,181,32);thumbnails[2587896]=new thumbnail(2587896,"164537","Castle Tower","Cardiff Castle tower1_thumb.jpg",130,194,32);thumbnails[2587899]=new thumbnail(2587899,"165208","Tall Ship","Tall Ship Gloucester Dock_thumb.jpg",130,194,32);thumbnails[2587906]=new thumbnail(2587906,"275489","Millenium Stadium","Millenium Stadium Cardiff_thumb.jpg",130,87,32);thumbnails[2587908]=new thumbnail(2587908,"275489","Stadium Walkway","Millenium Stadium low level shot of walkway_thumb.jpg",130,87,32);thumbnails[2587911]=new thumbnail(2587911,"164537","Parish Church","Wantage Church_thumb.jpg",130,89,32);thumbnails[2590205]=new thumbnail(2590205,"225451","A good day for surfing at Woolacombe","Coast at Woolacombe_thumb.jpg",130,87,32);thumbnails[2590214]=new thumbnail(2590214,"164944","Dunster Doorway","Dunster Doorway_thumb.jpg",130,227,32);thumbnails[2590217]=new thumbnail(2590217,"333962","Jumping the Wooden Mushroom at Burghley","Jumping the Wooden Mushroom at Burghley b_thumb.jpg",130,168,32);thumbnails[2590220]=new thumbnail(2590220,"165205","Old Groins","Porlock Weir Groins_thumb.jpg",130,194,32);thumbnails[2590221]=new thumbnail(2590221,"225448","Sunset at Porlock Weir","Porlockm Weir at sunset_thumb.jpg",130,87,32);thumbnails[2590225]=new thumbnail(2590225,"225448","Relaxing at Sunset","Relaxing at sunset Porlock Weir_thumb.jpg",130,67,32);thumbnails[2590231]=new thumbnail(2590231,"225448","Sunset From Burrowhayes Farm","Silhouette as sun goes down 2_thumb.jpg",130,87,32);thumbnails[2590235]=new thumbnail(2590235,"225448","Headland From Lynton","The Headland From Lynton_thumb.jpg",130,79,32);thumbnails[2590236]=new thumbnail(2590236,"164944","The old Nunnery","The Old Nunnery Dunster_thumb.jpg",130,194,32);thumbnails[2590237]=new thumbnail(2590237,"164951","Tink","Tink_thumb.jpg",130,157,32);thumbnails[2593633]=new thumbnail(2593633,"164944","Winged statue","Bath  Statue_thumb.jpg",130,196,32);thumbnails[2593637]=new thumbnail(2593637,"225451","River at Bath.","Bath Bridge_thumb.jpg",130,86,32);thumbnails[2593643]=new thumbnail(2593643,"165208","Carriage Lamp","Carriage lamp_thumb.jpg",130,194,32);thumbnails[2593663]=new thumbnail(2593663,"165208","Wheel","Carriage wheel_thumb.jpg",130,87,32);thumbnails[2593670]=new thumbnail(2593670,"225448","Fields of Huntley.","Field of Huntley_thumb.jpg",130,86,32);thumbnails[2593671]=new thumbnail(2593671,"225448","Kennet and Avon Canal","Kennet and Avon Canal_thumb.jpg",130,74,32);thumbnails[2593673]=new thumbnail(2593673,"275486","Harvest Kingscote","Kingscote Harvest_thumb.jpg",130,66,32);thumbnails[2593675]=new thumbnail(2593675,"275486","Kingscote Lane","Kingscote Lane_thumb.jpg",130,66,32);thumbnails[2593678]=new thumbnail(2593678,"225451","Weir out of the shadows","Out of the shadows to the weir_thumb.jpg",130,201,32);thumbnails[2593732]=new thumbnail(2593732,"165208","Private Carriage","Private Carriage 1_thumb.jpg",130,87,32);thumbnails[2593734]=new thumbnail(2593734,"165208","Private Carriage 2","Private Carriage 2_thumb.jpg",130,194,32);thumbnails[2593737]=new thumbnail(2593737,"165208","Private Carriage 3","Private Carriage 3_thumb.jpg",130,82,32);thumbnails[2593740]=new thumbnail(2593740,"225448","Field Rolls","Rolls in Fields_thumb.jpg",130,56,32);thumbnails[2593746]=new thumbnail(2593746,"165205","Shingles","Shingles_thumb.jpg",130,77,32);thumbnails[2593753]=new thumbnail(2593753,"164526","Sluice winder","Sluice Mech_thumb.jpg",130,91,32);thumbnails[2593810]=new thumbnail(2593810,"225448","Barton End Sunset.","Sunset from Barton End_thumb.jpg",130,64,32);thumbnails[2593815]=new thumbnail(2593815,"165208","Traction Engine Detail","Traction engine detail_thumb.jpg",130,100,32);thumbnails[2593819]=new thumbnail(2593819,"225451","Weir Bath","Weir Bath Autumn_thumb.jpg",130,65,32);thumbnails[2593825]=new thumbnail(2593825,"276400","Whats that Bird Doing?","Whats that Bird Doing_thumb.jpg",130,68,32);thumbnails[2622630]=new thumbnail(2622630,"200741","Bridge in Winter","Lechslade Bridge in winter_thumb.jpg",130,74,32);thumbnails[2622633]=new thumbnail(2622633,"165205","Moss on Trees","Moss on trees_thumb.jpg",130,194,32);thumbnails[2622700]=new thumbnail(2622700,"275485","Not Many Leaves Left","Not many Leaves left_thumb.jpg",130,162,32);thumbnails[2622701]=new thumbnail(2622701,"225451","Bollards","Torquay Bollards_thumb.jpg",130,78,32);thumbnails[2622705]=new thumbnail(2622705,"225451","Harbour Mouth","Torquay Harbour mouth_thumb.jpg",130,70,32);thumbnails[2622711]=new thumbnail(2622711,"225451","Pontoons","Torquay pontoons_thumb.jpg",130,87,32);thumbnails[2622715]=new thumbnail(2622715,"275485","Trees on the Bank","Trees on the bank_thumb.jpg",130,167,32);thumbnails[2820636]=new thumbnail(2820636,"164951","Bumble Bee and Flower","Bumble-Bee-and-Convulvulus_thumb.jpg",130,87,32);thumbnails[2820718]=new thumbnail(2820718,"165205","Laid Tree","Laid-Tree_thumb.jpg",130,74,32);thumbnails[2820756]=new thumbnail(2820756,"275486","Lower Lutheridge","Lower-Lutheridge3_thumb.jpg",130,87,32);thumbnails[2820790]=new thumbnail(2820790,"165205","Old Farm Implement","Ornamental-Farm-Implement_thumb.jpg",130,87,32);thumbnails[2820800]=new thumbnail(2820800,"225327","Roofs of Nailsworth","Roofs-of-Nailsworth2_thumb.jpg",130,87,32);thumbnails[2820805]=new thumbnail(2820805,"225327","More roofs of Nailsworth","Roofs-of-Nailsworth-1_thumb.jpg",130,194,32);thumbnails[2820809]=new thumbnail(2820809,"200741","Ruskin Mill","Ruskin-Mill_thumb.jpg",130,87,32);thumbnails[2820811]=new thumbnail(2820811,"276400","Waterfall","Ruskin-Waterfall_thumb.jpg",130,194,32);thumbnails[2820832]=new thumbnail(2820832,"200741","Window","Window_thumb.jpg",130,194,32);thumbnails[2857506]=new thumbnail(2857506,"276400","Fountain at Alexandra Palace","Alexandra-Palace-Fountain1_thumb.jpg",130,194,32);thumbnails[2857514]=new thumbnail(2857514,"200741","Rose Window","Alexandra-Palace--Rose-Wind_thumb.jpg",130,194,32);thumbnails[2857526]=new thumbnail(2857526,"164944","Detail of Rose Window","Detail-Of-Alexandra-Palace-_thumb.jpg",130,194,32);thumbnails[2857527]=new thumbnail(2857527,"200741","It's a Long Way to the Top","Its-a-Long-Way-to-the-Top_thumb.jpg",130,194,32);thumbnails[2857536]=new thumbnail(2857536,"200741","Lights","Lights-and-Mast-Alexandra-P_thumb.jpg",130,194,32);thumbnails[2925927]=new thumbnail(2925927,"164526","Connectiong Rod","Connecting-rod_thumb.jpg",130,173,32);thumbnails[2925980]=new thumbnail(2925980,"165208","Looking up the mast","Looking-up-the-mast_thumb.jpg",130,173,32);thumbnails[2926007]=new thumbnail(2926007,"165208","Rigging Block","Rigging-Block_thumb.jpg",130,173,32);thumbnails[2955584]=new thumbnail(2955584,"164537","Beverstone Church","Beverstone-Church_thumb.jpg",130,194,32);thumbnails[2955597]=new thumbnail(2955597,"225448","Cheavenage Sky","Cheavenage-Sky_thumb.jpg",130,87,32);thumbnails[2955606]=new thumbnail(2955606,"164944","Church Steps","Church-Steps_thumb.jpg",130,202,32);thumbnails[2955609]=new thumbnail(2955609,"164944","Light over Lychgate","Light-over-Lychgate_thumb.jpg",130,87,32);thumbnails[2955610]=new thumbnail(2955610,"225448","Smokey Beverstone Castle","Smokey-Beverstone-Castle_thumb.jpg",130,102,32);thumbnails[2955612]=new thumbnail(2955612,"275489","String Player","String-Player_thumb.jpg",130,192,32);thumbnails[2955615]=new thumbnail(2955615,"164944","Thin Church Door","Thin-Church-Door_thumb.jpg",130,254,32);thumbnails[3249976]=new thumbnail(3249976,"165208","Oh Bollards","Oh-Bollards_thumb.jpg",130,103,32);thumbnails[3249978]=new thumbnail(3249978,"276400","What Time's High Tide","What-times-High-Tide_thumb.jpg",130,173,32);thumbnails[3249980]=new thumbnail(3249980,"165208","Windlass","Windlass_thumb.jpg",130,98,32);thumbnails[3250036]=new thumbnail(3250036,"275486","Bridge near Hosley Mill","Bridge-near-Horsley-Mill_thumb.jpg",130,173,32);thumbnails[3250037]=new thumbnail(3250037,"275486","Pond Weir","Pond-Weir_thumb.jpg",130,98,32);thumbnails[3255133]=new thumbnail(3255133,"275489","Bristol Clock","Bristol-Clock_thumb.jpg",130,186,32);thumbnails[3255135]=new thumbnail(3255135,"164944","Gate Post with Skulls","Gate-post-with-skulls_thumb.jpg",130,178,32);thumbnails[3255138]=new thumbnail(3255138,"275485","Greyish day on the Malverns","Greyish-day-on-the-Malverns_thumb.jpg",130,87,32);thumbnails[3255146]=new thumbnail(3255146,"164944","Kissing Gate Lock","Kissing-gate-lock_thumb.jpg",130,98,32);thumbnails[3255149]=new thumbnail(3255149,"275489","NEC Flagpoles","NEC-Flag-Poles_thumb.jpg",130,87,32);thumbnails[3255152]=new thumbnail(3255152,"275489","Neptune","Neptune_thumb.jpg",130,194,32);thumbnails[3255155]=new thumbnail(3255155,"275489","New Fangled Waterfalls","New-fangled-waterfalls_thumb.jpg",130,87,32);thumbnails[3255157]=new thumbnail(3255157,"275489","New Look for Old Goods Yard","New-look-for-the-old-goods-_thumb.jpg",130,87,32);thumbnails[3255159]=new thumbnail(3255159,"164944","Rain water hopper","Rain-water-Hopper-Ashbourne_thumb.jpg",130,194,32);thumbnails[3255164]=new thumbnail(3255164,"165205","Ray of Sunshine on Ivy","Ray-of-Sunshine-on-Ivy_thumb.jpg",130,159,32);thumbnails[3255170]=new thumbnail(3255170,"164944","Side Door to Ashbourne Church","Side-Door-Ashbourne-Church_thumb.jpg",130,184,32);thumbnails[3295557]=new thumbnail(3295557,"275483","Chew Valley Lake Nightfall","Chew-Valley-Lake-Nightfall_thumb.jpg",130,87,32);thumbnails[3295570]=new thumbnail(3295570,"275483","Chew Valley Lake Overcast","Chew-Valley-Lake-overcast_thumb.jpg",130,87,32);thumbnails[3295590]=new thumbnail(3295590,"164951","Swan","Chew-Valley-Swan_thumb.jpg",130,117,32);thumbnails[3295607]=new thumbnail(3295607,"225451","Chew Valley Lake view towards Draw Off Tower","Chew-Valley-towards-draw-of_thumb.jpg",130,74,32);thumbnails[3349440]=new thumbnail(3349440,"275485","Horsley from Piggery Lane 2","Horsley-from-Piggery-Lane-2_thumb.jpg",130,70,32);thumbnails[3349458]=new thumbnail(3349458,"164537","","Lighthouse-on-the-rocks_thumb.jpg",130,194,32);thumbnails[3349462]=new thumbnail(3349462,"275483","Old Jetty leads to Lighthouse 1","Old-Jetty-leads-to-Light_1_thumb.jpg",130,194,32);thumbnails[3349464]=new thumbnail(3349464,"275483","Old Jetty leads to Lighthouse 2","Old-Jetty-leads-to-Light_2_thumb.jpg",130,194,32);thumbnails[3349468]=new thumbnail(3349468,"164537","Pig Shed","Pig-Shed_thumb.jpg",130,97,32);thumbnails[3349472]=new thumbnail(3349472,"164537","Portishead ","Portishead-Lighthouse_thumb.jpg",130,87,32);thumbnails[3349475]=new thumbnail(3349475,"164537","Portishead ","Portishead-Lighthouse-solar_thumb.jpg",130,87,32);thumbnails[3349493]=new thumbnail(3349493,"276400","Tada","Tada_thumb.jpg",130,194,32);thumbnails[3349495]=new thumbnail(3349495,"276400","You should see the size of the matchbox!","You-should-see-the-size-of-_thumb.jpg",130,87,32);thumbnails[3411493]=new thumbnail(3411493,"208466","Snowy Trees at Barton End","Barton-End-Trees_thumb.jpg",130,173,32);thumbnails[3411495]=new thumbnail(3411495,"208466","","From-a-snowy-Barton-End-Lan_thumb.jpg",130,98,32);thumbnails[3411510]=new thumbnail(3411510,"208466","Horsley Mill in the snow","Horsley-mill-in-the-snow_thumb.jpg",130,75,32);thumbnails[3411515]=new thumbnail(3411515,"208466","Not so many footprints from here","Not-many-footprints-along-h_thumb.jpg",130,84,32);thumbnails[3411520]=new thumbnail(3411520,"208466","Snowy Barton End 3","Snowy-Barton-End-3_thumb.jpg",130,98,32);thumbnails[3411528]=new thumbnail(3411528,"208466","Towards Nailsworth along Tetbury Lane","Towards-Nailsworth-along-Te_thumb.jpg",130,98,32);thumbnails[3548476]=new thumbnail(3548476,"275485","Coaley Peak Late Afternoon","Coaley-Peak-Late-Afternoon_thumb.jpg",130,90,32);thumbnails[3548587]=new thumbnail(3548587,"275485","Coaley Peak Sunset","Coaley-Peak-Sunset_thumb.jpg",130,78,32);thumbnails[3548595]=new thumbnail(3548595,"275489","Directions to the Silver Ball","Directions-to-Silver-ball_thumb.jpg",130,194,32);thumbnails[3548611]=new thumbnail(3548611,"275489","Harp Player","Harp-Player_thumb.jpg",130,157,32);thumbnails[3548624]=new thumbnail(3548624,"275489","Reflections in the Silver ball","Reflections-in-the-silver-b_thumb.jpg",130,87,32);thumbnails[3548640]=new thumbnail(3548640,"275485","Wales from Coaley Peak","Wales-from-Coaley-Peak_thumb.jpg",130,85,32);thumbnails[3548647]=new thumbnail(3548647,"275489","Water Feature","Water-Feature_thumb.jpg",130,95,32);thumbnails[3674590]=new thumbnail(3674590,"200741","Back along the bridge","Back-along-the-bridge_thumb.jpg",130,87,32);thumbnails[3674597]=new thumbnail(3674597,"200741","Clifton Chains","Clifton-Chains-2_thumb.jpg",130,194,32);thumbnails[3674615]=new thumbnail(3674615,"275482","From the Clifton Bridge 2","From-the-Clifton-Bridge-2_thumb.jpg",130,87,32);thumbnails[3674621]=new thumbnail(3674621,"275482","From the Clifton Bridge","From-the-Clifton-bridge_thumb.jpg",130,82,32);thumbnails[3674635]=new thumbnail(3674635,"200741","Solarised Clifton Bridge","Solarised-Clifton-Bridge_thumb.jpg",130,194,32);thumbnails[3674641]=new thumbnail(3674641,"275482","Towards the Watershed","Towards-the-Watershed_thumb.jpg",130,87,32);thumbnails[3876540]=new thumbnail(3876540,"333962","Over the L200s","Over-the-L200s_thumb.jpg",130,90,32);thumbnails[3876545]=new thumbnail(3876545,"333962","Over the Village","Over-the-Village_thumb.jpg",130,83,32);thumbnails[3876546]=new thumbnail(3876546,"333962","Polo 1","Polo-1_thumb.jpg",130,98,32);thumbnails[3876701]=new thumbnail(3876701,"333962","Polo 2","Polo-2_thumb.jpg",130,122,32);thumbnails[3876873]=new thumbnail(3876873,"275485","Rape of the English Country side","Rape-of-the-English-Country_thumb.jpg",130,71,32);thumbnails[3876879]=new thumbnail(3876879,"333962","Safely over Jump 2","Safely-over-Jump-2_thumb.jpg",130,87,32);thumbnails[3876887]=new thumbnail(3876887,"333962","William Jump 2","William-Jump-2_thumb.jpg",130,86,32);thumbnails[4288949]=new thumbnail(4288949,"164537","Awaiting Shingles","Awaiting-Shingles_thumb.jpg",130,98,32);thumbnails[4288955]=new thumbnail(4288955,"275482","Canal Side Residence","Canal-side-Residence_thumb.jpg",130,90,32);thumbnails[4289021]=new thumbnail(4289021,"275482","Down on Gloucester Docks","Down-on-Gloucester-Docks_thumb.jpg",130,99,32);thumbnails[4289025]=new thumbnail(4289025,"275482","Kennet and Avon Bridge","Kennet-and-Avon-Bridge_thumb.jpg",130,90,32);thumbnails[4289164]=new thumbnail(4289164,"164526","Old Shafting","Old-Shafting_thumb.jpg",130,98,32);thumbnails[4289172]=new thumbnail(4289172,"275482","Paddle Rack","Paddle-Rack_thumb.jpg",130,173,32);thumbnails[4348770]=new thumbnail(4348770,"225327","Derelict Factory","Derilict-Factory_thumb.jpg",130,85,32);thumbnails[4348846]=new thumbnail(4348846,"276400","Gazebo Lights","Gazebo-lights_thumb.jpg",130,84,32);thumbnails[4348870]=new thumbnail(4348870,"225327","St Oswolds Priory","St-Oswolds-Priory_thumb.jpg",130,87,32);thumbnails[4840786]=new thumbnail(4840786,"276399","Framed watch movement","Framed-watch-Movement_thumb.jpg",130,106,32);thumbnails[4840796]=new thumbnail(4840796,"276399","Relected Pocket Watch","Reflected-Pocket-Watch-c_thumb.jpg",130,81,32);thumbnails[4886419]=new thumbnail(4886419,"275489","Ally Pally Domes","Ally-Pally-Domes_thumb.jpg",130,146,32);thumbnails[4886425]=new thumbnail(4886425,"225448","Sunset at Coaley Peak","Coaley-Peak-sunset_1_thumb.jpg",130,77,32);thumbnails[4886430]=new thumbnail(4886430,"225448","Coaley Style","Coaley-Style_thumb.jpg",130,83,32);thumbnails[4886442]=new thumbnail(4886442,"225448","Frocester Hill Road","Frocester-Hill-road_thumb.jpg",130,77,32);thumbnails[4886463]=new thumbnail(4886463,"225448","Frocester Hill Sunset","Frocester-Hill-Sunset_thumb.jpg",130,76,32);thumbnails[4886550]=new thumbnail(4886550,"276399","Valve Body","Valve-body_thumb.jpg",130,110,32);thumbnails[4959685]=new thumbnail(4959685,"164951","Sprocket","Sprocket_thumb.jpg",130,171,32);thumbnails[5104235]=new thumbnail(5104235,"164951","Ally Pally Deer","Ally-Pally-Deer_thumb.jpg",130,173,32);thumbnails[5104244]=new thumbnail(5104244,"164944","Fountain at Night","Fountain-night-colour_thumb.jpg",130,230,32);thumbnails[5104248]=new thumbnail(5104248,"225448","Garden Bridge","Garden-Bridge_thumb.jpg",130,98,32);thumbnails[5104252]=new thumbnail(5104252,"225327","Green Flagpoles","Green-Flagpoles_thumb.jpg",130,98,32);thumbnails[5104254]=new thumbnail(5104254,"275486","Hartley Bridge Bridges","Hartley-Bridge-Bridges_thumb.jpg",130,142,32);thumbnails[5104257]=new thumbnail(5104257,"275486","Hartley Bridge","Hartley-Bridge_thumb.jpg",130,78,32);thumbnails[5104258]=new thumbnail(5104258,"275486","Notice Board Park Wood","Notice-Board-Park-Wood-bw-_thumb.jpg",130,93,32);thumbnails[5104260]=new thumbnail(5104260,"275486","Old Mill Sluice","Old-Mill-Sluice_thumb.jpg",130,98,32);thumbnails[5104264]=new thumbnail(5104264,"275489","Pendigo Lake","Pendigo-lake_thumb.jpg",130,74,32);thumbnails[5104424]=new thumbnail(5104424,"165208","Traction Engine Hitch","Traction-engine-hitch-bw_thumb.jpg",130,98,32);thumbnails[5144312]=new thumbnail(5144312,"165205","Hand Wheel","Hand-Wheel_thumb.jpg",130,87,32);thumbnails[5144331]=new thumbnail(5144331,"225448","Harley Wood","Harley-Wood_thumb.jpg",130,98,32);thumbnails[5144346]=new thumbnail(5144346,"225448","Midlands Fishery","Midland-Fisheries_thumb.jpg",130,173,32);thumbnails[5144361]=new thumbnail(5144361,"165205","Muddy Land Rover","Muddy-Land-Rover_thumb.jpg",130,184,32);thumbnails[5144373]=new thumbnail(5144373,"165205","Vice","Vice_thumb.jpg",130,85,32);thumbnails[5386559]=new thumbnail(5386559,"208466","High Contrast Tree","Hi-Contrast-Tree_thumb.jpg",130,194,32);thumbnails[5386568]=new thumbnail(5386568,"208466","Snowy path Cyanotype","Snowy-Path--Cyanotype_thumb.jpg",130,173,32);thumbnails[5386570]=new thumbnail(5386570,"208466","Snowy path to Ruskin Mill","Snowy-Path-to-Ruskin-Direct_thumb.jpg",130,173,32);thumbnails[5386581]=new thumbnail(5386581,"208466","Ruskin Mill Bridge ","Snowy-Ruskin-Bridge-2-Auto-_thumb.jpg",130,98,32);thumbnails[5386591]=new thumbnail(5386591,"208466","Snowy Ruskin Mill 2","Snowy-Ruskin-Mill-No-2-Dire_thumb.jpg",130,98,32);thumbnails[5540979]=new thumbnail(5540979,"313972","Enduro over the bumps","Enduro-over-the-bumps_thumb.jpg",130,124,32);thumbnails[5540983]=new thumbnail(5540983,"313972","Enduro through the woods","Enduro-through-the-woods_thumb.jpg",130,87,32);thumbnails[5540986]=new thumbnail(5540986,"165205","Muddy Enduro Engeine","Muddy-enduro-engine_thumb.jpg",130,87,32);thumbnails[5540989]=new thumbnail(5540989,"165205","Muddy enduro rear forks","Muddy-enduro-rear-forks_thumb.jpg",130,87,32);thumbnails[5631801]=new thumbnail(5631801,"208466","Private Lake","Private-lake-_thumb.jpg",130,84,32);thumbnails[5917493]=new thumbnail(5917493,"333962","Down the bank","Down-the-bank_thumb.jpg",130,184,32);thumbnails[5917500]=new thumbnail(5917500,"333962","Hill Top Jump","Hill-Top-Jump_thumb.jpg",130,92,32);thumbnails[5917506]=new thumbnail(5917506,"333962","Out of the Water","Out-of-the-water_thumb.jpg",130,92,32);thumbnails[5917511]=new thumbnail(5917511,"333962","Roll Top","Roll-Top_thumb.jpg",130,92,32);thumbnails[6574085]=new thumbnail(6574085,"225451","Birnbeck Island","Birnbeck-Island1_thumb.jpg",130,88,32);thumbnails[6574120]=new thumbnail(6574120,"225451","Birnbeck Island from Knightstone Island","Birnbeck-Island-from-Knight1_thumb.jpg",130,98,32);thumbnails[6574129]=new thumbnail(6574129,"164537","Dynair Building","Dynair-building_thumb.jpg",130,187,32);thumbnails[6574138]=new thumbnail(6574138,"200741","Footpath to Birnbeck Island","Footpath-to-Birnbeck-Island_thumb.jpg",130,173,32);thumbnails[6574144]=new thumbnail(6574144,"225451","Grand Pier Weston","Grand-Pier-Weston_thumb.jpg",130,79,32);thumbnails[6574149]=new thumbnail(6574149,"164537","Johnsons building","Johnsons-building_thumb.jpg",130,183,32);thumbnails[6574161]=new thumbnail(6574161,"164537","Old Royal Grand Pier Hotel","Old-Royal-Grand-Pier-Hotel_thumb.jpg",130,173,32);thumbnails[6574201]=new thumbnail(6574201,"200741","Road to Birnbeck Island","Road-to-Birnbeck-Island_thumb.jpg",130,173,32);thumbnails[6574207]=new thumbnail(6574207,"200741","St Anne Bridge","St-Ann-Bridge_thumb.jpg",130,89,32);thumbnails[4840779]=new thumbnail(4840779,"276399","Blue watch Movement","Blue-watch-Movement_thumb.jpg",130,87,32);thumbnails[2593728]=new thumbnail(2593728,"275486","Painswick Lane","Painswick Lane in Autumn_thumb.jpg",130,196,32);thumbnails[4348783]=new thumbnail(4348783,"225327","Derelict Solarised Factory","Derilict-Solarised-Factory_thumb.jpg",130,85,32);thumbnails[2590219]=new thumbnail(2590219,"276400","Mangled Mangle","Mangled-Mangle_thumb.jpg",130,133,32);thumbnails[4348878]=new thumbnail(4348878,"225327","St Oswolds Solarised Priory","St-Oswolds-Solarised-_thumb.jpg",130,87,32);thumbnails[2590239]=new thumbnail(2590239,"225451","Docks at Bristol","View of the docks Bristol_thumb.jpg",130,86,32);thumbnails[2587895]=new thumbnail(2587895,"164526","Steam Crane","Steam Crane  Bristol Industrial Musium1_thumb.jpg",130,86,32);thumbnails[2587897]=new thumbnail(2587897,"164529","Grannery Mill","Newbury Mill1_thumb.jpg",130,86,32);thumbnails[2926020]=new thumbnail(2926020,"200742","Virginia Creeper leaf","Virginia-Creeper-leaf-early_thumb.jpg",130,103,32);thumbnails[3255148]=new thumbnail(3255148,"200742","Malvern Foxgloves","Malvern-Foxgloves_thumb.jpg",130,200,32);thumbnails[3295618]=new thumbnail(3295618,"200742","Chew Valley Tree","Chew-Valley-Tree_thumb.jpg",130,87,32);thumbnails[4289027]=new thumbnail(4289027,"200742","Mini Sycamore","Mini-Sycamore_thumb.jpg",130,98,32);thumbnails[4289192]=new thumbnail(4289192,"200742","Solarised Log","Solarised-Log_thumb.jpg",130,98,32);thumbnails[6168300]=new thumbnail(6168300,"200742","Dandelion 1","Dandelion-1_thumb.jpg",130,105,32);thumbnails[6168310]=new thumbnail(6168310,"200742","Dandelion 2","Dandelion-2_thumb.jpg",130,115,32);var galleries=new Object();galleries[165205]=new gallery(165205,"5540989,5540986,5144373,5144361,5144312,3255164,2820790,2820718,2622633,2593746","Allsorts of subjects","section207682",[2590220,2593746,2622633,2820718,2820790,3255164,5144312,5144361,5144373,5540986,5540989]);galleries[164951]=new gallery(164951,"5104235,4959685,3295590,2820636,2590237,2587893","Animals","section205827",[2587893,2590237,2820636,3295590,4959685,5104235]);galleries[164537]=new gallery(164537,"6574161,6574149,6574129,4288949,3349475,3349472,3349468,3349458,2955584,2587911","Buildings ","section206989",[2587896,2587911,2955584,3349458,3349468,3349472,3349475,4288949,6574129,6574149,6574161]);galleries[225327]=new gallery(225327,"5104252,4348878,4348870,4348783,4348770,2820805,2820800","Cityscapes  1","gallery",[2820800,2820805,4348770,4348870,5104252,4348783,4348878]);galleries[275489]=new gallery(275489,"5104264,4886419,3548647,3548624,3548611,3548595,3255157,3255155,3255152,3255149","Cityscapes  2","gallery",[2583328,2587906,2587908,2955612,3255133,3255149,3255152,3255155,3255157,3548595,3548611,3548624,3548647,4886419,5104264]);galleries[225448]=new gallery(225448,"5144346,5144331,5104248,4886463,4886442,4886430,4886425,2955610,2955597,2593810","Countryscapes  1","gallery",[2590221,2590225,2590231,2590235,2593670,2593671,2593740,2593810,2955597,2955610,4886425,4886430,4886442,4886463,5104248,5144331,5144346]);galleries[275485]=new gallery(275485,"3876873,3548640,3548587,3548476,3349440,3255138,2622715,2622700","Countryscapes  2","gallery",[2622700,2622715,3255138,3349440,3548476,3548587,3548640,3876873]);galleries[275486]=new gallery(275486,"5104260,5104258,5104257,5104254,3250037,3250036,2820756,2593728,2593675,2593673","Countryscapes  3","gallery",[2583323,2593673,2593675,2820756,3250036,3250037,5104254,5104257,5104258,5104260,2593728]);galleries[276400]=new gallery(276400,"4348846,3349495,3349493,3249978,2857506,2820811,2593825,2590219","Decorative items","section207682",[2593825,2820811,2857506,3249978,3349493,3349495,4348846,2590219]);galleries[164944]=new gallery(164944,"5104244,3255170,3255159,3255146,3255135,2955615,2955609,2955606,2857526,2593633","Detail","section206989",[2590214,2590236,2593633,2857526,2955606,2955609,2955615,3255135,3255146,3255159,3255170,5104244]);galleries[333962]=new gallery(333962,"5917511,5917506,5917500,5917493,3876887,3876879,3876701,3876546,3876545,3876540","Equine Events","section205827",[2587891,2590217,3876540,3876545,3876546,3876701,3876879,3876887,5917493,5917500,5917506,5917511]);galleries[164526]=new gallery(164526,"4289164,2925927,2593753,2587895,2587894","Machines","section205838",[2587894,2593753,2925927,4289164,2587895]);galleries[164529]=new gallery(164529,"2587897","Mills","section205838",[2587897]);galleries[313972]=new gallery(313972,"5540983,5540979","Motor bikes","section376270",[5540979,5540983]);galleries[276399]=new gallery(276399,"4886550,4840796,4840786,4840779","Small Objects","section207682",[4840786,4840796,4886550,4840779]);galleries[208466]=new gallery(208466,"5631801,5386591,5386581,5386570,5386568,5386559,3411528,3411520,3411515,3411510","Snowscapes","gallery",[3411493,3411495,3411510,3411515,3411520,3411528,5386559,5386568,5386570,5386581,5386591,5631801]);galleries[200741]=new gallery(200741,"6574207,6574201,6574138,3674635,3674597,3674590,2857536,2857527,2857514,2820832","Structurescapes","gallery",[2622630,2820809,2820832,2857514,2857527,2857536,3674590,3674597,3674635,6574138,6574201,6574207]);galleries[165208]=new gallery(165208,"5104424,3249980,3249976,2926007,2925980,2593815,2593737,2593734,2593732,2593663","Transport","section205838",[2587899,2593643,2593663,2593732,2593734,2593737,2593815,2925980,2926007,3249976,3249980,5104424]);galleries[225451]=new gallery(225451,"6574144,6574120,6574085,3295607,2622711,2622705,2622701,2593819,2593678,2593637","Waterscapes  1","gallery",[2587888,2590205,2593637,2593678,2593819,2622701,2622705,2622711,3295607,6574085,6574120,6574144,2590239]);galleries[275482]=new gallery(275482,"4289172,4289025,4289021,4288955,3674641,3674621,3674615","Waterscapes  2","gallery",[3674615,3674621,3674641,4288955,4289021,4289025,4289172]);galleries[275483]=new gallery(275483,"3349464,3349462,3295570,3295557","Waterscapes  3","gallery",[3295557,3295570,3349462,3349464]);galleries[200742]=new gallery(200742,"6168310,6168300,4289192,4289027,3295618,3255148,2926020","Flowers and Trees","section205827",[2926020,3255148,3295618,4289027,4289192,6168300,6168310]);var imageSets=new Object();imageSets[1]="5386591,5386581,4959685,4886550,4840779,4348878,4348783,2593728,2590239,2590219,2587897,2587895";imageSets[3]="5104235,4886463,4886442,4886430,4886419,4289192,4289172,4289164,4289027,4289025,4289021,4288955,4288949,3876887,3876879,3876873,3876701,3876546,3876545,3876540,3674641,3674635,3674621,3674615,3674597,3674590,3548647,3548640,3548624,3548611,3548595,3548587,3548476,3411528,3411520,3411515,3411510";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/Washclock/images";break}switch(a){case 1:b="http://www1.clikpic.com/Washclock/images";break}switch(a){case 2:b="http://admin.clikpic.com/Washclock/images";break}switch(a){case 24:b="http://tpc15/clikpic/Washclock/images";break}switch(a){case 4:b="http://www.clikchurch.com/Washclock/images";break}switch(a){case 5:b="http://www2.clikpic.com/Washclock/images";break}switch(a){case 22:b="http://tpc5/clikpic/Washclock/images";break}switch(a){case 23:b="http://tpc10/clikpic/Washclock/images";break}switch(a){case 25:b="http://tpc16/clikpic/Washclock/images";break}switch(a){case 15:b="http://www3.clikpic.com/Washclock/images";break}switch(a){case 18:b="http://www4.clikpic.com/Washclock/images";break}switch(a){case 19:b="http://www5.clikpic.com/Washclock/images";break}switch(a){case 31:b="http://www7.clikpic.com/Washclock/images";break}switch(a){case 32:b="http://admin2.clikpic.com/Washclock/images";break}switch(a){case 33:b="http://www8.clikpic.com/Washclock/images";break}switch(a){case 34:b="http://www9.clikpic.com/Washclock/images";break}switch(a){case 35:b="http://admin3.clikpic.com/Washclock/images";break}switch(a){case 37:b="http://admin4.clikpic.com/Washclock/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="Philip Lee 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>"}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="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';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">';b=b+'	<input type="hidden" name="item_option" value="'+a+'">';b=b+'	<input type="hidden" name="site" value="WASHCLOCK">';b=b+'	<input type="hidden" name="item_number" value="'+c.id+'">';b=b+'	<input type="hidden" name="quantity" value="1">';b=b+'	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button">';b=b+'	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>';b=b+'<div id="confirmContainer">';b=b+'<div id="paymentConfirm">Item added to cart</div>';b=b+"</div>";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+'")'})}}};