window.thumbnails = {};
															thumbnails[4933005] = clik.newPhoto({"id":4933005,"src":"Gannets_b_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Gannets - Colour Print of the Year 09-10","height":125});
															thumbnails[8863668] = clik.newPhoto({"id":8863668,"src":"Waiting_for_the_train_to_come_in_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863668.html","width":130,"caption":"Waiting for the train to come in (Peggy Lee) ADVANCED - 1st","height":93});
															thumbnails[8863842] = clik.newPhoto({"id":8863842,"src":"1_CA8D1CFB-1EC9-D45B-1C432D72EE303BC7_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863842.html","width":130,"caption":"","height":173});
															thumbnails[8863670] = clik.newPhoto({"id":8863670,"src":"and_this_is_my_glen_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863670.html","width":130,"caption":"\"...and this is my glen\" ADAVANCED 2ND","height":36});
															thumbnails[8863844] = clik.newPhoto({"id":8863844,"src":"2_CA93C80E-1EC9-D45B-1C907ACA69E063D7_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863844.html","width":130,"caption":"","height":173});
															thumbnails[8863700] = clik.newPhoto({"id":8863700,"src":"Shine_on_Harvest_Moon_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863700.html","width":130,"caption":"Shine on Harvest Moon ADVANCED 3RD","height":92});
															thumbnails[8863846] = clik.newPhoto({"id":8863846,"src":"3_CA9A7AD1-1EC9-D45B-1C1EC290C53EE5C8_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863846.html","width":130,"caption":"","height":98});
															thumbnails[8863735] = clik.newPhoto({"id":8863735,"src":"Were_riding_along_on_the_crest_of_a_wave_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863735.html","width":130,"caption":"We're Riding Along on the Crest of a Wave INTERMEDIATE 1ST","height":93});
															thumbnails[8863848] = clik.newPhoto({"id":8863848,"src":"4_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863848.html","width":130,"caption":"","height":98});
															thumbnails[8863743] = clik.newPhoto({"id":8863743,"src":"Love_is_like_a_butterfly_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863743.html","width":130,"caption":"Love is Like a Butterfly INTERMEDIATE 2ND","height":92});
															thumbnails[8863889] = clik.newPhoto({"id":8863889,"src":"5_CAA89413-1EC9-D45B-1CEA5B165BA69D05_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863889.html","width":130,"caption":"","height":173});
															thumbnails[8863751] = clik.newPhoto({"id":8863751,"src":"Lily_the_pink_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863751.html","width":130,"caption":"Lily the Pink INTERMEDIATE 3RD","height":182});
															thumbnails[8863903] = clik.newPhoto({"id":8863903,"src":"6_CAAF786C-1EC9-D45B-1C3D37B28608455D_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863903.html","width":130,"caption":"","height":173});
															thumbnails[8863772] = clik.newPhoto({"id":8863772,"src":"Walking_back_to_Happiness_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863772.html","width":130,"caption":"Walking Back to Happiness BEGINNERS 1ST","height":73});
															thumbnails[8863905] = clik.newPhoto({"id":8863905,"src":"7_CAB85C6E-1EC9-D45B-1C63128DFCF96427_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863905.html","width":130,"caption":"","height":173});
															thumbnails[8863792] = clik.newPhoto({"id":8863792,"src":"Mud_mud_glorious_mud_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863792.html","width":130,"caption":"Mud, Mud, Glorious Mud (Flanders & Swann) BEGINNERS 2ND","height":87});
															thumbnails[8863907] = clik.newPhoto({"id":8863907,"src":"8_CABDBA22-1EC9-D45B-1C892BF1BEC3C739_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863907.html","width":130,"caption":"","height":173});
															thumbnails[8863797] = clik.newPhoto({"id":8863797,"src":"Me_and_my_shadow_thumb.jpg","galleries_id":464580,"server_id":15,"link":"photo_8863797.html","width":130,"caption":"Me and My Shadow BEGINNERS 3RD","height":109});
															thumbnails[8863909] = clik.newPhoto({"id":8863909,"src":"9_CAC335E7-1EC9-D45B-1C0D6FF97874EE88_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863909.html","width":130,"caption":"","height":98});
															thumbnails[8735324] = clik.newPhoto({"id":8735324,"src":"Roe_buck_in_velvet_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735324.html","width":130,"caption":"Roe Buck in Velvet - ADVANCED 1ST","height":125});
															thumbnails[8863912] = clik.newPhoto({"id":8863912,"src":"10_CAC8E0F8-1EC9-D45B-1CF1C740125AF668_thumb.jpg","galleries_id":464581,"server_id":15,"link":"photo_8863912.html","width":130,"caption":"","height":173});
															thumbnails[8735391] = clik.newPhoto({"id":8735391,"src":"Mr_and_Mrs_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735391.html","width":130,"caption":"Mr & Mrs - ADVANCED 2ND=","height":112});
															thumbnails[8735397] = clik.newPhoto({"id":8735397,"src":"Having_fun_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735397.html","width":130,"caption":"Having Fun - ADVANCED 2ND=","height":92});
															thumbnails[8735402] = clik.newPhoto({"id":8735402,"src":"Mare_and_foal_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735402.html","width":130,"caption":"Mare and Foal - ADVANCED 2ND=","height":87});
															thumbnails[8735408] = clik.newPhoto({"id":8735408,"src":"Meerkat_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735408.html","width":130,"caption":"Meerkat - ADVANCED 2ND=","height":181});
															thumbnails[8735414] = clik.newPhoto({"id":8735414,"src":"Pups_behaving_like_animals_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735414.html","width":130,"caption":"Pups Behaving Like Animals - INTERMEDIATE 1ST","height":130});
															thumbnails[8735420] = clik.newPhoto({"id":8735420,"src":"Tight_squeeze_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735420.html","width":130,"caption":"Tight Squeeze - INTERMEDIATE 2ND","height":182});
															thumbnails[8735422] = clik.newPhoto({"id":8735422,"src":"Thats_my_boy_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735422.html","width":130,"caption":"That's My Boy - INTERMEDIATE 3RD","height":139});
															thumbnails[8735428] = clik.newPhoto({"id":8735428,"src":"Dogs_day_out_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735428.html","width":130,"caption":"Dogs' Day Out - BEGINNER 1ST","height":88});
															thumbnails[8735435] = clik.newPhoto({"id":8735435,"src":"Hi_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735435.html","width":130,"caption":"Hi! - BEGINNER 2ND","height":107});
															thumbnails[8735437] = clik.newPhoto({"id":8735437,"src":"Who_Are_You_Looking_At_thumb.jpg","galleries_id":460304,"server_id":15,"link":"photo_8735437.html","width":130,"caption":"Who Are You Looking At? - BEGINNER 3RD","height":104});
															thumbnails[8426431] = clik.newPhoto({"id":8426431,"src":"1_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426431.html","width":130,"caption":"","height":107});
															thumbnails[8426605] = clik.newPhoto({"id":8426605,"src":"0112_thumb.jpg","galleries_id":381198,"server_id":15,"link":"photo_8426605.html","width":130,"caption":"","height":51});
															thumbnails[8426637] = clik.newPhoto({"id":8426637,"src":"0009a_thumb.jpg","galleries_id":381201,"server_id":15,"link":"photo_8426637.html","width":130,"caption":"","height":93});
															thumbnails[8426693] = clik.newPhoto({"id":8426693,"src":"13_thumb.jpg","galleries_id":381197,"server_id":15,"link":"photo_8426693.html","width":130,"caption":"","height":87});
															thumbnails[8427117] = clik.newPhoto({"id":8427117,"src":"10_3F69FA22-1E4F-37DC-719AC96733525544_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427117.html","width":130,"caption":"","height":174});
															thumbnails[8426432] = clik.newPhoto({"id":8426432,"src":"2_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426432.html","width":130,"caption":"","height":95});
															thumbnails[8426624] = clik.newPhoto({"id":8426624,"src":"0051_thumb.jpg","galleries_id":381198,"server_id":15,"link":"photo_8426624.html","width":130,"caption":"","height":87});
															thumbnails[8426639] = clik.newPhoto({"id":8426639,"src":"0065a_thumb.JPG","galleries_id":381201,"server_id":15,"link":"photo_8426639.html","width":130,"caption":"","height":93});
															thumbnails[8426694] = clik.newPhoto({"id":8426694,"src":"121_thumb.jpg","galleries_id":381197,"server_id":15,"link":"photo_8426694.html","width":130,"caption":"","height":104});
															thumbnails[8427121] = clik.newPhoto({"id":8427121,"src":"111_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427121.html","width":130,"caption":"","height":99});
															thumbnails[8426433] = clik.newPhoto({"id":8426433,"src":"3_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426433.html","width":130,"caption":"","height":96});
															thumbnails[8426531] = clik.newPhoto({"id":8426531,"src":"009_thumb.jpg","galleries_id":381198,"server_id":15,"link":"photo_8426531.html","width":130,"caption":"","height":190});
															thumbnails[8426640] = clik.newPhoto({"id":8426640,"src":"0070a_thumb.jpg","galleries_id":381201,"server_id":15,"link":"photo_8426640.html","width":130,"caption":"","height":93});
															thumbnails[8426695] = clik.newPhoto({"id":8426695,"src":"21_thumb.jpg","galleries_id":381197,"server_id":15,"link":"photo_8426695.html","width":130,"caption":"","height":87});
															thumbnails[8427271] = clik.newPhoto({"id":8427271,"src":"0303_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427271.html","width":130,"caption":"","height":87});
															thumbnails[8426571] = clik.newPhoto({"id":8426571,"src":"003_thumb.jpg","galleries_id":381198,"server_id":15,"link":"photo_8426571.html","width":130,"caption":"","height":164});
															thumbnails[8426643] = clik.newPhoto({"id":8426643,"src":"0080a_thumb.jpg","galleries_id":381201,"server_id":15,"link":"photo_8426643.html","width":130,"caption":"","height":93});
															thumbnails[8426699] = clik.newPhoto({"id":8426699,"src":"71_thumb.jpg","galleries_id":381197,"server_id":15,"link":"photo_8426699.html","width":130,"caption":"","height":87});
															thumbnails[8427275] = clik.newPhoto({"id":8427275,"src":"0304_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427275.html","width":130,"caption":"","height":87});
															thumbnails[8426488] = clik.newPhoto({"id":8426488,"src":"5_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426488.html","width":130,"caption":"","height":98});
															thumbnails[8426593] = clik.newPhoto({"id":8426593,"src":"0081_thumb.jpg","galleries_id":381198,"server_id":15,"link":"photo_8426593.html","width":130,"caption":"","height":81});
															thumbnails[8426645] = clik.newPhoto({"id":8426645,"src":"0081a_thumb.JPG","galleries_id":381201,"server_id":15,"link":"photo_8426645.html","width":130,"caption":"","height":93});
															thumbnails[8426700] = clik.newPhoto({"id":8426700,"src":"81_thumb.jpg","galleries_id":381197,"server_id":15,"link":"photo_8426700.html","width":130,"caption":"","height":61});
															thumbnails[8427277] = clik.newPhoto({"id":8427277,"src":"0307_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427277.html","width":130,"caption":"","height":87});
															thumbnails[8426493] = clik.newPhoto({"id":8426493,"src":"6_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426493.html","width":130,"caption":"","height":167});
															thumbnails[8426573] = clik.newPhoto({"id":8426573,"src":"002_thumb.jpg","galleries_id":381198,"server_id":15,"link":"photo_8426573.html","width":130,"caption":"","height":121});
															thumbnails[8426646] = clik.newPhoto({"id":8426646,"src":"0115a_thumb.jpg","galleries_id":381201,"server_id":15,"link":"photo_8426646.html","width":130,"caption":"","height":93});
															thumbnails[8426702] = clik.newPhoto({"id":8426702,"src":"51_thumb.jpg","galleries_id":381197,"server_id":15,"link":"photo_8426702.html","width":130,"caption":"","height":87});
															thumbnails[8427279] = clik.newPhoto({"id":8427279,"src":"0308_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427279.html","width":130,"caption":"","height":87});
															thumbnails[8426494] = clik.newPhoto({"id":8426494,"src":"7_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426494.html","width":130,"caption":"","height":98});
															thumbnails[8427282] = clik.newPhoto({"id":8427282,"src":"0310_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427282.html","width":130,"caption":"","height":195});
															thumbnails[8426495] = clik.newPhoto({"id":8426495,"src":"8_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426495.html","width":130,"caption":"","height":117});
															thumbnails[8427284] = clik.newPhoto({"id":8427284,"src":"0904_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427284.html","width":130,"caption":"","height":87});
															thumbnails[8426497] = clik.newPhoto({"id":8426497,"src":"9_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426497.html","width":130,"caption":"","height":98});
															thumbnails[8427290] = clik.newPhoto({"id":8427290,"src":"0905_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427290.html","width":130,"caption":"","height":195});
															thumbnails[8426499] = clik.newPhoto({"id":8426499,"src":"10_3F089B8A-1E4F-37DC-71064C5714EBC12C_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426499.html","width":130,"caption":"","height":101});
															thumbnails[8427299] = clik.newPhoto({"id":8427299,"src":"0908_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427299.html","width":130,"caption":"","height":87});
															thumbnails[8426502] = clik.newPhoto({"id":8426502,"src":"11_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426502.html","width":130,"caption":"","height":348});
															thumbnails[8427302] = clik.newPhoto({"id":8427302,"src":"0909_thumb.jpg","galleries_id":381186,"server_id":15,"link":"photo_8427302.html","width":130,"caption":"","height":87});
															thumbnails[8426504] = clik.newPhoto({"id":8426504,"src":"12_thumb.jpg","galleries_id":381202,"server_id":15,"link":"photo_8426504.html","width":130,"caption":"","height":98});
															thumbnails[7041298] = clik.newPhoto({"id":7041298,"src":"25_Sunshine_and_Showers_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041298.html","width":130,"caption":"Sunshine & Flowers - Advanced 1st","height":98});
															thumbnails[8105267] = clik.newPhoto({"id":8105267,"src":"01_Mating_Ian_Suttie_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105267.html","width":130,"caption":"Mating - Advanced 1st","height":109});
															thumbnails[8105529] = clik.newPhoto({"id":8105529,"src":"01_Back_in_time_Diana_Johnson_thumb.jpg","galleries_id":381211,"server_id":15,"link":"photo_8105529.html","width":130,"caption":"Back in Time - Monochrome Print of the Year","height":194});
															thumbnails[8425795] = clik.newPhoto({"id":8425795,"src":"01_Towards_Jura_Beryl_Woodger_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425795.html","width":130,"caption":"Towards Jura - Advanced 1st","height":48});
															thumbnails[7041303] = clik.newPhoto({"id":7041303,"src":"24_Pheasant_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041303.html","width":130,"caption":"Pheasant - Advanced 2nd","height":149});
															thumbnails[8105271] = clik.newPhoto({"id":8105271,"src":"02_Just_Checking_Ian_Suttie_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105271.html","width":130,"caption":"Just Checking - Advanced 2nd","height":92});
															thumbnails[8105535] = clik.newPhoto({"id":8105535,"src":"02_Jacob_Sheep_Jean_Wigglesworth_thumb.JPG","galleries_id":381211,"server_id":15,"link":"photo_8105535.html","width":130,"caption":"Jacob Sheep - 2nd","height":93});
															thumbnails[8425805] = clik.newPhoto({"id":8425805,"src":"02_Highland_Landscape_Ian_Suttie_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425805.html","width":130,"caption":"Highland Landscape - Advanced 2nd","height":92});
															thumbnails[7041309] = clik.newPhoto({"id":7041309,"src":"23_Bird_of_Prey_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041309.html","width":130,"caption":"Bird of Prey - Advanced 3rd","height":92});
															thumbnails[8105333] = clik.newPhoto({"id":8105333,"src":"03_One_two_three_Beryl_Woodger_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105333.html","width":130,"caption":"One...Two...Three... - Advanced 3rd","height":148});
															thumbnails[8105550] = clik.newPhoto({"id":8105550,"src":"03_Frosty_Foliage_Jim_Snedden_thumb.jpg","galleries_id":381211,"server_id":15,"link":"photo_8105550.html","width":130,"caption":"Frosty Foliage - 3rd","height":195});
															thumbnails[8425807] = clik.newPhoto({"id":8425807,"src":"03_Tranquility_Ian_Suttie_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425807.html","width":130,"caption":"Tranquility - Advanced 3rd","height":92});
															thumbnails[7041156] = clik.newPhoto({"id":7041156,"src":"25_Sunflower_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041156.html","width":130,"caption":"Sunflower - Intermediate 1st","height":195});
															thumbnails[8105264] = clik.newPhoto({"id":8105264,"src":"01_Apprentice_groom_Gordon_Milne_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105264.html","width":130,"caption":"Apprentice Groom - Intermediate 1st","height":87});
															thumbnails[8425809] = clik.newPhoto({"id":8425809,"src":"01_The_Lonesome_Pine_Rob_Kelly_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425809.html","width":130,"caption":"The Lonesome Pine - Intermediate 1st","height":87});
															thumbnails[7041159] = clik.newPhoto({"id":7041159,"src":"24_Mr_Hairy_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041159.html","width":130,"caption":"Mr Hairy - Intermediate 2nd","height":86});
															thumbnails[8105334] = clik.newPhoto({"id":8105334,"src":"02_Pigeon_perch_Ian_Drever_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105334.html","width":130,"caption":"Pigeon Perch - Intermediate 2nd","height":87});
															thumbnails[8425811] = clik.newPhoto({"id":8425811,"src":"02_Beehives_Derek_Watt_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425811.html","width":130,"caption":"Beehives - Intermediate 2nd","height":87});
															thumbnails[7041166] = clik.newPhoto({"id":7041166,"src":"21_Purple_Sensation_S_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041166.html","width":130,"caption":"Purple Sensation - Intermediate =3rd","height":81});
															thumbnails[8105335] = clik.newPhoto({"id":8105335,"src":"03_Well_Out_Rob_Kelly_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105335.html","width":130,"caption":"Well Out! - Intermediate 3rd","height":135});
															thumbnails[8425812] = clik.newPhoto({"id":8425812,"src":"03_On_the_beach_Helen_Barclay_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425812.html","width":130,"caption":"On the Beach - Intermediate 3rd","height":97});
															thumbnails[7041161] = clik.newPhoto({"id":7041161,"src":"22_Desert_Star_S_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041161.html","width":130,"caption":"Desert Star - Intermediate =3rd","height":122});
															thumbnails[8105343] = clik.newPhoto({"id":8105343,"src":"01_Melting_George_Clubb_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105343.html","width":130,"caption":"Melting - Beginners 1st","height":143});
															thumbnails[8425903] = clik.newPhoto({"id":8425903,"src":"01_Journeys_end_Anne_Wright_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425903.html","width":130,"caption":"Journey's End - Beginner 1st","height":98});
															thumbnails[7041081] = clik.newPhoto({"id":7041081,"src":"13_Butterfly_on_Buddleia_Bush_S_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041081.html","width":130,"caption":"Butterfly on Buddleia - Beginners 1st","height":89});
															thumbnails[8105346] = clik.newPhoto({"id":8105346,"src":"02_Swan_stretching_George_Clubb_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105346.html","width":130,"caption":"Swan Stretching - Beginners 2nd","height":87});
															thumbnails[8425935] = clik.newPhoto({"id":8425935,"src":"02_Forest_walk_George_Clubb_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425935.html","width":130,"caption":"Forest Walk - Beginner 2nd","height":86});
															thumbnails[7040678] = clik.newPhoto({"id":7040678,"src":"11_Dahlia_S_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7040678.html","width":130,"caption":"Dahlia - Beginners =2nd","height":120});
															thumbnails[8105347] = clik.newPhoto({"id":8105347,"src":"03_eclipse_Christine_kelt_thumb.jpg","galleries_id":381209,"server_id":15,"link":"photo_8105347.html","width":130,"caption":"Eclipse - Beginners 3rd","height":95});
															thumbnails[8425961] = clik.newPhoto({"id":8425961,"src":"03_1_2_3_Christine_Kelt_thumb.jpg","galleries_id":381195,"server_id":15,"link":"photo_8425961.html","width":130,"caption":"One, Two, Three - Beginner 3rd","height":173});
															thumbnails[7041113] = clik.newPhoto({"id":7041113,"src":"12_Straight_to_the_point_S_thumb.jpg","galleries_id":381183,"server_id":15,"link":"photo_7041113.html","width":130,"caption":"Straight to the Point - Beginners =2nd","height":166});
															thumbnails[7041567] = clik.newPhoto({"id":7041567,"src":"16_Round_the_bend_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041567.html","width":130,"caption":"Taking the Corner - Advanced 3rd","height":72});
															thumbnails[8104696] = clik.newPhoto({"id":8104696,"src":"01_Autumnal_Glory_Ian_Suttie_thumb.jpg","galleries_id":381196,"server_id":15,"link":"photo_8104696.html","width":130,"caption":"Autumnal Glory - Colour Print of the Year","height":92});
															thumbnails[7041565] = clik.newPhoto({"id":7041565,"src":"17_All_fall_down_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041565.html","width":130,"caption":"All Fall Down - Advanced 2nd","height":84});
															thumbnails[7041572] = clik.newPhoto({"id":7041572,"src":"18_Running_Wild1_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041572.html","width":130,"caption":"Running Wild - Advanced 1st","height":79});
															thumbnails[7041563] = clik.newPhoto({"id":7041563,"src":"16_Water_Splash_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041563.html","width":130,"caption":"Water Splash - Intermediate 3rd","height":93});
															thumbnails[7041562] = clik.newPhoto({"id":7041562,"src":"17_BMX_Bandit_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041562.html","width":130,"caption":"BMX Bandit - Intermediate 2nd","height":85});
															thumbnails[7041560] = clik.newPhoto({"id":7041560,"src":"18_Reaching_The_Finish_thumb.JPG","galleries_id":381188,"server_id":15,"link":"photo_7041560.html","width":130,"caption":"Reaching the Finish - Intermediate 1st","height":195});
															thumbnails[8104707] = clik.newPhoto({"id":8104707,"src":"02_celestial_light_Frank_Horrocks_thumb.jpg","galleries_id":381196,"server_id":15,"link":"photo_8104707.html","width":130,"caption":"Celestial Light - 2nd","height":96});
															thumbnails[7041557] = clik.newPhoto({"id":7041557,"src":"09_Round_the_Bend_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041557.html","width":130,"caption":"Round the Bend - Beginners 3rd","height":98});
															thumbnails[7061101] = clik.newPhoto({"id":7061101,"src":"10__Flying_the_Flag72dpi_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7061101.html","width":130,"caption":"Flying the Flag - Beginners 2nd","height":87});
															thumbnails[7041524] = clik.newPhoto({"id":7041524,"src":"11_Raging_River_thumb.jpg","galleries_id":381188,"server_id":15,"link":"photo_7041524.html","width":130,"caption":"Raging River - Beginners 1st","height":98});
															thumbnails[8104711] = clik.newPhoto({"id":8104711,"src":"03_Walking_the_Dog_Ian_Suttie_thumb.jpg","galleries_id":381196,"server_id":15,"link":"photo_8104711.html","width":130,"caption":"Walking the Dog - 3rd","height":92});
															thumbnails[5431627] = clik.newPhoto({"id":5431627,"src":"01_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431627.html","width":130,"caption":"","height":195});
															thumbnails[5431629] = clik.newPhoto({"id":5431629,"src":"02_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431629.html","width":130,"caption":"","height":162});
															thumbnails[5431630] = clik.newPhoto({"id":5431630,"src":"03_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431630.html","width":130,"caption":"","height":87});
															thumbnails[5431631] = clik.newPhoto({"id":5431631,"src":"04_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431631.html","width":130,"caption":"","height":130});
															thumbnails[5431632] = clik.newPhoto({"id":5431632,"src":"06_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431632.html","width":130,"caption":"","height":94});
															thumbnails[5431633] = clik.newPhoto({"id":5431633,"src":"07_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431633.html","width":130,"caption":"","height":130});
															thumbnails[5431634] = clik.newPhoto({"id":5431634,"src":"08_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431634.html","width":130,"caption":"","height":151});
															thumbnails[5431636] = clik.newPhoto({"id":5431636,"src":"09_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431636.html","width":130,"caption":"","height":87});
															thumbnails[5431637] = clik.newPhoto({"id":5431637,"src":"10_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431637.html","width":130,"caption":"","height":140});
															thumbnails[5431640] = clik.newPhoto({"id":5431640,"src":"051_thumb.jpg","galleries_id":295915,"server_id":15,"link":"photo_5431640.html","width":130,"caption":"","height":67});
															thumbnails[5631095] = clik.newPhoto({"id":5631095,"src":"Betsie_in_the_sun_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5631095.html","width":130,"caption":"1st Place - Betsie in the Sun","height":87});
															thumbnails[5631097] = clik.newPhoto({"id":5631097,"src":"Cheeky_serve_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5631097.html","width":130,"caption":"1st Place - Cheeky Serve","height":186});
															thumbnails[5631099] = clik.newPhoto({"id":5631099,"src":"Out_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5631099.html","width":130,"caption":"1st Place - Out !","height":92});
															thumbnails[5733518] = clik.newPhoto({"id":5733518,"src":"BW010a_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5733518.html","width":130,"caption":"2nd Place","height":121});
															thumbnails[5733521] = clik.newPhoto({"id":5733521,"src":"BW001_a1_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5733521.html","width":130,"caption":"2nd Place","height":60});
															thumbnails[5733533] = clik.newPhoto({"id":5733533,"src":"BW015_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5733533.html","width":130,"caption":"2nd Place","height":92});
															thumbnails[5733535] = clik.newPhoto({"id":5733535,"src":"DJ04_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5733535.html","width":130,"caption":"3rd Place","height":98});
															thumbnails[5733538] = clik.newPhoto({"id":5733538,"src":"DJ07_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5733538.html","width":130,"caption":"3rd Place","height":130});
															thumbnails[5733540] = clik.newPhoto({"id":5733540,"src":"DJ14_a_thumb.jpg","galleries_id":319248,"server_id":15,"link":"photo_5733540.html","width":130,"caption":"3rd Place","height":98});
															thumbnails[5631022] = clik.newPhoto({"id":5631022,"src":"3_Failed_to_Stop_thumb.jpg","galleries_id":234022,"server_id":15,"link":"photo_5631022.html","width":130,"caption":"Failed to Stop - 3rd","height":90});
															thumbnails[5631018] = clik.newPhoto({"id":5631018,"src":"2_Gable_End_thumb.jpg","galleries_id":234022,"server_id":15,"link":"photo_5631018.html","width":130,"caption":"Gable End - 2nd","height":182});
															thumbnails[5631012] = clik.newPhoto({"id":5631012,"src":"1_Out_of_the_Wind_thumb.jpg","galleries_id":234022,"server_id":15,"link":"photo_5631012.html","width":130,"caption":"Out of the Wind - 1st","height":123});
															thumbnails[5631043] = clik.newPhoto({"id":5631043,"src":"3_Anthurium_thumb.jpg","galleries_id":234019,"server_id":15,"link":"photo_5631043.html","width":130,"caption":"Anthurium - 3rd Equal","height":77});
															thumbnails[5631038] = clik.newPhoto({"id":5631038,"src":"3_Sunset_thumb.jpg","galleries_id":234019,"server_id":15,"link":"photo_5631038.html","width":130,"caption":"Sunset - 3rd Equal","height":92});
															thumbnails[5631036] = clik.newPhoto({"id":5631036,"src":"2_Tulips_thumb.jpg","galleries_id":234019,"server_id":15,"link":"photo_5631036.html","width":130,"caption":"Tulips - 2nd","height":188});
															thumbnails[5631033] = clik.newPhoto({"id":5631033,"src":"1_Gannets_thumb.jpg","galleries_id":234019,"server_id":15,"link":"photo_5631033.html","width":130,"caption":"Gannets - 1st","height":125});
															thumbnails[5630858] = clik.newPhoto({"id":5630858,"src":"3b_bonefire_night_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630858.html","width":130,"caption":"Bonfire Night - Beginners 3rd","height":172});
															thumbnails[5630843] = clik.newPhoto({"id":5630843,"src":"2b_tattie_harvest_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630843.html","width":130,"caption":"Tattie Harvest - Beginners 2nd","height":82});
															thumbnails[5630831] = clik.newPhoto({"id":5630831,"src":"1b_the_skys_the_limit_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630831.html","width":130,"caption":"The Sky's the Limit? - Beginners 1st","height":203});
															thumbnails[5630876] = clik.newPhoto({"id":5630876,"src":"3i_a_tale_of_trails_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630876.html","width":130,"caption":"A Tail of Trails - Intermediate 3rd Equal","height":51});
															thumbnails[5630883] = clik.newPhoto({"id":5630883,"src":"3i_hold_steady_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630883.html","width":130,"caption":"Hold Steady - Intermediate 3rd Equal","height":79});
															thumbnails[5630869] = clik.newPhoto({"id":5630869,"src":"2i_at_the_end_of_the_day_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630869.html","width":130,"caption":"At the End of the Day - Intermediate 2nd","height":69});
															thumbnails[5630864] = clik.newPhoto({"id":5630864,"src":"1i_armadillo_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630864.html","width":130,"caption":"Armadillo - Intermediate 1st","height":88});
															thumbnails[5630934] = clik.newPhoto({"id":5630934,"src":"3a_elaina_by_candlelight_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630934.html","width":130,"caption":"Elaina by Candlelight - Advanced 3rd","height":171});
															thumbnails[5630925] = clik.newPhoto({"id":5630925,"src":"2a_down_to_the_sea_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630925.html","width":130,"caption":"Down to the Sea - Advanced 2nd","height":48});
															thumbnails[5630918] = clik.newPhoto({"id":5630918,"src":"1a_final_leg_home_thumb.jpg","galleries_id":234018,"server_id":15,"link":"photo_5630918.html","width":130,"caption":"Final Leg Home - Advanced 1st","height":91});
															thumbnails[5431524] = clik.newPhoto({"id":5431524,"src":"b_31_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431524.html","width":130,"caption":"Thorn Bush - Beginners 3rd","height":207});
															thumbnails[5431528] = clik.newPhoto({"id":5431528,"src":"b_32_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431528.html","width":130,"caption":"Hidden Past - Beginners 2nd","height":88});
															thumbnails[5431525] = clik.newPhoto({"id":5431525,"src":"b_331_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431525.html","width":130,"caption":"Seagate Dundee - Beginners 1st","height":93});
															thumbnails[5431553] = clik.newPhoto({"id":5431553,"src":"int_31_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431553.html","width":130,"caption":"Make Do and Mend - Intermediate 3rd","height":182});
															thumbnails[5431542] = clik.newPhoto({"id":5431542,"src":"int_321_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431542.html","width":130,"caption":"Urban Gaffiti - Intermediate 2nd","height":107});
															thumbnails[5431534] = clik.newPhoto({"id":5431534,"src":"int_33_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431534.html","width":130,"caption":"Office Windows - Intermediate 1st","height":191});
															thumbnails[5431581] = clik.newPhoto({"id":5431581,"src":"a_31_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431581.html","width":130,"caption":"Down and Out - Advanced 3rd","height":92});
															thumbnails[5431573] = clik.newPhoto({"id":5431573,"src":"a_32_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431573.html","width":130,"caption":"Final Notice - Advanced 2nd","height":90});
															thumbnails[5431569] = clik.newPhoto({"id":5431569,"src":"a_33_thumb.jpg","galleries_id":234016,"server_id":15,"link":"photo_5431569.html","width":130,"caption":"87 High Street - Advanced 1st","height":103});
															thumbnails[5264361] = clik.newPhoto({"id":5264361,"src":"3_PD_Sheiling_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5264361.html","width":130,"caption":"Sheiling - Beginners 3rd","height":88});
															thumbnails[5264083] = clik.newPhoto({"id":5264083,"src":"3_ID_One_tree_hill_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5264083.html","width":130,"caption":"One Tree Hill - Beginners 3rd","height":94});
															thumbnails[5264057] = clik.newPhoto({"id":5264057,"src":"2_JS_A_closed_gate_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5264057.html","width":130,"caption":"A Closed Gate - Beginners 2nd","height":93});
															thumbnails[5264069] = clik.newPhoto({"id":5264069,"src":"1_DD_Another_place_another_time1_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5264069.html","width":130,"caption":"Another Place Another Time - Beginners 1st","height":101});
															thumbnails[5293555] = clik.newPhoto({"id":5293555,"src":"3_CB_Llonely_Tree_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5293555.html","width":130,"caption":"Lonely Tree - Intermediate 3rd","height":147});
															thumbnails[5293552] = clik.newPhoto({"id":5293552,"src":"2_DJ_Safe_Mooring_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5293552.html","width":130,"caption":"Safe Mooring - Intermediate 2nd","height":172});
															thumbnails[5293545] = clik.newPhoto({"id":5293545,"src":"1_DJ_Hill_of_Wirren_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5293545.html","width":130,"caption":"Hill of Wirren - Intermediate 1st","height":53});
															thumbnails[5293563] = clik.newPhoto({"id":5293563,"src":"3_JS_Just_Me_and_My_Shadow_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5293563.html","width":130,"caption":"Just Me and My Shadow - Advanced 3rd","height":91});
															thumbnails[5293560] = clik.newPhoto({"id":5293560,"src":"2_GU_Godrevy_Island_Cornwall_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5293560.html","width":130,"caption":"Godrevy Island Cornwall - Advanced 2nd","height":87});
															thumbnails[5293558] = clik.newPhoto({"id":5293558,"src":"1_BW_Time_for_a_Rest_thumb.jpg","galleries_id":234014,"server_id":15,"link":"photo_5293558.html","width":130,"caption":"Time for a Rest - Advanced 1st","height":79});
															thumbnails[4907013] = clik.newPhoto({"id":4907013,"src":"ID-Layers_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907013.html","width":130,"caption":"Layers Beginners 3rd","height":82});
															thumbnails[4907011] = clik.newPhoto({"id":4907011,"src":"JG-Sea-Holly_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907011.html","width":130,"caption":"Sea Holly Beginners 2nd","height":89});
															thumbnails[4907009] = clik.newPhoto({"id":4907009,"src":"MS-Elegance_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907009.html","width":130,"caption":"Elegance Beginners 1st ","height":168});
															thumbnails[4907055] = clik.newPhoto({"id":4907055,"src":"JE-Wet-Iris_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907055.html","width":130,"caption":"Wet Iris Intermediate 3rd","height":96});
															thumbnails[4907051] = clik.newPhoto({"id":4907051,"src":"JA-After-the-Storm_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907051.html","width":130,"caption":"After the Storm Intermediate 2nd","height":100});
															thumbnails[4907049] = clik.newPhoto({"id":4907049,"src":"JE-Stemens_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907049.html","width":130,"caption":"Stamens Intermediate 1st","height":94});
															thumbnails[4907072] = clik.newPhoto({"id":4907072,"src":"IS-Begonia_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907072.html","width":130,"caption":"Begonia Advanced 3rd","height":91});
															thumbnails[4907070] = clik.newPhoto({"id":4907070,"src":"PG-Prickly-Pear_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907070.html","width":130,"caption":"Prickly Pear Advanced 2nd","height":97});
															thumbnails[4907069] = clik.newPhoto({"id":4907069,"src":"JS-Rose_thumb.jpg","galleries_id":234013,"server_id":15,"link":"photo_4907069.html","width":130,"caption":"Rose Advanced 1st","height":127});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[234013] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FLOWER POWER","link":"section318885_234013.html","maxRecords":0.0,"photoIDs":[4907013.0,4907011.0,4907009.0,4907055.0,4907051.0,4907049.0,4907072.0,4907070.0,4907069.0],"skipIndex":0,"section_code":"section318885","featured_images":"4907072,4907070,4907069,4907055,4907051,4907049,4907013,4907011,4907009","id":234013,"singleSection":false});				  						galleries[234014] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SOLITUDE","link":"section318885_234014.html","maxRecords":0.0,"photoIDs":[5264361.0,5264083.0,5264057.0,5264069.0,5293555.0,5293552.0,5293545.0,5293563.0,5293560.0,5293558.0],"skipIndex":0,"section_code":"section318885","featured_images":"5293563,5293560,5293558,5293555,5293552,5293545,5264361,5264083,5264069,5264057","id":234014,"singleSection":false});				  						galleries[234016] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"URBAN DECAY","link":"section318885_234016.html","maxRecords":0.0,"photoIDs":[5431524.0,5431528.0,5431525.0,5431553.0,5431542.0,5431534.0,5431581.0,5431573.0,5431569.0],"skipIndex":0,"section_code":"section318885","featured_images":"5431581,5431573,5431569,5431553,5431542,5431534,5431528,5431525,5431524","id":234016,"singleSection":false});				  						galleries[234018] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"LOW LIGHT","link":"section318885_234018.html","maxRecords":0.0,"photoIDs":[5630858.0,5630843.0,5630831.0,5630876.0,5630883.0,5630869.0,5630864.0,5630934.0,5630925.0,5630918.0],"skipIndex":0,"section_code":"section318885","featured_images":"5630934,5630925,5630918,5630883,5630876,5630869,5630864,5630858,5630843,5630831","id":234018,"singleSection":false});				  						galleries[295915] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FARMING","link":"section318885_295915.html","maxRecords":0.0,"photoIDs":[5431627.0,5431629.0,5431630.0,5431631.0,5431632.0,5431633.0,5431634.0,5431636.0,5431637.0,5431640.0],"skipIndex":0,"section_code":"section318885","featured_images":"5431640,5431637,5431636,5431634,5431633,5431632,5431631,5431630,5431629,5431627","id":295915,"singleSection":false});				  						galleries[234019] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"COLOUR PRINT OF THE YEAR 09-10","link":"section318885_234019.html","maxRecords":0.0,"photoIDs":[5631043.0,5631038.0,5631036.0,5631033.0],"skipIndex":0,"section_code":"section318885","featured_images":"5631043,5631038,5631036,5631033","id":234019,"singleSection":false});				  						galleries[234022] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"MONOCHROME PRINT OF THE YEAR 09-10","link":"section318885_234022.html","maxRecords":0.0,"photoIDs":[5631022.0,5631018.0,5631012.0],"skipIndex":0,"section_code":"section318885","featured_images":"5631022,5631018,5631012","id":234022,"singleSection":false});				  						galleries[319248] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PROJECT","link":"section318885_319248.html","maxRecords":0.0,"photoIDs":[5631095.0,5631097.0,5631099.0,5733518.0,5733521.0,5733533.0,5733535.0,5733538.0,5733540.0],"skipIndex":0,"section_code":"section318885","featured_images":"5733540,5733538,5733535,5733533,5733521,5733518,5631099,5631097,5631095","id":319248,"singleSection":false});				  						galleries[381196] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"COLOUR PRINT OF THE YEAR 10-11","link":"section452330_381196.html","maxRecords":0.0,"photoIDs":[8104696.0,8104707.0,8104711.0],"skipIndex":0,"section_code":"section452330","featured_images":"8104711,8104707,8104696","id":381196,"singleSection":false});				  						galleries[381211] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"MONOCHROME PRINT OF THE YEAR 10-11","link":"section452330_381211.html","maxRecords":0.0,"photoIDs":[8105529.0,8105535.0,8105550.0],"skipIndex":0,"section_code":"section452330","featured_images":"8105550,8105535,8105529","id":381211,"singleSection":false});				  						galleries[381208] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Main Project","link":"section452330_381208.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"section452330","featured_images":"8426702,8426700,8426699,8426695,8426694,8426693,8426646,8426645,8426643,8426640","id":381208,"singleSection":false});				  						galleries[381202] = clik.newGallery({"parentGallery":381208,"usePopups":false,"title":"Rags to Bags","link":"section452330_381202.html","maxRecords":0.0,"photoIDs":[8426431.0,8426432.0,8426433.0,8426488.0,8426493.0,8426494.0,8426495.0,8426497.0,8426499.0,8426502.0,8426504.0],"skipIndex":0,"section_code":"section452330","featured_images":8426431,"id":381202,"singleSection":false});				  						galleries[381198] = clik.newGallery({"parentGallery":381208,"usePopups":false,"title":"Lanzarote","link":"section452330_381198.html","maxRecords":0.0,"photoIDs":[8426605.0,8426624.0,8426531.0,8426571.0,8426593.0,8426573.0],"skipIndex":0,"section_code":"section452330","featured_images":8426605,"id":381198,"singleSection":false});				  						galleries[381201] = clik.newGallery({"parentGallery":381208,"usePopups":false,"title":"Chillingham Castle","link":"section452330_381201.html","maxRecords":0.0,"photoIDs":[8426637.0,8426639.0,8426640.0,8426643.0,8426645.0,8426646.0],"skipIndex":0,"section_code":"section452330","featured_images":8426637,"id":381201,"singleSection":false});				  						galleries[381197] = clik.newGallery({"parentGallery":381208,"usePopups":false,"title":"Second Spring","link":"section452330_381197.html","maxRecords":0.0,"photoIDs":[8426693.0,8426694.0,8426695.0,8426699.0,8426700.0,8426702.0],"skipIndex":0,"section_code":"section452330","featured_images":8426693,"id":381197,"singleSection":false});				  						galleries[381186] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mini Project","link":"section452330_381186.html","maxRecords":0.0,"photoIDs":[8427117.0,8427121.0,8427271.0,8427275.0,8427277.0,8427279.0,8427282.0,8427284.0,8427290.0,8427299.0,8427302.0],"skipIndex":0,"section_code":"section452330","featured_images":"8427302,8427299,8427290,8427284,8427282,8427279,8427277,8427275,8427271,8427121","id":381186,"singleSection":false});				  						galleries[381195] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Great Outdoors","link":"section452330_381195.html","maxRecords":0.0,"photoIDs":[8425795.0,8425805.0,8425807.0,8425809.0,8425811.0,8425812.0,8425903.0,8425935.0,8425961.0],"skipIndex":0,"section_code":"section452330","featured_images":"8425961,8425935,8425903,8425812,8425811,8425809,8425807,8425805,8425795","id":381195,"singleSection":false});				  						galleries[381209] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Catch the Moment","link":"section452330_381209.html","maxRecords":0.0,"photoIDs":[8105267.0,8105271.0,8105333.0,8105264.0,8105334.0,8105335.0,8105343.0,8105346.0,8105347.0],"skipIndex":0,"section_code":"section452330","featured_images":"8105347,8105346,8105343,8105335,8105334,8105333,8105271,8105267,8105264","id":381209,"singleSection":false});				  						galleries[381183] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Close Up","link":"section452330_381183.html","maxRecords":0.0,"photoIDs":[7041298.0,7041303.0,7041309.0,7041156.0,7041159.0,7041166.0,7041161.0,7041081.0,7040678.0,7041113.0],"skipIndex":0,"section_code":"section452330","featured_images":"7041309,7041303,7041298,7041166,7041161,7041159,7041156,7041113,7041081,7040678","id":381183,"singleSection":false});				  						galleries[381188] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Movement","link":"section452330_381188.html","maxRecords":0.0,"photoIDs":[7041567.0,7041565.0,7041572.0,7041563.0,7041562.0,7041560.0,7041557.0,7061101.0,7041524.0],"skipIndex":0,"section_code":"section452330","featured_images":"7061101,7041572,7041567,7041565,7041563,7041562,7041560,7041557,7041524","id":381188,"singleSection":false});				  						galleries[460304] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Animals","link":"section557212_460304.html","maxRecords":0.0,"photoIDs":[8735324.0,8735391.0,8735397.0,8735402.0,8735408.0,8735414.0,8735420.0,8735422.0,8735428.0,8735435.0,8735437.0],"skipIndex":0,"section_code":"section557212","featured_images":8735324,"id":460304,"singleSection":false});				  						galleries[464580] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"A Song","link":"section557212_464580.html","maxRecords":0.0,"photoIDs":[8863668.0,8863670.0,8863700.0,8863735.0,8863743.0,8863751.0,8863772.0,8863792.0,8863797.0],"skipIndex":0,"section_code":"section557212","featured_images":8863668,"id":464580,"singleSection":false});				  						galleries[464581] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mini Project 2011","link":"section557212_464581.html","maxRecords":0.0,"photoIDs":[8863842.0,8863844.0,8863846.0,8863848.0,8863889.0,8863903.0,8863905.0,8863907.0,8863909.0,8863912.0],"skipIndex":0,"section_code":"section557212","featured_images":8863842,"id":464581,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8104696';
