window.thumbnails = {};
															thumbnails[4736055] = clik.newPhoto({"id":4736055,"src":"Robbins-C-4259-A3_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_4736055.html","width":130,"caption":"Starling Swarm","height":60});
															thumbnails[4736086] = clik.newPhoto({"id":4736086,"src":"Cheese_Wring_copy1_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_4736086.html","width":130,"caption":"Cheesewring ","height":80});
															thumbnails[4767436] = clik.newPhoto({"id":4767436,"src":"TheBoys_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_4767436.html","width":130,"caption":"The Boys","height":167});
															thumbnails[4767457] = clik.newPhoto({"id":4767457,"src":"ChairDoor_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_4767457.html","width":130,"caption":"Chair and Door","height":181});
															thumbnails[5549382] = clik.newPhoto({"id":5549382,"src":"Frosty_Morning_Postbridge-HeatherBodle-LauncestonCC1_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_5549382.html","width":130,"caption":"Frosty Morning Postbridge.<br>\r\nWinner of the 2010 Charles Hoskins Trophy and<br>\r\nWon 3rd place in the 2009 CPA competition (Projected Imags)<br>\r\n","height":65});
															thumbnails[5586440] = clik.newPhoto({"id":5586440,"src":"Tranquil-Scene_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_5586440.html","width":130,"caption":"Tranquil Scene","height":72});
															thumbnails[5586460] = clik.newPhoto({"id":5586460,"src":"Ullswater_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_5586460.html","width":130,"caption":"Ullswater","height":54});
															thumbnails[5586465] = clik.newPhoto({"id":5586465,"src":"HighAlterandApsePeterbouroughCathedraljpg_thumb.jpg","galleries_id":270125,"server_id":5,"link":"photo_5586465.html","width":130,"caption":"High Alter and Apse Peterborough","height":95});
															thumbnails[5592717] = clik.newPhoto({"id":5592717,"src":"12_M23-Kids-at-Play_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_5592717.html","width":130,"caption":"Kids at Play HC--Highly Commended ","height":98});
															thumbnails[5920033] = clik.newPhoto({"id":5920033,"src":"MistyMorningGrassmere-Nick_Bodle-Launceston_CC_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920033.html","width":130,"caption":"Misty Morning Grasmere","height":56});
															thumbnails[5920035] = clik.newPhoto({"id":5920035,"src":"Lavatarium_Gloucester_Cathedral-Nick_Bodle-Launceston_CC__thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920035.html","width":130,"caption":"Lavatarium Gloucester Cathedral","height":164});
															thumbnails[5920044] = clik.newPhoto({"id":5920044,"src":"Smoke_Screen-Heather_Bodle-Launceston_CC_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920044.html","width":130,"caption":"Smoke Screen","height":57});
															thumbnails[5920046] = clik.newPhoto({"id":5920046,"src":"Rays_of_Light-Heather_Boble-Launceston_CC1_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920046.html","width":130,"caption":"Rays of Light","height":52});
															thumbnails[5920050] = clik.newPhoto({"id":5920050,"src":"Dance-Chris_Robbins-Launceston_CC_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920050.html","width":130,"caption":"Dance","height":207});
															thumbnails[5920055] = clik.newPhoto({"id":5920055,"src":"Singing_StarlingW-Adrian_Davey-Launceston_CC_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920055.html","width":130,"caption":"Singing Starling","height":156});
															thumbnails[5920063] = clik.newPhoto({"id":5920063,"src":"Fagin_Hiding_in_the_Shadows-Nick_Bodle-Launceston_CC_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920063.html","width":130,"caption":"Fagin Hiding in the Shadows","height":191});
															thumbnails[5920299] = clik.newPhoto({"id":5920299,"src":"Splash_of_Light-Heather-Bodle_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920299.html","width":130,"caption":"Splash of Light","height":58});
															thumbnails[5920306] = clik.newPhoto({"id":5920306,"src":"NuthatchW-Adrian_Davey-Launceston_CC_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920306.html","width":130,"caption":"Nuthatch","height":82});
															thumbnails[5920329] = clik.newPhoto({"id":5920329,"src":"Hornet_in_FlightW-Chris_Robbins_thumb.jpg","galleries_id":334123,"server_id":5,"link":"photo_5920329.html","width":130,"caption":"Hornet in Flight","height":86});
															thumbnails[7186025] = clik.newPhoto({"id":7186025,"src":"6_M10.Patchwork_Leafcutter_Bee_in_Flight_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186025.html","width":130,"caption":"Patchwork Leafcutter Bee in Flight--Highly Commended ","height":83});
															thumbnails[7186034] = clik.newPhoto({"id":7186034,"src":"7_M18_Bullring_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186034.html","width":130,"caption":"Bull Ring","height":86});
															thumbnails[7186045] = clik.newPhoto({"id":7186045,"src":"8_M20_Cayoosh_Creek_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186045.html","width":130,"caption":"Cayoosh Creek","height":86});
															thumbnails[7186075] = clik.newPhoto({"id":7186075,"src":"11_M25_Plaza_de_Espania_Seville_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186075.html","width":130,"caption":"Plaza De Espaia,Seville--commended ","height":56});
															thumbnails[7186082] = clik.newPhoto({"id":7186082,"src":"12_M28_Grey_Whethers_Standing_Stone_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186082.html","width":130,"caption":"Grey Weathers standing","height":89});
															thumbnails[7186232] = clik.newPhoto({"id":7186232,"src":"22_M10.Twisted_Glass_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186232.html","width":130,"caption":"Twisted Glass         3rd place","height":84});
															thumbnails[7186247] = clik.newPhoto({"id":7186247,"src":"25_M18_Lisa_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186247.html","width":130,"caption":"Lisa","height":197});
															thumbnails[7186264] = clik.newPhoto({"id":7186264,"src":"26_M20_Happiness_is..._thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7186264.html","width":130,"caption":"Happiness Is","height":173});
															thumbnails[7195546] = clik.newPhoto({"id":7195546,"src":"30_M28_The_Chapel_Ightham_Mote_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7195546.html","width":130,"caption":"The Chapel igtham mote","height":97});
															thumbnails[7195547] = clik.newPhoto({"id":7195547,"src":"31_M33_Maria_Sharapova_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7195547.html","width":130,"caption":"Mara Sharapova--commended ","height":198});
															thumbnails[7195548] = clik.newPhoto({"id":7195548,"src":"32_M29_Cascade_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7195548.html","width":130,"caption":"Cascade","height":60});
															thumbnails[7195554] = clik.newPhoto({"id":7195554,"src":"34_M35_Little_Egret_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7195554.html","width":130,"caption":"Little Egret--Highly Commended ","height":127});
															thumbnails[7197559] = clik.newPhoto({"id":7197559,"src":"37_M46_Sawdust_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7197559.html","width":130,"caption":"Sawdust--commended ","height":98});
															thumbnails[7198982] = clik.newPhoto({"id":7198982,"src":"42_M10.Water_Vole_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7198982.html","width":130,"caption":"Water Vole--2nd Place","height":86});
															thumbnails[7199000] = clik.newPhoto({"id":7199000,"src":"50_M28_Tree_Line_Buttermere_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7199000.html","width":130,"caption":"Tree line Buttermere--Highly Commended ","height":46});
															thumbnails[7199059] = clik.newPhoto({"id":7199059,"src":"55_M39_Cattle_Drive_Montana_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7199059.html","width":130,"caption":"Cattle Drive Montana","height":177});
															thumbnails[7199335] = clik.newPhoto({"id":7199335,"src":"52_M29_Smoke_Screen1_thumb.jpg","galleries_id":388206,"server_id":5,"link":"photo_7199335.html","width":130,"caption":"Smoke Screen -  Winner of Digital Section","height":57});
															thumbnails[7382446] = clik.newPhoto({"id":7382446,"src":"3-1-M40_-_Not_in_Kansas_thumb.jpg","galleries_id":399645,"server_id":5,"link":"photo_7382446.html","width":130,"caption":"Not In Kansas","height":87});
															thumbnails[7382485] = clik.newPhoto({"id":7382485,"src":"14-3-M04_How_Many_Moves_thumb.jpg","galleries_id":399645,"server_id":5,"link":"photo_7382485.html","width":130,"caption":"How Many Moves","height":134});
															thumbnails[7382668] = clik.newPhoto({"id":7382668,"src":"TalkingtothePlants_thumb.jpg","galleries_id":399645,"server_id":5,"link":"photo_7382668.html","width":130,"caption":"Talking to the Plants","height":94});
															thumbnails[7401759] = clik.newPhoto({"id":7401759,"src":"01_PL159_SevenSisters_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401759.html","width":130,"caption":"Seven Sisters","height":98});
															thumbnails[7401762] = clik.newPhoto({"id":7401762,"src":"02_PL159_GoingUnderground_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401762.html","width":130,"caption":"Going Underground","height":98});
															thumbnails[7401764] = clik.newPhoto({"id":7401764,"src":"03__PL159_FaginHidinginShadows_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401764.html","width":130,"caption":"","height":163});
															thumbnails[7401769] = clik.newPhoto({"id":7401769,"src":"04__PL159_FrostMorningPostbridge_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401769.html","width":130,"caption":"Frosty Morning Postbridge","height":98});
															thumbnails[7401772] = clik.newPhoto({"id":7401772,"src":"05__PL159_Gossip_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401772.html","width":130,"caption":"Gossip","height":98});
															thumbnails[7401774] = clik.newPhoto({"id":7401774,"src":"06__PL159_HauptplatzTram_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401774.html","width":130,"caption":"Hauptplatz Tram","height":98});
															thumbnails[7401776] = clik.newPhoto({"id":7401776,"src":"07__PL159_TheWoodman_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401776.html","width":130,"caption":"The Woodman","height":98});
															thumbnails[7401780] = clik.newPhoto({"id":7401780,"src":"08__PL159_RidersontheSand_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401780.html","width":130,"caption":"Riders on the Sand","height":98});
															thumbnails[7401782] = clik.newPhoto({"id":7401782,"src":"09__PL159_SilverSurfer_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401782.html","width":130,"caption":"Silver Surfer","height":98});
															thumbnails[7401784] = clik.newPhoto({"id":7401784,"src":"10__PL159_SmokeScreen_thumb.jpg","galleries_id":400894,"server_id":5,"link":"photo_7401784.html","width":130,"caption":"Smoke Screen","height":98});
															thumbnails[7594404] = clik.newPhoto({"id":7594404,"src":"28_M10_The_Loader_thumb.jpg","galleries_id":411852,"server_id":5,"link":"photo_7594404.html","width":130,"caption":"The Loader","height":98});
															thumbnails[7594406] = clik.newPhoto({"id":7594406,"src":"42_29_-_Rays_of_Light_thumb.jpg","galleries_id":411852,"server_id":5,"link":"photo_7594406.html","width":130,"caption":"Rays of Light","height":98});
															thumbnails[7594411] = clik.newPhoto({"id":7594411,"src":"25_28_-_Splash_of_Light_thumb.jpg","galleries_id":411852,"server_id":5,"link":"photo_7594411.html","width":130,"caption":"Splash of Light","height":98});
															thumbnails[7594413] = clik.newPhoto({"id":7594413,"src":"23_29_-_Tree_Scape_thumb.jpg","galleries_id":411852,"server_id":5,"link":"photo_7594413.html","width":130,"caption":"Tree Scape","height":98});
															thumbnails[7594423] = clik.newPhoto({"id":7594423,"src":"11_M18_Fishing_Boats_thumb.jpg","galleries_id":411852,"server_id":5,"link":"photo_7594423.html","width":130,"caption":"Fishing Boats","height":98});
															thumbnails[7594426] = clik.newPhoto({"id":7594426,"src":"40_39_Branding_thumb.jpg","galleries_id":411852,"server_id":5,"link":"photo_7594426.html","width":130,"caption":"Branding","height":64});
															thumbnails[7746330] = clik.newPhoto({"id":7746330,"src":"17_M10.Brentor_Church_at_Night_thumb.jpg","galleries_id":418859,"server_id":5,"link":"photo_7746330.html","width":130,"caption":"Brentor Church at Night","height":98});
															thumbnails[7813899] = clik.newPhoto({"id":7813899,"src":"25_M10.Star_Trails_thumb.jpg","galleries_id":418859,"server_id":5,"link":"photo_7813899.html","width":130,"caption":"Star Trails","height":98});
															thumbnails[7813901] = clik.newPhoto({"id":7813901,"src":"5_M10.Dusk_at_Widemouth_Bay5_thumb.jpg","galleries_id":418859,"server_id":5,"link":"photo_7813901.html","width":130,"caption":"Dusk at Widemouth","height":98});
															thumbnails[7815150] = clik.newPhoto({"id":7815150,"src":"_MG_828520copy_thumb.jpg","galleries_id":418859,"server_id":5,"link":"photo_7815150.html","width":130,"caption":"Winning Print","height":86});
															thumbnails[8033447] = clik.newPhoto({"id":8033447,"src":"Tregadillett_thumb.jpg","galleries_id":174871,"server_id":5,"link":"photo_8033447.html","width":130,"caption":"","height":93});
															thumbnails[8698074] = clik.newPhoto({"id":8698074,"src":"25_Open_Competition_M22_Crocombe-Station_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698074.html","width":130,"caption":"Crocombe-Station","height":86});
															thumbnails[8698079] = clik.newPhoto({"id":8698079,"src":"23_M10-The_Weakest_Link_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698079.html","width":130,"caption":"The Weakest Link","height":98});
															thumbnails[8698102] = clik.newPhoto({"id":8698102,"src":"13_M10-Mist_in_the_Tamar_Valley_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698102.html","width":130,"caption":"Mist in the Tamar Valley","height":98});
															thumbnails[8698167] = clik.newPhoto({"id":8698167,"src":"9_M_28_THE_VIEW_FROM_MALHAM_COVE_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698167.html","width":130,"caption":"THE VIEW FROM MALHAM COVE","height":98});
															thumbnails[8698170] = clik.newPhoto({"id":8698170,"src":"7_M10-Bulls_to_the_Sea_festival_in_Spain_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698170.html","width":130,"caption":"Bulls to the Sea festival in Spain","height":98});
															thumbnails[8698171] = clik.newPhoto({"id":8698171,"src":"30_M_29_EMSWORTHY_BLUEBELLS_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698171.html","width":130,"caption":"EMSWORTHY BLUEBELLS","height":98});
															thumbnails[8698172] = clik.newPhoto({"id":8698172,"src":"24_M_29_PHALAENOPSIS_1_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698172.html","width":130,"caption":"PHALAENOPSIS","height":98});
															thumbnails[8698174] = clik.newPhoto({"id":8698174,"src":"35_M35_Kestrel_hovering_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698174.html","width":130,"caption":"Kestrel hovering","height":98});
															thumbnails[8698201] = clik.newPhoto({"id":8698201,"src":"21_M35_Froghopper_thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8698201.html","width":130,"caption":"Froghopper","height":98});
															thumbnails[8727817] = clik.newPhoto({"id":8727817,"src":"30_M_22_Merrivale-Storm_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727817.html","width":130,"caption":"Merrivale-Storm","height":86});
															thumbnails[8727847] = clik.newPhoto({"id":8727847,"src":"25_M-23-Moorland-Cattle_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727847.html","width":130,"caption":"Moorland-Cattle","height":104});
															thumbnails[8727848] = clik.newPhoto({"id":8727848,"src":"33_29_Reflections_Derwent_Water_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727848.html","width":130,"caption":"Reflections Derwent Water","height":98});
															thumbnails[8727852] = clik.newPhoto({"id":8727852,"src":"23_28_Last_Light_Leeds_Castle_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727852.html","width":130,"caption":"Last Light Leeds Castle","height":98});
															thumbnails[8727855] = clik.newPhoto({"id":8727855,"src":"19_38_-_4Wheel_Drive-2_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727855.html","width":130,"caption":"4Wheel Drive","height":98});
															thumbnails[8727862] = clik.newPhoto({"id":8727862,"src":"9_16_-_End_of_the_line_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727862.html","width":130,"caption":"End of the line","height":98});
															thumbnails[8727867] = clik.newPhoto({"id":8727867,"src":"20_29_Splash_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727867.html","width":130,"caption":"Splash","height":98});
															thumbnails[8727875] = clik.newPhoto({"id":8727875,"src":"27_M10.Badger_thumb.jpg","galleries_id":459974,"server_id":5,"link":"photo_8727875.html","width":130,"caption":"Badger","height":98});
															thumbnails[8727896] = clik.newPhoto({"id":8727896,"src":"Crackington_Dusk_thumb.jpg","galleries_id":418859,"server_id":5,"link":"photo_8727896.html","width":130,"caption":"Crackington Dusk","height":85});
															thumbnails[8727911] = clik.newPhoto({"id":8727911,"src":"M._No_38_Symphony_Hall-L.A._thumb.jpg","galleries_id":458909,"server_id":5,"link":"photo_8727911.html","width":130,"caption":"Symphony Hall-L.A.","height":98});
															thumbnails[8791559] = clik.newPhoto({"id":8791559,"src":"15_M22_Tawny_Owl_Chick._thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791559.html","width":130,"caption":"Tawny Owl","height":130});
															thumbnails[8791571] = clik.newPhoto({"id":8791571,"src":"30_M04_Buff-tip_moths_mating_w_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791571.html","width":130,"caption":"Buff-tip moths mating","height":98});
															thumbnails[8791573] = clik.newPhoto({"id":8791573,"src":"22_M10_Honey_Bee_fighting_back_as_Wasp_raids_the_hiveW_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791573.html","width":130,"caption":"Honey Bee fighting back as Wasp raids the hive","height":98});
															thumbnails[8791574] = clik.newPhoto({"id":8791574,"src":"13_02_Small_Pearl_Bordered_Fritillary_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791574.html","width":130,"caption":"Small Pearl Bordered Fritillary","height":100});
															thumbnails[8791576] = clik.newPhoto({"id":8791576,"src":"1_M10_Bumble_Bee_Bombus_monticola_Pollinating_flowers_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791576.html","width":130,"caption":"Bumble Bee Bombus monticola Pollinating flowers","height":98});
															thumbnails[8791577] = clik.newPhoto({"id":8791577,"src":"36_M04_Marbled_White_butterfly_w_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791577.html","width":130,"caption":"Marbled White butterfly","height":98});
															thumbnails[8791578] = clik.newPhoto({"id":8791578,"src":"34_29_LACKEY_MOTH_LARVAE_MALACOSOMA_NEUSTRIA_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791578.html","width":130,"caption":"LACKEY MOTH LARVAE (MALACOSOMA NEUSTRIA)","height":98});
															thumbnails[8791580] = clik.newPhoto({"id":8791580,"src":"17_29_BOG_ASPHODEL_NARTHECIUM_OSSIFRAGUM_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791580.html","width":130,"caption":"BOG ASPHODEL (NARTHECIUM OSSIFRAGUM)","height":98});
															thumbnails[8791581] = clik.newPhoto({"id":8791581,"src":"11_M10_Blue_Tit_with_CaterpilllarW_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791581.html","width":130,"caption":"Blue Tit with Caterpilllar","height":98});
															thumbnails[8791584] = clik.newPhoto({"id":8791584,"src":"4_M25_Dragonfly_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791584.html","width":130,"caption":"Damselfly","height":130});
															thumbnails[8791585] = clik.newPhoto({"id":8791585,"src":"32_07_Kelp_Gulls_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791585.html","width":130,"caption":"Kelp Gulls","height":98});
															thumbnails[8791586] = clik.newPhoto({"id":8791586,"src":"26_07_King_Penguins_in_the_mist_and_sand_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791586.html","width":130,"caption":"King Penguins in the mist and sand","height":98});
															thumbnails[8791592] = clik.newPhoto({"id":8791592,"src":"9_29_PARASOL_MUSHROOM_MACROLEPIOTA_PROCERA_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791592.html","width":130,"caption":"PARASOL MUSHROOM (MACROLEPIOTA PROCERA)","height":98});
															thumbnails[8791597] = clik.newPhoto({"id":8791597,"src":"29_M35_Hunting_Kestrel_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791597.html","width":130,"caption":"Hunting Kestrel ","height":98});
															thumbnails[8791598] = clik.newPhoto({"id":8791598,"src":"16_M35_Sparring_MoorhensW_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791598.html","width":130,"caption":"Sparring Moorhens","height":98});
															thumbnails[8791601] = clik.newPhoto({"id":8791601,"src":"7_M35_Blackbird_eating_berries_W_thumb.jpg","galleries_id":462894,"server_id":5,"link":"photo_8791601.html","width":130,"caption":"Blackbird eating berries","height":98});
															thumbnails[8921875] = clik.newPhoto({"id":8921875,"src":"20_28_Last_Light_Leeds_Castle_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8921875.html","width":130,"caption":"Last Light Leeds Castle","height":98});
															thumbnails[8966230] = clik.newPhoto({"id":8966230,"src":"22_M10_Honey_Bee_fighting_back_as_Wasp_raids_the_hiveW_729F29A2-1EC9-DFB6-09974121BD9155CF_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966230.html","width":130,"caption":"Honey Bee Fighting Back As Wasp Riads the Hive","height":98});
															thumbnails[8966274] = clik.newPhoto({"id":8966274,"src":"Dibs_Froghopper_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966274.html","width":130,"caption":"Froghopper","height":98});
															thumbnails[8966294] = clik.newPhoto({"id":8966294,"src":"32_02_Wild_She_Cat_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966294.html","width":130,"caption":"Wild She Cat","height":99});
															thumbnails[8966299] = clik.newPhoto({"id":8966299,"src":"24_M23_Misty_Morning_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966299.html","width":130,"caption":"Misty Morning","height":98});
															thumbnails[8966308] = clik.newPhoto({"id":8966308,"src":"Nick_Bodle_Splash_of_Light_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966308.html","width":130,"caption":"Splash of Light","height":98});
															thumbnails[8966326] = clik.newPhoto({"id":8966326,"src":"36_2_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966326.html","width":130,"caption":"St Margaret's Chapel & Mother and Child","height":98});
															thumbnails[8966339] = clik.newPhoto({"id":8966339,"src":"29_57-Prometheus_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966339.html","width":130,"caption":"Promethaus","height":86});
															thumbnails[8966350] = clik.newPhoto({"id":8966350,"src":"13_M18_Fredau_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966350.html","width":130,"caption":"Fredau","height":98});
															thumbnails[8966360] = clik.newPhoto({"id":8966360,"src":"Dibs_Froghopper1_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966360.html","width":130,"caption":"Froghopper","height":98});
															thumbnails[8966373] = clik.newPhoto({"id":8966373,"src":"35_40-Santa_Monica_1_of_1_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966373.html","width":130,"caption":"Santa Monica","height":112});
															thumbnails[8966385] = clik.newPhoto({"id":8966385,"src":"9_M35_Blackbird_eating_berries_W_thumb.jpg","galleries_id":469219,"server_id":5,"link":"photo_8966385.html","width":130,"caption":"Blackbird Eating Berries","height":98});
															thumbnails[9097795] = clik.newPhoto({"id":9097795,"src":"28_M23Autumn_Colours._1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097795.html","width":130,"caption":"Autumn Colours","height":98});
															thumbnails[9097799] = clik.newPhoto({"id":9097799,"src":"Lights_of_the_North_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097799.html","width":130,"caption":"Lights of the North","height":195});
															thumbnails[9097804] = clik.newPhoto({"id":9097804,"src":"26_M22_Frosty-Day_Open_Comp_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097804.html","width":130,"caption":"Frosty-Day","height":87});
															thumbnails[9097805] = clik.newPhoto({"id":9097805,"src":"17_M18_Car_Fire_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097805.html","width":130,"caption":"Car Fire","height":98});
															thumbnails[9097808] = clik.newPhoto({"id":9097808,"src":"7_57_-_Product_May_Differ_From_Model_Displayed_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097808.html","width":130,"caption":"Product May Differ From Model Displayed","height":99});
															thumbnails[9097816] = clik.newPhoto({"id":9097816,"src":"25_M20_Bridge_in_to_the_Horizon_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097816.html","width":130,"caption":"Bridge in to the Horizon","height":98});
															thumbnails[9097820] = clik.newPhoto({"id":9097820,"src":"16_M20_Great_Wall_of_China_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097820.html","width":130,"caption":"Great Wall of China","height":98});
															thumbnails[9097826] = clik.newPhoto({"id":9097826,"src":"33_16_-_Little_Japanese_Umbrella_Toadstools_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097826.html","width":130,"caption":"Little Japanese Umbrella Toadstools","height":98});
															thumbnails[9097835] = clik.newPhoto({"id":9097835,"src":"31_40_-_Wind_Power_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097835.html","width":130,"caption":"Wind Power","height":48});
															thumbnails[9097841] = clik.newPhoto({"id":9097841,"src":"19_16_-_Watching_the_Kitesurfers_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097841.html","width":130,"caption":"Watching the Kitesurfers","height":98});
															thumbnails[9097845] = clik.newPhoto({"id":9097845,"src":"20_57_-_The_Author_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097845.html","width":130,"caption":"The Author","height":82});
															thumbnails[9097849] = clik.newPhoto({"id":9097849,"src":"32_M10_Hoar_frost_on_Oak_Trees_1_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097849.html","width":130,"caption":"Hoar frost on Oak Trees","height":98});
															thumbnails[9097854] = clik.newPhoto({"id":9097854,"src":"12_M25_Riders_on_the_Sand_3_thumb.jpg","galleries_id":480102,"server_id":35,"link":"photo_9097854.html","width":130,"caption":"Riders on the Sand 2","height":53});
															thumbnails[9097906] = clik.newPhoto({"id":9097906,"src":"P6-Tranquil-Scene-2-Mono-Heather_Bodle-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097906.html","width":130,"caption":"Tranquil-Scene-#2","height":98});
															thumbnails[9097909] = clik.newPhoto({"id":9097909,"src":"P9-Common_Lizard-Mono-Don_Easter-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097909.html","width":130,"caption":"Common Lizard","height":60});
															thumbnails[9097913] = clik.newPhoto({"id":9097913,"src":"P5-Self_Portrait_Blues-Mono-Don_Easter-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097913.html","width":130,"caption":"Self Portrait Blues","height":98});
															thumbnails[9097917] = clik.newPhoto({"id":9097917,"src":"P15-Sunrise-over-Muddilake-Heather_Bodle-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097917.html","width":130,"caption":"Sunrise-over-Muddilake","height":98});
															thumbnails[9097924] = clik.newPhoto({"id":9097924,"src":"P14-Wet-Cobbles-Watendlath-Mono-Nick_Bodle-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097924.html","width":130,"caption":"Wet-Cobbles-Watendlath","height":98});
															thumbnails[9097933] = clik.newPhoto({"id":9097933,"src":"P11-Bottled-Orchid-Heather_Bodle-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097933.html","width":130,"caption":"Bottled-Orchid","height":98});
															thumbnails[9097945] = clik.newPhoto({"id":9097945,"src":"P1-Snooker-Room-Ightham-Mote-Mono-Nick_Bodle-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097945.html","width":130,"caption":"Snooker-Room-Ightham-Mote","height":98});
															thumbnails[9097950] = clik.newPhoto({"id":9097950,"src":"P8-Wind_Blown_Weatherd_and_Forgotten-Mono-Nick_Bodle-Launceston_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097950.html","width":130,"caption":"Wind Blown Weatherd and Forgotten","height":98});
															thumbnails[9097953] = clik.newPhoto({"id":9097953,"src":"P4-Cathrine_at_her_Spinning_Wheel-mono-John_Davey-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097953.html","width":130,"caption":"Cathrine at her Spinning Wheel","height":98});
															thumbnails[9097956] = clik.newPhoto({"id":9097956,"src":"P12-Isis-John_Davey-Mono-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097956.html","width":130,"caption":"Isis","height":98});
															thumbnails[9097959] = clik.newPhoto({"id":9097959,"src":"P7-Walking_in_the_Snow-Hilary_Philips-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097959.html","width":130,"caption":"Walking in the Snow","height":89});
															thumbnails[9097962] = clik.newPhoto({"id":9097962,"src":"P2-Its_a_Boy-Alan_Purton-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097962.html","width":130,"caption":"Its a Boy","height":98});
															thumbnails[9097965] = clik.newPhoto({"id":9097965,"src":"P13-Fox_in_the_Snow-Chris_Robbins-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097965.html","width":130,"caption":"Fox in the Snow","height":98});
															thumbnails[9097968] = clik.newPhoto({"id":9097968,"src":"P3-ToPunggol-Mono-IanSmith-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097968.html","width":130,"caption":"ToPunggol","height":98});
															thumbnails[9097972] = clik.newPhoto({"id":9097972,"src":"P10-Gypsy_Bead_Seller-Chris_Robbins-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097972.html","width":130,"caption":"Gypsy Bead Seller","height":195});
															thumbnails[9097981] = clik.newPhoto({"id":9097981,"src":"D12-Hornet_on_apple_sapW-Hilary_Philips-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097981.html","width":130,"caption":"Hornet on apple sap","height":117});
															thumbnails[9097983] = clik.newPhoto({"id":9097983,"src":"D9-KelpGullW-Angela_Rowlands-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097983.html","width":130,"caption":"KelpGull","height":98});
															thumbnails[9097991] = clik.newPhoto({"id":9097991,"src":"D8-Cattle_Drive_Montana-Charlotte_Cann-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097991.html","width":130,"caption":"Cattle Drive Montana","height":98});
															thumbnails[9097996] = clik.newPhoto({"id":9097996,"src":"D5-How_Many_Moves-Jon_Lees-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9097996.html","width":130,"caption":"How Many Moves","height":98});
															thumbnails[9098000] = clik.newPhoto({"id":9098000,"src":"D11-Rays_of_Light-_Heather_Bodle-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098000.html","width":130,"caption":"Rays of Light","height":98});
															thumbnails[9098009] = clik.newPhoto({"id":9098009,"src":"D10-Reed_BuntingW-Alan_Northy-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098009.html","width":130,"caption":"Reed Bunting","height":98});
															thumbnails[9098014] = clik.newPhoto({"id":9098014,"src":"D13-Bridesmaid-Ian_Smith-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098014.html","width":130,"caption":"Bridesmaid","height":98});
															thumbnails[9098021] = clik.newPhoto({"id":9098021,"src":"D1-Hoverfly_in_FlightW-Chris_Robbins-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098021.html","width":130,"caption":"Hoverfly in Flight","height":98});
															thumbnails[9098027] = clik.newPhoto({"id":9098027,"src":"D6-HoverflyW-Don_Easter-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098027.html","width":130,"caption":"Hoverfly","height":98});
															thumbnails[9098033] = clik.newPhoto({"id":9098033,"src":"D14-Male_GreenfinchW-Chris_Robbins-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098033.html","width":130,"caption":"Male Greenfinch","height":98});
															thumbnails[9098034] = clik.newPhoto({"id":9098034,"src":"D2-National_Memorial_Arboretum-Don_Easter-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098034.html","width":130,"caption":"National Memorial Arboretum","height":98});
															thumbnails[9098056] = clik.newPhoto({"id":9098056,"src":"D7-Little_EgretW-Adrian_Davey-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098056.html","width":130,"caption":"Little Egret","height":98});
															thumbnails[9098060] = clik.newPhoto({"id":9098060,"src":"D3-Winter_Light_Buttermere-Nick_Bodle-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098060.html","width":130,"caption":"Winter Light Buttermere","height":98});
															thumbnails[9098065] = clik.newPhoto({"id":9098065,"src":"D15-Touching_Reflection-Don_Easter-LauncestonCC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098065.html","width":130,"caption":"Touching Reflection","height":98});
															thumbnails[9098078] = clik.newPhoto({"id":9098078,"src":"D4-First_Light_Derwent_Water-Nick_Bodle-Launceston_CC_1_thumb.jpg","galleries_id":480108,"server_id":35,"link":"photo_9098078.html","width":130,"caption":"First Light Derwent Water","height":98});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[480108] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cornwall Photographic Alliance 2011","link":"gallery_480108.html","maxRecords":0.0,"photoIDs":[9097906.0,9097909.0,9097913.0,9097917.0,9097924.0,9097933.0,9097945.0,9097950.0,9097953.0,9097956.0,9097959.0,9097962.0,9097965.0,9097968.0,9097972.0,9097981.0,9097983.0,9097991.0,9097996.0,9098000.0,9098009.0,9098014.0,9098021.0,9098027.0,9098033.0,9098034.0,9098056.0,9098060.0,9098065.0,9098078.0],"skipIndex":0,"section_code":"gallery","featured_images":"9098078,9098065,9098060,9098056,9098034,9098033,9098027,9098021,9098014,9098009","id":480108,"singleSection":false});				  						galleries[418859] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dawn till Dusk Comp","link":"gallery_418859.html","maxRecords":0.0,"photoIDs":[7746330.0,7813899.0,7813901.0,7815150.0,8727896.0],"skipIndex":0,"section_code":"gallery","featured_images":"8727896,7815150,7813901,7813899,7746330","id":418859,"singleSection":false});				  						galleries[459974] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Don Harris Comp. Nov. 2011","link":"gallery_459974.html","maxRecords":0.0,"photoIDs":[8727817.0,8727847.0,8727848.0,8727852.0,8727855.0,8727862.0,8727867.0,8727875.0],"skipIndex":0,"section_code":"gallery","featured_images":"8727875,8727867,8727862,8727855,8727852,8727848,8727847,8727817","id":459974,"singleSection":false});				  						galleries[469219] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Grand Slam 2011","link":"gallery_469219.html","maxRecords":0.0,"photoIDs":[8921875.0,8966230.0,8966274.0,8966294.0,8966299.0,8966308.0,8966326.0,8966339.0,8966350.0,8966360.0,8966373.0,8966385.0],"skipIndex":0,"section_code":"gallery","featured_images":"8966385,8966373,8966360,8966350,8966339,8966326,8966308,8966299,8966294,8966274","id":469219,"singleSection":false});				  						galleries[462894] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Natural History Competition Nov. 2011","link":"gallery_462894.html","maxRecords":0.0,"photoIDs":[8791559.0,8791571.0,8791573.0,8791574.0,8791576.0,8791577.0,8791578.0,8791580.0,8791581.0,8791584.0,8791585.0,8791586.0,8791592.0,8791597.0,8791598.0,8791601.0],"skipIndex":0,"section_code":"gallery","featured_images":"8791601,8791598,8791597,8791592,8791586,8791585,8791584,8791581,8791580,8791578","id":462894,"singleSection":false});				  						galleries[411852] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Open Comp 22 Feb. 2011","link":"gallery_411852.html","maxRecords":0.0,"photoIDs":[7594404.0,7594406.0,7594411.0,7594413.0,7594423.0,7594426.0],"skipIndex":0,"section_code":"gallery","featured_images":"7594426,7594423,7594413,7594411,7594406,7594404","id":411852,"singleSection":false});				  						galleries[480102] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Open Comp Jan 2012","link":"gallery_480102.html","maxRecords":0.0,"photoIDs":[9097795.0,9097799.0,9097804.0,9097805.0,9097808.0,9097816.0,9097820.0,9097826.0,9097835.0,9097841.0,9097845.0,9097849.0,9097854.0],"skipIndex":0,"section_code":"gallery","featured_images":"9097854,9097849,9097845,9097841,9097835,9097826,9097820,9097816,9097808,9097805","id":480102,"singleSection":false});				  						galleries[458909] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"OpenCompetition Oct. 2011","link":"gallery_458909.html","maxRecords":0.0,"photoIDs":[8698074.0,8698079.0,8698102.0,8698167.0,8698170.0,8698171.0,8698172.0,8698174.0,8698201.0,8727911.0],"skipIndex":0,"section_code":"gallery","featured_images":"8727911,8698201,8698174,8698172,8698171,8698170,8698167,8698102,8698079,8698074","id":458909,"singleSection":false});				  						galleries[399645] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Self Portrait","link":"gallery_399645.html","maxRecords":0.0,"photoIDs":[7382446.0,7382485.0,7382668.0],"skipIndex":0,"section_code":"gallery","featured_images":7382485.0,"id":399645,"singleSection":false});				  						galleries[400894] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Winning PAGB Collection","link":"gallery_400894.html","maxRecords":0.0,"photoIDs":[7401759.0,7401762.0,7401764.0,7401769.0,7401772.0,7401774.0,7401776.0,7401780.0,7401782.0,7401784.0],"skipIndex":0,"section_code":"gallery","featured_images":"7401784,7401782,7401780,7401776,7401774,7401772,7401769,7401764,7401762,7401759","id":400894,"singleSection":false});				  						galleries[270125] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Winning Images.","link":"gallery_270125.html","maxRecords":0.0,"photoIDs":[4736055.0,4736086.0,4767436.0,4767457.0,5549382.0,5586440.0,5586460.0,5586465.0],"skipIndex":0,"section_code":"gallery","featured_images":"4767436,4736086","id":270125,"singleSection":false});				  						galleries[334123] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Digital Entry for 2010 CPA Competition","link":"gallery_334123.html","maxRecords":0.0,"photoIDs":[5920033.0,5920035.0,5920044.0,5920046.0,5920050.0,5920055.0,5920063.0,5920299.0,5920306.0,5920329.0],"skipIndex":0,"section_code":"gallery","featured_images":"5920329,5920306,5920299,5920063,5920055,5920050,5920046,5920044,5920035,5920033","id":334123,"singleSection":false});				  						galleries[388206] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Grand Slam 2010","link":"gallery_388206.html","maxRecords":0.0,"photoIDs":[5592717.0,7186025.0,7186034.0,7186045.0,7186075.0,7186082.0,7186232.0,7186247.0,7186264.0,7195546.0,7195547.0,7195548.0,7195554.0,7197559.0,7198982.0,7199000.0,7199059.0,7199335.0],"skipIndex":0,"section_code":"gallery","featured_images":"7195554,7186247,5592717","id":388206,"singleSection":false});				  						galleries[174871] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"route map to Launceston Camera Club","link":"gallery_174871.html","maxRecords":0.0,"photoIDs":[8033447.0],"skipIndex":0,"section_code":"gallery","featured_images":8033447.0,"id":174871,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7382485,7195554,7186247,5920329,5920306,5920063,5920055,4767436';
imageSets[2] = '7382485,7195554,7186247,5592717,4767436,4736086';
imageSets[3] = '4736086';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/edwardjf/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/edwardjf/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 = 'LauncestonCameraClub: ' + 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;
	}
}

			

