window.thumbnails = {};
															thumbnails[3136262] = clik.newPhoto({"id":3136262,"src":"Scotland-Painting-trip-June2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"                                                                                                                                       ","height":96});
															thumbnails[3454173] = clik.newPhoto({"id":3454173,"src":"Radley-Mews_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Radley Mews, Kensington","height":99});
															thumbnails[4770959] = clik.newPhoto({"id":4770959,"src":"Profile-pic_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Painting in Bergamo, Italy","height":98});
															thumbnails[8730922] = clik.newPhoto({"id":8730922,"src":"Hen_20101_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":98});
															thumbnails[2960724] = clik.newPhoto({"id":2960724,"src":"Still-Life-of-Tankard-and-O_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Still Life of Tankard and Oyster Shells","height":98});
															thumbnails[2960273] = clik.newPhoto({"id":2960273,"src":"Bowl-of-Mussels-with-Barnac_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Bowl of Mussels with Barnacles","height":98});
															thumbnails[4429008] = clik.newPhoto({"id":4429008,"src":"Dawn-Gruinard_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Gruinard, Wester Ross","height":75});
															thumbnails[2960493] = clik.newPhoto({"id":2960493,"src":"Daffodils-Oil-on-canvas-12x_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Daffodils","height":173});
															thumbnails[2959217] = clik.newPhoto({"id":2959217,"src":"Aldebrough-High-Street-and-_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Aldeburgh High Street and Boats at sunset","height":95});
															thumbnails[6214968] = clik.newPhoto({"id":6214968,"src":"2010_Mid-tide_Shoe_Bay_Isle_of_Shona_Oil_on_canvas_20_x_16_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6214968.html","width":130,"caption":"Mid-tide at Shoe Bay, Isle of Shona","height":104});
															thumbnails[8040465] = clik.newPhoto({"id":8040465,"src":"2011_June_Low_Tide_at_Burnham_Overy_Staithe_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_8040465.html","width":130,"caption":"Low tide, Burnham-Overy Staithe","height":98});
															thumbnails[8040471] = clik.newPhoto({"id":8040471,"src":"2011_June_The_Deli_Parsons_Green_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_8040471.html","width":130,"caption":"The Deli, Parson's Green","height":98});
															thumbnails[8040511] = clik.newPhoto({"id":8040511,"src":"2011June_Carnations_and_mustard_pot_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_8040511.html","width":130,"caption":"Carnations and mustard pot","height":173});
															thumbnails[6740826] = clik.newPhoto({"id":6740826,"src":"2010_St_Anthony_Putsborough_from_Baggy_Point_Oil_on_canvas_36x26_Millie_Lutyens_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_6740826.html","width":130,"caption":"St Anthony Putsborough from Baggy Point, North Devon","height":93});
															thumbnails[7542827] = clik.newPhoto({"id":7542827,"src":"2010_Alpbach_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_7542827.html","width":130,"caption":"Alpbach Village, Austria","height":92});
															thumbnails[7561014] = clik.newPhoto({"id":7561014,"src":"2010_Milly_Skene_sharpened3_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_7561014.html","width":130,"caption":"Milly Skene","height":173});
															thumbnails[8707879] = clik.newPhoto({"id":8707879,"src":"2011_portrait_of_Mum_oil_on_canvas_board_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_8707879.html","width":130,"caption":"Portrait of my mother","height":168});
															thumbnails[8715148] = clik.newPhoto({"id":8715148,"src":"2011_Otto_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_8715148.html","width":130,"caption":"Otto","height":168});
															thumbnails[5791765] = clik.newPhoto({"id":5791765,"src":"Mid-tide_Shoe_Bay_Isle_of_Shona_Oil_on_canvas_20_x_16_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_5791765.html","width":130,"caption":"Mid-tide Shoe Bay, Isle of Shona","height":104});
															thumbnails[6740841] = clik.newPhoto({"id":6740841,"src":"2010_Portrait_of_Milo_Skene_final_Oil_on_canvas_70x85cm_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_6740841.html","width":130,"caption":"Milo Skene, Royal Scots Dragoon Guard","height":173});
															thumbnails[8707705] = clik.newPhoto({"id":8707705,"src":"2011June_008_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_8707705.html","width":130,"caption":"Nude on wall","height":168});
															thumbnails[2961030] = clik.newPhoto({"id":2961030,"src":"The-River-Blyth-at-Walbersw_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_2961030.html","width":130,"caption":"The River Blyth at Walberswick","height":98});
															thumbnails[4711187] = clik.newPhoto({"id":4711187,"src":"Art_09_710_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_4711187.html","width":130,"caption":"Agar Creek and Blakeney, from Morston, Norfolk","height":98});
															thumbnails[5337273] = clik.newPhoto({"id":5337273,"src":"2009_Still_life_of_a_half-pint_tankard_and_oysters_Oil_on_canvas_20x16_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_5337273.html","width":130,"caption":"Still life of a half-pint tankard and oyster shells, 2009","height":98});
															thumbnails[6214977] = clik.newPhoto({"id":6214977,"src":"2009_Stormclouds_over_Shoe_Bay_Isle_of_Shona_Oil_on_canvas_14x12_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6214977.html","width":130,"caption":"Stormclouds over Shoe Bay, Isle of Shona","height":98});
															thumbnails[6740856] = clik.newPhoto({"id":6740856,"src":"2010_Charlie_and_Tors_Barne_cropped_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_6740856.html","width":130,"caption":"Charlie and Tors Barne","height":98});
															thumbnails[4711172] = clik.newPhoto({"id":4711172,"src":"Art_09_565_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_4711172.html","width":130,"caption":"My father","height":173});
															thumbnails[5337215] = clik.newPhoto({"id":5337215,"src":"2009_Self_portrait__Oil_on_board_16x20_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_5337215.html","width":130,"caption":"Self Portrait, 2009","height":173});
															thumbnails[8707724] = clik.newPhoto({"id":8707724,"src":"2011June_010_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_8707724.html","width":130,"caption":"Nude 2 on wall","height":177});
															thumbnails[5449974] = clik.newPhoto({"id":5449974,"src":"2010_Sophie_Oil_on_canvas_16x20_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_5449974.html","width":130,"caption":"Sophie in her Mongolian fur hat","height":174});
															thumbnails[6740829] = clik.newPhoto({"id":6740829,"src":"2010_Derelict_tractor_Croyde_North_Devon_12_x_9_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_6740829.html","width":130,"caption":"Derelict tractor, Croyde, North Devon","height":98});
															thumbnails[6740941] = clik.newPhoto({"id":6740941,"src":"2010_Hattie_Broadheads_Dora_Oil_on_canvas_16x20_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_6740941.html","width":130,"caption":"Dora","height":173});
															thumbnails[8707728] = clik.newPhoto({"id":8707728,"src":"October_2011_050_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_8707728.html","width":130,"caption":"Crossed legs","height":173});
															thumbnails[8707739] = clik.newPhoto({"id":8707739,"src":"October_2011_060_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_8707739.html","width":130,"caption":"On stool","height":183});
															thumbnails[6215135] = clik.newPhoto({"id":6215135,"src":"2010_Cloud_study_Oil_on_canvas_22_x_18_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215135.html","width":130,"caption":"Cloud study","height":99});
															thumbnails[5791721] = clik.newPhoto({"id":5791721,"src":"2010_Still_life_of_a_Mellanistic_and_Michigan_Blue_Pheasant_Oil_on_canvas_22x16_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_5791721.html","width":130,"caption":"Still life of a Michigan Blue and Melanistic Pheasant","height":98});
															thumbnails[5791820] = clik.newPhoto({"id":5791820,"src":"2010_Red_Snapper_on_Blue_Glass_plate_Oil_on_canvas_20x16_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_5791820.html","width":130,"caption":"Red snapper on blue glass plate","height":92});
															thumbnails[6215175] = clik.newPhoto({"id":6215175,"src":"August_afternoon_Putsborough_Sands_North_Devon_Oil_on_canvas_16x12_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215175.html","width":130,"caption":"Putsborough Sands, North Devon","height":79});
															thumbnails[8707737] = clik.newPhoto({"id":8707737,"src":"October_2011_053_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_8707737.html","width":130,"caption":"hands on hips","height":173});
															thumbnails[8707777] = clik.newPhoto({"id":8707777,"src":"October_2011_057_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_8707777.html","width":130,"caption":"profile","height":181});
															thumbnails[1414920] = clik.newPhoto({"id":1414920,"src":"2006_Sitting_Rear_Nude1.JPG","galleries_id":97357,"server_id":1,"link":"photo_1414920.html","width":130,"caption":"Sitting Rear Nude","height":196});
															thumbnails[1595533] = clik.newPhoto({"id":1595533,"src":"2007-Tankard-and-Oyster-She2.jpg","galleries_id":97361,"server_id":1,"link":"photo_1595533.html","width":130,"caption":"Tankard and Oyster Shells","height":98});
															thumbnails[2549356] = clik.newPhoto({"id":2549356,"src":"Bellsie_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_2549356.html","width":130,"caption":"Bellsie","height":173});
															thumbnails[3134519] = clik.newPhoto({"id":3134519,"src":"Possum_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_3134519.html","width":130,"caption":"Possum","height":173});
															thumbnails[5181884] = clik.newPhoto({"id":5181884,"src":"2009_Clifftop_walk_to_Baggy_Point_-_Pustsborough_Devon_Oil_on_canvas_14x101_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_5181884.html","width":130,"caption":"Clifftop walk at Baggy Point, Putsborough, Devon","height":98});
															thumbnails[5181888] = clik.newPhoto({"id":5181888,"src":"2009_Ellie_Standing_pose_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_5181888.html","width":130,"caption":"Ellie 1","height":172});
															thumbnails[5791709] = clik.newPhoto({"id":5791709,"src":"2010_John_Oil_on_canvas_16x20_inches_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_5791709.html","width":130,"caption":"John","height":172});
															thumbnails[6215212] = clik.newPhoto({"id":6215212,"src":"Blythburgh_Estuary_at_dusk_Suffolk_Oil_on_canvas_18x10_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215212.html","width":130,"caption":"Blythburgh Estuary at dusk, Suffolk","height":75});
															thumbnails[6215235] = clik.newPhoto({"id":6215235,"src":"Dusk_Woolacombe_beach_North_Devon_6A7325D5-1D09-001F-99BC1988295A8921_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215235.html","width":130,"caption":"Dusk on Woolacombe Beach, North Devon","height":98});
															thumbnails[5182024] = clik.newPhoto({"id":5182024,"src":"2009_Macduff_Dermot_Daly_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_5182024.html","width":130,"caption":"McDuff","height":173});
															thumbnails[6215252] = clik.newPhoto({"id":6215252,"src":"Dorrington-landscape-Linco_6A76A6ED-1D09-001F-99A210B3E947D4FF_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215252.html","width":130,"caption":"Farm track at Dorrington, Lincolnshire","height":98});
															thumbnails[6215270] = clik.newPhoto({"id":6215270,"src":"2011July_Cape_Buffalo_Sosian_Kenya_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215270.html","width":130,"caption":"Cape Buffalo, Laikipia, Kenya","height":98});
															thumbnails[6215277] = clik.newPhoto({"id":6215277,"src":"Cape_Buffalo_Sosian_Kenya_charcoal_on_paper_45x33cm_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215277.html","width":130,"caption":"Cape Buffalo, Sosian, Kenya, drawing","height":95});
															thumbnails[6740976] = clik.newPhoto({"id":6740976,"src":"2010_Jean_Tullochs_Mungo_Oi_on_canvas_16x20_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_6740976.html","width":130,"caption":"Mungo","height":173});
															thumbnails[6215279] = clik.newPhoto({"id":6215279,"src":"2011_Guinea_Fowl_drawing_1_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215279.html","width":130,"caption":"Guinea Fowl 1, drawing","height":98});
															thumbnails[1414910] = clik.newPhoto({"id":1414910,"src":"2005_Male_Nude1.jpg","galleries_id":97357,"server_id":1,"link":"photo_1414910.html","width":130,"caption":"Male Nude","height":173});
															thumbnails[3134471] = clik.newPhoto({"id":3134471,"src":"Bowl-of-Mussels-with-Barnac1_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_3134471.html","width":130,"caption":"Bowl of Mussels with Barnacles","height":98});
															thumbnails[5337170] = clik.newPhoto({"id":5337170,"src":"2009_Bogey_Oil_on_canvas_16x20_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_5337170.html","width":130,"caption":"Bogey","height":173});
															thumbnails[5450016] = clik.newPhoto({"id":5450016,"src":"2010_Michigan_Blue_Pheasant_Oil_on_canvas_20x16_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_5450016.html","width":130,"caption":"Michigan Blue Pheasant and Rioja","height":98});
															thumbnails[5181889] = clik.newPhoto({"id":5181889,"src":"October_2011_042_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_5181889.html","width":130,"caption":"Ellie 2","height":186});
															thumbnails[5181890] = clik.newPhoto({"id":5181890,"src":"2009_Ellie_3_thumb.jpg","galleries_id":97357,"server_id":1,"link":"photo_5181890.html","width":130,"caption":"Ellie 3","height":173});
															thumbnails[3464526] = clik.newPhoto({"id":3464526,"src":"Hughie-web_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_3464526.html","width":130,"caption":"9th\/12th Royal Lancers Officer","height":173});
															thumbnails[3588511] = clik.newPhoto({"id":3588511,"src":"web_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_3588511.html","width":130,"caption":"Black Miniature Poodle","height":173});
															thumbnails[5337181] = clik.newPhoto({"id":5337181,"src":"2009_Twiga_Oil_on_canvas_16x20_Sabrina_Humphrey_thumb.JPG","galleries_id":97360,"server_id":1,"link":"photo_5337181.html","width":130,"caption":"Twiga","height":173});
															thumbnails[3270708] = clik.newPhoto({"id":3270708,"src":"dazzle resized_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_3270708.html","width":130,"caption":"Dazzle","height":173});
															thumbnails[4711159] = clik.newPhoto({"id":4711159,"src":"Art_09_204_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_4711159.html","width":130,"caption":"Black Rock and Baggy Point, Putsborough Sands, North Devon","height":98});
															thumbnails[4711167] = clik.newPhoto({"id":4711167,"src":"Art_09_395_thumb.jpg","galleries_id":97360,"server_id":1,"link":"photo_4711167.html","width":130,"caption":"Bumble and Holly","height":98});
															thumbnails[1595436] = clik.newPhoto({"id":1595436,"src":"2007-Two-Daschunds2.jpg","galleries_id":97360,"server_id":1,"link":"photo_1595436.html","width":130,"caption":"Dachshunds Margot and Blossom","height":98});
															thumbnails[1399832] = clik.newPhoto({"id":1399832,"src":"2007_Buster1.jpg","galleries_id":97360,"server_id":1,"link":"photo_1399832.html","width":130,"caption":"Buster","height":98});
															thumbnails[1414919] = clik.newPhoto({"id":1414919,"src":"2006_Reclining_Nude1.jpg","galleries_id":97357,"server_id":1,"link":"photo_1414919.html","width":130,"caption":"Reclining Nude","height":98});
															thumbnails[2959260] = clik.newPhoto({"id":2959260,"src":"Basilica-Citta-Alta-Bergamo_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_2959260.html","width":130,"caption":"Basilica, Citta Alta, Bergamo","height":173});
															thumbnails[1414812] = clik.newPhoto({"id":1414812,"src":"2007-Battersea-Barges_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_1414812.html","width":130,"caption":"Battersea Barges","height":97});
															thumbnails[2549363] = clik.newPhoto({"id":2549363,"src":"Blue-Vase-and-Oyster-Shell-1_thumb.jpg","galleries_id":97361,"server_id":1,"link":"photo_2549363.html","width":130,"caption":"Blue Vase and Oyster Shell","height":173});
															thumbnails[8707865] = clik.newPhoto({"id":8707865,"src":"2011_Lone_warthog_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8707865.html","width":130,"caption":"Lone Warthog","height":98});
															thumbnails[8707870] = clik.newPhoto({"id":8707870,"src":"2011_Highlang_Bull_drawing_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8707870.html","width":130,"caption":"Highland Bull 1","height":98});
															thumbnails[2960089] = clik.newPhoto({"id":2960089,"src":"Black-Highland-Bull-profile_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_2960089.html","width":130,"caption":"Black Highland Bull profile","height":98});
															thumbnails[4712805] = clik.newPhoto({"id":4712805,"src":"Art_09_689_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_4712805.html","width":130,"caption":"Detail from 'West end of Loch Arkaig, Achnacarry, Invernesshire'","height":98});
															thumbnails[6215389] = clik.newPhoto({"id":6215389,"src":"2010_Still_life_of_a_Mellanistic_and_Michigan_Blue_Pheasant_Oil_on_canvas_22x16_6AB5D9E2-1D09-001F-992EA0B9340C4D52_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215389.html","width":130,"caption":"* Still life of a Michigan Blue and Mellanistic pheasant","height":98});
															thumbnails[6215392] = clik.newPhoto({"id":6215392,"src":"2010_Red_Snapper_on_Blue_Glass_plate_Oil_on_canvas_20x16_6AB8FFEA-1D09-001F-9916C82DCD200032_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215392.html","width":130,"caption":"* Red snapper with blue glass plate","height":92});
															thumbnails[2960426] = clik.newPhoto({"id":2960426,"src":"Cona-Glen-and-Loch-Shiel-fr_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_2960426.html","width":130,"caption":"Cona Glen and Loch Shiel from Moidart","height":98});
															thumbnails[6215395] = clik.newPhoto({"id":6215395,"src":"2010_Still_life_of_a_red-legged_partridge_Oil_on_canvas_16x20inches2_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215395.html","width":130,"caption":"* Still life of a red-legged partridge","height":173});
															thumbnails[6215397] = clik.newPhoto({"id":6215397,"src":"Art_09_244_6ABCBE3A-1D09-001F-9961167F179BAC8D_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_6215397.html","width":130,"caption":"* Langoustines and Italian decanter","height":98});
															thumbnails[2960559] = clik.newPhoto({"id":2960559,"src":"Low-Tide-at-Badachro-Gairlo_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_2960559.html","width":130,"caption":"Low Tide at Badachro, Gairloch","height":150});
															thumbnails[8707894] = clik.newPhoto({"id":8707894,"src":"2011July_Boats_Ullapool_Harbour_thumb.jpg","galleries_id":97355,"server_id":1,"link":"photo_8707894.html","width":130,"caption":"Boats, Ullapool harbour","height":100});
															thumbnails[8707901] = clik.newPhoto({"id":8707901,"src":"2011JulyRum_and_Eigg_from_Portuairk_beach_Ardnamurchan_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8707901.html","width":130,"caption":"Rum and Eigg from Portuairk beach","height":98});
															thumbnails[8707908] = clik.newPhoto({"id":8707908,"src":"2011July_Rum_and_Eigg_from_above_Portuairk_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8707908.html","width":130,"caption":"Rum and Eigg from above Portuairk","height":100});
															thumbnails[8707917] = clik.newPhoto({"id":8707917,"src":"2011July_Rum_and_Eigg_from_Glenuig_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8707917.html","width":130,"caption":"Rum and Eigg from Glenuig","height":94});
															thumbnails[8714983] = clik.newPhoto({"id":8714983,"src":"2011_Road_to_the_Ross_Moos_Alpbach_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8714983.html","width":130,"caption":"Road to the Ross Moos, Alpbach","height":98});
															thumbnails[8707884] = clik.newPhoto({"id":8707884,"src":"2011_Peony_Godfrey_sanguine_on_paper_20x24_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_8707884.html","width":130,"caption":"Peony Godfrey","height":173});
															thumbnails[8714978] = clik.newPhoto({"id":8714978,"src":"2001_The_Ross_Moos_Alpbach_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8714978.html","width":130,"caption":"The Ross Moos, Alpbach","height":98});
															thumbnails[8707888] = clik.newPhoto({"id":8707888,"src":"2011_Anneli_Godrey_sanguine_on_paper_20x24_thumb.jpg","galleries_id":97359,"server_id":1,"link":"photo_8707888.html","width":130,"caption":"Anneli Godfrey","height":173});
															thumbnails[8714979] = clik.newPhoto({"id":8714979,"src":"2011_Chalet_view_Alpbach_thumb.jpg","galleries_id":346446,"server_id":1,"link":"photo_8714979.html","width":130,"caption":"Mountain view, Alpbach","height":111});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[97355] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"section133294_97355.html","maxRecords":0.0,"photoIDs":[8040465.0,8040471.0,6740826.0,7542827.0,5791765.0,2961030.0,4711187.0,6740829.0,5181884.0,4711159.0,2959260.0,1414812.0,4712805.0,2960426.0,2960559.0,8707894.0],"skipIndex":0,"section_code":"section133294","featured_images":2961030.0,"id":97355,"singleSection":false});				  						galleries[97359] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"section133294_97359.html","maxRecords":0.0,"photoIDs":[7561014.0,8707879.0,6740841.0,6740856.0,4711172.0,5337215.0,5449974.0,2549356.0,5791709.0,3464526.0,8707884.0,8707888.0],"skipIndex":0,"section_code":"section133294","featured_images":"8707888,8707884,8707879,7561014,6740856,6740841,5791709,5449974,5337215,4711172","id":97359,"singleSection":false});				  						galleries[97361] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Still LIfe","link":"section133294_97361.html","maxRecords":0.0,"photoIDs":[8040511.0,5337273.0,5791721.0,5791820.0,1595533.0,3134471.0,5450016.0,2549363.0],"skipIndex":0,"section_code":"section133294","featured_images":"5337273,1595533","id":97361,"singleSection":false});				  						galleries[97360] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dogs","link":"section133294_97360.html","maxRecords":0.0,"photoIDs":[8715148.0,6740941.0,3134519.0,5182024.0,6740976.0,5337170.0,3588511.0,5337181.0,3270708.0,4711167.0,1595436.0,1399832.0],"skipIndex":0,"section_code":"section133294","featured_images":3134519.0,"id":97360,"singleSection":false});				  						galleries[97357] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Drawings","link":"section133294_97357.html","maxRecords":0.0,"photoIDs":[8707705.0,8707724.0,8707728.0,8707739.0,8707737.0,8707777.0,1414920.0,5181888.0,1414910.0,5181889.0,5181890.0,1414919.0],"skipIndex":0,"section_code":"section133294","featured_images":1414919.0,"id":97357,"singleSection":false});				  						galleries[346446] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"For sale","link":"section133294_346446.html","maxRecords":0.0,"photoIDs":[6214968.0,6214977.0,6215135.0,6215175.0,6215212.0,6215235.0,6215252.0,6215270.0,6215277.0,6215279.0,8707865.0,8707870.0,2960089.0,6215389.0,6215392.0,6215395.0,6215397.0,8707901.0,8707908.0,8707917.0,8714983.0,8714978.0,8714979.0],"skipIndex":0,"section_code":"section133294","featured_images":"8714983,8714979,8714978,8707917,8707908,8707901,8707870,8707865,6215397,6215395","id":346446,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '3136262';
imageSets[2] = '5337273,2961030,3134519,1595533,1414919';
imageSets[3] = '5791765';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Henrietta/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/Henrietta/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'section133294.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'section133294' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Henrietta Jordan: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

