window.thumbnails = {};
															thumbnails[2126228] = clik.newPhoto({"id":2126228,"src":"2006_0724Paula0019_thumb.JPG","galleries_id":"","server_id":32,"link":"#","width":130,"caption":"Paula Heelan","height":98});
															thumbnails[9011338] = clik.newPhoto({"id":9011338,"src":"Troy_Wastell1_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_9011338.html","width":130,"caption":"Troy Wastell, executive chef, Holland America Line","height":194});
															thumbnails[7552571] = clik.newPhoto({"id":7552571,"src":"Fishing_068_thumb.jpg","galleries_id":137775,"server_id":32,"link":"photo_7552571.html","width":130,"caption":"Red claw from the Suttor River","height":87});
															thumbnails[6947767] = clik.newPhoto({"id":6947767,"src":"Tasmania_2010_759_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_6947767.html","width":130,"caption":"Australian fur seals, Bull rock, north east Tasmania","height":87});
															thumbnails[6947771] = clik.newPhoto({"id":6947771,"src":"Tasmania_2010_606_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_6947771.html","width":130,"caption":"Tuip farm, north east Tasmania","height":87});
															thumbnails[6947772] = clik.newPhoto({"id":6947772,"src":"Tasmania_2010_596_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_6947772.html","width":130,"caption":"Tulips","height":87});
															thumbnails[6590230] = clik.newPhoto({"id":6590230,"src":"Arron_Ryan_20_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_6590230.html","width":130,"caption":"Great Australian Outback Cattle Drive -  Anna Creek Station, SA - drover Aaron","height":87});
															thumbnails[6590254] = clik.newPhoto({"id":6590254,"src":"Adam_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_6590254.html","width":130,"caption":"Great Australian Outback Cattle Drive, drover Adam, Anna Creek Station","height":194});
															thumbnails[6590257] = clik.newPhoto({"id":6590257,"src":"Dog_fence_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_6590257.html","width":130,"caption":"The Dog Fence","height":87});
															thumbnails[6590298] = clik.newPhoto({"id":6590298,"src":"Drover_Whitey_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_6590298.html","width":130,"caption":"Whitey","height":87});
															thumbnails[6590300] = clik.newPhoto({"id":6590300,"src":"Drovers_2_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_6590300.html","width":130,"caption":"Drovers, Great Australian Outback Cattle Drive","height":87});
															thumbnails[6590303] = clik.newPhoto({"id":6590303,"src":"DSC00292_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_6590303.html","width":130,"caption":"Drover, Barry, Great Australian Outback Cattle Drive","height":87});
															thumbnails[6590310] = clik.newPhoto({"id":6590310,"src":"Aaron_Ryan_301_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_6590310.html","width":130,"caption":"Aaron, droving, Great Australian Outback Cattle Drive, SA","height":87});
															thumbnails[6590317] = clik.newPhoto({"id":6590317,"src":"Tom_and_Aaron_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_6590317.html","width":130,"caption":"Great Australian Outback Cattle Drive","height":87});
															thumbnails[6590184] = clik.newPhoto({"id":6590184,"src":"Drovers_3_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_6590184.html","width":130,"caption":"Anna Creek Station, SA - Great Australian Outback Cattle Drive","height":87});
															thumbnails[5362826] = clik.newPhoto({"id":5362826,"src":"drought_web_thumb.jpg","galleries_id":137772,"server_id":32,"link":"photo_5362826.html","width":130,"caption":"Dry times, central Queensland","height":87});
															thumbnails[5362830] = clik.newPhoto({"id":5362830,"src":"Jack_web_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_5362830.html","width":130,"caption":"Jack","height":87});
															thumbnails[5362856] = clik.newPhoto({"id":5362856,"src":"yards_031_-_Copy_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_5362856.html","width":130,"caption":"cattle yards","height":85});
															thumbnails[5362865] = clik.newPhoto({"id":5362865,"src":"MCCG_cricket_web_thumb.jpg","galleries_id":137778,"server_id":32,"link":"photo_5362865.html","width":130,"caption":"MCCG - Mt Coolon Cricket ground, storm approaching - dust and rain","height":87});
															thumbnails[5362905] = clik.newPhoto({"id":5362905,"src":"drought_web_2_thumb.jpg","galleries_id":137782,"server_id":32,"link":"photo_5362905.html","width":130,"caption":"drought","height":87});
															thumbnails[5362909] = clik.newPhoto({"id":5362909,"src":"DSC02576_-_Copy_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_5362909.html","width":130,"caption":"Abby","height":194});
															thumbnails[3937513] = clik.newPhoto({"id":3937513,"src":"Dave_Worsfold_web_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937513.html","width":130,"caption":"Dave Worsfold","height":87});
															thumbnails[3937514] = clik.newPhoto({"id":3937514,"src":"Dave_Worsfold_web2_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937514.html","width":130,"caption":"Dave Worsfold ","height":194});
															thumbnails[3937515] = clik.newPhoto({"id":3937515,"src":"Nathan_web_3_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937515.html","width":130,"caption":"Nathan, Pasha Station","height":87});
															thumbnails[3937516] = clik.newPhoto({"id":3937516,"src":"Archie_web_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937516.html","width":130,"caption":"Archie","height":87});
															thumbnails[3937517] = clik.newPhoto({"id":3937517,"src":"Lola_web_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937517.html","width":130,"caption":"Lola","height":87});
															thumbnails[3937520] = clik.newPhoto({"id":3937520,"src":"A34721pauhel_thumb.jpg","galleries_id":137775,"server_id":32,"link":"photo_3937520.html","width":130,"caption":"","height":157});
															thumbnails[3937518] = clik.newPhoto({"id":3937518,"src":"Nathan_web_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937518.html","width":130,"caption":"Nathan, Pasha Station","height":105});
															thumbnails[3937519] = clik.newPhoto({"id":3937519,"src":"Rob_web_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3937519.html","width":130,"caption":"Rob","height":87});
															thumbnails[2618558] = clik.newPhoto({"id":2618558,"src":"DSC00321_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618558.html","width":130,"caption":"Freycinet National Park, Tasmania","height":87});
															thumbnails[2978465] = clik.newPhoto({"id":2978465,"src":"Grapevines_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2978465.html","width":130,"caption":"Grapevines at Bruny Island - Australia's most southern vineyard","height":87});
															thumbnails[2061968] = clik.newPhoto({"id":2061968,"src":"Heading home (2)_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2061968.html","width":130,"caption":"Mustering ","height":171});
															thumbnails[2061973] = clik.newPhoto({"id":2061973,"src":"Gidgee tree, Qld1_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2061973.html","width":130,"caption":"","height":173});
															thumbnails[2061974] = clik.newPhoto({"id":2061974,"src":"David1_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2061974.html","width":130,"caption":"","height":173});
															thumbnails[2061993] = clik.newPhoto({"id":2061993,"src":"buffel grass 7_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2061993.html","width":130,"caption":"Buffel grass, Queensland","height":173});
															thumbnails[2061998] = clik.newPhoto({"id":2061998,"src":"Muster, Central Qld_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2061998.html","width":130,"caption":"","height":98});
															thumbnails[2061999] = clik.newPhoto({"id":2061999,"src":"Copy of Copy of yards2_thumb.jpg","galleries_id":137775,"server_id":32,"link":"photo_2061999.html","width":130,"caption":"In the yards","height":98});
															thumbnails[2062002] = clik.newPhoto({"id":2062002,"src":"Gidgee tree_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2062002.html","width":130,"caption":"","height":173});
															thumbnails[2062003] = clik.newPhoto({"id":2062003,"src":"Harry_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062003.html","width":130,"caption":"Thirsty work","height":173});
															thumbnails[2062007] = clik.newPhoto({"id":2062007,"src":"Heading home_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062007.html","width":130,"caption":"","height":98});
															thumbnails[2062008] = clik.newPhoto({"id":2062008,"src":"Hughie_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062008.html","width":130,"caption":"","height":173});
															thumbnails[2062009] = clik.newPhoto({"id":2062009,"src":"scan0001_thumb.jpg","galleries_id":137772,"server_id":32,"link":"photo_2062009.html","width":130,"caption":"Winchester Station, Clermont","height":163});
															thumbnails[2062011] = clik.newPhoto({"id":2062011,"src":"Nick_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2062011.html","width":130,"caption":"","height":173});
															thumbnails[2062014] = clik.newPhoto({"id":2062014,"src":"Fading sun_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2062014.html","width":130,"caption":"","height":98});
															thumbnails[2062015] = clik.newPhoto({"id":2062015,"src":"JB_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_2062015.html","width":130,"caption":"","height":184});
															thumbnails[2062016] = clik.newPhoto({"id":2062016,"src":"Josh_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2062016.html","width":130,"caption":"Australia Day","height":173});
															thumbnails[2062018] = clik.newPhoto({"id":2062018,"src":"Mt Coolon cinema_thumb.jpg","galleries_id":137778,"server_id":32,"link":"photo_2062018.html","width":130,"caption":"Mt Coolon, Queensland","height":84});
															thumbnails[2062020] = clik.newPhoto({"id":2062020,"src":"dusk (1)_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062020.html","width":130,"caption":"Mustering","height":82});
															thumbnails[2062021] = clik.newPhoto({"id":2062021,"src":"To water_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062021.html","width":130,"caption":"","height":161});
															thumbnails[2062025] = clik.newPhoto({"id":2062025,"src":"Family_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062025.html","width":130,"caption":"","height":67});
															thumbnails[2062027] = clik.newPhoto({"id":2062027,"src":"Monsoon sky_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2062027.html","width":130,"caption":"","height":86});
															thumbnails[2062031] = clik.newPhoto({"id":2062031,"src":"ready for muster_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062031.html","width":130,"caption":"","height":98});
															thumbnails[2062033] = clik.newPhoto({"id":2062033,"src":"emus_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2062033.html","width":130,"caption":"Emus","height":100});
															thumbnails[2062035] = clik.newPhoto({"id":2062035,"src":"Palm Beach, Queensland_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2062035.html","width":130,"caption":"Palm Beach,Gold Coast, Queensland","height":98});
															thumbnails[2062037] = clik.newPhoto({"id":2062037,"src":"Palm Beach, Qld_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2062037.html","width":130,"caption":"Palm Beach, Gold Coast","height":98});
															thumbnails[2062113] = clik.newPhoto({"id":2062113,"src":"Kangaroo (2)_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2062113.html","width":130,"caption":"Kangaroo","height":98});
															thumbnails[2062116] = clik.newPhoto({"id":2062116,"src":"Life savers, Palm Beach, Gold Coast_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2062116.html","width":130,"caption":"Lifesavers, Palm Beach.","height":98});
															thumbnails[2062117] = clik.newPhoto({"id":2062117,"src":"Nightfall_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2062117.html","width":130,"caption":"","height":98});
															thumbnails[2062128] = clik.newPhoto({"id":2062128,"src":"Charlie Flohr_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2062128.html","width":130,"caption":"","height":128});
															thumbnails[2062129] = clik.newPhoto({"id":2062129,"src":"Currumbin Beach Fisherman_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2062129.html","width":130,"caption":"Fishing, Currumbin Beach, Gold Coast","height":98});
															thumbnails[2062132] = clik.newPhoto({"id":2062132,"src":"gumnuts6_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2062132.html","width":130,"caption":"Gum nuts","height":98});
															thumbnails[2062137] = clik.newPhoto({"id":2062137,"src":"King Parrot4_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2062137.html","width":130,"caption":"King parrot","height":98});
															thumbnails[2062139] = clik.newPhoto({"id":2062139,"src":"Palm Beach, Gold Coast,12_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2062139.html","width":130,"caption":"Palm Beach, Gold Coast","height":98});
															thumbnails[2062140] = clik.newPhoto({"id":2062140,"src":"Tulips6_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2062140.html","width":130,"caption":"","height":123});
															thumbnails[2062152] = clik.newPhoto({"id":2062152,"src":"John Angus_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2062152.html","width":130,"caption":"","height":173});
															thumbnails[2062310] = clik.newPhoto({"id":2062310,"src":"Cattleman_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2062310.html","width":130,"caption":"","height":98});
															thumbnails[2064766] = clik.newPhoto({"id":2064766,"src":"Ulcanbah cattle_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2064766.html","width":130,"caption":"","height":72});
															thumbnails[2065005] = clik.newPhoto({"id":2065005,"src":"Copy of road to Ulcanbah_thumb.jpg","galleries_id":137772,"server_id":32,"link":"photo_2065005.html","width":130,"caption":"","height":86});
															thumbnails[2065036] = clik.newPhoto({"id":2065036,"src":"Eaglefield1_thumb.jpg","galleries_id":137772,"server_id":32,"link":"photo_2065036.html","width":130,"caption":"","height":98});
															thumbnails[2065037] = clik.newPhoto({"id":2065037,"src":"FXCD0017_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_2065037.html","width":130,"caption":"Red Brahman","height":173});
															thumbnails[2068017] = clik.newPhoto({"id":2068017,"src":"FXCD0001_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2068017.html","width":130,"caption":"","height":183});
															thumbnails[2068278] = clik.newPhoto({"id":2068278,"src":"FXCD0011_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2068278.html","width":130,"caption":"","height":173});
															thumbnails[2068280] = clik.newPhoto({"id":2068280,"src":"FXCD0002 - Copy_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2068280.html","width":130,"caption":"","height":173});
															thumbnails[2068291] = clik.newPhoto({"id":2068291,"src":"2005_0622MoranbahDraft01531_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2068291.html","width":130,"caption":"","height":159});
															thumbnails[2068297] = clik.newPhoto({"id":2068297,"src":"FXCD0018 - Copy_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_2068297.html","width":130,"caption":"","height":98});
															thumbnails[2068376] = clik.newPhoto({"id":2068376,"src":"FXCD0008_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2068376.html","width":130,"caption":"","height":98});
															thumbnails[2126241] = clik.newPhoto({"id":2126241,"src":"Brahmann_thumb.jpg","galleries_id":137777,"server_id":32,"link":"photo_2126241.html","width":130,"caption":"","height":61});
															thumbnails[2170075] = clik.newPhoto({"id":2170075,"src":"026_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2170075.html","width":130,"caption":"Cactus","height":98});
															thumbnails[2170076] = clik.newPhoto({"id":2170076,"src":"alice 017_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2170076.html","width":130,"caption":"","height":98});
															thumbnails[2170077] = clik.newPhoto({"id":2170077,"src":"2007_1027Coovin0041_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2170077.html","width":130,"caption":"","height":92});
															thumbnails[2170081] = clik.newPhoto({"id":2170081,"src":"005_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2170081.html","width":130,"caption":"","height":173});
															thumbnails[2170083] = clik.newPhoto({"id":2170083,"src":"006_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2170083.html","width":130,"caption":"","height":173});
															thumbnails[2185030] = clik.newPhoto({"id":2185030,"src":"Earthshots, Harry and Hugh_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2185030.html","width":130,"caption":"","height":98});
															thumbnails[2274278] = clik.newPhoto({"id":2274278,"src":"2005_0622MoranbahDraft0096_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2274278.html","width":130,"caption":"","height":80});
															thumbnails[2274279] = clik.newPhoto({"id":2274279,"src":"Hutton Shann_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2274279.html","width":130,"caption":"","height":71});
															thumbnails[2274285] = clik.newPhoto({"id":2274285,"src":"2005_0622MoranbahDraft01251_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2274285.html","width":130,"caption":"Pete Comiskey","height":91});
															thumbnails[2274304] = clik.newPhoto({"id":2274304,"src":"Winvic - Copy_thumb.jpg","galleries_id":137772,"server_id":32,"link":"photo_2274304.html","width":130,"caption":"","height":76});
															thumbnails[2282729] = clik.newPhoto({"id":2282729,"src":"2005_0622MoranbahDraft0107_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2282729.html","width":130,"caption":"Mustering","height":115});
															thumbnails[2411262] = clik.newPhoto({"id":2411262,"src":"2008_06282008Coolon0016_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_2411262.html","width":130,"caption":"","height":98});
															thumbnails[2411263] = clik.newPhoto({"id":2411263,"src":"2008_06282008Coolon0047_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2411263.html","width":130,"caption":"Campdrafting","height":158});
															thumbnails[2411265] = clik.newPhoto({"id":2411265,"src":"2008_06282008Coolon0135_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2411265.html","width":130,"caption":"Campdrafting, Australia","height":123});
															thumbnails[2411270] = clik.newPhoto({"id":2411270,"src":"Lily_web_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_2411270.html","width":130,"caption":"Lily","height":87});
															thumbnails[2411272] = clik.newPhoto({"id":2411272,"src":"2008_06282008Coolon0175_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2411272.html","width":130,"caption":"Outback, Australia","height":98});
															thumbnails[2411273] = clik.newPhoto({"id":2411273,"src":"2008_06282008Coolon0294_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_2411273.html","width":130,"caption":"","height":126});
															thumbnails[2455794] = clik.newPhoto({"id":2455794,"src":"2005_0525charlie0079_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2455794.html","width":130,"caption":"Station cockatoo","height":103});
															thumbnails[2455795] = clik.newPhoto({"id":2455795,"src":"Palm Beach, GC_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2455795.html","width":130,"caption":"Palm Beach","height":98});
															thumbnails[2455797] = clik.newPhoto({"id":2455797,"src":"Hibiscus_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2455797.html","width":130,"caption":"Hibiscus","height":94});
															thumbnails[2455798] = clik.newPhoto({"id":2455798,"src":"2008_0622Kyneton0179 - Copy_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2455798.html","width":130,"caption":"Clover Hills","height":109});
															thumbnails[2603083] = clik.newPhoto({"id":2603083,"src":"DSC00429_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2603083.html","width":130,"caption":"East Coast Tasmania","height":87});
															thumbnails[2618506] = clik.newPhoto({"id":2618506,"src":"DSC01157_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618506.html","width":130,"caption":"Historic flour mill, Oatlands, Tasmania","height":194});
															thumbnails[2618507] = clik.newPhoto({"id":2618507,"src":"DSC00346_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618507.html","width":130,"caption":"Freycinet National Park, Tasmania","height":87});
															thumbnails[2618560] = clik.newPhoto({"id":2618560,"src":"DSC00322_thumb.jpg","galleries_id":137778,"server_id":32,"link":"photo_2618560.html","width":130,"caption":"Sea Bird, Tasmania","height":87});
															thumbnails[2618562] = clik.newPhoto({"id":2618562,"src":"DSC00350_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618562.html","width":130,"caption":"Freycinet National Park, Tasmania","height":87});
															thumbnails[2618563] = clik.newPhoto({"id":2618563,"src":"DSC01142_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618563.html","width":130,"caption":"Oatlands, Tasmania","height":194});
															thumbnails[2618592] = clik.newPhoto({"id":2618592,"src":"DSC00532_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618592.html","width":130,"caption":"Bay of Fires, Tasmania","height":87});
															thumbnails[2618594] = clik.newPhoto({"id":2618594,"src":"DSC00982 - Copy_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618594.html","width":130,"caption":"Cradle Mt, Tasmania","height":87});
															thumbnails[2618599] = clik.newPhoto({"id":2618599,"src":"DSC00578_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_2618599.html","width":130,"caption":"Scottsdale, Tasmania","height":87});
															thumbnails[2618601] = clik.newPhoto({"id":2618601,"src":"DSC00393_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618601.html","width":130,"caption":"Blow hole, Bicheno, Tasmania","height":87});
															thumbnails[2618945] = clik.newPhoto({"id":2618945,"src":"DSC000681_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_2618945.html","width":130,"caption":"Tasmanian devil","height":87});
															thumbnails[2618956] = clik.newPhoto({"id":2618956,"src":"DSC01232_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618956.html","width":130,"caption":"Bruny Island, Tasmania","height":87});
															thumbnails[2618957] = clik.newPhoto({"id":2618957,"src":"DSC01255_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618957.html","width":130,"caption":"Bruny Island, Tasmania","height":194});
															thumbnails[2890104] = clik.newPhoto({"id":2890104,"src":"DSC04665_thumb.jpg","galleries_id":137777,"server_id":32,"link":"photo_2890104.html","width":129,"caption":"","height":95});
															thumbnails[2890105] = clik.newPhoto({"id":2890105,"src":"DSC046161_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_2890105.html","width":129,"caption":"","height":87});
															thumbnails[2890106] = clik.newPhoto({"id":2890106,"src":"DSC047931_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_2890106.html","width":130,"caption":"","height":194});
															thumbnails[3457475] = clik.newPhoto({"id":3457475,"src":"DSC09189_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3457475.html","width":130,"caption":"","height":87});
															thumbnails[3457478] = clik.newPhoto({"id":3457478,"src":"DSC09272_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3457478.html","width":130,"caption":"","height":87});
															thumbnails[3457482] = clik.newPhoto({"id":3457482,"src":"DSC08800_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_3457482.html","width":130,"caption":"","height":87});
															thumbnails[3457484] = clik.newPhoto({"id":3457484,"src":"DSC09422_thumb.JPG","galleries_id":137772,"server_id":32,"link":"photo_3457484.html","width":130,"caption":"","height":87});
															thumbnails[3457487] = clik.newPhoto({"id":3457487,"src":"DSC09587_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3457487.html","width":130,"caption":"","height":87});
															thumbnails[3457488] = clik.newPhoto({"id":3457488,"src":"DSC09209_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_3457488.html","width":130,"caption":"","height":87});
															thumbnails[3457489] = clik.newPhoto({"id":3457489,"src":"DSC09213_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_3457489.html","width":130,"caption":"","height":194});
															thumbnails[3457490] = clik.newPhoto({"id":3457490,"src":"DSC09430_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_3457490.html","width":130,"caption":"Droughtmaster, Cantaur Park","height":87});
															thumbnails[3457491] = clik.newPhoto({"id":3457491,"src":"DSC09618_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_3457491.html","width":130,"caption":"","height":87});
															thumbnails[3457492] = clik.newPhoto({"id":3457492,"src":"DSC09444_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_3457492.html","width":130,"caption":"Droughtmaster cattle","height":87});
															thumbnails[3457493] = clik.newPhoto({"id":3457493,"src":"DSC09408_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_3457493.html","width":130,"caption":"","height":87});
															thumbnails[3457494] = clik.newPhoto({"id":3457494,"src":"DSC09218_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_3457494.html","width":130,"caption":"","height":87});
															thumbnails[3479861] = clik.newPhoto({"id":3479861,"src":"DSC03507_thumb.jpg","galleries_id":137775,"server_id":32,"link":"photo_3479861.html","width":130,"caption":"On the run","height":88});
															thumbnails[3479862] = clik.newPhoto({"id":3479862,"src":"Muster, Central Qld (2)_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_3479862.html","width":130,"caption":"Muster, central Queensland","height":98});
															thumbnails[3511256] = clik.newPhoto({"id":3511256,"src":"paula_heelan_1_thumb.jpg.JPG","galleries_id":137776,"server_id":32,"link":"photo_3511256.html","width":130,"caption":"","height":129});
															thumbnails[3683919] = clik.newPhoto({"id":3683919,"src":"A24721pauhel_thumb.jpg","galleries_id":137777,"server_id":32,"link":"photo_3683919.html","width":130,"caption":"Droughtmaster cattle, Ulcanbah Station, Qld, Australia","height":88});
															thumbnails[3683921] = clik.newPhoto({"id":3683921,"src":"Cattle_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_3683921.html","width":130,"caption":"Brahman cattle","height":87});
															thumbnails[3770709] = clik.newPhoto({"id":3770709,"src":"DSC02083_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_3770709.html","width":130,"caption":"Katherine Gorge (Nitmiluk)","height":87});
															thumbnails[3770718] = clik.newPhoto({"id":3770718,"src":"DSC02107_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_3770718.html","width":130,"caption":"Aboriginal Art, Nitmiluk, (Katherine Gorge) NT","height":194});
															thumbnails[3770719] = clik.newPhoto({"id":3770719,"src":"DSC02323_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_3770719.html","width":130,"caption":"Gourmet on the Ghan- image publishd Outback magazine, Ghan story","height":87});
															thumbnails[3770722] = clik.newPhoto({"id":3770722,"src":"Changing_drivers_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_3770722.html","width":130,"caption":"Changing drivers on the Ghan, Cooberpeedy","height":87});
															thumbnails[3770723] = clik.newPhoto({"id":3770723,"src":"DSC02148_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_3770723.html","width":130,"caption":"Shane Murphy-Henry plays the digeridoo at Nitmulik, Katherine Gorge NT - image published Outback magazine, Ghan story","height":87});
															thumbnails[3770724] = clik.newPhoto({"id":3770724,"src":"DSC02060_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_3770724.html","width":130,"caption":"Katherine Gorge, NT","height":87});
															thumbnails[3790757] = clik.newPhoto({"id":3790757,"src":"DSC022151_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_3790757.html","width":130,"caption":"","height":87});
															thumbnails[4465207] = clik.newPhoto({"id":4465207,"src":"flowers_8_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4465207.html","width":130,"caption":"Roses, Walters Peak, NZ","height":99});
															thumbnails[4465727] = clik.newPhoto({"id":4465727,"src":"DSC03550_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_4465727.html","width":130,"caption":"Lake Tekapo, New Zealand","height":87});
															thumbnails[4465778] = clik.newPhoto({"id":4465778,"src":"animals_31_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4465778.html","width":130,"caption":"Koala, Central Queensland","height":120});
															thumbnails[4465779] = clik.newPhoto({"id":4465779,"src":"Drought_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4465779.html","width":130,"caption":"Drought","height":78});
															thumbnails[4465780] = clik.newPhoto({"id":4465780,"src":"DSC04913_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_4465780.html","width":130,"caption":"Moeraki, NZ, mudstone boulders","height":69});
															thumbnails[4465781] = clik.newPhoto({"id":4465781,"src":"New_Zealand_167_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_4465781.html","width":130,"caption":"Wanaka, NZ","height":108});
															thumbnails[4465782] = clik.newPhoto({"id":4465782,"src":"New_Zealand_872_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_4465782.html","width":130,"caption":"Milford Sound, New Zealand","height":87});
															thumbnails[4465783] = clik.newPhoto({"id":4465783,"src":"Graham_and_Jack_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_4465783.html","width":130,"caption":"","height":125});
															thumbnails[4465784] = clik.newPhoto({"id":4465784,"src":"New_Zealand_463_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4465784.html","width":130,"caption":"Leaves in the light","height":182});
															thumbnails[4465818] = clik.newPhoto({"id":4465818,"src":"DSC06540_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_4465818.html","width":130,"caption":"Abby","height":194});
															thumbnails[4465831] = clik.newPhoto({"id":4465831,"src":"DSC01724_thumb.jpg","galleries_id":137777,"server_id":32,"link":"photo_4465831.html","width":130,"caption":"Droughtmaster cattle","height":87});
															thumbnails[4465832] = clik.newPhoto({"id":4465832,"src":"food_2_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4465832.html","width":130,"caption":"Wild apples","height":87});
															thumbnails[4606835] = clik.newPhoto({"id":4606835,"src":"Wanaka_NZ_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_4606835.html","width":130,"caption":"Wanaka, New Zealand","height":87});
															thumbnails[4606836] = clik.newPhoto({"id":4606836,"src":"Station_life_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_4606836.html","width":130,"caption":"Station life","height":87});
															thumbnails[4606837] = clik.newPhoto({"id":4606837,"src":"DSC06663_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4606837.html","width":130,"caption":"Kangaroos","height":103});
															thumbnails[4606838] = clik.newPhoto({"id":4606838,"src":"Graham_and_Jack1_thumb.jpg","galleries_id":137775,"server_id":32,"link":"photo_4606838.html","width":130,"caption":"","height":125});
															thumbnails[4606841] = clik.newPhoto({"id":4606841,"src":"New_Zealand_271_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4606841.html","width":130,"caption":"Crabapples in frost","height":93});
															thumbnails[4606844] = clik.newPhoto({"id":4606844,"src":"New_Zealand_319_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4606844.html","width":130,"caption":"Hoare frost, Cardrona, NZ","height":87});
															thumbnails[4606847] = clik.newPhoto({"id":4606847,"src":"DSC05028_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_4606847.html","width":130,"caption":"Christchurch, NZ","height":194});
															thumbnails[4606850] = clik.newPhoto({"id":4606850,"src":"New_Zealand_407_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_4606850.html","width":130,"caption":"","height":87});
															thumbnails[4866701] = clik.newPhoto({"id":4866701,"src":"the_drover_2_-_Copy_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_4866701.html","width":130,"caption":"The drover","height":87});
															thumbnails[4866702] = clik.newPhoto({"id":4866702,"src":"The_drover_4_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_4866702.html","width":130,"caption":"The drover","height":194});
															thumbnails[4866703] = clik.newPhoto({"id":4866703,"src":"Kristy_-_Copy_thumb.JPG","galleries_id":137775,"server_id":32,"link":"photo_4866703.html","width":130,"caption":"","height":194});
															thumbnails[5098270] = clik.newPhoto({"id":5098270,"src":"web_pic_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_5098270.html","width":130,"caption":"Carbon trading story, published 'The Australian', Feb'09","height":87});
															thumbnails[5098272] = clik.newPhoto({"id":5098272,"src":"Seagull_2_websize_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_5098272.html","width":130,"caption":"Seagull, Palm Beach, Gold Coast","height":87});
															thumbnails[5098275] = clik.newPhoto({"id":5098275,"src":"Seagull_websize_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_5098275.html","width":130,"caption":"Seagull, Palm Beach","height":80});
															thumbnails[5362868] = clik.newPhoto({"id":5362868,"src":"dry_season_web2_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_5362868.html","width":130,"caption":"Dry season, central Qld","height":87});
															thumbnails[5362906] = clik.newPhoto({"id":5362906,"src":"Mac__Gayle_Shann_web_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_5362906.html","width":130,"caption":"Mac and Gayle Shann, Cantaur Park, Central QLD","height":95});
															thumbnails[5944418] = clik.newPhoto({"id":5944418,"src":"Cooling_off_thumb.jpg","galleries_id":137775,"server_id":32,"link":"photo_5944418.html","width":130,"caption":"Cooling off in the Suttor","height":97});
															thumbnails[5944419] = clik.newPhoto({"id":5944419,"src":"Rydges_108_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_5944419.html","width":130,"caption":"Angie","height":195});
															thumbnails[5944420] = clik.newPhoto({"id":5944420,"src":"The_drover_3_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_5944420.html","width":130,"caption":"The drover","height":87});
															thumbnails[5944421] = clik.newPhoto({"id":5944421,"src":"DSC06070_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_5944421.html","width":130,"caption":"The Suttor River","height":81});
															thumbnails[5944422] = clik.newPhoto({"id":5944422,"src":"Dandelions_thumb.jpg","galleries_id":137782,"server_id":32,"link":"photo_5944422.html","width":130,"caption":"","height":87});
															thumbnails[5944423] = clik.newPhoto({"id":5944423,"src":"DSC03713_thumb.jpg","galleries_id":137776,"server_id":32,"link":"photo_5944423.html","width":130,"caption":"Isabelle","height":87});
															thumbnails[5948633] = clik.newPhoto({"id":5948633,"src":"Good_season_thumb.JPG","galleries_id":137777,"server_id":32,"link":"photo_5948633.html","width":130,"caption":"","height":87});
															thumbnails[6590297] = clik.newPhoto({"id":6590297,"src":"Bridie_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_6590297.html","width":130,"caption":"Bridie, Anna Creek Station, Great Australian Outback Cattle Drive","height":87});
															thumbnails[6947774] = clik.newPhoto({"id":6947774,"src":"Tasmania_2010_553_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_6947774.html","width":130,"caption":"Tulips","height":87});
															thumbnails[6947776] = clik.newPhoto({"id":6947776,"src":"Tasmania_2010_773_thumb.JPG","galleries_id":137782,"server_id":32,"link":"photo_6947776.html","width":130,"caption":"Australian fur seals, Tasmania","height":87});
															thumbnails[7920213] = clik.newPhoto({"id":7920213,"src":"DSC05986_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_7920213.html","width":130,"caption":"Gold Coast","height":87});
															thumbnails[7920214] = clik.newPhoto({"id":7920214,"src":"DSC02454_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_7920214.html","width":130,"caption":"Julia, at Suttor River, Central Qld","height":194});
															thumbnails[7920228] = clik.newPhoto({"id":7920228,"src":"Connection2_thumb.JPG","galleries_id":137776,"server_id":32,"link":"photo_7920228.html","width":130,"caption":"Alice","height":87});
															thumbnails[2618596] = clik.newPhoto({"id":2618596,"src":"DSC01010_thumb.JPG","galleries_id":137778,"server_id":32,"link":"photo_2618596.html","width":130,"caption":"Cradle Mt, Tasmania","height":136});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[137777] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cattle","link":"gallery_137777.html","maxRecords":0.0,"photoIDs":[2065037.0,2068297.0,2126241.0,2890104.0,3457488.0,3457490.0,3457492.0,3683919.0,3683921.0,4465831.0,5948633.0],"skipIndex":0,"section_code":"gallery","featured_images":3683921.0,"id":137777,"singleSection":false});				  						galleries[137782] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nature","link":"gallery_137782.html","maxRecords":0.0,"photoIDs":[6947767.0,6947772.0,5362905.0,2061973.0,2061993.0,2062033.0,2062113.0,2062132.0,2062137.0,2062140.0,2068278.0,2068280.0,2170075.0,2455794.0,2455797.0,2618945.0,4465207.0,4465778.0,4465779.0,4465784.0,4465832.0,4606837.0,4606841.0,4606844.0,4606850.0,5098272.0,5098275.0,5944422.0,6947774.0,6947776.0],"skipIndex":0,"section_code":"gallery","featured_images":2618945.0,"id":137782,"singleSection":false});				  						galleries[137775] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Outback station life","link":"gallery_137775.html","maxRecords":0.0,"photoIDs":[7552571.0,6590300.0,6590184.0,5362856.0,3937520.0,2061968.0,2061998.0,2061999.0,2062003.0,2062007.0,2062008.0,2062020.0,2062021.0,2062025.0,2062031.0,2062117.0,2064766.0,2068291.0,2068376.0,2185030.0,2274278.0,2274279.0,2274285.0,2282729.0,2411263.0,2411265.0,2411272.0,2411273.0,3457482.0,3457489.0,3457491.0,3457493.0,3457494.0,3479861.0,3479862.0,4606836.0,4606838.0,4866701.0,4866702.0,4866703.0,5944418.0],"skipIndex":0,"section_code":"gallery","featured_images":"4866701,3479862","id":137775,"singleSection":false});				  						galleries[137776] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"People","link":"gallery_137776.html","maxRecords":0.0,"photoIDs":[9011338.0,6590230.0,6590254.0,6590298.0,6590303.0,6590310.0,5362830.0,5362909.0,3937513.0,3937514.0,3937515.0,3937516.0,3937517.0,3937518.0,3937519.0,2061974.0,2062011.0,2062015.0,2062016.0,2062128.0,2062152.0,2062310.0,2068017.0,2170076.0,2170077.0,2411262.0,2411270.0,2890105.0,2890106.0,3457475.0,3457478.0,3457487.0,3511256.0,3790757.0,4465783.0,4465818.0,5098270.0,5362906.0,5944419.0,5944420.0,5944421.0,5944423.0,6590297.0,7920214.0,7920228.0],"skipIndex":0,"section_code":"gallery","featured_images":"7920214,5944419,5362906,2061974","id":137776,"singleSection":false});				  						galleries[137778] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Places","link":"gallery_137778.html","maxRecords":0.0,"photoIDs":[6947771.0,6590257.0,6590317.0,5362865.0,2618558.0,2978465.0,2062018.0,2062035.0,2062037.0,2062116.0,2062129.0,2062139.0,2455795.0,2603083.0,2618506.0,2618507.0,2618560.0,2618562.0,2618563.0,2618592.0,2618594.0,2618601.0,2618956.0,2618957.0,3770709.0,3770718.0,3770719.0,3770722.0,3770723.0,3770724.0,4465727.0,4465780.0,4465781.0,4465782.0,4606835.0,4606847.0,5362868.0,7920213.0,2618596.0],"skipIndex":0,"section_code":"gallery","featured_images":2618506.0,"id":137778,"singleSection":false});				  						galleries[137772] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_137772.html","maxRecords":0.0,"photoIDs":[5362826.0,2062002.0,2062009.0,2062014.0,2062027.0,2065005.0,2065036.0,2170081.0,2170083.0,2274304.0,2455798.0,2618599.0,3457484.0],"skipIndex":0,"section_code":"gallery","featured_images":2618599.0,"id":137772,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[241235] = '5362906,3937514';
imageSets[1] = '7920214,6947774,5362906,4866701,3937520,3770719,3683921,3683919,3479862,3479861,2618599,2618563,2618562,2618558,2618506,2411270,2411265,2062139,2062137,2062020,2062015,2062014,2062009,2062003,2062002,2061974,2061968,2618596';
imageSets[2] = '7920214,5944419,5362906,4866701,3683921,3479862,2618945,2618599,2618506,2061974';
imageSets[3] = '5362906,4866701,3937514';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/heelan/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/heelan/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/heelan/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/heelan/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/heelan/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/heelan/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/heelan/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/heelan/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 = 'Paula Heelan: Writer and photogapher: ' + 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;
	}
}

			

