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[2203791]=new thumbnail(2203791,"143311","BOAT IN ST. IVES","Boat in St_thumb. Ives Cornwall B&W small2.jpg",130,74,32);thumbnails[2244447]=new thumbnail(2244447,"143311","THE SECRET DOOR SC","The secret door B&W small_thumb.jpg",130,174,32);thumbnails[3339733]=new thumbnail(3339733,"143311","St. Michaels Mount","St_thumb. Michaels Mount Small file.jpg",130,87,32);thumbnails[5254101]=new thumbnail(5254101,"143311","Small","Small_as_a_small_file1_thumb.jpg",130,66,32);thumbnails[3342228]=new thumbnail(3342228,"143311","Godrevy Island SC","GODREVY ISLAND SC Small file_thumb.jpg",130,91,32);thumbnails[3342246]=new thumbnail(3342246,"143311","THE FISHERMAN'S COTTAGE SC","THE FISHERMAN'S COTTAGE SC small file_thumb.jpg",130,95,32);thumbnails[3342255]=new thumbnail(3342255,"143311","Wheal Coats SC","WHEAL COATS  SC small file_thumb.jpg",130,96,32);thumbnails[4484054]=new thumbnail(4484054,"143311","Eilean Donan Castle","Eilean_Donan_Castle_small1_thumb.jpg",130,81,32);thumbnails[2243538]=new thumbnail(2243538,"143311","TWIGGY","twiggy small_thumb.jpg",130,145,32);thumbnails[2254153]=new thumbnail(2254153,"143311","DARWIN & OLLIE","Darwin & Ollie small_thumb.jpg",130,117,32);thumbnails[4515241]=new thumbnail(4515241,"143311","The Young Piper","The_Young_Piper_small1_thumb.jpg",130,101,32);thumbnails[4515240]=new thumbnail(4515240,"143311","Lines","Lines_small_thumb.jpg",130,75,32);thumbnails[4515239]=new thumbnail(4515239,"143311","The Old Cart","The_Old_Cart_small_thumb.jpg",130,87,32);thumbnails[4484070]=new thumbnail(4484070,"143311","On the shores of Loch Ness","On_the_shores_of_Loch_Ness_BW_small_thumb.jpg",130,83,32);thumbnails[4484066]=new thumbnail(4484066,"143311","Urquhart Castle","Urquhart_Castle_small_thumb.jpg",130,87,32);thumbnails[3689925]=new thumbnail(3689925,"143311","Follow this path to where?","Follow_this_path_to_where_SMALL_2_thumb.jpg",130,87,32);thumbnails[4484044]=new thumbnail(4484044,"143311","Castle Stalker","Castle_Stalker_small_thumb.jpg",130,101,32);thumbnails[3692581]=new thumbnail(3692581,"143311","Calm before the storm SC","Calm_before_the_storm_small_SC_thumb.jpg",130,87,32);thumbnails[3692591]=new thumbnail(3692591,"143311","Bluebells SC","BLUEBELLS_SC_small_thumb.jpg",130,132,32);thumbnails[3692616]=new thumbnail(3692616,"143311","Woodland Flowers SC","WOODLAND_FLOWERS_SC_small_thumb.jpg",130,86,32);thumbnails[3692625]=new thumbnail(3692625,"143311","Pebbles the odd one out SC","Pebbles_the_odd_one_out_SCsmall_thumb.jpg",130,96,32);thumbnails[3870541]=new thumbnail(3870541,"143311","The two paths of life","The_two_paths_of_life_small_thumb.jpg",130,87,32);thumbnails[5254025]=new thumbnail(5254025,"143311","The Forty Hall Pond","Forty_Hall_Pond_small_file_thumb.jpg",130,77,32);thumbnails[3870570]=new thumbnail(3870570,"143311","Field with a view","Field_with_a_view_small_thumb.jpg",130,189,32);thumbnails[3870584]=new thumbnail(3870584,"143311","And the path runs through it","And_the_path_runs_through_it_small1_thumb.jpg",130,87,32);thumbnails[3870602]=new thumbnail(3870602,"143311","Ollie SC","Ollie_sc_small_thumb.jpg",130,144,32);thumbnails[5254081]=new thumbnail(5254081,"143311","Alone","Alone_small_file_thumb.jpg",130,104,32);thumbnails[4848066]=new thumbnail(4848066,"143311","Reflections from a majestic Castle","Reflections_from_a_majestic_Castle_BW_small_thumb.jpg",130,87,32);thumbnails[4941796]=new thumbnail(4941796,"143311","Foxy Lady SC","Foxy_Lady_SC_Small_thumb.jpg",130,109,32);thumbnails[5253495]=new thumbnail(5253495,"143311","Razzle Dazzle","Razzle_Dazzle_Small_File_thumb.jpg",130,128,32);thumbnails[5253520]=new thumbnail(5253520,"143311","St. Ives back street","St_Ives_back_street_small_file_thumb.jpg",130,95,32);thumbnails[5253524]=new thumbnail(5253524,"143311","St. Ives Harbour","St_Ives_Harbour_small_file_thumb.jpg",130,96,32);thumbnails[5253615]=new thumbnail(5253615,"143311","Carn Brea Castle","CARN_BREA_CASTLE_small_file_thumb.jpg",130,88,32);thumbnails[5253783]=new thumbnail(5253783,"143311","Walk this way","Walk_this_way_small_file_thumb.jpg",130,76,32);thumbnails[5253805]=new thumbnail(5253805,"143311","Cheddar Gorge","CHEDDAR_GORGE_small_file_thumb.jpg",130,91,32);thumbnails[5253821]=new thumbnail(5253821,"143311","A Scottish Moment","A_Scottish_moment_small_file_thumb.jpg",130,76,32);thumbnails[5253828]=new thumbnail(5253828,"143311","Gull Rock","GULL_ROCK_small_file_thumb.jpg",130,84,32);thumbnails[5253841]=new thumbnail(5253841,"143311","Frogmore Ponds","FROGMORE_PONDS_small_file_thumb.jpg",130,149,32);thumbnails[5253850]=new thumbnail(5253850,"143311","Tranquil Loch","Tranquil_Loch_small_file_thumb.jpg",130,87,32);thumbnails[5253855]=new thumbnail(5253855,"143311","Still Water","STILL_WATER_small_file_thumb.jpg",130,87,32);thumbnails[5253865]=new thumbnail(5253865,"143311","The Audrey","The_Audrey_small_file_thumb.jpg",130,80,32);thumbnails[5253871]=new thumbnail(5253871,"143311","Helford Passage","Helford_Passage_small_file_thumb.jpg",130,78,32);thumbnails[5253879]=new thumbnail(5253879,"143311","The Old Church","The_old_church_small_file_thumb.jpg",130,67,32);thumbnails[5253885]=new thumbnail(5253885,"143311","Amur Tiger","Amur_Tiger_SMALL_FILE_thumb.jpg",130,154,32);thumbnails[5253893]=new thumbnail(5253893,"143311","Bald Eagle","Bald_Eagle_small_file_thumb.jpg",130,96,32);thumbnails[5253894]=new thumbnail(5253894,"143311","Radiance of the Raptor","Radiance_of_the_Raptor_small_file_thumb.jpg",130,102,32);thumbnails[5253898]=new thumbnail(5253898,"143311","Tawny Owl","Tawny_Owl_small_file_thumb.jpg",130,113,32);thumbnails[5253899]=new thumbnail(5253899,"143311","Hawk","Hawk_small_file_thumb.jpg",130,87,32);thumbnails[5253905]=new thumbnail(5253905,"143311","The pond at Hampstead Heath","Hampstead_Heath_the_Pond_small_file1_thumb.jpg",130,194,32);thumbnails[5253909]=new thumbnail(5253909,"143311","Phone Box Falmouth","Phone_Box_Falmouth_small_file_thumb.jpg",130,99,32);thumbnails[5253912]=new thumbnail(5253912,"143311","Still life","STILL_LIFE_small_file_thumb.jpg",130,199,32);thumbnails[5253920]=new thumbnail(5253920,"143311","Father Christmas Day off","Father_Christmas_day_off_small_file_thumb.jpg",130,103,32);thumbnails[5253928]=new thumbnail(5253928,"143311","Wave","WAVE_small_file_thumb.jpg",130,56,32);thumbnails[5253937]=new thumbnail(5253937,"143311","The power of one","The_power_of_one_small_file_thumb.jpg",130,81,32);thumbnails[5584971]=new thumbnail(5584971,"143311","By the light of the sepia moon","By_the_light_of_the_sepia_moon_thumb.jpg",130,137,32);thumbnails[5585009]=new thumbnail(5585009,"143311","By the light of the Silvery moon","By_the_light_of_the_silvery_moon_thumb.jpg",130,137,32);thumbnails[5585023]=new thumbnail(5585023,"143311","The Moon is full tonight","The_Moon_is_full_tonight_once_more_thumb.jpg",130,106,32);thumbnails[5585046]=new thumbnail(5585046,"143311","The Moon is full again","The_Moon_is_full_tonight_once_more_-_sepia_thumb.jpg",130,106,32);thumbnails[5585125]=new thumbnail(5585125,"143311","The old church and moon","The_old_church_and_moon_Sepia_thumb.jpg",130,130,32);thumbnails[5585134]=new thumbnail(5585134,"143311","The old church and moon","The_old_church_and_moon_thumb.jpg",130,130,32);thumbnails[5585176]=new thumbnail(5585176,"143311","Moon Racer","Moon_Racer_thumb.jpg",130,132,32);thumbnails[5585183]=new thumbnail(5585183,"143311","Race with the moon","Race_with_the_moon_thumb.jpg",130,132,32);thumbnails[5585198]=new thumbnail(5585198,"143311","Carpet of Snow","carpet_of_snow_thumb.jpg",130,87,32);thumbnails[5585219]=new thumbnail(5585219,"143311","Small","Small_in_Sepia_thumb.jpg",130,66,32);thumbnails[5585240]=new thumbnail(5585240,"143311","The Thatched Cottage.","The_thatched_cottage_thumb.jpg",130,94,32);thumbnails[5585254]=new thumbnail(5585254,"143311","The old cart","The_old_cart_-_Sepia_thumb.jpg",130,87,32);thumbnails[2823700]=new thumbnail(2823700,"143264","TIGER FACE","Tiger Face_thumb.jpg",130,108,32);thumbnails[2203710]=new thumbnail(2203710,"143264","Foxy Lady","Foxy_Lady_Small_thumb.jpg",130,109,32);thumbnails[2203717]=new thumbnail(2203717,"143264","Bald Eagle","Bald_Eagle_small_thumb.jpg",130,95,32);thumbnails[4515236]=new thumbnail(4515236,"143264","Amur Tiger","Amur_Tiger_small_thumb.jpg",130,154,32);thumbnails[4484219]=new thumbnail(4484219,"143264","Oystercatcher","Oystercatcher_small_thumb.jpg",130,90,32);thumbnails[2222433]=new thumbnail(2222433,"143264","DRAGONFLY","Dragonfly small_thumb.jpg",130,99,32);thumbnails[4484187]=new thumbnail(4484187,"143264","Snow Monkey","Snow_Monkey_small_thumb.jpg",130,121,32);thumbnails[3342336]=new thumbnail(3342336,"143264","Red Squirrel","Red_Squirrel_small_thumb.jpg",130,135,32);thumbnails[2823678]=new thumbnail(2823678,"143264","MR. BUMBLE","Mr_thumb. Bumble.jpg",130,104,32);thumbnails[2243674]=new thumbnail(2243674,"143264","PEACOCK","peacock small_thumb.jpg",130,162,32);thumbnails[2243684]=new thumbnail(2243684,"143264","PHEASANT","phesant small_thumb.jpg",130,204,32);thumbnails[2254123]=new thumbnail(2254123,"143264","FLUFFY ROBIN","Fluffy Robin small_thumb.jpg",130,86,32);thumbnails[2823688]=new thumbnail(2823688,"143264","ASIAN SMALL CLAWED OTTER","Otter_thumb.jpg",130,116,32);thumbnails[4484166]=new thumbnail(4484166,"143264","Hmmmmm, I wonder......?","Hmmmm_I_wonder_small_thumb.jpg",130,107,32);thumbnails[3870720]=new thumbnail(3870720,"143264","Ollie","Ollie_small_thumb.jpg",130,144,32);thumbnails[2438330]=new thumbnail(2438330,"143264","DIPPER","Dipper in Devon small_thumb.jpg",130,132,32);thumbnails[2438422]=new thumbnail(2438422,"143264","CHAFFINCH","Chaffinch small_thumb.jpg",130,87,32);thumbnails[2441720]=new thumbnail(2441720,"143264","THE BLUE TIT FAMILY","The Blue Tit Family small_thumb.jpg",130,110,32);thumbnails[2441746]=new thumbnail(2441746,"143264","JAY","jay small_thumb.jpg",130,83,32);thumbnails[2441803]=new thumbnail(2441803,"143264","PEEK A BOO","Peek a boo small_thumb.jpg",130,125,32);thumbnails[2441954]=new thumbnail(2441954,"143264","PORTRAIT OF A LADY","Portrait of a lady small_thumb.jpg",130,132,32);thumbnails[2476829]=new thumbnail(2476829,"143264","Bird of Prey 1","Bird of Prey 1_thumb.jpg",130,87,32);thumbnails[2476835]=new thumbnail(2476835,"143264","Bird of Prey 2","Bird of Prey 2_thumb.jpg",130,176,32);thumbnails[2476846]=new thumbnail(2476846,"143264","Bird of Prey 3","Bird of Prey 3_thumb.jpg",130,87,32);thumbnails[3693025]=new thumbnail(3693025,"143264","Snowy Owl","Snowy_Owl_small_thumb.jpg",130,103,32);thumbnails[2558003]=new thumbnail(2558003,"143264","SCRUFF","Scruff_thumb.jpg",130,87,32);thumbnails[2558010]=new thumbnail(2558010,"143264","COLOURFUL","Colourful_thumb.jpg",130,87,32);thumbnails[2992497]=new thumbnail(2992497,"143264","GOLDERS HILL PARK STAG","Stag small file_thumb.jpg",130,81,32);thumbnails[3692737]=new thumbnail(3692737,"143264","Forget I am gorgeous just give me the damn food","Forget_I_am_gorgeous_just_give_me_the_damn_food_small_thumb.jpg",130,74,32);thumbnails[3692726]=new thumbnail(3692726,"143264","Oh hello","Oh_hello_small_thumb.jpg",130,117,32);thumbnails[3692710]=new thumbnail(3692710,"143264","Help me love; this fish is stuck in my throat","Help_me_love_this_fish_is_stuck_in_my_throat_small_thumb.jpg",130,66,32);thumbnails[3386657]=new thumbnail(3386657,"143264","Squirrel or Meerkat?","Squirrel or a Meerkat small file_thumb.jpg",130,96,32);thumbnails[3386750]=new thumbnail(3386750,"143264","Whoops Sorry","Whoops Sorry small file_thumb.jpg",130,101,32);thumbnails[3692701]=new thumbnail(3692701,"143264","Tawny Owl","Tawny_Owl_small_thumb.jpg",130,113,32);thumbnails[2203816]=new thumbnail(2203816,"143308","WILD FLOWERS","Wild woodland flowers small1_thumb.jpg",130,87,32);thumbnails[2203850]=new thumbnail(2203850,"143308","BLUEBELLS","Bluebells small_thumb.jpg",130,132,32);thumbnails[4149830]=new thumbnail(4149830,"143308","The Guiding light","The_Guiding_light_small1_thumb.jpg",130,138,32);thumbnails[2209046]=new thumbnail(2209046,"143308","FLOWER PATTERN","Flower pattern small_thumb.jpg",130,127,32);thumbnails[2214871]=new thumbnail(2214871,"143308","FOXGLOVES","Foxglove small_thumb.jpg",130,97,32);thumbnails[2214898]=new thumbnail(2214898,"143308","CISTUS","Cistus small_thumb.jpg",130,107,32);thumbnails[2222447]=new thumbnail(2222447,"143308","GOLDERS HILL PARK","Glolders Hill Park small_thumb.jpg",130,90,32);thumbnails[2239815]=new thumbnail(2239815,"143308","CROCUS","Crocus small_thumb.jpg",130,98,32);thumbnails[2239819]=new thumbnail(2239819,"143308","CROCUS AGAIN","Crocus again small_thumb.jpg",130,127,32);thumbnails[3871604]=new thumbnail(3871604,"143308","Wall of Wisteria","wall_of_wisteria_small_thumb.jpg",130,81,32);thumbnails[3693088]=new thumbnail(3693088,"143308","Catkins","Catkins_small_thumb.jpg",130,87,32);thumbnails[3693080]=new thumbnail(3693080,"143308","Single white crocus","Single_white_crocus_small_thumb.jpg",130,195,32);thumbnails[3693033]=new thumbnail(3693033,"143308","Cluster of Pink","Cluster_of_Pink_small_thumb.jpg",130,100,32);thumbnails[3693041]=new thumbnail(3693041,"143308","Vibrant Blue","Vibrant_Blue_edited_small_thumb.jpg",130,115,32);thumbnails[3693051]=new thumbnail(3693051,"143308","In your face red","In_your_face_red_small_thumb.jpg",130,120,32);thumbnails[3693059]=new thumbnail(3693059,"143308","Cluster of Blue,","Cluster_of_Blue_small_thumb.jpg",130,98,32);thumbnails[3693067]=new thumbnail(3693067,"143308","Backs against the wall chaps","Backs_against_the_wall_chaps_small_thumb.jpg",130,125,32);thumbnails[3693072]=new thumbnail(3693072,"143308","Woodland Crocuses","Woodland_Crocuses_small_thumb.jpg",130,129,32);thumbnails[5699186]=new thumbnail(5699186,"143308","Daffodils","Daffodils_small_thumb.jpg",130,108,32);thumbnails[5699214]=new thumbnail(5699214,"143308","Painted Tulips","Painted_Tulips_small_thumb.jpg",130,120,32);thumbnails[2203568]=new thumbnail(2203568,"143313","WHEAL COATES TIN MINE","Wheal Coats Cornwall small4_thumb.jpg",130,96,32);thumbnails[2214773]=new thumbnail(2214773,"143313","WAVE","wave small_thumb.jpg",130,90,32);thumbnails[2222471]=new thumbnail(2222471,"143313","CHEDDAR GORGE","Cheddar Gorge small_thumb.jpg",130,91,32);thumbnails[2222477]=new thumbnail(2222477,"143313","FROGMORE PONDS","Frogmore Ponds small_thumb.jpg",130,149,32);thumbnails[2222485]=new thumbnail(2222485,"143313","WHEAL COATS 2 ","Wheal Coats 2 small_thumb.jpg",130,88,32);thumbnails[2222490]=new thumbnail(2222490,"143313","GOLITHA FALLS","Golitha Falls small_thumb.jpg",130,97,32);thumbnails[2222494]=new thumbnail(2222494,"143313","GULL ROCK","Gull Rock small_thumb.jpg",130,84,32);thumbnails[2222496]=new thumbnail(2222496,"143313","ST. NECTANS GLEN WATERFALL.","St_thumb. Nectans Glen Waterfall small.jpg",130,98,32);thumbnails[2243691]=new thumbnail(2243691,"143313","GODREVY ISLAND","Godrevy Island small_thumb.jpg",130,91,32);thumbnails[4515233]=new thumbnail(4515233,"143313","On the shores of Loch Ness","On_the_shores_of_Loch_Ness_small_thumb.jpg",130,79,32);thumbnails[2243703]=new thumbnail(2243703,"143313","CARPET OF LEAVES","Carpet of leaves small_thumb.jpg",130,98,32);thumbnails[3339779]=new thumbnail(3339779,"143313","Through the Dunes<br>\r\n","Through the dunes small file1_thumb.jpg",130,76,32);thumbnails[2244408]=new thumbnail(2244408,"143313","PATHWAY TO WHERE?","Pathway to where small_thumb.jpg",130,98,32);thumbnails[2254029]=new thumbnail(2254029,"143313","LYDFORD GORGE","Lydford Gorge small_thumb.jpg",130,124,32);thumbnails[2254160]=new thumbnail(2254160,"143313","CAUSEWAY","Causeway small_thumb.jpg",130,81,32);thumbnails[2425244]=new thumbnail(2425244,"143313","CALM BEFORE THE STORM","Calm before the storm small_thumb.jpg",130,87,32);thumbnails[2425457]=new thumbnail(2425457,"143313","Still water","Still water small_thumb.jpg",130,87,32);thumbnails[4515229]=new thumbnail(4515229,"143313","The Room with a view","Room_with_a_view_small_thumb.jpg",130,87,32);thumbnails[2476879]=new thumbnail(2476879,"143313","TRANQUIL","Tranquil_thumb.jpg",130,87,32);thumbnails[2203873]=new thumbnail(2203873,"143313","CARN BREA CASTLE","Carn Brea Castle small2_thumb.jpg",130,88,32);thumbnails[2992510]=new thumbnail(2992510,"143313","THE LONE FISHERMAN","The lone fisherman small file_thumb.jpg",130,101,32);thumbnails[3386794]=new thumbnail(3386794,"143313","Untitled, No Untidy","‘Untitled NO Untidy’ small file_thumb.jpg",130,80,32);thumbnails[3386806]=new thumbnail(3386806,"143313","Sand Wrinkles","Sand wrinkles small_thumb.jpg",130,87,32);thumbnails[3386887]=new thumbnail(3386887,"143313","SS170","SS170 small file_thumb.jpg",130,87,32);thumbnails[3386921]=new thumbnail(3386921,"143313","St Ives Harbour","St_thumb. Ives harbour small.jpg",130,87,32);thumbnails[3692657]=new thumbnail(3692657,"143313","Follow this path to where?","Follow_this_path_to_where_small_thumb.jpg",130,87,32);thumbnails[3692673]=new thumbnail(3692673,"143313","The Tranquil Lake","The_Tranquil_Lake_small_thumb.jpg",130,68,32);thumbnails[4514848]=new thumbnail(4514848,"143313","Eilean Donan Castle ","Eilean_Donan_Castle_colour_small_thumb.jpg",130,81,32);thumbnails[4514852]=new thumbnail(4514852,"143313","Urquhart Castle","Urquhart_Castle_colour_small_thumb.jpg",130,78,32);thumbnails[4848173]=new thumbnail(4848173,"143313","Reflections from a majestic Castle","Reflections_from_a_majestic_Castle_small_thumb.jpg",130,87,32);thumbnails[4848225]=new thumbnail(4848225,"143313","The Hills of Loch Duich","The_Hills_above_Loch_Duich_small_thumb.jpg",130,68,32);thumbnails[5585386]=new thumbnail(5585386,"143313","The Audrey","The_Audrey_thumb.jpg",130,84,32);thumbnails[2254180]=new thumbnail(2254180,"143310","PILLARS","Pillars small_thumb.jpg",130,167,32);thumbnails[2203930]=new thumbnail(2203930,"143310","BOAT IN ST. IVES B&W<br>\r\n","Boat in St_thumb. Ives Cornwall B&W small3.jpg",130,74,32);thumbnails[2203932]=new thumbnail(2203932,"143310","BOAT IN ST. IVES SEPIA","Boat in St_thumb. Ives Cornwall sepia small1.jpg",130,77,32);thumbnails[2203939]=new thumbnail(2203939,"143310","BOAT IN ST.IVES COLOUR","Boat in St_thumb. Ives Cornwall small1.jpg",130,73,32);thumbnails[2203964]=new thumbnail(2203964,"143310","BOATS IN THE HARBOUR","Boats in the harbour small1_thumb.jpg",130,101,32);thumbnails[2244435]=new thumbnail(2244435,"143310","THE SECRET DOOR","The secret door small1_thumb.jpg",130,175,32);thumbnails[2214825]=new thumbnail(2214825,"143310","STILL LIFE","Still Life small_thumb.jpg",130,199,32);thumbnails[2222501]=new thumbnail(2222501,"143310","PEBBLES","Pebbles small_thumb.jpg",130,96,32);thumbnails[2243725]=new thumbnail(2243725,"143310","THE FISHERMAN'S COTTAGE","The Fisherman’s Cottage small_thumb.jpg",130,95,32);thumbnails[2243742]=new thumbnail(2243742,"143310","BENCHES","Benches small_thumb.jpg",130,85,32);thumbnails[2244419]=new thumbnail(2244419,"143310","GATE","Gate small_thumb.jpg",130,125,32);thumbnails[3339710]=new thumbnail(3339710,"143310","Hampstead Heath the Pond","Hampstead Heath the Pond Small file_thumb.jpg",130,194,32);thumbnails[3870737]=new thumbnail(3870737,"143310","Stump","Stump_small_thumb.jpg",130,87,32);thumbnails[3870765]=new thumbnail(3870765,"143310","Pathway over the bridge","Pathway_over_the_bridge_small_thumb.jpg",130,87,32);thumbnails[4484137]=new thumbnail(4484137,"143310","Alone Again","Alone_Again_small_thumb.jpg",130,87,32);thumbnails[4484147]=new thumbnail(4484147,"143310","The Young Piper","The_Young_Piper_small_thumb.jpg",130,101,32);thumbnails[4941808]=new thumbnail(4941808,"143310","Apples","Apples_Small_thumb.jpg",130,98,32);thumbnails[2273010]=new thumbnail(2273010,"143312","SISTERS","Sisters small4_thumb.jpg",130,103,32);thumbnails[2270505]=new thumbnail(2270505,"143312","JAMES LISTER<br>\r\n","James Listersmall_thumb.jpg",130,146,32);thumbnails[2214799]=new thumbnail(2214799,"143312","JESS","Jess small_thumb.jpg",130,104,32);thumbnails[2243757]=new thumbnail(2243757,"143312","EXTRA","Extra small_thumb.jpg",130,178,32);thumbnails[2243761]=new thumbnail(2243761,"143312","MARI","Mari small_thumb.jpg",130,196,32);thumbnails[2243765]=new thumbnail(2243765,"143312","Hmmmm.","Hmmmm small_thumb.jpg",130,153,32);thumbnails[2243775]=new thumbnail(2243775,"143312","LEE","Lee small_thumb.jpg",130,195,32);thumbnails[2214736]=new thumbnail(2214736,"143312","ME – That’s right, it’s me.","Me_again_thumb.jpg",130,135,32);thumbnails[2203973]=new thumbnail(2203973,"148226","BOATS IN THE HARBOUR AS A PAINTING<br>\r\n","Boats in the harbour as a Painting small2_thumb.jpg",130,101,32);thumbnails[2254186]=new thumbnail(2254186,"148226","PILLARS AS A PAINTING","Pillars as a Painting small_thumb.jpg",130,167,32);thumbnails[2254189]=new thumbnail(2254189,"148226","BENCHES AS A PAINTING","Benches small as a painting_thumb.jpg",130,85,32);thumbnails[2254194]=new thumbnail(2254194,"148226","BOATS AS A PAINTING","Boats as a Painting_thumb.jpg",130,101,32);thumbnails[2254198]=new thumbnail(2254198,"148226","HARBOUR AS A PAINTING","Harbour as a Painting small_thumb.jpg",130,62,32);thumbnails[2812864]=new thumbnail(2812864,"148226","WOODLAND FLOWERS AS A PAINTING","WILD WOODLAND FLOWERS LARGE FILE as a painting_edited-1_thumb.jpg",130,87,32);thumbnails[2823474]=new thumbnail(2823474,"148226","BLUEBELLS AS A PAINTING","BLUEBELLS as a painting_thumb.jpg",130,132,32);thumbnails[3692635]=new thumbnail(3692635,"148226","Teasel as a Painting","Teasel_as_a_Painting_small_thumb.jpg",130,73,32);thumbnails[2992517]=new thumbnail(2992517,"148226","HAWK AS A PAINTING","Hawk as a painting small file_thumb.jpg",130,176,32);thumbnails[2823486]=new thumbnail(2823486,"148226","MR. BUMBLE AS A PAINTING<br>\r\n","Mr_thumb. Bumble as a painting.jpg",130,104,32);thumbnails[2823489]=new thumbnail(2823489,"148226","TRANQUIL AS A PAINTING","Tranquil as a painting_thumb.jpg",130,87,32);thumbnails[5253974]=new thumbnail(5253974,"148226","Pillars as a painting","Pillars_as_a_Painting__BW_small_file_thumb.jpg",130,165,32);thumbnails[5253986]=new thumbnail(5253986,"148226","Boat as a painting","BOATS_AS_A_PAINTING_BW_small_file_thumb.jpg",130,90,32);thumbnails[5253994]=new thumbnail(5253994,"148226","Razzle Dazzle as a painting","Razzle_Dazzle_as_a_painting_small_file_thumb.jpg",130,128,32);thumbnails[3870620]=new thumbnail(3870620,"234569","Driving me around the bend","Driving_me_around_the_bend_small_thumb.jpg",130,115,32);thumbnails[5253951]=new thumbnail(5253951,"234569","On your bike","On_your_bike_small_file_thumb.jpg",130,89,32);thumbnails[5253962]=new thumbnail(5253962,"234569","I think it's through here?","I_think_its_through_here_small_file_thumb.jpg",130,99,32);thumbnails[2574843]=new thumbnail(2574843,"164267","TOPSHAM","Topsham_thumb.jpg",130,87,32);var galleries=new Object();galleries[143311]=new gallery(143311,"3339733,2203791","B & W","gallery",[2203791,2244447,3339733,5254101,3342228,3342246,3342255,4484054,2243538,2254153,4515241,4515240,4515239,4484070,4484066,3689925,4484044,3692581,3692591,3692616,3692625,3870541,5254025,3870570,3870584,3870602,5254081,4848066,4941796,5253495,5253520,5253524,5253615,5253783,5253805,5253821,5253828,5253841,5253850,5253855,5253865,5253871,5253879,5253885,5253893,5253894,5253898,5253899,5253905,5253909,5253912,5253920,5253928,5253937,5584971,5585009,5585023,5585046,5585125,5585134,5585176,5585183,5585198,5585219,5585240,5585254]);galleries[143264]=new gallery(143264,"2823678","Wildlife","gallery",[2823700,2203710,2203717,4515236,4484219,2222433,4484187,3342336,2823678,2243674,2243684,2254123,2823688,4484166,3870720,2438330,2438422,2441720,2441746,2441803,2441954,2476829,2476835,2476846,3693025,2558003,2558010,2992497,3692737,3692726,3692710,3386657,3386750,3692701]);galleries[143308]=new gallery(143308,"2214871,2203816","Flowers","gallery",[2203816,2203850,4149830,2209046,2214871,2214898,2222447,2239815,2239819,3871604,3693088,3693080,3693033,3693041,3693051,3693059,3693067,3693072,5699186,5699214]);galleries[143313]=new gallery(143313,"3339779,2203568","Land/Seascapes","gallery",[2203568,2214773,2222471,2222477,2222485,2222490,2222494,2222496,2243691,4515233,2243703,3339779,2244408,2254029,2254160,2425244,2425457,4515229,2476879,2203873,2992510,3386794,3386806,3386887,3386921,3692657,3692673,4514848,4514852,4848173,4848225,5585386]);galleries[143310]=new gallery(143310,"2214825,2203964","Varied","gallery",[2254180,2203930,2203932,2203939,2203964,2244435,2214825,2222501,2243725,2243742,2244419,3339710,3870737,3870765,4484137,4484147,4941808]);galleries[143312]=new gallery(143312,"2273010,2270505","Portraits","gallery",[2273010,2270505,2214799,2243757,2243761,2243765,2243775,2214736]);galleries[148226]=new gallery(148226,"2254186","Photo Art","gallery",[2203973,2254186,2254189,2254194,2254198,2812864,2823474,3692635,2992517,2823486,2823489,5253974,5253986,5253994]);galleries[234569]=new gallery(234569,"3870620","Action","gallery",[3870620,5253951,5253962]);galleries[164267]=new gallery(164267,"2574843","Other Photographers work","gallery",[2574843]);var imageSets=new Object();imageSets[1]="5699214,5699186,5585386,5585254,5585240,5585219,5585198,5585183,5585176,5585134,5585125,5585046,5585023,5585009,5584971,5254101,5254081,5254025,5253994,5253986,5253974,5253962,5253951,5253937,5253928,5253920,5253912,5253909,5253905,5253899,5253898,5253894,5253893,5253885,5253879,5253871,5253865,5253855,5253850,5253841,5253828,5253821,5253805,5253783,5253615,5253524,5253520,5253495,4941808,4941796";imageSets[2]="3870620,3339779,3339733,2823678,2574843,2273010,2270505,2254186,2214871,2214825,2203964,2203816,2203791,2203568";imageSets[3]="5699214,5699186,5585386,5585254,5585240,5585219,5585198,5585183,5585176,5585134,5585125,5585046,5585023,5585009,5584971,5254101,5254081,5254025,5253994,5253986,5253974,5253962,5253951,5253937,5253928,5253920,5253912,5253909,5253905,5253899,5253898,5253894,5253893,5253885,5253879,5253871,5253865,5253855,5253850,5253841,5253828,5253821,5253805,5253783,5253615,5253524,5253520,5253495,4941808,4941796";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/anthonyhedger/images";break}switch(a){case 1:b="http://www1.clikpic.com/anthonyhedger/images";break}switch(a){case 2:b="http://admin.clikpic.com/anthonyhedger/images";break}switch(a){case 24:b="http://tpc15/clikpic/anthonyhedger/images";break}switch(a){case 4:b="http://www.clikchurch.com/anthonyhedger/images";break}switch(a){case 5:b="http://www2.clikpic.com/anthonyhedger/images";break}switch(a){case 22:b="http://tpc5/clikpic/anthonyhedger/images";break}switch(a){case 23:b="http://tpc10/clikpic/anthonyhedger/images";break}switch(a){case 25:b="http://tpc16/clikpic/anthonyhedger/images";break}switch(a){case 15:b="http://www3.clikpic.com/anthonyhedger/images";break}switch(a){case 18:b="http://www4.clikpic.com/anthonyhedger/images";break}switch(a){case 19:b="http://www5.clikpic.com/anthonyhedger/images";break}switch(a){case 31:b="http://www7.clikpic.com/anthonyhedger/images";break}switch(a){case 32:b="http://admin2.clikpic.com/anthonyhedger/images";break}switch(a){case 33:b="http://www8.clikpic.com/anthonyhedger/images";break}switch(a){case 34:b="http://www9.clikpic.com/anthonyhedger/images";break}switch(a){case 35:b="http://admin3.clikpic.com/anthonyhedger/images";break}switch(a){case 37:b="http://admin4.clikpic.com/anthonyhedger/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="'+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="Anthony Hedger 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="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="anthony.hedger@hotmail.com">';b=b+'<input type="hidden" name="currency_code" value="GBP">';b=b+'<input type="hidden" name="add" value="1">';b=b+'<input type="hidden" name="amount" value="'+d+'">';b=b+'<input type="hidden" name="item_number" value="'+ref+'">';b=b+'<input type="Submit" value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="anthony.hedger@hotmail.com">';b=b+'<input type="hidden" name="display" value="1">';b=b+'<input type="Submit" value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};