window.thumbnails = {};
															thumbnails[5424865] = clik.newPhoto({"id":5424865,"src":"img004_webimage_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Finding Holy Trinity","height":183});
															thumbnails[5414984] = clik.newPhoto({"id":5414984,"src":"DSC_0036_035_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5414984.html","width":130,"caption":"Holy Trinity Mavili Street","height":87});
															thumbnails[5590863] = clik.newPhoto({"id":5590863,"src":"DSC_0040_039_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5590863.html","width":130,"caption":"Christmas Fair, 2009","height":87});
															thumbnails[5591107] = clik.newPhoto({"id":5591107,"src":"DSC_0044_043_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5591107.html","width":130,"caption":"Christmas Fair, 2009 ","height":87});
															thumbnails[5591113] = clik.newPhoto({"id":5591113,"src":"DSC_0045_044_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5591113.html","width":130,"caption":"Christmas Fair, 2009","height":196});
															thumbnails[5591146] = clik.newPhoto({"id":5591146,"src":"DSC_0046_045_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5591146.html","width":130,"caption":"Christmas Fair 2009","height":87});
															thumbnails[5591171] = clik.newPhoto({"id":5591171,"src":"DSC_0055_054_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5591171.html","width":130,"caption":"Christmas Fair, 2009","height":196});
															thumbnails[5591176] = clik.newPhoto({"id":5591176,"src":"DSC_0057_056_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5591176.html","width":130,"caption":"Christmas fair, 2009","height":196});
															thumbnails[5591178] = clik.newPhoto({"id":5591178,"src":"DSC_0061_060_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5591178.html","width":130,"caption":"Christmas Fair, 2009","height":87});
															thumbnails[5436280] = clik.newPhoto({"id":5436280,"src":"DSC_0010_009_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5436280.html","width":130,"caption":"Learning Greek Dancing at HTC","height":196});
															thumbnails[5436285] = clik.newPhoto({"id":5436285,"src":"DSC_0011_010_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5436285.html","width":130,"caption":"Learning Greek Dancing at HTC","height":196});
															thumbnails[5437049] = clik.newPhoto({"id":5437049,"src":"DSC_0012_011_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5437049.html","width":130,"caption":"Learning Greek Dancing at HTC","height":196});
															thumbnails[5437090] = clik.newPhoto({"id":5437090,"src":"DSC_0015_014_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5437090.html","width":130,"caption":"Learning Greek Dancing at HTC","height":87});
															thumbnails[5762918] = clik.newPhoto({"id":5762918,"src":"DSC_0026_025_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762918.html","width":130,"caption":"Passover Seder table","height":87});
															thumbnails[5762920] = clik.newPhoto({"id":5762920,"src":"DSC_0027_026_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762920.html","width":130,"caption":"Passover Seder at Holy Trinity","height":87});
															thumbnails[5762921] = clik.newPhoto({"id":5762921,"src":"DSC_0028_027_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762921.html","width":130,"caption":"Passover Seder at Holy Trinity","height":87});
															thumbnails[5762922] = clik.newPhoto({"id":5762922,"src":"DSC_0029_028_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762922.html","width":130,"caption":"Passover Seder at Holy Trinity","height":87});
															thumbnails[5762924] = clik.newPhoto({"id":5762924,"src":"DSC_0030_029_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762924.html","width":130,"caption":"Passover Seder at Holy Trinity","height":87});
															thumbnails[5762926] = clik.newPhoto({"id":5762926,"src":"DSC_0031_030_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762926.html","width":130,"caption":"Passover Seder at Holy Trinity","height":87});
															thumbnails[5762930] = clik.newPhoto({"id":5762930,"src":"DSC_0036_035_D82B4225-1EC9-D45B-1CAA8585500A6B5B_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762930.html","width":130,"caption":"Passover Seder at Holy Trinity ","height":87});
															thumbnails[5762932] = clik.newPhoto({"id":5762932,"src":"DSC_0061_060_D82C769D-1EC9-D45B-1CA96D867A3CA084_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762932.html","width":130,"caption":"Easter Saturday Procession, Corfu town","height":87});
															thumbnails[5762933] = clik.newPhoto({"id":5762933,"src":"Easter_Saturday_Procession_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5762933.html","width":130,"caption":"Easter Saturday Procession, Corfu town","height":85});
															thumbnails[5764269] = clik.newPhoto({"id":5764269,"src":"DSC_0105_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5764269.html","width":130,"caption":"Silk hangings for Easter","height":196});
															thumbnails[5764289] = clik.newPhoto({"id":5764289,"src":"DSC_0106_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5764289.html","width":130,"caption":"Silk hangings for Easter","height":196});
															thumbnails[5764291] = clik.newPhoto({"id":5764291,"src":"DSC_0107_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_5764291.html","width":130,"caption":"Silk hangings for Easter","height":196});
															thumbnails[6177249] = clik.newPhoto({"id":6177249,"src":"DSC_0020_019_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177249.html","width":130,"caption":"'Mums & Tots' Cofffee Morning","height":196});
															thumbnails[6177253] = clik.newPhoto({"id":6177253,"src":"DSC_0022_021_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177253.html","width":130,"caption":"'Mums & Tots' Coffee Morning","height":196});
															thumbnails[6177257] = clik.newPhoto({"id":6177257,"src":"DSC_0023_022_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177257.html","width":130,"caption":"'Mums & Tots' Coffee Morning","height":196});
															thumbnails[6177259] = clik.newPhoto({"id":6177259,"src":"DSC_0027_026_49F32B50-1D09-001F-995A10365354E576_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177259.html","width":130,"caption":"'Mums & Tots' Coffee Morning","height":196});
															thumbnails[6177268] = clik.newPhoto({"id":6177268,"src":"DSC_0071_070_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177268.html","width":130,"caption":"Marriage Blessing, Lefkada, June 2010","height":87});
															thumbnails[6177274] = clik.newPhoto({"id":6177274,"src":"DSC_0077_076_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177274.html","width":130,"caption":"Marriage Blessing, Lefkada, June 2010","height":87});
															thumbnails[6177275] = clik.newPhoto({"id":6177275,"src":"DSC_0079_078_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177275.html","width":130,"caption":"Marriage Blessing, Lefkada, June 2010","height":87});
															thumbnails[6177276] = clik.newPhoto({"id":6177276,"src":"DSC_0083_082_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177276.html","width":130,"caption":"Marriage Blessing, Lefkada, June 2010","height":196});
															thumbnails[6177277] = clik.newPhoto({"id":6177277,"src":"DSC_0084_083_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177277.html","width":130,"caption":"Marriage Blessing, Lefkada, June 2010","height":87});
															thumbnails[6177278] = clik.newPhoto({"id":6177278,"src":"DSC_0097_096_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177278.html","width":130,"caption":"Summer Fair, June, 2010","height":196});
															thumbnails[6177280] = clik.newPhoto({"id":6177280,"src":"DSC_0099_098_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177280.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177281] = clik.newPhoto({"id":6177281,"src":"DSC_0100_099_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177281.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177283] = clik.newPhoto({"id":6177283,"src":"DSC_0102_101_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177283.html","width":130,"caption":"Summer Fair, June 2010","height":87});
															thumbnails[6177284] = clik.newPhoto({"id":6177284,"src":"DSC_0110_109_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177284.html","width":130,"caption":"Summer Fair, June 2010","height":87});
															thumbnails[6177285] = clik.newPhoto({"id":6177285,"src":"DSC_0117_116_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177285.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177286] = clik.newPhoto({"id":6177286,"src":"DSC_0119_118_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177286.html","width":130,"caption":"Summer Fair, June 2010","height":87});
															thumbnails[6177287] = clik.newPhoto({"id":6177287,"src":"DSC_0129_128_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177287.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177299] = clik.newPhoto({"id":6177299,"src":"DSC_0134_133_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177299.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177300] = clik.newPhoto({"id":6177300,"src":"DSC_0138_137_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177300.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177302] = clik.newPhoto({"id":6177302,"src":"DSC_0158_157_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177302.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6177303] = clik.newPhoto({"id":6177303,"src":"DSC_0159_158_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6177303.html","width":130,"caption":"Summer Fair, June 2010","height":196});
															thumbnails[6517048] = clik.newPhoto({"id":6517048,"src":"gliki_july_2010_015_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517048.html","width":130,"caption":"Gliki July 2010","height":98});
															thumbnails[6517059] = clik.newPhoto({"id":6517059,"src":"gliki_july_2010_020_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517059.html","width":130,"caption":"Gliki July 2010","height":98});
															thumbnails[6517492] = clik.newPhoto({"id":6517492,"src":"gliki_july_2010_031_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517492.html","width":130,"caption":"Gliki expedition, July 2010","height":98});
															thumbnails[6517620] = clik.newPhoto({"id":6517620,"src":"gliki_july_2010_040_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517620.html","width":130,"caption":"Gliki expedition, July 2010","height":98});
															thumbnails[6517747] = clik.newPhoto({"id":6517747,"src":"gliki_july_2010_041_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517747.html","width":130,"caption":"Gliki expedition, July 2010","height":98});
															thumbnails[6517827] = clik.newPhoto({"id":6517827,"src":"gliki_july_2010_057_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517827.html","width":130,"caption":"Gorge walking in Gliki, July 2010","height":98});
															thumbnails[6517831] = clik.newPhoto({"id":6517831,"src":"gliki_july_2010_077_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517831.html","width":130,"caption":"Gorge walking in Gliki, July 2010","height":98});
															thumbnails[6517834] = clik.newPhoto({"id":6517834,"src":"gliki_july_2010_0671_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517834.html","width":130,"caption":"Gorge walking in Gliki, July 2010","height":98});
															thumbnails[6517849] = clik.newPhoto({"id":6517849,"src":"gliki_july_2010_093_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517849.html","width":130,"caption":"Kayaking in Gliki, July 2010","height":98});
															thumbnails[6517856] = clik.newPhoto({"id":6517856,"src":"gliki_july_2010_094_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517856.html","width":130,"caption":"Kayaking in Gliki, July 2010","height":98});
															thumbnails[6517861] = clik.newPhoto({"id":6517861,"src":"gliki_july_2010_101_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517861.html","width":130,"caption":"Kayaking in Gliki, July 2010","height":98});
															thumbnails[6517864] = clik.newPhoto({"id":6517864,"src":"gliki_july_2010_102_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517864.html","width":130,"caption":"Kayaking in Gliki, July 2010","height":98});
															thumbnails[6517869] = clik.newPhoto({"id":6517869,"src":"gliki_july_2010_104_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517869.html","width":130,"caption":"Gliki explorers, July 2010","height":98});
															thumbnails[6517871] = clik.newPhoto({"id":6517871,"src":"gliki_july_2010_119_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517871.html","width":130,"caption":"Preparing to kayak at Gliki, July 2010","height":98});
															thumbnails[6517876] = clik.newPhoto({"id":6517876,"src":"gliki_july_2010_123_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_6517876.html","width":130,"caption":"Kayaking at Gliki, July 2010","height":98});
															thumbnails[7056639] = clik.newPhoto({"id":7056639,"src":"DSC_0045_-_Copy_002_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7056639.html","width":130,"caption":"BBQ Boat Trip - All aboard the 'Madelena'","height":87});
															thumbnails[7056645] = clik.newPhoto({"id":7056645,"src":"DSC_0052_-_Copy_009_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7056645.html","width":130,"caption":"BBQ Boat Trip - Sailing up the east coast","height":87});
															thumbnails[7056652] = clik.newPhoto({"id":7056652,"src":"DSC_0053_-_Copy_010_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7056652.html","width":130,"caption":"BBQ Boat Trip - The crew sunbathing","height":196});
															thumbnails[7056901] = clik.newPhoto({"id":7056901,"src":"DSC_0054_-_Copy_011_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7056901.html","width":130,"caption":"BBQ Boat Trip - Cooking in the sun, September 2010","height":196});
															thumbnails[7057011] = clik.newPhoto({"id":7057011,"src":"DSC_0056_-_Copy_0131_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057011.html","width":130,"caption":"BBQ Boat Trip - Cooling cocktails, September 2010","height":196});
															thumbnails[7057021] = clik.newPhoto({"id":7057021,"src":"DSC_0059_-_Copy_016_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057021.html","width":130,"caption":"BBQ Boat Trip, on the beach at Avlaki, September 2010","height":87});
															thumbnails[7057039] = clik.newPhoto({"id":7057039,"src":"DSC_0061_-_Copy_018_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057039.html","width":130,"caption":"BBQ Boat Trip, on the beach at Avlaki, September 2010","height":87});
															thumbnails[7057060] = clik.newPhoto({"id":7057060,"src":"DSC_0063_-_Copy_020_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057060.html","width":130,"caption":"BBQ Boat Trip, Fun in the sun, September 2010","height":196});
															thumbnails[7057072] = clik.newPhoto({"id":7057072,"src":"DSC_0070_-_Copy_027_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057072.html","width":130,"caption":"BBQ Boat Trip, having a laugh, September 2010","height":87});
															thumbnails[7057084] = clik.newPhoto({"id":7057084,"src":"DSC_0074_-_Copy_031_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057084.html","width":130,"caption":"BBQ Boat Trip, riding the banana, September 2010","height":87});
															thumbnails[7057089] = clik.newPhoto({"id":7057089,"src":"DSC_0078_-_Copy_035_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7057089.html","width":130,"caption":"BBQ Boat Trip, riding the banana","height":87});
															thumbnails[7062828] = clik.newPhoto({"id":7062828,"src":"DSC_0051_000_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7062828.html","width":130,"caption":"'Garden Party', November 2010, Borgonvillia here I come","height":196});
															thumbnails[7062843] = clik.newPhoto({"id":7062843,"src":"DSC_0052_0011_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7062843.html","width":130,"caption":"'Garden Party', November 2010, Tough remedies","height":196});
															thumbnails[7062907] = clik.newPhoto({"id":7062907,"src":"DSC_0054_003_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7062907.html","width":130,"caption":"'Garden Party', November 2010, A warden on her knees","height":196});
															thumbnails[7062909] = clik.newPhoto({"id":7062909,"src":"DSC_0056_005_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7062909.html","width":130,"caption":"'Garden Party', November 2010, A warden with her hands dirty","height":196});
															thumbnails[7063063] = clik.newPhoto({"id":7063063,"src":"DSC_0057_006_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063063.html","width":130,"caption":"'Garden Party', November 2010, This looks tasty","height":196});
															thumbnails[7063156] = clik.newPhoto({"id":7063156,"src":"DSC_0061_010_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063156.html","width":130,"caption":"'Garden Party', November 2010, What happened to those rare orchids?","height":196});
															thumbnails[7063188] = clik.newPhoto({"id":7063188,"src":"DSC_0064_013_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063188.html","width":130,"caption":"'Garden Party', November 2010, I've never had so much fun","height":196});
															thumbnails[7063206] = clik.newPhoto({"id":7063206,"src":"DSC_0066_015_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063206.html","width":130,"caption":"'Garden Party', November 2010, There go all the rare plants!","height":196});
															thumbnails[7063237] = clik.newPhoto({"id":7063237,"src":"DSC_0071_020_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063237.html","width":130,"caption":"'Garden Party', November 2010, Management overseeing the workers!","height":87});
															thumbnails[7063279] = clik.newPhoto({"id":7063279,"src":"DSC_0072_021_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063279.html","width":130,"caption":"'Garden Party', November 2010, Oh dear! What made us take that down?","height":196});
															thumbnails[7063325] = clik.newPhoto({"id":7063325,"src":"DSC_0073_022_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063325.html","width":130,"caption":"'Garden Party', November 2010, The demolition team take a rest","height":87});
															thumbnails[7063349] = clik.newPhoto({"id":7063349,"src":"DSC_0077_026_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063349.html","width":130,"caption":"'Garden Party', November 2010, We'll have this wall down in no time!","height":196});
															thumbnails[7063362] = clik.newPhoto({"id":7063362,"src":"DSC_0085_034_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063362.html","width":130,"caption":"'Garden Party', November 2010, China tea & cucumber sandwiches","height":196});
															thumbnails[7063384] = clik.newPhoto({"id":7063384,"src":"DSC_0087_036_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063384.html","width":130,"caption":"'Garden Party', November 2010, A well earned break","height":196});
															thumbnails[7063386] = clik.newPhoto({"id":7063386,"src":"DSC_0090_039_thumb.jpg","galleries_id":305255,"server_id":5,"link":"photo_7063386.html","width":130,"caption":"'Garden Party', November 2010, Job well done!","height":196});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[305255] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Moments in the life of Holy Trinity","link":"gallery.html","maxRecords":0.0,"photoIDs":[5414984.0,5590863.0,5591107.0,5591113.0,5591146.0,5591171.0,5591176.0,5591178.0,5436280.0,5436285.0,5437049.0,5437090.0,5762918.0,5762920.0,5762921.0,5762922.0,5762924.0,5762926.0,5762930.0,5762932.0,5762933.0,5764269.0,5764289.0,5764291.0,6177249.0,6177253.0,6177257.0,6177259.0,6177268.0,6177274.0,6177275.0,6177276.0,6177277.0,6177278.0,6177280.0,6177281.0,6177283.0,6177284.0,6177285.0,6177286.0,6177287.0,6177299.0,6177300.0,6177302.0,6177303.0,6517048.0,6517059.0,6517492.0,6517620.0,6517747.0,6517827.0,6517831.0,6517834.0,6517849.0,6517856.0,6517861.0,6517864.0,6517869.0,6517871.0,6517876.0,7056639.0,7056645.0,7056652.0,7056901.0,7057011.0,7057021.0,7057039.0,7057060.0,7057072.0,7057084.0,7057089.0,7062828.0,7062843.0,7062907.0,7062909.0,7063063.0,7063156.0,7063188.0,7063206.0,7063237.0,7063279.0,7063325.0,7063349.0,7063362.0,7063384.0,7063386.0],"skipIndex":0,"section_code":"gallery","featured_images":"7063386,7063384,7063362,7063349,7063325,7063279,7063237,7063206,7063188,7063156,7063063,7062909,7062907,7062843,7062828,7057089,7057084,7057072,7057039,7057021,7056901,7056652,7056645,7056639,5437090,5437049","id":305255,"singleSection":true});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5414984';
imageSets[2] = '5437049,5437090,7056639,7056645,7056652,7056901,7057021,7057039,7057072,7057084,7057089,7062828,7062843,7062907,7062909,7063063,7063156,7063188,7063206,7063237,7063279,7063325,7063349,7063362,7063384,7063386';
imageSets[3] = '7063386,7063384,7063362,7063349,7063325,7063279,7063237,7063206,7063188,7063156,7063063,7062909,7062907,7062843,7062828,7057089,7057084,7057072,7057060,7057039,7057021,7057011,7056901,7056652,7056645,7056639,6517876,6517871,6517869,6517864,6517861,6517856,6517849,6517834,6517831,6517827,6517747,6517620,6517492,6517059,6517048,6177303,6177302,6177300,6177299,6177287,6177286,6177285,6177284,6177283';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/htccorfu/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/htccorfu/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += '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 = 'Holy Trinity Anglican Church Corfu Greece: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

