window.thumbnails = {};
															thumbnails[1341211] = clik.newPhoto({"id":1341211,"src":"sierra_shell 2_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_1341211.html","width":130,"caption":"Sierra Shell","height":100});
															thumbnails[1341220] = clik.newPhoto({"id":1341220,"src":"st_emilion_lawn2 _thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_1341220.html","width":130,"caption":"St. Emilion Lawn","height":98});
															thumbnails[1341227] = clik.newPhoto({"id":1341227,"src":"Corner_forbidden_city 2_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_1341227.html","width":130,"caption":"Corner Forbidden City","height":98});
															thumbnails[3672386] = clik.newPhoto({"id":3672386,"src":"billj1_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_3672386.html","width":130,"caption":"Scarlet & White","height":181});
															thumbnails[3672390] = clik.newPhoto({"id":3672390,"src":"billj2_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_3672390.html","width":130,"caption":"Airborne","height":88});
															thumbnails[3672393] = clik.newPhoto({"id":3672393,"src":"billj3_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_3672393.html","width":130,"caption":"Black & Red Feathers","height":164});
															thumbnails[5202247] = clik.newPhoto({"id":5202247,"src":"Untitled-_122a_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5202247.html","width":130,"caption":"","height":92});
															thumbnails[5202250] = clik.newPhoto({"id":5202250,"src":"Untitled-_193_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5202250.html","width":130,"caption":"","height":92});
															thumbnails[5202252] = clik.newPhoto({"id":5202252,"src":"Untitled-_130a_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5202252.html","width":130,"caption":"","height":92});
															thumbnails[5202604] = clik.newPhoto({"id":5202604,"src":"Black_skimmer_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202604.html","width":130,"caption":"Black Skimmer","height":98});
															thumbnails[5202609] = clik.newPhoto({"id":5202609,"src":"Bohemian_Waxwing_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202609.html","width":130,"caption":"Bohemian Waxwing","height":98});
															thumbnails[5202611] = clik.newPhoto({"id":5202611,"src":"Great_Blue_Herons_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202611.html","width":130,"caption":"Great Blue Herons","height":98});
															thumbnails[5202614] = clik.newPhoto({"id":5202614,"src":"Great_Blue_Herons2_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202614.html","width":130,"caption":"Great Blue Herons 2","height":98});
															thumbnails[5202618] = clik.newPhoto({"id":5202618,"src":"Osprey_with_catch_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202618.html","width":130,"caption":"Osprey with catch","height":147});
															thumbnails[5202623] = clik.newPhoto({"id":5202623,"src":"Reddish_Egret_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202623.html","width":130,"caption":"Reddish Egret","height":98});
															thumbnails[5202627] = clik.newPhoto({"id":5202627,"src":"Snow_Leopard_thumb.jpg","galleries_id":293722,"server_id":15,"link":"photo_5202627.html","width":130,"caption":"Snow Leopard","height":74});
															thumbnails[5368189] = clik.newPhoto({"id":5368189,"src":"Antelope_Canyon_thumb.jpg","galleries_id":302560,"server_id":15,"link":"photo_5368189.html","width":130,"caption":"Antelope Canyon","height":85});
															thumbnails[5368194] = clik.newPhoto({"id":5368194,"src":"Death_Valley_1_thumb.jpg","galleries_id":302560,"server_id":15,"link":"photo_5368194.html","width":130,"caption":"Death Valley 1","height":141});
															thumbnails[5368196] = clik.newPhoto({"id":5368196,"src":"Death_Valley_2_thumb.jpg","galleries_id":302560,"server_id":15,"link":"photo_5368196.html","width":130,"caption":"Death Valley 2","height":141});
															thumbnails[5368220] = clik.newPhoto({"id":5368220,"src":"Graffiti_Cottage_thumb.jpg","galleries_id":302560,"server_id":15,"link":"photo_5368220.html","width":130,"caption":"Graffiti Cottage","height":85});
															thumbnails[5368223] = clik.newPhoto({"id":5368223,"src":"Ice_Patterns_thumb.jpg","galleries_id":302560,"server_id":15,"link":"photo_5368223.html","width":130,"caption":"Ice Patterns","height":85});
															thumbnails[5368226] = clik.newPhoto({"id":5368226,"src":"Therfield_thumb.jpg","galleries_id":302560,"server_id":15,"link":"photo_5368226.html","width":130,"caption":"The Field","height":85});
															thumbnails[5419893] = clik.newPhoto({"id":5419893,"src":"Untitled-_111_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5419893.html","width":130,"caption":"","height":92});
															thumbnails[5419894] = clik.newPhoto({"id":5419894,"src":"Untitled-_167_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5419894.html","width":130,"caption":"","height":184});
															thumbnails[5419896] = clik.newPhoto({"id":5419896,"src":"Untitled-_182_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5419896.html","width":130,"caption":"","height":184});
															thumbnails[5419897] = clik.newPhoto({"id":5419897,"src":"Untitled-_197_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5419897.html","width":130,"caption":"","height":92});
															thumbnails[5419899] = clik.newPhoto({"id":5419899,"src":"Untitled-_201_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5419899.html","width":130,"caption":"","height":184});
															thumbnails[5419900] = clik.newPhoto({"id":5419900,"src":"Untitled-_231_thumb.jpg","galleries_id":293719,"server_id":15,"link":"photo_5419900.html","width":130,"caption":"","height":184});
															thumbnails[5664697] = clik.newPhoto({"id":5664697,"src":"Bamburgh_Caslte_and_Pot1_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664697.html","width":130,"caption":"Bamburgh Castle and Pot","height":130});
															thumbnails[5664701] = clik.newPhoto({"id":5664701,"src":"Dunstanburgh_Castle_from_south_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664701.html","width":130,"caption":"Dunstanburgh Castle from South","height":104});
															thumbnails[5664853] = clik.newPhoto({"id":5664853,"src":"Cadwell_Racer_2_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664853.html","width":130,"caption":"Cadwell Racer","height":82});
															thumbnails[5664903] = clik.newPhoto({"id":5664903,"src":"Creative_Green_Squiggle1_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664903.html","width":130,"caption":"Creative Green Squiggle","height":130});
															thumbnails[5664914] = clik.newPhoto({"id":5664914,"src":"Damons_Autumn_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664914.html","width":130,"caption":"Damons Autumn","height":130});
															thumbnails[5664916] = clik.newPhoto({"id":5664916,"src":"Grass_And_Post_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664916.html","width":130,"caption":"Grass and Post","height":130});
															thumbnails[5664919] = clik.newPhoto({"id":5664919,"src":"Manby_Muddy_Jeep_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664919.html","width":130,"caption":"Manby muddy Jeep","height":86});
															thumbnails[5664921] = clik.newPhoto({"id":5664921,"src":"Salve_On_Stairs_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664921.html","width":130,"caption":"Salve on Stairs","height":136});
															thumbnails[5664923] = clik.newPhoto({"id":5664923,"src":"Salve_Side_Chapel_Reclining_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664923.html","width":130,"caption":"Salve Side Chapel Reclining","height":130});
															thumbnails[5664924] = clik.newPhoto({"id":5664924,"src":"Salve_White_Chair_thumb.jpg","galleries_id":293729,"server_id":15,"link":"photo_5664924.html","width":130,"caption":"Salve white chair","height":94});
															thumbnails[5741938] = clik.newPhoto({"id":5741938,"src":"EILEEN_DONAN_jpeg_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_5741938.html","width":130,"caption":"Eileen Donan","height":98});
															thumbnails[5741943] = clik.newPhoto({"id":5741943,"src":"golden_hornjpeg_copy_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_5741943.html","width":130,"caption":"Golden Horn","height":106});
															thumbnails[5741980] = clik.newPhoto({"id":5741980,"src":"In_Martindale_jpeg_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_5741980.html","width":130,"caption":"In Martindale","height":90});
															thumbnails[5742042] = clik.newPhoto({"id":5742042,"src":"Punch_with_friend_copy_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_5742042.html","width":130,"caption":"Punch with Friend","height":185});
															thumbnails[5742045] = clik.newPhoto({"id":5742045,"src":"Not_a_good_runner_thumb.jpg","galleries_id":90195,"server_id":15,"link":"photo_5742045.html","width":130,"caption":"Not a good Runner","height":99});
															thumbnails[5748384] = clik.newPhoto({"id":5748384,"src":"Duck_patrol_thumb.jpg","galleries_id":89906,"server_id":15,"link":"photo_5748384.html","width":130,"caption":"Duck patrol","height":91});
															thumbnails[5748386] = clik.newPhoto({"id":5748386,"src":"Scheningen_pier_thumb.jpg","galleries_id":89906,"server_id":15,"link":"photo_5748386.html","width":130,"caption":"Scheningen","height":87});
															thumbnails[5748389] = clik.newPhoto({"id":5748389,"src":"Windmills_at_Drei_Molen_thumb.jpg","galleries_id":89906,"server_id":15,"link":"photo_5748389.html","width":130,"caption":"Windmills at Drei Molen","height":87});
															thumbnails[5791353] = clik.newPhoto({"id":5791353,"src":"Yellow-Craig-1_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791353.html","width":130,"caption":"Yellow Craig","height":108});
															thumbnails[5791717] = clik.newPhoto({"id":5791717,"src":"Moody-Sea-_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791717.html","width":130,"caption":"Moody Sea","height":108});
															thumbnails[5791719] = clik.newPhoto({"id":5791719,"src":"Luskentyre-_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791719.html","width":130,"caption":"Luskentyre","height":108});
															thumbnails[5791724] = clik.newPhoto({"id":5791724,"src":"Derwentwater_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791724.html","width":130,"caption":"Derwentwater","height":108});
															thumbnails[5791726] = clik.newPhoto({"id":5791726,"src":"Citroen-_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791726.html","width":130,"caption":"Citroen","height":108});
															thumbnails[5791727] = clik.newPhoto({"id":5791727,"src":"Wall-art-1_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791727.html","width":130,"caption":"Wall Art","height":108});
															thumbnails[5791730] = clik.newPhoto({"id":5791730,"src":"Seattle-_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791730.html","width":130,"caption":"Seattle","height":108});
															thumbnails[5791734] = clik.newPhoto({"id":5791734,"src":"New-York-1_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791734.html","width":130,"caption":"New York","height":108});
															thumbnails[5791738] = clik.newPhoto({"id":5791738,"src":"Holmstead-Point_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791738.html","width":130,"caption":"Holmstead Point","height":108});
															thumbnails[5791745] = clik.newPhoto({"id":5791745,"src":"El-Capitarn-_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_5791745.html","width":130,"caption":"El Capitarn","height":108});
															thumbnails[6739988] = clik.newPhoto({"id":6739988,"src":"Sky_Orosei_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6739988.html","width":130,"caption":"Sky, Orosel","height":87});
															thumbnails[6739990] = clik.newPhoto({"id":6739990,"src":"Sky_Hucknall_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6739990.html","width":130,"caption":"Sky, Hucknall","height":98});
															thumbnails[6739992] = clik.newPhoto({"id":6739992,"src":"Sky_Annesley_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6739992.html","width":130,"caption":"Sky Annesley","height":87});
															thumbnails[6740019] = clik.newPhoto({"id":6740019,"src":"Roots_digital_pinhole_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740019.html","width":130,"caption":"Roots (Digital pinhole)","height":62});
															thumbnails[6740021] = clik.newPhoto({"id":6740021,"src":"Moon_Annesley_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740021.html","width":130,"caption":"Moon, Annesley","height":87});
															thumbnails[6740022] = clik.newPhoto({"id":6740022,"src":"Chesil_Beach_digital_pinhole_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740022.html","width":130,"caption":"Chesil Beach (digital pinhole)","height":87});
															thumbnails[6740026] = clik.newPhoto({"id":6740026,"src":"Beach_at_Durdle_Door_digital_pinhole_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740026.html","width":130,"caption":"Beach at Durdle Door (pinhole digital)","height":85});
															thumbnails[6740040] = clik.newPhoto({"id":6740040,"src":"Bosa145_kallitype_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740040.html","width":130,"caption":"Bosa 145 (kallitype)","height":87});
															thumbnails[6740117] = clik.newPhoto({"id":6740117,"src":"Bosa58_kallitype_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740117.html","width":130,"caption":"Bosa 58 (kallitype)","height":86});
															thumbnails[6740126] = clik.newPhoto({"id":6740126,"src":"Bosa1_kallitype_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740126.html","width":130,"caption":"Bosa 1 (kallitype)","height":194});
															thumbnails[6740132] = clik.newPhoto({"id":6740132,"src":"Bosa_38_kallitype_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_6740132.html","width":130,"caption":"Bosa 38 (kallitype)","height":194});
															thumbnails[7033911] = clik.newPhoto({"id":7033911,"src":"john_day_1_sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7033911.html","width":130,"caption":"Northumberland","height":104});
															thumbnails[7033914] = clik.newPhoto({"id":7033914,"src":"john_day_2_sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7033914.html","width":130,"caption":"North Wales Coast","height":102});
															thumbnails[7034023] = clik.newPhoto({"id":7034023,"src":"john_day_3_sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7034023.html","width":130,"caption":"Frosted leaf","height":102});
															thumbnails[7034024] = clik.newPhoto({"id":7034024,"src":"john_day_4_sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7034024.html","width":130,"caption":"Suburbia","height":104});
															thumbnails[7034026] = clik.newPhoto({"id":7034026,"src":"john_day_5_sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7034026.html","width":130,"caption":"Hosta","height":104});
															thumbnails[7034027] = clik.newPhoto({"id":7034027,"src":"john_day_6_sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7034027.html","width":130,"caption":"Fylde Football Ground","height":103});
															thumbnails[7034028] = clik.newPhoto({"id":7034028,"src":"john_day_7sized_thumb.jpg","galleries_id":380831,"server_id":15,"link":"photo_7034028.html","width":130,"caption":"Reflections","height":102});
															thumbnails[7169171] = clik.newPhoto({"id":7169171,"src":"dsc01548_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_7169171.html","width":130,"caption":"carwash 2","height":109});
															thumbnails[7169173] = clik.newPhoto({"id":7169173,"src":"mill_1_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_7169173.html","width":130,"caption":"mill 1","height":146});
															thumbnails[7169177] = clik.newPhoto({"id":7169177,"src":"old_court_ho_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_7169177.html","width":130,"caption":"old court house","height":92});
															thumbnails[7169181] = clik.newPhoto({"id":7169181,"src":"red--yellow_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_7169181.html","width":130,"caption":"red & yellow","height":105});
															thumbnails[7169182] = clik.newPhoto({"id":7169182,"src":"traffic_lights_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_7169182.html","width":130,"caption":"traffic lights","height":138});
															thumbnails[7169184] = clik.newPhoto({"id":7169184,"src":"shopping_mall_thumb.jpg","galleries_id":94280,"server_id":15,"link":"photo_7169184.html","width":130,"caption":"shopping mall","height":96});
															thumbnails[7877697] = clik.newPhoto({"id":7877697,"src":"002B_Girl_from_Periakanal__copy_thumb.jpg","galleries_id":89900,"server_id":15,"link":"photo_7877697.html","width":130,"caption":"Girl from Periakanal","height":118});
															thumbnails[7877703] = clik.newPhoto({"id":7877703,"src":"003B_Mundakayam_Cattle_Mar_copy_thumb.jpg","galleries_id":89900,"server_id":15,"link":"photo_7877703.html","width":130,"caption":"Mundakayam Cattle Market","height":92});
															thumbnails[7877710] = clik.newPhoto({"id":7877710,"src":"003A_Feeding_Chickens_Koma_copy_thumb.jpg","galleries_id":89900,"server_id":15,"link":"photo_7877710.html","width":130,"caption":"Feeding Chickens, Koma","height":90});
															thumbnails[7877713] = clik.newPhoto({"id":7877713,"src":"002A_Upper_Camp_Woman_-_Ta_copy_thumb.jpg","galleries_id":89900,"server_id":15,"link":"photo_7877713.html","width":130,"caption":"Upper Camp Woman ","height":89});
															thumbnails[7877762] = clik.newPhoto({"id":7877762,"src":"001B_Nursery_Child_Kumarak_copy_thumb.jpg","galleries_id":89900,"server_id":15,"link":"photo_7877762.html","width":130,"caption":"Nursery Child Kumarak","height":107});
															thumbnails[7877764] = clik.newPhoto({"id":7877764,"src":"001A_Bazar_Road__Fort_Coch_copy_thumb.jpg","galleries_id":89900,"server_id":15,"link":"photo_7877764.html","width":130,"caption":"Bazar Road  Fort Cochin","height":91});
															thumbnails[7891940] = clik.newPhoto({"id":7891940,"src":"Car_Lights_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7891940.html","width":130,"caption":"Car Lights","height":87});
															thumbnails[7891946] = clik.newPhoto({"id":7891946,"src":"FoldingChairWarhol_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7891946.html","width":130,"caption":"Folding Chair","height":196});
															thumbnails[7891949] = clik.newPhoto({"id":7891949,"src":"Gaming_Machine-Edit-2_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7891949.html","width":130,"caption":"Gaming Machine","height":87});
															thumbnails[7891952] = clik.newPhoto({"id":7891952,"src":"IMG_4269-Edit_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7891952.html","width":130,"caption":"Black Fence","height":195});
															thumbnails[7891958] = clik.newPhoto({"id":7891958,"src":"IMG_4302-Edit_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7891958.html","width":130,"caption":"Black & Blue","height":87});
															thumbnails[7891960] = clik.newPhoto({"id":7891960,"src":"Ladies_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7891960.html","width":130,"caption":"Ladies","height":193});
															thumbnails[7892103] = clik.newPhoto({"id":7892103,"src":"WarholChevron_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7892103.html","width":130,"caption":"Chevron","height":90});
															thumbnails[7892109] = clik.newPhoto({"id":7892109,"src":"WarholFootballAlter_turd-Edit_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7892109.html","width":130,"caption":"Football","height":152});
															thumbnails[7892113] = clik.newPhoto({"id":7892113,"src":"WarholJetty_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7892113.html","width":130,"caption":"Jetty","height":87});
															thumbnails[7892120] = clik.newPhoto({"id":7892120,"src":"WarholPrivate_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7892120.html","width":130,"caption":"Private","height":101});
															thumbnails[7892124] = clik.newPhoto({"id":7892124,"src":"WarholSalleysBistro-Edit_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7892124.html","width":130,"caption":"Sally's Bistro","height":111});
															thumbnails[7892130] = clik.newPhoto({"id":7892130,"src":"Wheel_Trim_thumb.jpg","galleries_id":295711,"server_id":15,"link":"photo_7892130.html","width":130,"caption":"Wheel Trim","height":87});
															thumbnails[7637881] = clik.newPhoto({"id":7637881,"src":"The_Soft_Drinks_Kids_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7637881.html","width":130,"caption":"The Soft Drinks Kids","height":164});
															thumbnails[7843323] = clik.newPhoto({"id":7843323,"src":"Alleyway_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843323.html","width":130,"caption":"Alleyway","height":148});
															thumbnails[7922802] = clik.newPhoto({"id":7922802,"src":"500_A_goth__IMG_1367_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922802.html","width":130,"caption":"GOTH","height":156});
															thumbnails[8164633] = clik.newPhoto({"id":8164633,"src":"5a_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164633.html","width":130,"caption":"","height":86});
															thumbnails[8606196] = clik.newPhoto({"id":8606196,"src":"_1_Study_in_Orange_Slot_Canyons_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606196.html","width":130,"caption":"Study in Orange Slot Canyons","height":195});
															thumbnails[7638064] = clik.newPhoto({"id":7638064,"src":"Village_Football_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7638064.html","width":130,"caption":"Village Football","height":94});
															thumbnails[7843316] = clik.newPhoto({"id":7843316,"src":"Frozen_walk_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843316.html","width":130,"caption":"Frozen Walk","height":148});
															thumbnails[7922806] = clik.newPhoto({"id":7922806,"src":"500_B_gothgirl05a_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922806.html","width":130,"caption":"WHEN I WAS A GIRL","height":104});
															thumbnails[8164638] = clik.newPhoto({"id":8164638,"src":"5b_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164638.html","width":130,"caption":"","height":195});
															thumbnails[8606201] = clik.newPhoto({"id":8606201,"src":"2_Sunset_on_the_Mittens_with_rising_Moon_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606201.html","width":130,"caption":"Sunset on the Mittens","height":69});
															thumbnails[7638068] = clik.newPhoto({"id":7638068,"src":"Taking_the_Maize_to_be_ground_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7638068.html","width":130,"caption":"Taking the Maize to be ground","height":190});
															thumbnails[7843309] = clik.newPhoto({"id":7843309,"src":"Beach_walk_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843309.html","width":130,"caption":"Beach Walk","height":148});
															thumbnails[7922810] = clik.newPhoto({"id":7922810,"src":"500_C_gothman_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922810.html","width":130,"caption":"CHARACTER","height":175});
															thumbnails[8164642] = clik.newPhoto({"id":8164642,"src":"5c_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164642.html","width":130,"caption":"","height":86});
															thumbnails[8606270] = clik.newPhoto({"id":8606270,"src":"3_SunriseGlow_QueensGarden_Bryce_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606270.html","width":130,"caption":"Sunsrise Glow Queens garden, Bryce","height":197});
															thumbnails[7637573] = clik.newPhoto({"id":7637573,"src":"A_drink_before_the_crowds_arrive_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7637573.html","width":130,"caption":"A drink before the crowds arrive","height":80});
															thumbnails[7843290] = clik.newPhoto({"id":7843290,"src":"Night_walk_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843290.html","width":130,"caption":"Night Walk","height":148});
															thumbnails[7922816] = clik.newPhoto({"id":7922816,"src":"500_D_IMG_1614230510The88web_keith_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922816.html","width":130,"caption":"KEITH SLETTEDAHL","height":104});
															thumbnails[8164650] = clik.newPhoto({"id":8164650,"src":"6a_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164650.html","width":130,"caption":"","height":196});
															thumbnails[8606373] = clik.newPhoto({"id":8606373,"src":"4_Solitude_Perranporth_Beach_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606373.html","width":130,"caption":"Solitude Perranporth Beach","height":87});
															thumbnails[7638450] = clik.newPhoto({"id":7638450,"src":"wash_day_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7638450.html","width":130,"caption":"Wash Day","height":80});
															thumbnails[7843304] = clik.newPhoto({"id":7843304,"src":"Lost_in_thought_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843304.html","width":130,"caption":"Lost in thought","height":148});
															thumbnails[7922821] = clik.newPhoto({"id":7922821,"src":"500_E__0815271007stevebeightonwithpaulcarrack_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922821.html","width":130,"caption":"STEVE BEIGHTON","height":130});
															thumbnails[8164656] = clik.newPhoto({"id":8164656,"src":"6b_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164656.html","width":130,"caption":"","height":196});
															thumbnails[8606376] = clik.newPhoto({"id":8606376,"src":"5_Langdales_Valley_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606376.html","width":130,"caption":"Langdales Valley","height":60});
															thumbnails[7637636] = clik.newPhoto({"id":7637636,"src":"General_Store_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7637636.html","width":130,"caption":"The General Store","height":100});
															thumbnails[7843287] = clik.newPhoto({"id":7843287,"src":"Shadow_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843287.html","width":130,"caption":"Shadow","height":148});
															thumbnails[7922826] = clik.newPhoto({"id":7922826,"src":"500_F_340IMG_4901230307ferry1aaweb_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922826.html","width":130,"caption":"BRYAN FERRY","height":112});
															thumbnails[8164662] = clik.newPhoto({"id":8164662,"src":"6c_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164662.html","width":130,"caption":"","height":196});
															thumbnails[8606380] = clik.newPhoto({"id":8606380,"src":"6_Evening_Tide_Bambrough_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606380.html","width":130,"caption":"Evening Tide Bamburgh","height":91});
															thumbnails[7637421] = clik.newPhoto({"id":7637421,"src":"Bus_Stop_Esperanza_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7637421.html","width":130,"caption":"Bus Stop, Esperanza","height":92});
															thumbnails[7843276] = clik.newPhoto({"id":7843276,"src":"Heart_balloon_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843276.html","width":130,"caption":"","height":148});
															thumbnails[7922830] = clik.newPhoto({"id":7922830,"src":"500_G_IMG_4185021110natdancecowalesweb_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922830.html","width":130,"caption":"","height":195});
															thumbnails[8164673] = clik.newPhoto({"id":8164673,"src":"7a_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164673.html","width":130,"caption":"","height":86});
															thumbnails[8606401] = clik.newPhoto({"id":8606401,"src":"7_Soft_LightMist_GlenEtive_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606401.html","width":130,"caption":"Soft Light and Mist GlenEtive","height":87});
															thumbnails[7637537] = clik.newPhoto({"id":7637537,"src":"Local_Transport_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7637537.html","width":130,"caption":"Local Transport","height":94});
															thumbnails[7843266] = clik.newPhoto({"id":7843266,"src":"Silhouette_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843266.html","width":130,"caption":"Silhouette","height":148});
															thumbnails[7922832] = clik.newPhoto({"id":7922832,"src":"500_H_IMG_43660_ndcw_3_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922832.html","width":130,"caption":"NATIONAL DANCE COMPANY WALES","height":87});
															thumbnails[8164677] = clik.newPhoto({"id":8164677,"src":"7b_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164677.html","width":130,"caption":"","height":87});
															thumbnails[8606455] = clik.newPhoto({"id":8606455,"src":"8_Brief_Light_Rannoch_Moor_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606455.html","width":130,"caption":"Brief light Rannoch Moor","height":85});
															thumbnails[7637546] = clik.newPhoto({"id":7637546,"src":"Sitting_around_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7637546.html","width":130,"caption":"Sitting around","height":86});
															thumbnails[7843259] = clik.newPhoto({"id":7843259,"src":"Thinking_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843259.html","width":130,"caption":"Thinking","height":149});
															thumbnails[7922994] = clik.newPhoto({"id":7922994,"src":"500_J_ndcw_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922994.html","width":130,"caption":"","height":195});
															thumbnails[8164680] = clik.newPhoto({"id":8164680,"src":"7c_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164680.html","width":130,"caption":"","height":87});
															thumbnails[8606456] = clik.newPhoto({"id":8606456,"src":"9_Clearing_Autumn_Mists_Loch_Tummel_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606456.html","width":130,"caption":"Autumn Mists Loch Tummel","height":83});
															thumbnails[1262828] = clik.newPhoto({"id":1262828,"src":"Into_the_Light_ŠKeith_Lord_thumb.jpg","galleries_id":89905,"server_id":15,"link":"photo_1262828.html","width":130,"caption":"Into The Light","height":87});
															thumbnails[1262835] = clik.newPhoto({"id":1262835,"src":"Boats at Fishguard_thumb..jpg","galleries_id":89906,"server_id":15,"link":"photo_1262835.html","width":130,"caption":"Boats At Fishguard","height":94});
															thumbnails[1262855] = clik.newPhoto({"id":1262855,"src":"Camber Glow_thumb.jpg","galleries_id":89908,"server_id":15,"link":"photo_1262855.html","width":130,"caption":"Camber Glow","height":87});
															thumbnails[1262863] = clik.newPhoto({"id":1262863,"src":"Lunscatyre 1_thumb.jpg","galleries_id":89909,"server_id":15,"link":"photo_1262863.html","width":130,"caption":"Lunscantyre 1","height":61});
															thumbnails[1262883] = clik.newPhoto({"id":1262883,"src":"bikeclibsep05_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_1262883.html","width":130,"caption":"Bikeclib","height":137});
															thumbnails[1262978] = clik.newPhoto({"id":1262978,"src":"Blue Sky_thumb.jpg","galleries_id":89903,"server_id":15,"link":"photo_1262978.html","width":130,"caption":"The Prisoner","height":208});
															thumbnails[1263156] = clik.newPhoto({"id":1263156,"src":"Boy- Taquile Island- Peru_thumb.jpg","galleries_id":89927,"server_id":15,"link":"photo_1263156.html","width":130,"caption":"Boy, Taquil Island, Peru","height":128});
															thumbnails[7843247] = clik.newPhoto({"id":7843247,"src":"Window_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843247.html","width":130,"caption":"Window","height":148});
															thumbnails[7877626] = clik.newPhoto({"id":7877626,"src":"relaxed_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7877626.html","width":130,"caption":"Relaxing","height":199});
															thumbnails[7922987] = clik.newPhoto({"id":7922987,"src":"500_K_IMG_4498250511giselle1_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922987.html","width":130,"caption":"","height":143});
															thumbnails[8164684] = clik.newPhoto({"id":8164684,"src":"3a_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164684.html","width":130,"caption":"","height":86});
															thumbnails[8606459] = clik.newPhoto({"id":8606459,"src":"Durdle_Door_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606459.html","width":130,"caption":"Durdle Door","height":83});
															thumbnails[7843251] = clik.newPhoto({"id":7843251,"src":"Tunnel_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843251.html","width":130,"caption":"Tunnel","height":148});
															thumbnails[7877661] = clik.newPhoto({"id":7877661,"src":"San_manuel_de_Colohote_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7877661.html","width":130,"caption":"San Manuel de Colohete","height":178});
															thumbnails[7922984] = clik.newPhoto({"id":7922984,"src":"500_L_IMG_4750250511giselleA_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922984.html","width":130,"caption":"NORTHERN BALLET","height":93});
															thumbnails[8164688] = clik.newPhoto({"id":8164688,"src":"3b_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164688.html","width":130,"caption":"","height":87});
															thumbnails[8606482] = clik.newPhoto({"id":8606482,"src":"n_Southwold_Harbour_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606482.html","width":130,"caption":"Southwold Harbour","height":87});
															thumbnails[7843256] = clik.newPhoto({"id":7843256,"src":"Tree_avenue_thumb.jpg","galleries_id":423265,"server_id":15,"link":"photo_7843256.html","width":130,"caption":"Tree Avenue","height":149});
															thumbnails[7877617] = clik.newPhoto({"id":7877617,"src":"Water_carrier_thumb.jpg","galleries_id":414116,"server_id":15,"link":"photo_7877617.html","width":130,"caption":"Water Carrier","height":201});
															thumbnails[7922977] = clik.newPhoto({"id":7922977,"src":"500_M_IMG_5657250211cleopatra1_thumb.jpg","galleries_id":89907,"server_id":15,"link":"photo_7922977.html","width":130,"caption":"","height":176});
															thumbnails[8164692] = clik.newPhoto({"id":8164692,"src":"3c_thumb.jpg","galleries_id":89902,"server_id":15,"link":"photo_8164692.html","width":130,"caption":"","height":86});
															thumbnails[8606514] = clik.newPhoto({"id":8606514,"src":"Smelting_Works_thumb.jpg","galleries_id":455027,"server_id":35,"link":"photo_8606514.html","width":130,"caption":"Smelting Works","height":85});
															thumbnails[1262830] = clik.newPhoto({"id":1262830,"src":"Paris_Metro_ŠKeith_Lord_thumb.jpg","galleries_id":89905,"server_id":15,"link":"photo_1262830.html","width":130,"caption":"Paris Metro","height":87});
															thumbnails[1262837] = clik.newPhoto({"id":1262837,"src":"Drei Molen_thumb.jpg","galleries_id":89906,"server_id":15,"link":"photo_1262837.html","width":130,"caption":"Drei Molen","height":79});
															thumbnails[1262857] = clik.newPhoto({"id":1262857,"src":"Castle View_thumb.jpg","galleries_id":89908,"server_id":15,"link":"photo_1262857.html","width":130,"caption":"Castle View","height":193});
															thumbnails[1262865] = clik.newPhoto({"id":1262865,"src":"Luscabtyre 2_thumb.jpg","galleries_id":89909,"server_id":15,"link":"photo_1262865.html","width":130,"caption":"Lunscantyre 2","height":61});
															thumbnails[1262886] = clik.newPhoto({"id":1262886,"src":"elmassep06 copy_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_1262886.html","width":130,"caption":"Elmas","height":138});
															thumbnails[1263006] = clik.newPhoto({"id":1263006,"src":"Metalled Curve_thumb.jpg","galleries_id":89903,"server_id":15,"link":"photo_1263006.html","width":130,"caption":"Metalled Curve","height":195});
															thumbnails[1263158] = clik.newPhoto({"id":1263158,"src":"Ruth Fain_thumb.jpg","galleries_id":89927,"server_id":15,"link":"photo_1263158.html","width":130,"caption":"Ruth Fain","height":131});
															thumbnails[1262834] = clik.newPhoto({"id":1262834,"src":"Shared_Space_No2_ŠKeith_Lord_thumb.jpg","galleries_id":89905,"server_id":15,"link":"photo_1262834.html","width":130,"caption":"Shared Space No 2","height":87});
															thumbnails[1262838] = clik.newPhoto({"id":1262838,"src":"Fly Agaric_thumb..jpg","galleries_id":89906,"server_id":15,"link":"photo_1262838.html","width":130,"caption":"Fly Agaric","height":86});
															thumbnails[1262858] = clik.newPhoto({"id":1262858,"src":"Fall impression_thumb.jpg","galleries_id":89908,"server_id":15,"link":"photo_1262858.html","width":130,"caption":"Fall Impression","height":191});
															thumbnails[1262871] = clik.newPhoto({"id":1262871,"src":"Luscantyre mono_thumb.jpg","galleries_id":89909,"server_id":15,"link":"photo_1262871.html","width":130,"caption":"Lunscantyre Mono","height":85});
															thumbnails[1262888] = clik.newPhoto({"id":1262888,"src":"fishhutsmariasep06 copy_thumb.jpg","galleries_id":89911,"server_id":15,"link":"photo_1262888.html","width":130,"caption":"Fish Huts","height":125});
															thumbnails[1263007] = clik.newPhoto({"id":1263007,"src":"Somme Survivors_thumb.jpg","galleries_id":89903,"server_id":15,"link":"photo_1263007.html","width":130,"caption":"Somme Survivors","height":85});
															thumbnails[1263159] = clik.newPhoto({"id":1263159,"src":"Undressed_thumb.jpg","galleries_id":89927,"server_id":15,"link":"photo_1263159.html","width":130,"caption":"Undressed","height":127});
															thumbnails[1723676] = clik.newPhoto({"id":1723676,"src":"Cape-Zebra_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_1723676.html","width":130,"caption":"Cape Zebra","height":87});
															thumbnails[1723679] = clik.newPhoto({"id":1723679,"src":"Plimoth-2_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_1723679.html","width":130,"caption":"Plimoth 2","height":87});
															thumbnails[1723683] = clik.newPhoto({"id":1723683,"src":"Surbridge1_thumb.jpg","galleries_id":115820,"server_id":15,"link":"photo_1723683.html","width":130,"caption":"Surbridge","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[293719] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Andrew Greaves","link":"gallery_293719.html","maxRecords":0.0,"photoIDs":[5202247.0,5202250.0,5202252.0,5419893.0,5419894.0,5419896.0,5419897.0,5419899.0,5419900.0],"skipIndex":0,"section_code":"gallery","featured_images":"5419899,5419894,5202252","id":293719,"singleSection":false});				  						galleries[423265] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"David Sault","link":"gallery_423265.html","maxRecords":0.0,"photoIDs":[7843323.0,7843316.0,7843309.0,7843290.0,7843304.0,7843287.0,7843276.0,7843266.0,7843259.0,7843247.0,7843251.0,7843256.0],"skipIndex":0,"section_code":"gallery","featured_images":"7843316,7843304,7843290,7843256,7843251","id":423265,"singleSection":false});				  						galleries[293722] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Duncan Hill","link":"gallery_293722.html","maxRecords":0.0,"photoIDs":[5202604.0,5202609.0,5202611.0,5202614.0,5202618.0,5202623.0,5202627.0],"skipIndex":0,"section_code":"gallery","featured_images":"5202627,5202623","id":293722,"singleSection":false});				  						galleries[455027] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"George Hodlin","link":"gallery_455027.html","maxRecords":0.0,"photoIDs":[8606196.0,8606201.0,8606270.0,8606373.0,8606376.0,8606380.0,8606401.0,8606455.0,8606456.0,8606459.0,8606482.0,8606514.0],"skipIndex":0,"section_code":"gallery","featured_images":"8606514,8606459,8606455,8606401,8606270","id":455027,"singleSection":false});				  						galleries[295711] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"John Fontana","link":"gallery_295711.html","maxRecords":0.0,"photoIDs":[7891940.0,7891946.0,7891949.0,7891952.0,7891958.0,7891960.0,7892103.0,7892109.0,7892113.0,7892120.0,7892124.0,7892130.0],"skipIndex":0,"section_code":"gallery","featured_images":"7892124,7892113,7892103,7891960,7891949,7891946","id":295711,"singleSection":false});				  						galleries[302560] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Keith Parcell","link":"gallery_302560.html","maxRecords":0.0,"photoIDs":[5368189.0,5368194.0,5368196.0,5368220.0,5368223.0,5368226.0],"skipIndex":0,"section_code":"gallery","featured_images":5368189.0,"id":302560,"singleSection":false});				  						galleries[293729] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Peter Yeo","link":"gallery_293729.html","maxRecords":0.0,"photoIDs":[5664697.0,5664701.0,5664853.0,5664903.0,5664914.0,5664916.0,5664919.0,5664921.0,5664923.0,5664924.0],"skipIndex":0,"section_code":"gallery","featured_images":"5664924,5664923,5664921,5664919,5664916,5664914,5664903,5664853,5664701,5664697","id":293729,"singleSection":false});				  						galleries[414116] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Richard Bown","link":"gallery_414116.html","maxRecords":0.0,"photoIDs":[7637881.0,7638064.0,7638068.0,7637573.0,7638450.0,7637636.0,7637421.0,7637537.0,7637546.0,7877626.0,7877661.0,7877617.0],"skipIndex":0,"section_code":"gallery","featured_images":"7637573,7637421","id":414116,"singleSection":false});				  						galleries[89902] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Felicity Appleton","link":"gallery_89902.html","maxRecords":0.0,"photoIDs":[8164633.0,8164638.0,8164642.0,8164650.0,8164656.0,8164662.0,8164673.0,8164677.0,8164680.0,8164684.0,8164688.0,8164692.0],"skipIndex":0,"section_code":"gallery","featured_images":"8164684,8164680,8164662,8164633","id":89902,"singleSection":false});				  						galleries[89908] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ralph Bennett","link":"gallery_89908.html","maxRecords":0.0,"photoIDs":[1262855.0,1262857.0,1262858.0],"skipIndex":0,"section_code":"gallery","featured_images":"1262858,1262857,1262855","id":89908,"singleSection":false});				  						galleries[89909] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ray Brammall","link":"gallery_89909.html","maxRecords":0.0,"photoIDs":[1262863.0,1262865.0,1262871.0],"skipIndex":0,"section_code":"gallery","featured_images":"1262871,1262865,1262863","id":89909,"singleSection":false});				  						galleries[89906] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ken Breare","link":"gallery_89906.html","maxRecords":0.0,"photoIDs":[5748384.0,5748386.0,5748389.0,1262835.0,1262837.0,1262838.0],"skipIndex":0,"section_code":"gallery","featured_images":1262837.0,"id":89906,"singleSection":false});				  						galleries[94280] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dave Clegg","link":"gallery_94280.html","maxRecords":0.0,"photoIDs":[1341211.0,1341220.0,1341227.0,7169171.0,7169173.0,7169177.0,7169181.0,7169182.0,7169184.0],"skipIndex":0,"section_code":"gallery","featured_images":"7169184,7169182,7169171","id":94280,"singleSection":false});				  						galleries[89907] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Len Downes","link":"gallery_89907.html","maxRecords":0.0,"photoIDs":[7922802.0,7922806.0,7922810.0,7922816.0,7922821.0,7922826.0,7922830.0,7922832.0,7922994.0,7922987.0,7922984.0,7922977.0],"skipIndex":0,"section_code":"gallery","featured_images":7922806.0,"id":89907,"singleSection":false});				  						galleries[89903] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Howard Fisher","link":"gallery_89903.html","maxRecords":0.0,"photoIDs":[1262978.0,1263006.0,1263007.0],"skipIndex":0,"section_code":"gallery","featured_images":"1263007,1263006,1262978","id":89903,"singleSection":false});				  						galleries[89927] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Andrew Foley","link":"gallery_89927.html","maxRecords":0.0,"photoIDs":[1263156.0,1263158.0,1263159.0],"skipIndex":0,"section_code":"gallery","featured_images":"1263159,1263158,1263156","id":89927,"singleSection":false});				  						galleries[90195] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bill Johnson","link":"gallery_90195.html","maxRecords":0.0,"photoIDs":[3672386.0,3672390.0,3672393.0,5741938.0,5741943.0,5741980.0,5742042.0,5742045.0],"skipIndex":0,"section_code":"gallery","featured_images":"5742045,5742042,5741980,5741943,5741938,3672393,3672390,3672386","id":90195,"singleSection":false});				  						galleries[89905] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Keith Lord","link":"gallery_89905.html","maxRecords":0.0,"photoIDs":[1262828.0,1262830.0,1262834.0],"skipIndex":0,"section_code":"gallery","featured_images":"1262834,1262830,1262828","id":89905,"singleSection":false});				  						galleries[89900] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Colin New","link":"gallery_89900.html","maxRecords":0.0,"photoIDs":[7877697.0,7877703.0,7877710.0,7877713.0,7877762.0,7877764.0],"skipIndex":0,"section_code":"gallery","featured_images":"7877764,7877710,7877703","id":89900,"singleSection":false});				  						galleries[89911] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Rob Palmer","link":"gallery_89911.html","maxRecords":0.0,"photoIDs":[6739988.0,6739990.0,6739992.0,6740019.0,6740021.0,6740022.0,6740026.0,6740040.0,6740117.0,6740126.0,6740132.0,1262883.0,1262886.0,1262888.0],"skipIndex":0,"section_code":"gallery","featured_images":"6740132,6740026,6740021,6739990,6739988","id":89911,"singleSection":false});				  						galleries[115820] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Barry Park","link":"gallery_115820.html","maxRecords":0.0,"photoIDs":[5791353.0,5791717.0,5791719.0,5791724.0,5791726.0,5791727.0,5791730.0,5791734.0,5791738.0,5791745.0,1723676.0,1723679.0,1723683.0],"skipIndex":0,"section_code":"gallery","featured_images":"5791738,5791730,5791726,5791724,5791719,5791717","id":115820,"singleSection":false});				  						galleries[380831] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"John Day","link":"gallery_380831.html","maxRecords":0.0,"photoIDs":[7033911.0,7033914.0,7034023.0,7034024.0,7034026.0,7034027.0,7034028.0],"skipIndex":0,"section_code":"gallery","featured_images":"7034028,7034023,7033914,7033911","id":380831,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7892113,7892103,7891960,7877764,7877703,7169184,7169182,6739992,5791730,5791726,5791719,5742045,5741980,5368189,5202627,5202623,5202252,3672393,3672390,3672386,1341227,1341220,1341211,8164633,8606270,7843290,7637573,7843304,8606401,8164684,1262978,1262863,1262855,1262828,7843256,1262837,1263159,1262888,1723683,1723679,1723676';
