window.thumbnails = {};
															thumbnails[7353165] = clik.newPhoto({"id":7353165,"src":"IMG_4496_DCA1971D-1E4F-37DC-712A5154E0257B00_thumb.JPG","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[1259505] = clik.newPhoto({"id":1259505,"src":"Helen _thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1259505.html","width":130,"caption":"Helen","height":165});
															thumbnails[1259509] = clik.newPhoto({"id":1259509,"src":"IMG_3182_thumb.JPG","galleries_id":89601,"server_id":15,"link":"photo_1259509.html","width":130,"caption":"John","height":195});
															thumbnails[1259513] = clik.newPhoto({"id":1259513,"src":"John&Beck_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1259513.html","width":130,"caption":"John & Bec","height":87});
															thumbnails[1259579] = clik.newPhoto({"id":1259579,"src":"Diana1_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1259579.html","width":130,"caption":"Diana","height":195});
															thumbnails[1259614] = clik.newPhoto({"id":1259614,"src":"John2_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1259614.html","width":130,"caption":"John","height":195});
															thumbnails[1259619] = clik.newPhoto({"id":1259619,"src":"IMG_2961_thumb.JPG","galleries_id":89606,"server_id":15,"link":"photo_1259619.html","width":130,"caption":"John,& Bec with Cooper","height":87});
															thumbnails[1268436] = clik.newPhoto({"id":1268436,"src":"Beck5_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1268436.html","width":130,"caption":"Bec","height":195});
															thumbnails[1268523] = clik.newPhoto({"id":1268523,"src":"IMG_1714a_thumb.jpg","galleries_id":89606,"server_id":15,"link":"photo_1268523.html","width":130,"caption":"Skipper","height":88});
															thumbnails[1268532] = clik.newPhoto({"id":1268532,"src":"Photos in Devon 11 08 07 041_thumb.jpg","galleries_id":89606,"server_id":15,"link":"photo_1268532.html","width":130,"caption":"Lou","height":87});
															thumbnails[1269780] = clik.newPhoto({"id":1269780,"src":"IMG_0159b_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269780.html","width":130,"caption":"Beach in South Devon","height":87});
															thumbnails[1269840] = clik.newPhoto({"id":1269840,"src":"IMG_0323a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269840.html","width":130,"caption":"Tall Ships sailing from Torbay to Santander","height":53});
															thumbnails[1269941] = clik.newPhoto({"id":1269941,"src":"Blue Bell Walk 003_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269941.html","width":130,"caption":"Bluebells","height":86});
															thumbnails[1269947] = clik.newPhoto({"id":1269947,"src":"IMG_0337a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269947.html","width":130,"caption":"Brixham, South Devon","height":87});
															thumbnails[1269948] = clik.newPhoto({"id":1269948,"src":"IMG_1617a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269948.html","width":130,"caption":"Farmers fields in the Cotswolds","height":87});
															thumbnails[1269949] = clik.newPhoto({"id":1269949,"src":"IMG_1622d_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269949.html","width":130,"caption":"Water Mill in the Cotswolds","height":87});
															thumbnails[1269952] = clik.newPhoto({"id":1269952,"src":"IMG_1682a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1269952.html","width":130,"caption":"Torquay in South Devon","height":87});
															thumbnails[1270233] = clik.newPhoto({"id":1270233,"src":"IMG_1698a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1270233.html","width":130,"caption":"Sailing off the coast of Devon","height":68});
															thumbnails[1270318] = clik.newPhoto({"id":1270318,"src":"IMG_1715a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1270318.html","width":130,"caption":"Water Skiing","height":57});
															thumbnails[1270345] = clik.newPhoto({"id":1270345,"src":"IMG_2005_thumb.JPG","galleries_id":89603,"server_id":15,"link":"photo_1270345.html","width":130,"caption":"Welford on Avon","height":87});
															thumbnails[1270405] = clik.newPhoto({"id":1270405,"src":"IMG_2014_thumb.JPG","galleries_id":89603,"server_id":15,"link":"photo_1270405.html","width":130,"caption":"Family of ducks","height":80});
															thumbnails[1270408] = clik.newPhoto({"id":1270408,"src":"IMG_a1765_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1270408.html","width":130,"caption":"Riverside at Stratford upon Avon","height":87});
															thumbnails[1270414] = clik.newPhoto({"id":1270414,"src":"IMG_a1816_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1270414.html","width":130,"caption":"South Cotswolds Water Park","height":135});
															thumbnails[1270417] = clik.newPhoto({"id":1270417,"src":"My Pictures 395a copy_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1270417.html","width":130,"caption":"Cairngorm Mountain Railway","height":98});
															thumbnails[1270421] = clik.newPhoto({"id":1270421,"src":"My Pictures b402_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1270421.html","width":130,"caption":"Cairngorm Mountains","height":98});
															thumbnails[1277744] = clik.newPhoto({"id":1277744,"src":"Diana 084_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1277744.html","width":130,"caption":"Diana ","height":196});
															thumbnails[1277752] = clik.newPhoto({"id":1277752,"src":"IMG_2415_thumb.JPG","galleries_id":89601,"server_id":15,"link":"photo_1277752.html","width":130,"caption":"Barb","height":195});
															thumbnails[1277755] = clik.newPhoto({"id":1277755,"src":"My Pictures 036_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1277755.html","width":130,"caption":"Diana as Miss Torbay with Mel Smith","height":147});
															thumbnails[1278840] = clik.newPhoto({"id":1278840,"src":"IMG_0252_thumb.JPG","galleries_id":89602,"server_id":15,"link":"photo_1278840.html","width":130,"caption":"","height":111});
															thumbnails[1278842] = clik.newPhoto({"id":1278842,"src":"IMG_0255_thumb.JPG","galleries_id":89602,"server_id":15,"link":"photo_1278842.html","width":130,"caption":"","height":87});
															thumbnails[1278843] = clik.newPhoto({"id":1278843,"src":"IMG_0260_thumb.JPG","galleries_id":89602,"server_id":15,"link":"photo_1278843.html","width":130,"caption":"","height":74});
															thumbnails[1278844] = clik.newPhoto({"id":1278844,"src":"IMG_0275_thumb.JPG","galleries_id":89602,"server_id":15,"link":"photo_1278844.html","width":130,"caption":"","height":87});
															thumbnails[1278870] = clik.newPhoto({"id":1278870,"src":"IMG_2561_thumb.JPG","galleries_id":89602,"server_id":15,"link":"photo_1278870.html","width":130,"caption":"","height":87});
															thumbnails[1278890] = clik.newPhoto({"id":1278890,"src":"IMG_2630_thumb.JPG","galleries_id":89602,"server_id":15,"link":"photo_1278890.html","width":130,"caption":"","height":87});
															thumbnails[1282988] = clik.newPhoto({"id":1282988,"src":"IMG_3134_thumb.JPG","galleries_id":89601,"server_id":15,"link":"photo_1282988.html","width":130,"caption":"John & Bec","height":195});
															thumbnails[1288900] = clik.newPhoto({"id":1288900,"src":"Miss Torbay 2003 009_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1288900.html","width":130,"caption":"Miss Torbay, Diana Kyte waiting for the winner of the competition to be announced.","height":76});
															thumbnails[1288904] = clik.newPhoto({"id":1288904,"src":"Miss Torbay 2003 011_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1288904.html","width":130,"caption":"Diana cannot believe it has just been announced she is the winner of Miss Torbay 2003.","height":184});
															thumbnails[1288910] = clik.newPhoto({"id":1288910,"src":"Miss Torbay 2003 008_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1288910.html","width":130,"caption":"Congratulations from all involved in the competition Miss Torbay.","height":89});
															thumbnails[1288927] = clik.newPhoto({"id":1288927,"src":"Miss Torbay 2003 014_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1288927.html","width":130,"caption":"Diana receiving her crown from the Mayor of Torbay.","height":219});
															thumbnails[1288932] = clik.newPhoto({"id":1288932,"src":"Miss Torbay 2003 006_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1288932.html","width":130,"caption":"Diana with her Lady-in-Waiting.","height":108});
															thumbnails[1288934] = clik.newPhoto({"id":1288934,"src":"Miss Torbay 2003 007_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_1288934.html","width":130,"caption":"Diana receiving a hug from her mum, Barbara.","height":109});
															thumbnails[1373379] = clik.newPhoto({"id":1373379,"src":"IMG_b4327_thumb.JPG","galleries_id":89601,"server_id":15,"link":"photo_1373379.html","width":130,"caption":"Charlotte","height":120});
															thumbnails[1380201] = clik.newPhoto({"id":1380201,"src":"IMG_3937_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380201.html","width":130,"caption":"Bec","height":118});
															thumbnails[1380203] = clik.newPhoto({"id":1380203,"src":"IMG_3953_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380203.html","width":130,"caption":"Charlotte","height":195});
															thumbnails[1380204] = clik.newPhoto({"id":1380204,"src":"IMG_3958_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380204.html","width":130,"caption":"Charlotte","height":195});
															thumbnails[1380207] = clik.newPhoto({"id":1380207,"src":"IMG_3960_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380207.html","width":130,"caption":"Lisa","height":195});
															thumbnails[1380210] = clik.newPhoto({"id":1380210,"src":"IMG_3972_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380210.html","width":130,"caption":"Diana","height":195});
															thumbnails[1380211] = clik.newPhoto({"id":1380211,"src":"IMG_3988_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380211.html","width":130,"caption":"Diana","height":195});
															thumbnails[1380215] = clik.newPhoto({"id":1380215,"src":"IMG_3994_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380215.html","width":130,"caption":"Bec","height":87});
															thumbnails[1380220] = clik.newPhoto({"id":1380220,"src":"IMG_4009_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380220.html","width":130,"caption":"Charlotte","height":195});
															thumbnails[1380225] = clik.newPhoto({"id":1380225,"src":"IMG_4043_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380225.html","width":130,"caption":"Charlotte","height":159});
															thumbnails[1380232] = clik.newPhoto({"id":1380232,"src":"IMG_4200_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380232.html","width":130,"caption":"Charlotte","height":195});
															thumbnails[1380235] = clik.newPhoto({"id":1380235,"src":"IMG_4244_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380235.html","width":130,"caption":"Diana","height":195});
															thumbnails[1380236] = clik.newPhoto({"id":1380236,"src":"IMG_4250_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380236.html","width":130,"caption":"Diana","height":87});
															thumbnails[1380237] = clik.newPhoto({"id":1380237,"src":"IMG_4355_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380237.html","width":130,"caption":"Lisa","height":87});
															thumbnails[1380239] = clik.newPhoto({"id":1380239,"src":"IMG_4400_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380239.html","width":130,"caption":"John & Bec","height":195});
															thumbnails[1380241] = clik.newPhoto({"id":1380241,"src":"IMG_4458_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380241.html","width":130,"caption":"John & Bec","height":195});
															thumbnails[1380242] = clik.newPhoto({"id":1380242,"src":"IMG_4477_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380242.html","width":130,"caption":"John & Bec","height":190});
															thumbnails[1380243] = clik.newPhoto({"id":1380243,"src":"IMG_4483_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380243.html","width":130,"caption":"John & Bec","height":195});
															thumbnails[1380244] = clik.newPhoto({"id":1380244,"src":"IMG_4491_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380244.html","width":130,"caption":"John & Bec","height":195});
															thumbnails[1380246] = clik.newPhoto({"id":1380246,"src":"IMG_4496_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380246.html","width":130,"caption":"John & Bec","height":87});
															thumbnails[1380247] = clik.newPhoto({"id":1380247,"src":"IMG_4519_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380247.html","width":130,"caption":"Lisa","height":87});
															thumbnails[1380249] = clik.newPhoto({"id":1380249,"src":"IMG_4531_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380249.html","width":130,"caption":"Diana","height":87});
															thumbnails[1380250] = clik.newPhoto({"id":1380250,"src":"IMG_4533_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380250.html","width":130,"caption":"John & Bec","height":195});
															thumbnails[1380251] = clik.newPhoto({"id":1380251,"src":"IMG_a4241_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380251.html","width":130,"caption":"Diana","height":132});
															thumbnails[1380252] = clik.newPhoto({"id":1380252,"src":"IMG_a4327_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380252.html","width":130,"caption":"Charlotte","height":122});
															thumbnails[1380255] = clik.newPhoto({"id":1380255,"src":"IMG_4034_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380255.html","width":130,"caption":"Charlotte","height":195});
															thumbnails[1380256] = clik.newPhoto({"id":1380256,"src":"IMG_3922_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1380256.html","width":130,"caption":"Diana","height":154});
															thumbnails[1437891] = clik.newPhoto({"id":1437891,"src":"IMG_a4048_thumb.JPG","galleries_id":89601,"server_id":15,"link":"photo_1437891.html","width":130,"caption":"Charlotte","height":148});
															thumbnails[1658829] = clik.newPhoto({"id":1658829,"src":"IMG_a4181_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_1658829.html","width":130,"caption":"Charlotte","height":115});
															thumbnails[1658830] = clik.newPhoto({"id":1658830,"src":"Paul, Helen & Family_28_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_1658830.html","width":130,"caption":"Paul, Helen & family","height":87});
															thumbnails[1658886] = clik.newPhoto({"id":1658886,"src":"IMG_1979_thumb.JPG","galleries_id":89603,"server_id":15,"link":"photo_1658886.html","width":130,"caption":"Brixham in Devon","height":87});
															thumbnails[1659532] = clik.newPhoto({"id":1659532,"src":"Photos at Paignton 010_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1659532.html","width":130,"caption":"Sea front at Paignton in Devon","height":87});
															thumbnails[1659536] = clik.newPhoto({"id":1659536,"src":"IMG_5048_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_1659536.html","width":130,"caption":"Deer at Charlecote","height":136});
															thumbnails[1659538] = clik.newPhoto({"id":1659538,"src":"IMG_5055_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_1659538.html","width":130,"caption":"Deer at Charlecote","height":100});
															thumbnails[1774369] = clik.newPhoto({"id":1774369,"src":"My Pictures 031c copy_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_1774369.html","width":130,"caption":"St Ives Cornwall","height":99});
															thumbnails[1869893] = clik.newPhoto({"id":1869893,"src":"Clare & Family_23a_thumb.JPG","galleries_id":89601,"server_id":15,"link":"photo_1869893.html","width":130,"caption":"Thomas, Max & William having fun.","height":87});
															thumbnails[2099925] = clik.newPhoto({"id":2099925,"src":"Magali aa_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_2099925.html","width":130,"caption":"Magali","height":175});
															thumbnails[2385954] = clik.newPhoto({"id":2385954,"src":"Alan, Andrea & Emily_19_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_2385954.html","width":130,"caption":"Andrea","height":199});
															thumbnails[2385956] = clik.newPhoto({"id":2385956,"src":"Barb in Spain_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_2385956.html","width":130,"caption":"Barb","height":196});
															thumbnails[2385959] = clik.newPhoto({"id":2385959,"src":"Diana specs_1_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_2385959.html","width":130,"caption":"Diana","height":144});
															thumbnails[3586911] = clik.newPhoto({"id":3586911,"src":"David__Caroline_wedding_011_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_3586911.html","width":130,"caption":"Caroline with her daughters","height":71});
															thumbnails[3586922] = clik.newPhoto({"id":3586922,"src":"David__Caroline_wedding_031_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_3586922.html","width":130,"caption":"Caroline and David","height":87});
															thumbnails[3586923] = clik.newPhoto({"id":3586923,"src":"David__Caroline_wedding_054_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_3586923.html","width":130,"caption":"Caroline and David","height":199});
															thumbnails[3586925] = clik.newPhoto({"id":3586925,"src":"David__Caroline_wedding_063_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_3586925.html","width":130,"caption":"Caroline and David","height":120});
															thumbnails[3586930] = clik.newPhoto({"id":3586930,"src":"David__Caroline_wedding_093_thumb.JPG","galleries_id":89604,"server_id":15,"link":"photo_3586930.html","width":130,"caption":"Caroline and David","height":99});
															thumbnails[3586935] = clik.newPhoto({"id":3586935,"src":"Donna_and_Micks_wedding_day_0221_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586935.html","width":130,"caption":"Donna ","height":87});
															thumbnails[3586937] = clik.newPhoto({"id":3586937,"src":"Donna_and_Micks_wedding_day_074_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586937.html","width":130,"caption":"Donna and Mick","height":195});
															thumbnails[3586939] = clik.newPhoto({"id":3586939,"src":"Donna_and_Micks_wedding_day_081_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586939.html","width":130,"caption":"Donna and Mick","height":203});
															thumbnails[3586943] = clik.newPhoto({"id":3586943,"src":"Donna_and_Micks_wedding_day_096_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586943.html","width":130,"caption":"Donna and Mick","height":87});
															thumbnails[3586945] = clik.newPhoto({"id":3586945,"src":"Donna_and_Micks_wedding_day_100_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586945.html","width":130,"caption":"Donna and Mick","height":87});
															thumbnails[3586948] = clik.newPhoto({"id":3586948,"src":"Donna_and_Micks_wedding_day_109_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586948.html","width":130,"caption":"Donna and Mick","height":87});
															thumbnails[3586951] = clik.newPhoto({"id":3586951,"src":"Donna_and_Micks_wedding_day_115_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_3586951.html","width":130,"caption":"Donna and Mick","height":87});
															thumbnails[3586954] = clik.newPhoto({"id":3586954,"src":"Diana_4a_copy_copy_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_3586954.html","width":130,"caption":"Diana","height":125});
															thumbnails[3669289] = clik.newPhoto({"id":3669289,"src":"Diana_12_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_3669289.html","width":130,"caption":"Diana","height":293});
															thumbnails[4368098] = clik.newPhoto({"id":4368098,"src":"20_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368098.html","width":130,"caption":"Holly","height":295});
															thumbnails[4368099] = clik.newPhoto({"id":4368099,"src":"40_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368099.html","width":130,"caption":"Holly","height":101});
															thumbnails[4368102] = clik.newPhoto({"id":4368102,"src":"55_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368102.html","width":130,"caption":"Holly and Simon","height":147});
															thumbnails[4368116] = clik.newPhoto({"id":4368116,"src":"58_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368116.html","width":130,"caption":"Holly and Simon","height":220});
															thumbnails[4368121] = clik.newPhoto({"id":4368121,"src":"61_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368121.html","width":130,"caption":"Holly and Simon","height":138});
															thumbnails[4368124] = clik.newPhoto({"id":4368124,"src":"62_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368124.html","width":130,"caption":"Holly and Simon","height":216});
															thumbnails[4368135] = clik.newPhoto({"id":4368135,"src":"64_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368135.html","width":130,"caption":"Holly and Simon","height":162});
															thumbnails[4368142] = clik.newPhoto({"id":4368142,"src":"73_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368142.html","width":130,"caption":"Holly and Simon","height":247});
															thumbnails[4368157] = clik.newPhoto({"id":4368157,"src":"82_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368157.html","width":130,"caption":"Holly and Simon","height":103});
															thumbnails[4368169] = clik.newPhoto({"id":4368169,"src":"83_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368169.html","width":130,"caption":"Holly and Simon","height":87});
															thumbnails[4368171] = clik.newPhoto({"id":4368171,"src":"86_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368171.html","width":130,"caption":"Holly and Simon","height":105});
															thumbnails[4368174] = clik.newPhoto({"id":4368174,"src":"99_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368174.html","width":130,"caption":"Holly and Simon","height":87});
															thumbnails[4368175] = clik.newPhoto({"id":4368175,"src":"103_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368175.html","width":130,"caption":"Holly and Simon","height":128});
															thumbnails[4368177] = clik.newPhoto({"id":4368177,"src":"114_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368177.html","width":130,"caption":"Holly and Simon","height":152});
															thumbnails[4368180] = clik.newPhoto({"id":4368180,"src":"118_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368180.html","width":130,"caption":"Holly and Simon","height":131});
															thumbnails[4368187] = clik.newPhoto({"id":4368187,"src":"119_Holly__Simon_wedding__thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368187.html","width":130,"caption":"Holly and Simon","height":131});
															thumbnails[4368191] = clik.newPhoto({"id":4368191,"src":"038_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368191.html","width":130,"caption":"Sharon and Robert","height":87});
															thumbnails[4368193] = clik.newPhoto({"id":4368193,"src":"042_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368193.html","width":130,"caption":"Sharon and Robert","height":144});
															thumbnails[4368196] = clik.newPhoto({"id":4368196,"src":"047_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368196.html","width":130,"caption":"Sharon and Robert","height":90});
															thumbnails[4368199] = clik.newPhoto({"id":4368199,"src":"050_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368199.html","width":130,"caption":"Sharon and Robert","height":166});
															thumbnails[4368200] = clik.newPhoto({"id":4368200,"src":"055_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368200.html","width":130,"caption":"Sharon and Robert","height":189});
															thumbnails[4368201] = clik.newPhoto({"id":4368201,"src":"062_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368201.html","width":130,"caption":"Sharon","height":195});
															thumbnails[4368203] = clik.newPhoto({"id":4368203,"src":"066_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368203.html","width":130,"caption":"Sharon and Robert","height":87});
															thumbnails[4368204] = clik.newPhoto({"id":4368204,"src":"069_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368204.html","width":130,"caption":"Sharon and Robert","height":131});
															thumbnails[4368205] = clik.newPhoto({"id":4368205,"src":"073_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368205.html","width":130,"caption":"Sharon","height":186});
															thumbnails[4368206] = clik.newPhoto({"id":4368206,"src":"077_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368206.html","width":130,"caption":"Sharon and Robert","height":137});
															thumbnails[4368208] = clik.newPhoto({"id":4368208,"src":"085_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368208.html","width":130,"caption":"Sharon","height":139});
															thumbnails[4368209] = clik.newPhoto({"id":4368209,"src":"089_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368209.html","width":130,"caption":"Sharon and Robert","height":121});
															thumbnails[4368210] = clik.newPhoto({"id":4368210,"src":"107_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368210.html","width":130,"caption":"Sharon and Robert","height":87});
															thumbnails[4368211] = clik.newPhoto({"id":4368211,"src":"111_Sharon_and_Robert_wedding_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4368211.html","width":130,"caption":"Sharon and Robert","height":100});
															thumbnails[4387598] = clik.newPhoto({"id":4387598,"src":"016_Sharon_and_Robert_wedding_A_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_4387598.html","width":130,"caption":"Sharon","height":175});
															thumbnails[4387605] = clik.newPhoto({"id":4387605,"src":"Barb_8A_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_4387605.html","width":130,"caption":"Barb","height":196});
															thumbnails[4388118] = clik.newPhoto({"id":4388118,"src":"Buster_thumb.jpg","galleries_id":89606,"server_id":15,"link":"photo_4388118.html","width":130,"caption":"Buster","height":177});
															thumbnails[4388121] = clik.newPhoto({"id":4388121,"src":"Diana_2_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_4388121.html","width":130,"caption":"Diana","height":194});
															thumbnails[4388126] = clik.newPhoto({"id":4388126,"src":"Diana_28b_pp_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_4388126.html","width":130,"caption":"Diana","height":98});
															thumbnails[4409268] = clik.newPhoto({"id":4409268,"src":"Wildlife_Park_1_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_4409268.html","width":130,"caption":"","height":77});
															thumbnails[4409271] = clik.newPhoto({"id":4409271,"src":"Wildlife_Park_2_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_4409271.html","width":130,"caption":"","height":87});
															thumbnails[4409273] = clik.newPhoto({"id":4409273,"src":"Wildlife_Park_3_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_4409273.html","width":130,"caption":"","height":149});
															thumbnails[4409309] = clik.newPhoto({"id":4409309,"src":"Barb1_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_4409309.html","width":130,"caption":"Barb","height":195});
															thumbnails[5272542] = clik.newPhoto({"id":5272542,"src":"Nicky_11a_pp_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5272542.html","width":130,"caption":"Nicky","height":172});
															thumbnails[5272548] = clik.newPhoto({"id":5272548,"src":"Nicky_23_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5272548.html","width":130,"caption":"Nicky","height":195});
															thumbnails[5272555] = clik.newPhoto({"id":5272555,"src":"16_Belinda_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5272555.html","width":130,"caption":"Belinda","height":195});
															thumbnails[5272562] = clik.newPhoto({"id":5272562,"src":"001_Charlottes_Party_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272562.html","width":130,"caption":"","height":105});
															thumbnails[5272568] = clik.newPhoto({"id":5272568,"src":"014_Charlottes_Party_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272568.html","width":130,"caption":"","height":143});
															thumbnails[5272571] = clik.newPhoto({"id":5272571,"src":"017_Charlottes_Party_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272571.html","width":130,"caption":"Charlottes 21st birthday pary","height":131});
															thumbnails[5272574] = clik.newPhoto({"id":5272574,"src":"031_Charlottes_Party_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272574.html","width":130,"caption":"Charlottes 21st birthday party","height":81});
															thumbnails[5272576] = clik.newPhoto({"id":5272576,"src":"023a_Charlottes_Party_pp_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272576.html","width":130,"caption":"","height":180});
															thumbnails[5272579] = clik.newPhoto({"id":5272579,"src":"033_Charlottes_Party_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272579.html","width":130,"caption":"Joanne & Steve ","height":195});
															thumbnails[5272582] = clik.newPhoto({"id":5272582,"src":"037_Charlottes_Party_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272582.html","width":130,"caption":"Charlotte celebrating her 21st birthday with Steve","height":178});
															thumbnails[5272584] = clik.newPhoto({"id":5272584,"src":"Emilys_Christening_67_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272584.html","width":130,"caption":"Helen, Steve & Barb ","height":87});
															thumbnails[5272588] = clik.newPhoto({"id":5272588,"src":"Emilys_Christening_68_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_5272588.html","width":130,"caption":"Nigel & Sandra ","height":87});
															thumbnails[5333583] = clik.newPhoto({"id":5333583,"src":"Monkey_Park_13a1_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_5333583.html","width":130,"caption":"","height":110});
															thumbnails[5400043] = clik.newPhoto({"id":5400043,"src":"Barb__Diana_c_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5400043.html","width":130,"caption":"Barb and Diana","height":195});
															thumbnails[5400045] = clik.newPhoto({"id":5400045,"src":"Barb_1c_pp_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5400045.html","width":130,"caption":"Barb","height":192});
															thumbnails[5400046] = clik.newPhoto({"id":5400046,"src":"Barb_2c_pp_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5400046.html","width":130,"caption":"Barb","height":183});
															thumbnails[5400058] = clik.newPhoto({"id":5400058,"src":"Barb_4c_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5400058.html","width":130,"caption":"Barb","height":262});
															thumbnails[5400062] = clik.newPhoto({"id":5400062,"src":"Barb_5c_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5400062.html","width":130,"caption":"Barb","height":162});
															thumbnails[5400068] = clik.newPhoto({"id":5400068,"src":"Diana_1c_pp_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5400068.html","width":130,"caption":"Diana","height":207});
															thumbnails[5722325] = clik.newPhoto({"id":5722325,"src":"Freddie_12xx_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5722325.html","width":130,"caption":"Freddie","height":195});
															thumbnails[5722339] = clik.newPhoto({"id":5722339,"src":"Freddie_18xx_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5722339.html","width":130,"caption":"Freddie","height":168});
															thumbnails[5722350] = clik.newPhoto({"id":5722350,"src":"Helen__Freddie_36xx_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_5722350.html","width":130,"caption":"Helen & Freddie","height":181});
															thumbnails[6300861] = clik.newPhoto({"id":6300861,"src":"Alan_An__Emily_112_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_6300861.html","width":130,"caption":"Alan, Andrea & Emily","height":151});
															thumbnails[6300886] = clik.newPhoto({"id":6300886,"src":"Andrea_19_Edited_1a_pp_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_6300886.html","width":130,"caption":"Andrea","height":144});
															thumbnails[6300892] = clik.newPhoto({"id":6300892,"src":"Emily_3_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_6300892.html","width":130,"caption":"Emily","height":140});
															thumbnails[6897190] = clik.newPhoto({"id":6897190,"src":"006_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897190.html","width":130,"caption":"Wesley ready for the big day","height":87});
															thumbnails[6897194] = clik.newPhoto({"id":6897194,"src":"014_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897194.html","width":130,"caption":"Claire getting ready for her big day","height":195});
															thumbnails[6897196] = clik.newPhoto({"id":6897196,"src":"029_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897196.html","width":130,"caption":"Claire","height":189});
															thumbnails[6897199] = clik.newPhoto({"id":6897199,"src":"033_pp_copy_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897199.html","width":130,"caption":"Claire","height":197});
															thumbnails[6897203] = clik.newPhoto({"id":6897203,"src":"042_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897203.html","width":130,"caption":"Claire with her bridesmaids","height":87});
															thumbnails[6897235] = clik.newPhoto({"id":6897235,"src":"048_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897235.html","width":130,"caption":"Claire","height":195});
															thumbnails[6897237] = clik.newPhoto({"id":6897237,"src":"103_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897237.html","width":130,"caption":"Claire & Wesley","height":195});
															thumbnails[6897241] = clik.newPhoto({"id":6897241,"src":"104_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897241.html","width":130,"caption":"Claire & Wesley","height":195});
															thumbnails[6897259] = clik.newPhoto({"id":6897259,"src":"106_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897259.html","width":130,"caption":"Claire & Wesley with Bridesmaids","height":94});
															thumbnails[6897268] = clik.newPhoto({"id":6897268,"src":"109_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897268.html","width":130,"caption":"Claire & Wesley showing their wedding rings","height":95});
															thumbnails[6897275] = clik.newPhoto({"id":6897275,"src":"166_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_6897275.html","width":130,"caption":"Claire & Wesley","height":87});
															thumbnails[6910056] = clik.newPhoto({"id":6910056,"src":"_MG_5164a_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_6910056.html","width":130,"caption":"Butterfly","height":150});
															thumbnails[6946644] = clik.newPhoto({"id":6946644,"src":"_MG_3693bjpg_print_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_6946644.html","width":130,"caption":"Hannah & Ben","height":107});
															thumbnails[7275649] = clik.newPhoto({"id":7275649,"src":"_MG_5166_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_7275649.html","width":130,"caption":"","height":109});
															thumbnails[7275654] = clik.newPhoto({"id":7275654,"src":"121_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275654.html","width":130,"caption":"","height":92});
															thumbnails[7275661] = clik.newPhoto({"id":7275661,"src":"81_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275661.html","width":130,"caption":"","height":195});
															thumbnails[7275664] = clik.newPhoto({"id":7275664,"src":"88_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275664.html","width":130,"caption":"","height":195});
															thumbnails[7275671] = clik.newPhoto({"id":7275671,"src":"107_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275671.html","width":130,"caption":"","height":159});
															thumbnails[7275673] = clik.newPhoto({"id":7275673,"src":"120_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275673.html","width":130,"caption":"","height":195});
															thumbnails[7275675] = clik.newPhoto({"id":7275675,"src":"123_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275675.html","width":130,"caption":"","height":195});
															thumbnails[7275678] = clik.newPhoto({"id":7275678,"src":"125_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275678.html","width":130,"caption":"","height":195});
															thumbnails[7275681] = clik.newPhoto({"id":7275681,"src":"132a_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275681.html","width":130,"caption":"","height":195});
															thumbnails[7275697] = clik.newPhoto({"id":7275697,"src":"137_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275697.html","width":130,"caption":"","height":87});
															thumbnails[7275700] = clik.newPhoto({"id":7275700,"src":"140_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_7275700.html","width":130,"caption":"","height":87});
															thumbnails[7979891] = clik.newPhoto({"id":7979891,"src":"_MG_5640a_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_7979891.html","width":130,"caption":"Jess","height":125});
															thumbnails[7979909] = clik.newPhoto({"id":7979909,"src":"_MG_5589_thumb.jpg","galleries_id":89606,"server_id":15,"link":"photo_7979909.html","width":130,"caption":"Jess","height":179});
															thumbnails[7980037] = clik.newPhoto({"id":7980037,"src":"_MG_5529a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_7980037.html","width":130,"caption":"Lake Vernwy","height":87});
															thumbnails[7980039] = clik.newPhoto({"id":7980039,"src":"_MG_5717_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_7980039.html","width":130,"caption":"Diana","height":195});
															thumbnails[7980048] = clik.newPhoto({"id":7980048,"src":"_MG_5700_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_7980048.html","width":130,"caption":"Diane","height":190});
															thumbnails[7980060] = clik.newPhoto({"id":7980060,"src":"_MG_57511_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_7980060.html","width":130,"caption":"Diana","height":195});
															thumbnails[8041254] = clik.newPhoto({"id":8041254,"src":"Wellesbourne_Air_Display_-_1783a_copy_thumb.jpg","galleries_id":89605,"server_id":15,"link":"photo_8041254.html","width":130,"caption":"Wellesbourne Air Display","height":86});
															thumbnails[8056019] = clik.newPhoto({"id":8056019,"src":"_MG_5790a_thumb.jpg","galleries_id":89603,"server_id":15,"link":"photo_8056019.html","width":130,"caption":"Walton Hall, Warwickshire","height":87});
															thumbnails[8672069] = clik.newPhoto({"id":8672069,"src":"Eagle2_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_8672069.html","width":130,"caption":"Eagle","height":88});
															thumbnails[8672104] = clik.newPhoto({"id":8672104,"src":"White_Tiger2_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_8672104.html","width":130,"caption":"White Tiger","height":171});
															thumbnails[8672170] = clik.newPhoto({"id":8672170,"src":"_MG_124_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_8672170.html","width":130,"caption":"Michelle","height":195});
															thumbnails[8672174] = clik.newPhoto({"id":8672174,"src":"_MG_133_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_8672174.html","width":130,"caption":"Michelle & James","height":95});
															thumbnails[8672178] = clik.newPhoto({"id":8672178,"src":"_MG_135_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_8672178.html","width":130,"caption":"Michelle & James","height":119});
															thumbnails[8672195] = clik.newPhoto({"id":8672195,"src":"_MG_141_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_8672195.html","width":130,"caption":"Michelle & James","height":142});
															thumbnails[8672225] = clik.newPhoto({"id":8672225,"src":"_MG_142_thumb.jpg","galleries_id":89604,"server_id":15,"link":"photo_8672225.html","width":130,"caption":"Michelle & James","height":191});
															thumbnails[8678236] = clik.newPhoto({"id":8678236,"src":"Eagle_2_thumb.jpg","galleries_id":89602,"server_id":15,"link":"photo_8678236.html","width":130,"caption":"Eagle","height":137});
															thumbnails[8678238] = clik.newPhoto({"id":8678238,"src":"Diana_in_Devon_thumb.jpg","galleries_id":89601,"server_id":15,"link":"photo_8678238.html","width":130,"caption":"Diana   ","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[89605] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Events","link":"gallery_89605.html","maxRecords":0.0,"photoIDs":[1277755.0,1288900.0,1288904.0,1288910.0,1288927.0,1288932.0,1288934.0,5272562.0,5272568.0,5272571.0,5272574.0,5272576.0,5272579.0,5272582.0,5272584.0,5272588.0,8041254.0],"skipIndex":0,"section_code":"gallery","featured_images":"8041254,5272588,5272584,5272582,5272579,1288934","id":89605,"singleSection":false});				  						galleries[89606] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Family Pets","link":"gallery_89606.html","maxRecords":0.0,"photoIDs":[1259619.0,1268523.0,1268532.0,4388118.0,7979909.0],"skipIndex":0,"section_code":"gallery","featured_images":7979909.0,"id":89606,"singleSection":false});				  						galleries[89603] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscape","link":"gallery_89603.html","maxRecords":0.0,"photoIDs":[1269780.0,1269840.0,1269941.0,1269947.0,1269948.0,1269949.0,1269952.0,1270233.0,1270318.0,1270345.0,1270405.0,1270408.0,1270414.0,1270417.0,1270421.0,1658886.0,1659532.0,1774369.0,7980037.0,8056019.0],"skipIndex":0,"section_code":"gallery","featured_images":"8056019,7980037","id":89603,"singleSection":false});				  						galleries[89601] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portrait & Modelling","link":"gallery_89601.html","maxRecords":0.0,"photoIDs":[1259505.0,1259509.0,1259513.0,1259579.0,1259614.0,1268436.0,1277744.0,1277752.0,1282988.0,1373379.0,1437891.0,1658830.0,1869893.0,2099925.0,2385954.0,2385956.0,2385959.0,3586954.0,3669289.0,4387605.0,4388121.0,4388126.0,4409309.0,5272542.0,5272548.0,5272555.0,5400043.0,5400045.0,5400046.0,5400058.0,5400062.0,5400068.0,5722325.0,5722339.0,5722350.0,6300861.0,6300886.0,6300892.0,6946644.0,7979891.0,7980039.0,7980048.0,7980060.0,8678238.0],"skipIndex":0,"section_code":"gallery","featured_images":"7980060,7980048,7980039,7979891,6946644,6300892,6300886,6300861,5722350,5722339,5722325,5400068,5400062,5400058,5400046,5400045,5400043,4409309,4388126,4388121,3586954,1373379,1259579","id":89601,"singleSection":false});				  						galleries[89604] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings","link":"gallery_89604.html","maxRecords":0.0,"photoIDs":[1380201.0,1380203.0,1380204.0,1380207.0,1380210.0,1380211.0,1380215.0,1380220.0,1380225.0,1380232.0,1380235.0,1380236.0,1380237.0,1380239.0,1380241.0,1380242.0,1380243.0,1380244.0,1380246.0,1380247.0,1380249.0,1380250.0,1380251.0,1380252.0,1380255.0,1380256.0,1658829.0,3586911.0,3586922.0,3586923.0,3586925.0,3586930.0,3586935.0,3586937.0,3586939.0,3586943.0,3586945.0,3586948.0,3586951.0,4368098.0,4368099.0,4368102.0,4368116.0,4368121.0,4368124.0,4368135.0,4368142.0,4368157.0,4368169.0,4368171.0,4368174.0,4368175.0,4368177.0,4368180.0,4368187.0,4368191.0,4368193.0,4368196.0,4368199.0,4368200.0,4368201.0,4368203.0,4368204.0,4368205.0,4368206.0,4368208.0,4368209.0,4368210.0,4368211.0,4387598.0,6897190.0,6897194.0,6897196.0,6897199.0,6897203.0,6897235.0,6897237.0,6897241.0,6897259.0,6897268.0,6897275.0,7275654.0,7275661.0,7275664.0,7275671.0,7275673.0,7275675.0,7275678.0,7275681.0,7275697.0,7275700.0,8672170.0,8672174.0,8672178.0,8672195.0,8672225.0],"skipIndex":0,"section_code":"gallery","featured_images":"7275700,7275697,7275681,7275678,7275675,7275673,7275671,7275664,7275661,7275654,6897275,6897268,6897259,6897241,6897237,6897235,6897203,6897199,6897196,6897194,6897190,4368211,4368201,4368200,4368199,4368180,4368177,4368124,4368102,3586943,1658829,1380251,1380244,1380241,1380239,1380235,1380204","id":89604,"singleSection":false});				  						galleries[89602] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wildlife & Nature","link":"gallery_89602.html","maxRecords":0.0,"photoIDs":[1278840.0,1278842.0,1278843.0,1278844.0,1278870.0,1278890.0,1659536.0,1659538.0,4409268.0,4409271.0,4409273.0,5333583.0,6910056.0,7275649.0,8672069.0,8672104.0,8678236.0],"skipIndex":0,"section_code":"gallery","featured_images":"7275649,6910056,5333583","id":89602,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8678238,8672225,8672195,8672174,8672170,7980060,7980048,7980039,7980037,7979909,7979891,7353165,7275697,7275681,7275678,7275675,7275673,7275671,7275664,7275661,7275654,6897275,6897268,6897259,6897241,6897199,6300892,6300886,6300861,5722350,5722339,5400068,5400062,5400058,5400046,5400045,5400043,4409309,4388126,4388121,4368211,4368201,4368200,4368199,4368180,4368177,4368124,4368102,3586954,3586943,1658829,1380251,1380244,1380241,1380239,1380235,1380204,1373379,1288934,1259579';
imageSets[2] = '8056019,8041254,7980060,7980048,7980039,7980037,7979909,7979891,7353165,7275700,7275697,7275681,7275678,7275675,7275673,7275671,7275664,7275661,7275654,7275649,6946644,6910056,6897275,6897268,6897259,6897241,6897237,6897235,6897203,6897199,6897196,6897194,6897190,6300892,6300886,6300861,5722350,5722339,5722325,5400068,5400062,5400058,5400046,5400045,5400043,5333583,5272588,5272584,5272582,5272579,4409309,4388126,4388121,4368211,4368201,4368200,4368199,4368180,4368177,4368124,4368102,3586954,3586943,1658829,1380251,1380244,1380241,1380239,1380235,1380204,1373379,1288934,1259579';
imageSets[3] = '8056019,6897268';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Richardkyte/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/Richardkyte/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 = 'Richard Kyte Photography: ' + 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;
	}
}

			

