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[1116580]=new thumbnail(1116580,"","Locations for landscape photography in East Sussex","maintownsroads7.jpg",130,89,1);thumbnails[6681889]=new thumbnail(6681889,"","Hyder Commission  DSC 0086","Hyder_Commission__DSC_0086_thumb.jpg",130,92,1);thumbnails[6681890]=new thumbnail(6681890,"","Hyder Commission DSC 0127","Hyder_Commission_DSC_0127_thumb.jpg",130,130,1);thumbnails[3168606]=new thumbnail(3168606,"103588","Surf at Kynance Cove","Kynance Cove DSC_0311_thumb.jpg",130,87,1);thumbnails[3168556]=new thumbnail(3168556,"103588","Bedruthan Steps as sunset approaches","Bedruthan Beach DSC_0400_thumb.jpg",130,65,1);thumbnails[3168559]=new thumbnail(3168559,"103588","Bedruthan Steps on a stormy day taken from the cliff top","Bedruthan Steps DSC_0369_thumb.jpg",130,87,1);thumbnails[3168581]=new thumbnail(3168581,"103588","Kynance Cove at Sunset","Kynance Sunset DSC_0252_thumb.jpg",130,67,1);thumbnails[3168582]=new thumbnail(3168582,"103588","Kynance Cove at Sunset","Kynance Cove DSC_0278_thumb.jpg",130,87,1);thumbnails[3168612]=new thumbnail(3168612,"103588","Polzeath at Sunset","Pollzeath Bay DSC_0018_thumb.jpg",130,87,1);thumbnails[3168625]=new thumbnail(3168625,"103588","View of Polzeath Village taken from Pentire Point","Polzeath from Pentire Point DSC_0060_thumb.jpg",130,87,1);thumbnails[3168634]=new thumbnail(3168634,"103588","The headland at Polzeath at Sunset","Polzeath Headland DSC_0031_thumb.jpg",130,88,1);thumbnails[1512150]=new thumbnail(1512150,"103588","Cornish Sunset","Trebarwick Strand PA170324 copy1.jpg",130,98,1);thumbnails[1512155]=new thumbnail(1512155,"103588","The perfect Autumn Day","View from Tintagel  PA170310 copy1.jpg",130,97,1);thumbnails[1517938]=new thumbnail(1517938,"103588","Sunset at Trebarwith Strand","Trebarwith Strand sunset DSC_0130 copy1.jpg",130,87,1);thumbnails[1517932]=new thumbnail(1517932,"103588","Tintagel Cove","Tintagel Cove DSC_00761.jpg",130,87,1);thumbnails[1517937]=new thumbnail(1517937,"103588","Tintagel","Tintagel Parish Church DSC_00341.jpg",130,87,1);thumbnails[1517939]=new thumbnail(1517939,"103588","Sea Stack","Trebarwith Strand sunset DSC_0134 copy1.jpg",130,88,1);thumbnails[1512139]=new thumbnail(1512139,"103588","Landsend Sunset","Landsend Sunset PA140214 copy1.jpg",130,172,1);thumbnails[1509749]=new thumbnail(1509749,"103588","Landsend Sunset","Landsend Sunset DSC_01031.jpg",130,194,1);thumbnails[1509753]=new thumbnail(1509753,"103588","Sunset at Landsend","Landsend sunset DSC_01061.jpg",130,194,1);thumbnails[1509756]=new thumbnail(1509756,"103588","Sunset at Landsend","Landsend sunset DSC_01111.jpg",130,194,1);thumbnails[1517931]=new thumbnail(1517931,"103588","Trebarwith Strand","Rocks at Trebarwith Strand DSC_00121.jpg",130,194,1);thumbnails[1517935]=new thumbnail(1517935,"103588","Tintagel Cove","Tintagel Cove DSC_00781.jpg",130,194,1);thumbnails[1517940]=new thumbnail(1517940,"103588","Sea Stack","Trebarwith Strand sunset DSC_0137 copy1.jpg",130,194,1);thumbnails[1509760]=new thumbnail(1509760,"103588","Sunset at Landsend","Landsend sunsetDSC_0112 copy1.jpg",130,194,1);thumbnails[1509654]=new thumbnail(1509654,"103588","Lone walker on Daymer Beach","Daymer Beach DSC_0025 copy1.jpg",130,194,1);thumbnails[3168665]=new thumbnail(3168665,"103588","Sunset at Pentire Head","Polzeath Headland DSC_0044_thumb.jpg",130,194,1);thumbnails[3168649]=new thumbnail(3168649,"103588","Polzeath Bay at dusk","Polzeath Village DSC_0041_thumb.jpg",130,194,1);thumbnails[3168586]=new thumbnail(3168586,"103588","Kynace Cove at Sunset","Kynance Cove DSC_0306_thumb.jpg",130,194,1);thumbnails[3168572]=new thumbnail(3168572,"103588","Bedruthan Steps on a stormy day","Bedruthan Steps DSC_0373_thumb.jpg",130,194,1);thumbnails[3168603]=new thumbnail(3168603,"103588","Cliffs at Boscastle","Boscastle Cliff DSC_0010_thumb.jpg",130,194,1);thumbnails[1509176]=new thumbnail(1509176,"103587","Pro-Surfer","Newquay Surfer DSC_0028 crop copy1.jpg",130,87,1);thumbnails[1509178]=new thumbnail(1509178,"103587","Wave Rider","Newquay Surfer DSC_0001 crop copy1.jpg",130,87,1);thumbnails[1509222]=new thumbnail(1509222,"103587","Surfer","Newquay Surfer DSC_0003 crop copy1.jpg",130,87,1);thumbnails[1509224]=new thumbnail(1509224,"103587","Hitting the Lip","Newquay Surfer DSC_0009 crop copy1.jpg",130,87,1);thumbnails[1509227]=new thumbnail(1509227,"103587","Hitting the Lip 2","Newquay Surfer DSC_0012 crop copy1.jpg",130,87,1);thumbnails[1509278]=new thumbnail(1509278,"103587","Pro-Surfer","Newquay Surfer DSC_0031 crop copy1.jpg",130,87,1);thumbnails[1056824]=new thumbnail(1056824,"78490","Sunrise over Freezing Fog","FogoverAshdownForest1.jpg",130,88,1);thumbnails[1057716]=new thumbnail(1057716,"78490","Sunrise on a Stormy Day.","Ashdown_Forest21.jpg",130,83,1);thumbnails[1060003]=new thumbnail(1060003,"78490","Sunset at Barcombe Reach ","Barcombe_Reach1.jpg",130,70,1);thumbnails[1060050]=new thumbnail(1060050,"78490","Sussex Sunset","Ringmer_sunset1.jpg",130,87,1);thumbnails[1060957]=new thumbnail(1060957,"78490","Sunset at Barcombe Mills","Barcombe_Mills_Sunseta1.jpg",130,87,1);thumbnails[1090642]=new thumbnail(1090642,"78490","Trees in Fog","Trees_in_Fog_DSC_00311.jpg",130,87,1);thumbnails[1095443]=new thumbnail(1095443,"78490","Sunrise","Sunrise_ DSC_00621.jpg",130,87,1);thumbnails[1095465]=new thumbnail(1095465,"78490","Heathland Stream","Stream_DSC_01571.jpg",130,78,1);thumbnails[1095448]=new thumbnail(1095448,"78490","Dawn","Sunrise_on_ashdown_forest_DSC_00561.jpg",130,194,1);thumbnails[1057727]=new thumbnail(1057727,"78490","Sunset on the river.","BarcombeReach1.jpg",130,146,1);thumbnails[1090576]=new thumbnail(1090576,"78490","Fog on the Ashdown Forest","Heathland in Fog DSC_00341.jpg",130,194,1);thumbnails[1090632]=new thumbnail(1090632,"78490","Tree in Fog!","Tree_in_fog_DSC_00881.jpg",130,194,1);thumbnails[1559069]=new thumbnail(1559069,"78526","Seaford Bay at Dusk","Seaford Bay after dark DSC_0158 copy1.jpg",130,84,1);thumbnails[1559116]=new thumbnail(1559116,"78526","Sunset in Seaford Bay","Sunset and Stack DSC_0146 copy1.jpg",130,87,1);thumbnails[1559124]=new thumbnail(1559124,"78526","Sunset at Seaford Bay","Sunset at Splashpoint DSC_00991.jpg",130,87,1);thumbnails[1559128]=new thumbnail(1559128,"78526","Sunset","Sunset DSC_01411.jpg",130,44,1);thumbnails[1056918]=new thumbnail(1056918,"78526","A stormy day at Newhaven Harbour.","BreakwaterCrop1.jpg",130,61,1);thumbnails[1063835]=new thumbnail(1063835,"78526","Coastguard Cottages and the Seven Sisters","Coastguard_cottages2.jpg",130,58,1);thumbnails[1063845]=new thumbnail(1063845,"78526","Cuckmere Haven - a choice place to live","Cuckmer_Haven1.jpg",130,91,1);thumbnails[1064032]=new thumbnail(1064032,"78526","Coastguard Cottages at Cuckmere Haven","Cuckmere_Haven31.jpg",130,95,1);thumbnails[1074921]=new thumbnail(1074921,"78526","Winter Storm","Hope_Gap1.jpg",130,86,1);thumbnails[1074924]=new thumbnail(1074924,"78526","Chalk Bastion","Hope_Gap21.jpg",130,86,1);thumbnails[1074996]=new thumbnail(1074996,"78526","Sunshine on a rainy day","Seaford_Head1.jpg",130,86,1);thumbnails[1075035]=new thumbnail(1075035,"78526","Seven Sisters and Hope Gap","Seven_Sisters_&Hope_Gap1.jpg",130,70,1);thumbnails[1075505]=new thumbnail(1075505,"78526","Storm Front","Stack1.jpg",130,87,1);thumbnails[1559098]=new thumbnail(1559098,"78526","Sunset over the Channel","Sunset over the channel DSC_0117 copy1.jpg",130,200,1);thumbnails[1559111]=new thumbnail(1559111,"78526","The Chalk cliffs of Seaford Head at sunset","Sunset and Stack DSC_0143 copy1.jpg",130,198,1);thumbnails[1075509]=new thumbnail(1075509,"78526","Sunshine on a rainy day 2","stackx1.jpg",130,164,1);thumbnails[1075007]=new thumbnail(1075007,"78526","Seaford Head","Seaford_Head_Stack1.jpg",130,189,1);thumbnails[1075020]=new thumbnail(1075020,"78526","Storm Front 2","Seaford_Head21.jpg",130,192,1);thumbnails[1075068]=new thumbnail(1075068,"78526","Hope Gap","Seven_Sisters_&_Hope_Gap51.jpg",130,191,1);thumbnails[1074927]=new thumbnail(1074927,"78526","Cliff Fall","Hope_Gap31.jpg",130,203,1);thumbnails[6602433]=new thumbnail(6602433,"345491","Old Stone Bridge at Rydal Water","Arch_Bridges_DSC_0809_thumb.jpg",130,87,1);thumbnails[6602459]=new thumbnail(6602459,"345491","Rapids at Aria Force","Aria_Force_DSC_0207_A5E2BBAA-1EC9-D45B-1C9198D5126223F2_thumb.jpg",130,87,1);thumbnails[6602591]=new thumbnail(6602591,"345491","Rapids down stream from Aria Force Waterfall","Aria_Force_Stream_DSC_0853_thumb.jpg",130,87,1);thumbnails[6595726]=new thumbnail(6595726,"345491","An old arch bridge over the stream at Rydal Water in the Lake District","Arch_Bridges_DSC_0806_thumb.jpg",130,87,1);thumbnails[6185985]=new thumbnail(6185985,"345491","Kirkgate Pass on New Year's Day","Kirkgate_Pass_Panorama1_copy_thumb.jpg",130,37,1);thumbnails[6185962]=new thumbnail(6185962,"345491","Lake Ennerdale on the hotest day of the year","Ennerdale_Panorame_copy_thumb.jpg",130,36,1);thumbnails[6185974]=new thumbnail(6185974,"345491","Martindale Panorama taken from Hallin Fell, Ullswater","Howtown_Panorama_copy_thumb.jpg",130,28,1);thumbnails[6185992]=new thumbnail(6185992,"345491","Ullswater Panorama","Ullswater_Panorama_copy_thumb.jpg",130,39,1);thumbnails[6186011]=new thumbnail(6186011,"345491","Martindale taken from Hallin Fell","View_from_Hallin_Fell_DSC_0357_copy_thumb.jpg",130,87,1);thumbnails[6185799]=new thumbnail(6185799,"345491","A Vale in the lakedistrict on a stormy day","Lake_District_Vale_DSC_0049_copy_thumb.jpg",130,87,1);thumbnails[6185820]=new thumbnail(6185820,"345491","Lake District Vale on a stormy Day","Lake_District_Vale_DSC_0053_copy_thumb.jpg",130,87,1);thumbnails[6681891]=new thumbnail(6681891,"345491","Kirkstone pass in Winter","Kirkstone_pass_DSC_0147_thumb.jpg",130,87,1);thumbnails[6681892]=new thumbnail(6681892,"345491","Kirkstone Pass under Snow","Kirkstone_Pass_DSC_0154_thumb.jpg",130,87,1);thumbnails[6681923]=new thumbnail(6681923,"345491","Rydal Water ","Rydal_Water_DSC_0259_thumb.jpg",130,87,1);thumbnails[6681883]=new thumbnail(6681883,"345491","Derelict cottage at Rydal Water","Derelict_cottage_BW_DSC_0783_thumb.jpg",130,87,1);thumbnails[6681924]=new thumbnail(6681924,"345491","Rydal Water Panorama","Rydal_Water_Panorama_thumb.jpg",130,66,1);thumbnails[6681908]=new thumbnail(6681908,"345491","Rydal Water Panorama","Loughrigg_Panorama1_thumb.jpg",130,63,1);thumbnails[6681901]=new thumbnail(6681901,"345491","Loughrigg Cave ","Loughrigg_Cave_DSC_0754_thumb.jpg",130,87,1);thumbnails[6681919]=new thumbnail(6681919,"345491","Rydal Water and Rydal Fell Black & White","Rydal__Loughrigg_Black__White_DSC_0787_thumb.jpg",130,87,1);thumbnails[6681925]=new thumbnail(6681925,"345491","Rydal Water on a Stormy Day ","Rydal_Water_Stormy_Day_DSC_0788_thumb.jpg",130,87,1);thumbnails[6681920]=new thumbnail(6681920,"345491","Rydal Water and Rydal Fell ","Rydal__Roughrigg_DSC_0787_thumb.jpg",130,87,1);thumbnails[6185874]=new thumbnail(6185874,"345491","Lake District Waterfall","Water_Fall_DSC_0036_square_copy_thumb.jpg",130,130,1);thumbnails[6186025]=new thumbnail(6186025,"345491","Martindale from Hallin Fell","View_from_top_of_Hallin_Fell_DSC_0364_copy_thumb.jpg",130,194,1);thumbnails[6602532]=new thumbnail(6602532,"345491","Aria Force Waterfall, Ullswater","Aria_Force_DSC_0869_thumb.jpg",130,194,1);thumbnails[6185830]=new thumbnail(6185830,"345491","Lake District Waterfall","Water_Fall_DSC_0032_copy_thumb.jpg",130,194,1);thumbnails[6681868]=new thumbnail(6681868,"345491","Aria Force Stream ","Aria_Force_Stream_DSC_0861_thumb.jpg",130,194,1);thumbnails[6681932]=new thumbnail(6681932,"345491","Tree and stream ","Tree_and_stream_DSC_0774_thumb.jpg",130,194,1);thumbnails[6681922]=new thumbnail(6681922,"345491","Stream at Rydal Water","Rydal_Stream_DSC_0747_thumb.jpg",130,194,1);thumbnails[6681899]=new thumbnail(6681899,"345491","Loughrigg cavern and pond","Loughrigg_cave_DSC_0753_thumb.jpg",130,194,1);thumbnails[6681921]=new thumbnail(6681921,"345491","Rydal Stream DSC 0744","Rydal_Stream_DSC_0744_thumb.jpg",130,194,1);thumbnails[6681871]=new thumbnail(6681871,"364087","Canal Bridge on the Llangollen Canal","Canal_Bridge_DSC_0538_thumb.jpg",130,87,1);thumbnails[6681910]=new thumbnail(6681910,"364087","River Mersey at Woolston","Mersey_DSC_1050_thumb.jpg",130,87,1);thumbnails[6681869]=new thumbnail(6681869,"364087","Derelict Lock Machinery at Woolston Locks","BW_Winder_DSC_0084_thumb.jpg",130,87,1);thumbnails[6681909]=new thumbnail(6681909,"364087","Lush Valley at Woolston New Cut","Lush_Valley_at_Woolston_New_Cut_DSC_0150_thumb.jpg",130,96,1);thumbnails[6681911]=new thumbnail(6681911,"364087","River Mersey at Woolston","Mersy_DSC_1044_thumb.jpg",130,87,1);thumbnails[6681934]=new thumbnail(6681934,"364087","Woolston Weir on the River Mersey","Woolston_Weir_on_the_River_Mersey_DSC_1071_thumb.jpg",130,87,1);thumbnails[6681917]=new thumbnail(6681917,"364087","Stormy skies over the River","River_Mersy_and_Woolston_Cut_DSC_1090_thumb.jpg",130,194,1);thumbnails[1056694]=new thumbnail(1056694,"78502","Forth Bridges After Sunset","Forth Bridges after sunset1.jpg",130,55,1);thumbnails[1056696]=new thumbnail(1056696,"78502","Forth Bridges at Sunset","Forth Bridges at Sunset1.jpg",130,83,1);thumbnails[1056704]=new thumbnail(1056704,"78502","The Forth Rail Bridge after sunset.","Forth RailBridge at night copy1.jpg",130,89,1);thumbnails[1056743]=new thumbnail(1056743,"78502","Forth Road Bridge After Sunset","Forth Road Bridge after Sunset copy1.jpg",130,48,1);thumbnails[1056746]=new thumbnail(1056746,"78502","The Forth Road Bridge after sunset","Forth Road Bridge after Sunset21.jpg",130,35,1);thumbnails[1124868]=new thumbnail(1124868,"78502","Sunset at the Forth Bridges","Forth_Rail_Bridge_at_Sunset1.jpg",130,87,1);thumbnails[1069788]=new thumbnail(1069788,"78502","Forth Rail Bridge at dusk","Forth_Rail_Bridge_&_boat1.jpg",130,194,1);thumbnails[1056893]=new thumbnail(1056893,"78501","Brentor Church on Dartmoor","BrentTor1.jpg",130,89,1);thumbnails[1068089]=new thumbnail(1068089,"78501","Dartmoor Sunset","Dartmoor1.jpg",130,80,1);thumbnails[1069763]=new thumbnail(1069763,"78501","Moonrise","Dartmoormoonrise1.jpg",130,87,1);thumbnails[1069776]=new thumbnail(1069776,"78501","Autumn on Dartmoor","Dartmoor_from_Hound_Tor1.jpg",130,81,1);thumbnails[1074946]=new thumbnail(1074946,"78501","Hay Tor","Hay_Tor1.jpg",130,88,1);thumbnails[1074940]=new thumbnail(1074940,"78501","Becky Falls","Rapids1.jpg",130,58,1);thumbnails[1075522]=new thumbnail(1075522,"78501","Mist on the Teign Estuary","Teign Estuary copy1.jpg",130,87,1);thumbnails[1075559]=new thumbnail(1075559,"78501","Banks of the River Teign","Fingle_Bridge_River_Teign_DSC_00261.jpg",130,87,1);thumbnails[1090061]=new thumbnail(1090061,"78501","Minature Waterfall","Fingle_Bridge_Stream_DSC_00191.jpg",130,87,1);thumbnails[1090065]=new thumbnail(1090065,"78501","Grimstown","Grimstown_house_DSC_00681.jpg",130,87,1);thumbnails[1075532]=new thumbnail(1075532,"78501","Becky Falls","waterfall 1 crop copy1.jpg",130,177,1);thumbnails[1090083]=new thumbnail(1090083,"78501","Saddle Tor","Saddle_Tor_3_DSC_01091.jpg",130,194,1);thumbnails[1063789]=new thumbnail(1063789,"78501","Brentor Church","Brent_Tor21.jpg",130,181,1);thumbnails[1090078]=new thumbnail(1090078,"78501","Thunder rising","Saddle_Tor_in_a_storm _DSC_0088 copy1.jpg",130,179,1);thumbnails[1075557]=new thumbnail(1075557,"78501","Banks of the River Teign 2","Fingle_Bridge_River_Teign_2_DSC_00291.jpg",130,194,1);thumbnails[1084062]=new thumbnail(1084062,"78501","Dartmoor stream","Fingle_Bridge_Stream_2_DSC_00221.jpg",130,194,1);thumbnails[1084116]=new thumbnail(1084116,"78501","Fingle Bridge Stream","Fingle_Bridge_Stream_3_DSC_00241.jpg",130,192,1);thumbnails[1072142]=new thumbnail(1072142,"78529","Ness Beach Sunrise","Shaldon_Ness_DSC_00091.jpg",130,87,1);thumbnails[1056931]=new thumbnail(1056931,"78529","Sunrise at Shaldon Ness Beach, Devon","Ness_Beach_sunrise1.jpg",130,85,1);thumbnails[1084056]=new thumbnail(1084056,"78529","Stormy Weather at Thurlestone Bay","Thurleston_Bay_DSC_00451.jpg",130,87,1);thumbnails[1083207]=new thumbnail(1083207,"78529","Ness Beach Sunrise 2","Shaldon_Ness_DSC_00151.jpg",130,194,1);thumbnails[1083209]=new thumbnail(1083209,"78529","Jurasic Coast","Shaldon_Ness_cliffs_DSC_00271.jpg",130,194,1);thumbnails[1083211]=new thumbnail(1083211,"78529","Thurleston Bay","Thurleston_Bay_DSC_00401.jpg",130,198,1);thumbnails[6681870]=new thumbnail(6681870,"364082","Blagdon Lake Somerset","Blagdon_Lake_Somerset_DSC_0400_thumb.jpg",130,87,1);thumbnails[6681875]=new thumbnail(6681875,"364082","Cheddar Town and Reservoir","Cheddar_Gorge_DSC_0297_thumb.jpg",130,87,1);thumbnails[6681928]=new thumbnail(6681928,"364082","Sunset over Cheddar Levels DSC 0005","Sunset_over_Cheddar_Levels_DSC_0005_thumb.jpg",130,87,1);thumbnails[6681872]=new thumbnail(6681872,"364082","Cheddar Gorge & lone tree","Cheddar_Gorge__lone_tree_DSC_0298_thumb.jpg",130,87,1);thumbnails[6681878]=new thumbnail(6681878,"364082","Cheddar Gorge at Sunset ","Cheddar_Gorge_sunset_DSC_0012_thumb.jpg",130,88,1);thumbnails[6681873]=new thumbnail(6681873,"364082","Cheddar Gorge","Cheddar_Gorge_DSC_0276_thumb.jpg",130,89,1);thumbnails[6681916]=new thumbnail(6681916,"364082","River Brue & Glastonbury Tor at sunrise","River_Brue__Glastonbury_Tor_at_sunrise_DSC_0226_thumb.jpg",130,87,1);thumbnails[6681876]=new thumbnail(6681876,"364082","Cheddar Reservoir at Sunset","Cheddar_Gorge_sunset_DSC_0008_thumb.jpg",130,87,1);thumbnails[6681880]=new thumbnail(6681880,"364082","Chew Valley Lake reeds ","Chew_Valley_Lake_reeds_DSC_0378_thumb.jpg",130,88,1);thumbnails[6681885]=new thumbnail(6681885,"364082","Glastonbury Tor and the River Brue at Sunrise ","Glastonbury_Tor_and_the_River_Brue_at_Sunrise_DSC_0185_thumb.jpg",130,87,1);thumbnails[6681886]=new thumbnail(6681886,"364082","Glastonbury Tor and the River Brue","Glastonbury_Tor_and_the_River_Brue_DSC_0245_thumb.jpg",130,87,1);thumbnails[6681874]=new thumbnail(6681874,"364082","Cheddar Gorge ","Cheddar_Gorge_DSC_0294_thumb.jpg",130,87,1);thumbnails[6681927]=new thumbnail(6681927,"364082","Sunrise over the River Brue at Glastonbury","Sunrise_over_the_River_Brue_at_Glastonbury_DSC_0221_thumb.jpg",130,194,1);thumbnails[6681877]=new thumbnail(6681877,"364082","Cheddar Gorge Sunset ","Cheddar_Gorge_sunset_DSC_0011_thumb.jpg",130,193,1);thumbnails[6681879]=new thumbnail(6681879,"364082","Chew Valley Lake Lone branch Black and White","Chew_Lake_BW_DSC_0384_thumb.jpg",130,194,1);thumbnails[6681893]=new thumbnail(6681893,"100912","Leith Hill in Surrey ","Leith_Hill_in_Surrey_DSC_0030_thumb.jpg",130,88,1);thumbnails[1461460]=new thumbnail(1461460,"100912","Lock Gates on the River Wey","Open Lock Gates DSC_00181.jpg",130,87,1);thumbnails[1461497]=new thumbnail(1461497,"100912","Weyward Girl","Weyward Girl DSC_00071.jpg",130,87,1);thumbnails[6681895]=new thumbnail(6681895,"100912","Leith Hill in Surrey ","Leith_Hill_in_Surrey_DSC_0034_thumb.jpg",130,87,1);thumbnails[1461467]=new thumbnail(1461467,"100912","River Path","River Path DSC_00301.jpg",130,87,1);thumbnails[1461488]=new thumbnail(1461488,"100912","Reflections of trees on the River Wey","Trees on the River Wey DSC_00281.jpg",130,87,1);thumbnails[1461489]=new thumbnail(1461489,"100912","Reflections on the River Wey","Trees on the River Wey DSC_00331.jpg",130,194,1);thumbnails[6681881]=new thumbnail(6681881,"100912","St Martha's Church near Guildford","Church_on_Albury_Downs_near_Guildford_DSC_0018_thumb.jpg",130,87,1);thumbnails[1461485]=new thumbnail(1461485,"100912","Trees on the River Wey","Trees on the River Wey DSC_00271.jpg",130,194,1);thumbnails[1461476]=new thumbnail(1461476,"100912","Lock Gates on the River Wey","River Wey Open Lock DSC_00201.jpg",130,194,1);thumbnails[1461469]=new thumbnail(1461469,"100912","","River Wey Lock DSC_00191.jpg",130,194,1);thumbnails[1161663]=new thumbnail(1161663,"84006","Canary Wharf as sunset approaches","Canary Wharf DSC_00621.jpg",130,89,1);thumbnails[1161677]=new thumbnail(1161677,"84006","Canary Wharf after dark","Canary Wharf DSC_0078 copy1.jpg",130,87,1);thumbnails[1161689]=new thumbnail(1161689,"84006","Thames Panorama","Thames Panorama DSC_0057 copy1.jpg",130,70,1);thumbnails[1161700]=new thumbnail(1161700,"84006","Charing Cross Arches","Waterloo Arches B&W DSC_0099 copy1.jpg",130,194,1);thumbnails[6186038]=new thumbnail(6186038,"84006","Millenium Footbridge at night","Millenium_FB_at_nightDSC_0208_thumb.jpg",130,87,1);thumbnails[6662622]=new thumbnail(6662622,"84006","HMS Belfast & London Bridge at dusk","HMS_Belfast__London_Bridge_at_dusk_DSC_0182_D6643643-24E8-5EC4-4F1E61A33C8052B6_thumb.jpg",130,87,1);thumbnails[6681930]=new thumbnail(6681930,"84006","Towers of London ","Towers_of_London_DSC_0189_thumb.jpg",130,87,1);thumbnails[6681931]=new thumbnail(6681931,"84006","Tower Bridge & London Bridge","Tower_Bridge__London_Bridge_DSC_0187_thumb.jpg",130,84,1);thumbnails[6662620]=new thumbnail(6662620,"84006","Fountain at Tower Bridge","Fountain_at_Tower_Bridge_DSC_0190_D66432C8-24E8-5EC4-4F82BEAAA0D3FB52_thumb.jpg",130,185,1);thumbnails[6681912]=new thumbnail(6681912,"84006","North Embankment at Night","North_Embankment__at_Night_DSC_0195_thumb.jpg",130,198,1);thumbnails[6681887]=new thumbnail(6681887,"84006","HMS Belfast & London Bridge at dusk","HMS_Belfast__London_Bridge_at_dusk_DSC_0167_thumb.jpg",130,87,1);thumbnails[6681888]=new thumbnail(6681888,"84006","HMS Belfast & London Bridge at dusk","HMS_Belfast__London_Bridge_at_dusk_DSC_0178_thumb.jpg",130,87,1);thumbnails[1060965]=new thumbnail(1060965,"78767","Butterfly","Butterfly1.jpg",130,97,1);thumbnails[1063774]=new thumbnail(1063774,"78767","Beach Huts","Beach_Huts1.jpg",130,91,1);thumbnails[1063783]=new thumbnail(1063783,"78767","Boats on Seaford Beach","Boats1.jpg",130,76,1);thumbnails[1075528]=new thumbnail(1075528,"78767","Louise","Upturned Boats crop copy5.jpg",130,121,1);thumbnails[1084058]=new thumbnail(1084058,"78767","Trees in fog","Zooming_trees_in_fog_DSC_00051.jpg",130,85,1);thumbnails[1461595]=new thumbnail(1461595,"78767","Angel","Angel1.jpg",130,113,1);thumbnails[6681926]=new thumbnail(6681926,"78767","Sand Sculpture The Face ","Sand_Sculpture_The_Face_DSC_0072_thumb.jpg",130,130,1);thumbnails[1060962]=new thumbnail(1060962,"78767","Autumn","Autumnal_path1.jpg",130,128,1);thumbnails[1084059]=new thumbnail(1084059,"78767","Trees in fog2","Zooming_Trees_in_Fog_DSC_00081.jpg",130,194,1);thumbnails[6662624]=new thumbnail(6662624,"364116","Rhino ","Rhino_DSC_0266_D66439EC-24E8-5EC4-4FDD4BCDEE0EBAB3_thumb.jpg",130,87,1);thumbnails[6681882]=new thumbnail(6681882,"364116","Dear ","Dear_DSC_0286_thumb.jpg",130,87,1);thumbnails[6681884]=new thumbnail(6681884,"364116","Ferral Goat","Ferral_Goat_DSC_0309_thumb.jpg",130,87,1);thumbnails[6681913]=new thumbnail(6681913,"364116","Canadian Otter","Otter_DSC_0370_thumb.jpg",130,87,1);thumbnails[6681933]=new thumbnail(6681933,"364116","Vulture on nest ","Vulture_on_nest_DSC_0334_thumb.jpg",130,87,1);thumbnails[6681918]=new thumbnail(6681918,"364116","Roses ","Roses_DSC_0145_thumb.jpg",130,78,1);thumbnails[6681935]=new thumbnail(6681935,"364116","Grevy's Zebra","Zebra_DSC_0281_thumb.jpg",130,87,1);thumbnails[6681897]=new thumbnail(6681897,"364116","Lilly ","Lilly_DSC_0125_thumb.jpg",130,130,1);thumbnails[6681936]=new thumbnail(6681936,"364116","Grevy's Zebra","Zebra_DSC_0285_thumb.jpg",130,87,1);thumbnails[6681915]=new thumbnail(6681915,"364116","Rhino ","Rhino_DSC_0271_thumb.jpg",130,130,1);thumbnails[6681914]=new thumbnail(6681914,"364116","Pink Flowers ","Pink_Flowers_DSC_0079_thumb.jpg",130,194,1);thumbnails[6681929]=new thumbnail(6681929,"364116","Sycamore Seeds","Sycamore_DSC_0072_thumb.jpg",130,194,1);var galleries=new Object();galleries[103588]=new gallery(103588,"3168581,1512155","Cornwall","gallery",[3168606,3168556,3168559,3168581,3168582,3168612,3168625,3168634,1512150,1512155,1517938,1517932,1517937,1517939,1512139,1509749,1509753,1509756,1517931,1517935,1517940,1509760,1509654,3168665,3168649,3168586,3168572,3168603]);galleries[103587]=new gallery(103587,"1509176","Surf's Up!","gallery",[1509176,1509178,1509222,1509224,1509227,1509278]);galleries[78490]=new gallery(78490,"1060957,1056824","Sussex Landscapes","gallery",[1056824,1057716,1060003,1060050,1060957,1090642,1095443,1095465,1095448,1057727,1090576,1090632]);galleries[78526]=new gallery(78526,"1056918","Sussex Seascape & Coastal ","gallery",[1559069,1559116,1559124,1559128,1056918,1063835,1063845,1064032,1074921,1074924,1074996,1075035,1075505,1559098,1559111,1075509,1075007,1075020,1075068,1074927]);galleries[345491]=new gallery(345491,"6681891,6185874","The Lake District","gallery",[6602433,6602459,6602591,6595726,6185985,6185962,6185974,6185992,6186011,6185799,6185820,6681891,6681892,6681923,6681883,6681924,6681908,6681901,6681919,6681925,6681920,6185874,6186025,6602532,6185830,6681868,6681932,6681922,6681899,6681921]);galleries[364087]=new gallery(364087,"6681909","Cheshire","gallery",[6681871,6681910,6681869,6681909,6681911,6681934,6681917]);galleries[78502]=new gallery(78502,"1056696","Edinburgh Bridges","gallery",[1056694,1056696,1056704,1056743,1056746,1124868,1069788]);galleries[78501]=new gallery(78501,"1056893","Devon Landscapes","gallery",[1056893,1068089,1069763,1069776,1074946,1074940,1075522,1075559,1090061,1090065,1075532,1090083,1063789,1090078,1075557,1084062,1084116]);galleries[78529]=new gallery(78529,"1056931","Devon Seascape & Coastal","gallery",[1072142,1056931,1084056,1083207,1083209,1083211]);galleries[364082]=new gallery(364082,"6681877,6681875","Somerset","gallery",[6681870,6681875,6681928,6681872,6681878,6681873,6681916,6681876,6681880,6681885,6681886,6681874,6681927,6681877,6681879]);galleries[100912]=new gallery(100912,"6681895,1461460","Surrey ","gallery",[6681893,1461460,1461497,6681895,1461467,1461488,1461489,6681881,1461485,1461476,1461469]);galleries[84006]=new gallery(84006,"6186038,1161700","London City Scapes","gallery",[1161663,1161677,1161689,1161700,6186038,6662622,6681930,6681931,6662620,6681912,6681887,6681888]);galleries[78767]=new gallery(78767,"1461595,1084059","Eclectomania","gallery",[1060965,1063774,1063783,1075528,1084058,1461595,6681926,1060962,1084059]);galleries[364116]=new gallery(364116,"6681915","Nature","gallery",[6662624,6681882,6681884,6681913,6681933,6681918,6681935,6681897,6681936,6681915,6681914,6681929]);var imageSets=new Object();imageSets[1]="6186038";imageSets[2]="6681915,6681909,6681895,6681891,6681877,6681875,6186038,6185874,3168581,1512155,1509176,1461595,1461460,1161700,1084059,1060957,1056931,1056918,1056893,1056824,1056696";imageSets[3]="6681936,6681935,6681934,6681933,6681932,6681931,6681930,6681929,6681928,6681927,6681926,6681925,6681924,6681923,6681922,6681920,6681919,6681918,6681917,6681916,6681914,6681913,6681912,6681911,6681908,6681901,6681899,6681897,6681893,6681892,6681888,6681887,6681886,6681885,6681884,6681883,6681882,6681881,6681880,6681879,6681878,6681876,6681874,6681873,6681872,6681871,6681870,6681869,6681868,6662624,6662622,6662620,6602591,6602459,6602433,6595726,6186011,6185992,6185985,6185974,6185962,6185874,6185830,6185820,6185799,3168634,3168625,3168559,3168556";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/jonbishop/images";break}switch(a){case 1:b="http://www1.clikpic.com/jonbishop/images";break}switch(a){case 2:b="http://admin.clikpic.com/jonbishop/images";break}switch(a){case 24:b="http://tpc15/clikpic/jonbishop/images";break}switch(a){case 4:b="http://www.clikchurch.com/jonbishop/images";break}switch(a){case 5:b="http://www2.clikpic.com/jonbishop/images";break}switch(a){case 22:b="http://tpc5/clikpic/jonbishop/images";break}switch(a){case 23:b="http://tpc10/clikpic/jonbishop/images";break}switch(a){case 25:b="http://tpc16/clikpic/jonbishop/images";break}switch(a){case 15:b="http://www3.clikpic.com/jonbishop/images";break}switch(a){case 18:b="http://www4.clikpic.com/jonbishop/images";break}switch(a){case 19:b="http://www5.clikpic.com/jonbishop/images";break}switch(a){case 31:b="http://www7.clikpic.com/jonbishop/images";break}switch(a){case 32:b="http://admin2.clikpic.com/jonbishop/images";break}switch(a){case 33:b="http://www8.clikpic.com/jonbishop/images";break}switch(a){case 34:b="http://www9.clikpic.com/jonbishop/images";break}switch(a){case 35:b="http://admin3.clikpic.com/jonbishop/images";break}switch(a){case 37:b="http://admin4.clikpic.com/jonbishop/images";break}switch(a){case 38:b="http://admin5.clikpic.com/jonbishop/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="British Landscape, Coastal and City 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="JONBISHOP">';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+'")'})}}};