imageSets[237905] = '5264361,5264083,5264057,5264069,5293555,5293552,5293545,5293563,5293560,5293558';
imageSets[3] = '8863912,8863909,8863907,8863905,8863903,8863889,8863848,8863846,8863844,8863842,8863797,8863792,8863772,8863751,8863743,8863735,8863700,8863670,8863668,8735437,8735435,8735428,8735422,8735420,8735414,8735408,8735402,8735397,8735391,8735324,8427302,8427299,8427290,8427284,8427282,8427279,8427277,8427275,8427271,8427121,8427117,8426702,8426700,8426699,8426695,8426694,8426693,8426646,8426645,8426643';
imageSets[237907] = '5630858,5630843,5630831,5630876,5630883,5630869,5630864,5630934,5630925,5630918';
imageSets[237909] = '5631022,5631018,5631012,5631043,5631038,5631036,5631033';
imageSets[237912] = '7041298,7041303,7041309,7041156,7041159,7041166,7041161,7041081,7040678,7041113';
imageSets[237914] = '7041572,7041560,7061101';
imageSets[237904] = '4907013,4907011,4907009,4907055,4907051,4907049,4907072,4907070,4907069';
imageSets[237906] = '5431524,5431528,5431525,5431553,5431542,5431534,5431581,5431573,5431569';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/bpswebsite/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/bpswebsite/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 += 'section557212.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 && 'section557212' != '') {
					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 = 'Brechin Photographic Society 1888: ' + 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;
	}
}

			

