window.thumbnails = {};
															thumbnails[548953] = clik.newPhoto({"id":548953,"src":"BHAR-01-Dogs_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":102});
															thumbnails[1718464] = clik.newPhoto({"id":1718464,"src":"Ruff-and-Scruff_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718464.html","width":130,"caption":"Ruff and Scruff","height":173});
															thumbnails[1718465] = clik.newPhoto({"id":1718465,"src":"Dont-be-long_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718465.html","width":130,"caption":"Don't be long","height":173});
															thumbnails[1718466] = clik.newPhoto({"id":1718466,"src":"Muffin_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718466.html","width":130,"caption":"Muffin","height":173});
															thumbnails[1718467] = clik.newPhoto({"id":1718467,"src":"Blue_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718467.html","width":130,"caption":"Blue","height":177});
															thumbnails[1718468] = clik.newPhoto({"id":1718468,"src":"Alfi_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718468.html","width":130,"caption":"Alfi","height":180});
															thumbnails[1718470] = clik.newPhoto({"id":1718470,"src":"Sam_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718470.html","width":130,"caption":"Sam","height":99});
															thumbnails[1718472] = clik.newPhoto({"id":1718472,"src":"Ben_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718472.html","width":130,"caption":"Ben","height":160});
															thumbnails[1718474] = clik.newPhoto({"id":1718474,"src":"Tim_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718474.html","width":130,"caption":"Tim","height":173});
															thumbnails[543377] = clik.newPhoto({"id":543377,"src":"A-special_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_543377.html","width":130,"caption":"Lady","height":98});
															thumbnails[1718475] = clik.newPhoto({"id":1718475,"src":"Mia_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718475.html","width":130,"caption":"Mia","height":170});
															thumbnails[543392] = clik.newPhoto({"id":543392,"src":"Pepper_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_543392.html","width":130,"caption":"Pepper","height":98});
															thumbnails[1718478] = clik.newPhoto({"id":1718478,"src":"Buster_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718478.html","width":130,"caption":"Buster","height":168});
															thumbnails[543415] = clik.newPhoto({"id":543415,"src":"Lurcher1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_543415.html","width":130,"caption":"Lurcher","height":98});
															thumbnails[1718479] = clik.newPhoto({"id":1718479,"src":"Tessa-1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_1718479.html","width":130,"caption":"Tessa","height":161});
															thumbnails[545554] = clik.newPhoto({"id":545554,"src":"Bouncer1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_545554.html","width":130,"caption":"Bouncer","height":173});
															thumbnails[549052] = clik.newPhoto({"id":549052,"src":"Scarlet1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_549052.html","width":130,"caption":"Scarlet","height":167});
															thumbnails[549055] = clik.newPhoto({"id":549055,"src":"Pippa1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_549055.html","width":130,"caption":"Pippa","height":165});
															thumbnails[549057] = clik.newPhoto({"id":549057,"src":"Scooby1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_549057.html","width":130,"caption":"Scooby","height":173});
															thumbnails[549058] = clik.newPhoto({"id":549058,"src":"Muffin1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_549058.html","width":130,"caption":"Muffin","height":181});
															thumbnails[549060] = clik.newPhoto({"id":549060,"src":"Jeff-Joy1_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_549060.html","width":130,"caption":"Jeff Joy","height":173});
															thumbnails[3128214] = clik.newPhoto({"id":3128214,"src":"Sam-Battye_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_3128214.html","width":130,"caption":"Sam Battye","height":166});
															thumbnails[3128215] = clik.newPhoto({"id":3128215,"src":"Sake_thumb.jpg","galleries_id":42109,"server_id":18,"link":"photo_3128215.html","width":130,"caption":"Sake Duval","height":173});
															thumbnails[5916439] = clik.newPhoto({"id":5916439,"src":"Millie-and-Ellie_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_5916439.html","width":130,"caption":"Mollie and Ellie","height":94});
															thumbnails[543483] = clik.newPhoto({"id":543483,"src":"Suki-Bertie-Azte_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_543483.html","width":130,"caption":"Suki Bertie Azte","height":81});
															thumbnails[1718078] = clik.newPhoto({"id":1718078,"src":"Tigga-Beauty_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_1718078.html","width":130,"caption":"Tigga and Beauty","height":94});
															thumbnails[543485] = clik.newPhoto({"id":543485,"src":"Rusty-and-Sammy_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_543485.html","width":130,"caption":"Rusty and Sammy","height":98});
															thumbnails[1718079] = clik.newPhoto({"id":1718079,"src":"We-Three_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_1718079.html","width":130,"caption":"We Three","height":91});
															thumbnails[543488] = clik.newPhoto({"id":543488,"src":"Russell-and-Badger_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_543488.html","width":130,"caption":"Russell and Badger","height":98});
															thumbnails[1718080] = clik.newPhoto({"id":1718080,"src":"Jack-and-Eddy_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_1718080.html","width":130,"caption":"Jack and Eddy","height":98});
															thumbnails[549068] = clik.newPhoto({"id":549068,"src":"Scarlet-and-Sarah_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_549068.html","width":130,"caption":"Scarlet and Sarah","height":94});
															thumbnails[1718081] = clik.newPhoto({"id":1718081,"src":"Spot-and-Gem_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_1718081.html","width":130,"caption":"Gem and Spot","height":121});
															thumbnails[549065] = clik.newPhoto({"id":549065,"src":"Sandy-and-Paddington1_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_549065.html","width":130,"caption":"Sandy and Paddington","height":98});
															thumbnails[549071] = clik.newPhoto({"id":549071,"src":"Portia-and-Harris2_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_549071.html","width":130,"caption":"Portia and Harris","height":94});
															thumbnails[3128222] = clik.newPhoto({"id":3128222,"src":"Sandy-Snooppy-Skippy_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_3128222.html","width":130,"caption":"Sandy Snoopy Skippy","height":98});
															thumbnails[549073] = clik.newPhoto({"id":549073,"src":"Fanny-Ellie-Pudding1_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_549073.html","width":130,"caption":"Fanny Ellie Pudding","height":98});
															thumbnails[5916782] = clik.newPhoto({"id":5916782,"src":"6-dogs-and-cat1_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_5916782.html","width":130,"caption":"Mainly Great Danes!","height":90});
															thumbnails[5916794] = clik.newPhoto({"id":5916794,"src":"Milly-n-Maude1_thumb.jpg","galleries_id":42110,"server_id":18,"link":"photo_5916794.html","width":130,"caption":"Milly and Maude","height":86});
															thumbnails[549079] = clik.newPhoto({"id":549079,"src":"Golden-Labrador1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549079.html","width":130,"caption":"Golden Labrador","height":161});
															thumbnails[1718084] = clik.newPhoto({"id":1718084,"src":"Ellie_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_1718084.html","width":130,"caption":"Ellie","height":168});
															thumbnails[549080] = clik.newPhoto({"id":549080,"src":"Shadow1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549080.html","width":130,"caption":"Shadow","height":170});
															thumbnails[1718086] = clik.newPhoto({"id":1718086,"src":"Gemma-_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_1718086.html","width":130,"caption":"Gemma","height":165});
															thumbnails[549081] = clik.newPhoto({"id":549081,"src":"Gem1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549081.html","width":130,"caption":"Gem","height":159});
															thumbnails[549082] = clik.newPhoto({"id":549082,"src":"Dillon1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549082.html","width":130,"caption":"Dillon","height":155});
															thumbnails[549083] = clik.newPhoto({"id":549083,"src":"Kelsi1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549083.html","width":130,"caption":"Kelsi","height":171});
															thumbnails[549084] = clik.newPhoto({"id":549084,"src":"Aby1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549084.html","width":130,"caption":"Aby","height":164});
															thumbnails[549085] = clik.newPhoto({"id":549085,"src":"Sarah1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549085.html","width":130,"caption":"Sarah","height":164});
															thumbnails[549087] = clik.newPhoto({"id":549087,"src":"Major1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549087.html","width":130,"caption":"Major","height":169});
															thumbnails[549089] = clik.newPhoto({"id":549089,"src":"Sam1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_549089.html","width":130,"caption":"Sam","height":161});
															thumbnails[3128223] = clik.newPhoto({"id":3128223,"src":"Yen-and-Blue-_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_3128223.html","width":130,"caption":"Yen and Blue","height":89});
															thumbnails[3128224] = clik.newPhoto({"id":3128224,"src":"Jess_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_3128224.html","width":130,"caption":"Jess","height":173});
															thumbnails[5916792] = clik.newPhoto({"id":5916792,"src":"Molly-daughter1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_5916792.html","width":130,"caption":"Molly","height":153});
															thumbnails[543312] = clik.newPhoto({"id":543312,"src":"Anticipation_thumb.jpg","galleries_id":42112,"server_id":18,"link":"photo_543312.html","width":130,"caption":"Anticipation","height":77});
															thumbnails[5916786] = clik.newPhoto({"id":5916786,"src":"Meg-Mother1_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_5916786.html","width":130,"caption":"Meg","height":153});
															thumbnails[1718409] = clik.newPhoto({"id":1718409,"src":"Suki_thumb.jpg","galleries_id":42112,"server_id":18,"link":"photo_1718409.html","width":130,"caption":"Suki","height":176});
															thumbnails[5916796] = clik.newPhoto({"id":5916796,"src":"Millie_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_5916796.html","width":130,"caption":"Millie","height":186});
															thumbnails[549076] = clik.newPhoto({"id":549076,"src":"Whippet1_thumb.jpg","galleries_id":42112,"server_id":18,"link":"photo_549076.html","width":130,"caption":"Whippet","height":173});
															thumbnails[7265238] = clik.newPhoto({"id":7265238,"src":"Cleo_thumb.jpg","galleries_id":42111,"server_id":18,"link":"photo_7265238.html","width":130,"caption":"Cleo","height":100});
															thumbnails[1718407] = clik.newPhoto({"id":1718407,"src":"Fern_thumb.jpg","galleries_id":42112,"server_id":18,"link":"photo_1718407.html","width":130,"caption":"Fern","height":170});
															thumbnails[549077] = clik.newPhoto({"id":549077,"src":"Beagle-Pepper1_thumb.jpg","galleries_id":42112,"server_id":18,"link":"photo_549077.html","width":130,"caption":"Pepper","height":167});
															thumbnails[5916469] = clik.newPhoto({"id":5916469,"src":"Ebony_thumb.jpg","galleries_id":42112,"server_id":18,"link":"photo_5916469.html","width":130,"caption":"Ebony","height":169});
															thumbnails[543555] = clik.newPhoto({"id":543555,"src":"Meg_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_543555.html","width":130,"caption":"Meg","height":106});
															thumbnails[1718400] = clik.newPhoto({"id":1718400,"src":"Bonnie_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_1718400.html","width":130,"caption":"Bonnie","height":164});
															thumbnails[549234] = clik.newPhoto({"id":549234,"src":"Fanny-_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_549234.html","width":130,"caption":"Fanny","height":165});
															thumbnails[1718401] = clik.newPhoto({"id":1718401,"src":"Zoe_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_1718401.html","width":130,"caption":"Zoe","height":164});
															thumbnails[549235] = clik.newPhoto({"id":549235,"src":"Duffy1_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_549235.html","width":130,"caption":"Duffy","height":173});
															thumbnails[1718402] = clik.newPhoto({"id":1718402,"src":"Pebbles_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_1718402.html","width":130,"caption":"Pebbles","height":158});
															thumbnails[549236] = clik.newPhoto({"id":549236,"src":"Westie1_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_549236.html","width":130,"caption":"Westie","height":173});
															thumbnails[549237] = clik.newPhoto({"id":549237,"src":"West-Highland-White-Terrier1_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_549237.html","width":130,"caption":"West Highland","height":173});
															thumbnails[1718404] = clik.newPhoto({"id":1718404,"src":"Rocky_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_1718404.html","width":130,"caption":"Rocky","height":90});
															thumbnails[1718406] = clik.newPhoto({"id":1718406,"src":"Sandy_thumb.jpg","galleries_id":42113,"server_id":18,"link":"photo_1718406.html","width":130,"caption":"Sandy","height":95});
															thumbnails[549242] = clik.newPhoto({"id":549242,"src":"Sheena1_thumb.jpg","galleries_id":42114,"server_id":18,"link":"photo_549242.html","width":130,"caption":"Sheena","height":164});
															thumbnails[549244] = clik.newPhoto({"id":549244,"src":"Ben1_thumb.jpg","galleries_id":42114,"server_id":18,"link":"photo_549244.html","width":130,"caption":"Ben","height":173});
															thumbnails[5916916] = clik.newPhoto({"id":5916916,"src":"Bud_thumb.jpg","galleries_id":42114,"server_id":18,"link":"photo_5916916.html","width":130,"caption":"Bud","height":178});
															thumbnails[549246] = clik.newPhoto({"id":549246,"src":"Ben-and-Barney1_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_549246.html","width":130,"caption":"Ben and Barney","height":98});
															thumbnails[1718412] = clik.newPhoto({"id":1718412,"src":"William_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_1718412.html","width":130,"caption":"William","height":178});
															thumbnails[543594] = clik.newPhoto({"id":543594,"src":"Barney-D_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_543594.html","width":130,"caption":"Barney Daykin","height":98});
															thumbnails[1718414] = clik.newPhoto({"id":1718414,"src":"Relaxing_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_1718414.html","width":130,"caption":"Relaxing","height":173});
															thumbnails[549247] = clik.newPhoto({"id":549247,"src":"Border-Collie1_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_549247.html","width":130,"caption":"Meg","height":170});
															thumbnails[549250] = clik.newPhoto({"id":549250,"src":"German-Shepherd1_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_549250.html","width":130,"caption":"German Shepherd","height":173});
															thumbnails[549251] = clik.newPhoto({"id":549251,"src":"Rottweiler1_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_549251.html","width":130,"caption":"Rottweiler","height":166});
															thumbnails[3128220] = clik.newPhoto({"id":3128220,"src":"Tyson_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_3128220.html","width":130,"caption":"Tyson","height":178});
															thumbnails[7265234] = clik.newPhoto({"id":7265234,"src":"Dixie-and-Casper_thumb.jpg","galleries_id":42115,"server_id":18,"link":"photo_7265234.html","width":130,"caption":"Dixie and Casper","height":89});
															thumbnails[549340] = clik.newPhoto({"id":549340,"src":"Benji-and-Molly1_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_549340.html","width":130,"caption":"Benji and Molly","height":90});
															thumbnails[1718382] = clik.newPhoto({"id":1718382,"src":"Benjy_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_1718382.html","width":130,"caption":"Benjy","height":110});
															thumbnails[549345] = clik.newPhoto({"id":549345,"src":"Charley1_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_549345.html","width":130,"caption":"Charley","height":159});
															thumbnails[1718385] = clik.newPhoto({"id":1718385,"src":"Charles_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_1718385.html","width":130,"caption":"Charles","height":166});
															thumbnails[549350] = clik.newPhoto({"id":549350,"src":"Monty1_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_549350.html","width":130,"caption":"Monty","height":95});
															thumbnails[1718386] = clik.newPhoto({"id":1718386,"src":"Yorkie_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_1718386.html","width":130,"caption":"Yorkie","height":178});
															thumbnails[549352] = clik.newPhoto({"id":549352,"src":"Benjy1_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_549352.html","width":130,"caption":"Benjy","height":164});
															thumbnails[1718387] = clik.newPhoto({"id":1718387,"src":"Popsy_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_1718387.html","width":130,"caption":"Popsy","height":175});
															thumbnails[549356] = clik.newPhoto({"id":549356,"src":"Ruby1_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_549356.html","width":130,"caption":"Ruby","height":173});
															thumbnails[1718384] = clik.newPhoto({"id":1718384,"src":"Ruby_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_1718384.html","width":130,"caption":"Ruby","height":157});
															thumbnails[1718462] = clik.newPhoto({"id":1718462,"src":"Taggs-_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_1718462.html","width":130,"caption":"Taggs","height":97});
															thumbnails[3128219] = clik.newPhoto({"id":3128219,"src":"Benjamin-jpg_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_3128219.html","width":130,"caption":"Benjamin","height":173});
															thumbnails[5916479] = clik.newPhoto({"id":5916479,"src":"Web-Lulu_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_5916479.html","width":130,"caption":"Lulu","height":158});
															thumbnails[5916919] = clik.newPhoto({"id":5916919,"src":"Jake_thumb.jpg","galleries_id":42116,"server_id":18,"link":"photo_5916919.html","width":130,"caption":"Jake","height":166});
															thumbnails[549357] = clik.newPhoto({"id":549357,"src":"Kitten1_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_549357.html","width":130,"caption":"Kitten","height":173});
															thumbnails[1718024] = clik.newPhoto({"id":1718024,"src":"Beauty-048_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718024.html","width":130,"caption":"Beauty","height":178});
															thumbnails[549358] = clik.newPhoto({"id":549358,"src":"Mrs-Chippy1_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_549358.html","width":130,"caption":"Mrs Chippy","height":173});
															thumbnails[1718030] = clik.newPhoto({"id":1718030,"src":"Tigga-_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718030.html","width":130,"caption":"Tigga","height":178});
															thumbnails[549361] = clik.newPhoto({"id":549361,"src":"Bluey1_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_549361.html","width":130,"caption":"Bluey","height":173});
															thumbnails[1718033] = clik.newPhoto({"id":1718033,"src":"Holly-_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718033.html","width":130,"caption":"Holly","height":98});
															thumbnails[549363] = clik.newPhoto({"id":549363,"src":"Winston1_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_549363.html","width":130,"caption":"Winston","height":155});
															thumbnails[1718037] = clik.newPhoto({"id":1718037,"src":"Thornton-Bennett_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718037.html","width":130,"caption":"Thornton-Bennett","height":187});
															thumbnails[549364] = clik.newPhoto({"id":549364,"src":"Black-and-White1_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_549364.html","width":130,"caption":"Black and White","height":163});
															thumbnails[1718040] = clik.newPhoto({"id":1718040,"src":"Fudge-and-Truffle_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718040.html","width":130,"caption":"Fudge and Truffle","height":98});
															thumbnails[1718043] = clik.newPhoto({"id":1718043,"src":"Chloe-1_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718043.html","width":130,"caption":"Chloe","height":178});
															thumbnails[1718045] = clik.newPhoto({"id":1718045,"src":"Chloe-2_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718045.html","width":130,"caption":"Chloe","height":98});
															thumbnails[1718047] = clik.newPhoto({"id":1718047,"src":"Greabo01_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718047.html","width":130,"caption":"Greabo","height":162});
															thumbnails[1718046] = clik.newPhoto({"id":1718046,"src":"2-Cats_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_1718046.html","width":130,"caption":"Friends","height":132});
															thumbnails[3128216] = clik.newPhoto({"id":3128216,"src":"Tod-and-Tyson_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_3128216.html","width":130,"caption":"Tyson and Todd","height":90});
															thumbnails[3128217] = clik.newPhoto({"id":3128217,"src":"Elly-cat-_thumb.jpg","galleries_id":42117,"server_id":18,"link":"photo_3128217.html","width":130,"caption":"Elly","height":157});
															thumbnails[543668] = clik.newPhoto({"id":543668,"src":"Dark-and-gold-_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543668.html","width":130,"caption":"Dark and gold","height":166});
															thumbnails[543670] = clik.newPhoto({"id":543670,"src":"Dark-and-gold-frame_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543670.html","width":130,"caption":"Dark and gold","height":114});
															thumbnails[543676] = clik.newPhoto({"id":543676,"src":"Gold-frame_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543676.html","width":130,"caption":"Gold","height":113});
															thumbnails[543683] = clik.newPhoto({"id":543683,"src":"Gold_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543683.html","width":130,"caption":"Gold","height":168});
															thumbnails[543685] = clik.newPhoto({"id":543685,"src":"Mid-brown-frame_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543685.html","width":130,"caption":"Mid brown","height":158});
															thumbnails[543688] = clik.newPhoto({"id":543688,"src":"Silver-with-gold-frame_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543688.html","width":130,"caption":"Silver with gold","height":121});
															thumbnails[543692] = clik.newPhoto({"id":543692,"src":"Narrow-pine-frame_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543692.html","width":130,"caption":"Narrow pine","height":152});
															thumbnails[543693] = clik.newPhoto({"id":543693,"src":"Wide-pine-frame_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_543693.html","width":130,"caption":"Wide pine","height":148});
															thumbnails[5916484] = clik.newPhoto({"id":5916484,"src":"Ebony-framed_thumb.jpg","galleries_id":42118,"server_id":18,"link":"photo_5916484.html","width":130,"caption":"Ebony","height":145});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[42109] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Specials","link":"gallery_42109.html","maxRecords":0.0,"photoIDs":[1718464.0,1718465.0,1718466.0,1718467.0,1718468.0,1718470.0,1718472.0,1718474.0,543377.0,1718475.0,543392.0,1718478.0,543415.0,1718479.0,545554.0,549052.0,549055.0,549057.0,549058.0,549060.0,3128214.0,3128215.0],"skipIndex":0,"section_code":"gallery","featured_images":"3128215,3128214,1718479,1718478,1718475,1718474,1718472,1718470,1718468,1718467","id":42109,"singleSection":false});				  						galleries[42110] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Groups","link":"gallery_42110.html","maxRecords":0.0,"photoIDs":[5916439.0,543483.0,1718078.0,543485.0,1718079.0,543488.0,1718080.0,549068.0,1718081.0,549065.0,549071.0,3128222.0,549073.0,5916782.0,5916794.0],"skipIndex":0,"section_code":"gallery","featured_images":"5916794,5916782,5916439,3128222,1718081,1718080,1718079,1718078,549073,549071","id":42110,"singleSection":false});				  						galleries[42111] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Gundogs","link":"gallery_42111.html","maxRecords":0.0,"photoIDs":[549079.0,1718084.0,549080.0,1718086.0,549081.0,549082.0,549083.0,549084.0,549085.0,549087.0,549089.0,3128223.0,3128224.0,5916792.0,5916786.0,5916796.0,7265238.0],"skipIndex":0,"section_code":"gallery","featured_images":"7265238,5916796,5916792,5916786,3128224,3128223,1718086,1718084,549089,549087","id":42111,"singleSection":false});				  						galleries[42112] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Hounds","link":"gallery_42112.html","maxRecords":0.0,"photoIDs":[543312.0,1718409.0,549076.0,1718407.0,549077.0,5916469.0],"skipIndex":0,"section_code":"gallery","featured_images":"5916469,1718409,1718407,549077,549076,543312","id":42112,"singleSection":false});				  						galleries[42113] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Terriers","link":"gallery_42113.html","maxRecords":0.0,"photoIDs":[543555.0,1718400.0,549234.0,1718401.0,549235.0,1718402.0,549236.0,549237.0,1718404.0,1718406.0],"skipIndex":0,"section_code":"gallery","featured_images":"1718406,1718404,1718402,1718401,1718400,549237,549236,549235,549234,543555","id":42113,"singleSection":false});				  						galleries[42114] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Utility","link":"gallery_42114.html","maxRecords":0.0,"photoIDs":[549242.0,549244.0,5916916.0],"skipIndex":0,"section_code":"gallery","featured_images":"5916916,549244,549242","id":42114,"singleSection":false});				  						galleries[42115] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Working","link":"gallery_42115.html","maxRecords":0.0,"photoIDs":[549246.0,1718412.0,543594.0,1718414.0,549247.0,549250.0,549251.0,3128220.0,7265234.0],"skipIndex":0,"section_code":"gallery","featured_images":"7265234,3128220,1718414,1718412,549251,549250,549247,549246,543594","id":42115,"singleSection":false});				  						galleries[42116] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Toy Breeds","link":"gallery_42116.html","maxRecords":0.0,"photoIDs":[549340.0,1718382.0,549345.0,1718385.0,549350.0,1718386.0,549352.0,1718387.0,549356.0,1718384.0,1718462.0,3128219.0,5916479.0,5916919.0],"skipIndex":0,"section_code":"gallery","featured_images":"5916919,5916479,3128219,1718462,1718387,1718386,1718385,1718384,1718382,549356","id":42116,"singleSection":false});				  						galleries[42117] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cats","link":"gallery_42117.html","maxRecords":0.0,"photoIDs":[549357.0,1718024.0,549358.0,1718030.0,549361.0,1718033.0,549363.0,1718037.0,549364.0,1718040.0,1718043.0,1718045.0,1718047.0,1718046.0,3128216.0,3128217.0],"skipIndex":0,"section_code":"gallery","featured_images":"3128217,3128216,1718047,1718046,1718045,1718043,1718040,1718037,1718033,1718030","id":42117,"singleSection":false});				  						galleries[42118] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Framed ","link":"gallery_42118.html","maxRecords":0.0,"photoIDs":[543668.0,543670.0,543676.0,543683.0,543685.0,543688.0,543692.0,543693.0,5916484.0],"skipIndex":0,"section_code":"gallery","featured_images":"5916484,543693,543692,543688,543685,543683,543676,543670,543668","id":42118,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '548953';
imageSets[3] = '7265238,7265234,5916919,5916916,5916796,5916794,5916792,5916786,5916782,5916484,5916479,5916469,5916439,3128224,3128223,3128222,3128220,3128219,3128217,3128216,3128215,3128214,1718479,1718478,1718475,1718474,1718472,1718470,1718468,1718467,1718466,1718465,1718464,1718462,1718414,1718412,1718409,1718407,1718406,1718404,1718402,1718401,1718400,1718387,1718386,1718385,1718384,1718382,1718086,1718084';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/trishwatson/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/trishwatson/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 && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.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 && 'gallery' != '') {
					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 = 'Trish Watson Pet Portraits in Pastel: ' + 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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			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;
	}
}

			