imageSets[2] = '7892124,7892113,7892103,7891960,7891949,7891946,7877764,7877710,7877703,7169184,7169182,7169171,7034028,7034023,7033914,7033911,6740132,6740026,6740021,6739990,6739988,5791738,5791730,5791726,5791724,5791719,5791717,5419899,5419894,5368189,5202627,5202623,5202252,8164633,7922806,7843316,8606270,7843290,7637573,7843304,8164662,8606401,7637421,8606455,8164680,8606459,8164684,7843251,8606514,7843256,1262837';
imageSets[234414] = '7033911,6740126,6740026,6739992,5741980,5368223,5202614,5202252,1263156,1263007,1262834';
imageSets[3] = '8606514,8606482,8606459,8606456,8606455,8606401,8606380,8606376,8606373,8606270,8606201,8606196,8164692,8164688,8164684,8164680,8164677,8164673,8164662,8164656,8164650,8164642,8164638,8164633,7922994,7922987,7922984,7922977,7922832,7922830,7922826,7922821,7922816,7922810,7922806,7922802,7892130,7892124,7892120,7892113,7892109,7892103,7891960,7891958,7891952,7891949,7891946,7891940,7877764,7877762';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/gammaphoto/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/gammaphoto/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'GAMMA PHOTOFORUM: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

