window.thumbnails = {};
															thumbnails[8321587] = clik.newPhoto({"id":8321587,"src":"blurred_water_1_bw_thumb.jpg","galleries_id":315127,"server_id":37,"link":"photo_8321587.html","width":130,"caption":"Blurred Water (in Black and white)","height":80});
															thumbnails[8321592] = clik.newPhoto({"id":8321592,"src":"shed_1_resized_thumb.jpg","galleries_id":315127,"server_id":37,"link":"photo_8321592.html","width":130,"caption":"Boat Shed near Swansea, Tasmania","height":130});
															thumbnails[6760233] = clik.newPhoto({"id":6760233,"src":"Cradle-Mountain-1-web_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760233.html","width":130,"caption":"Cradle Mountain from Wombat Lake Tasmania","height":196});
															thumbnails[6760234] = clik.newPhoto({"id":6760234,"src":"Dove-Lake-Cradle-Mountain_2_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760234.html","width":130,"caption":"Dove Lake, Cradle Mountain NP Tasmania 1","height":196});
															thumbnails[6760237] = clik.newPhoto({"id":6760237,"src":"Dove-Lake-Cradle-Mountain_3_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760237.html","width":130,"caption":"Dove Lake, Cradle Mountain NP Tasmania 2","height":196});
															thumbnails[6760239] = clik.newPhoto({"id":6760239,"src":"Hobart-Habour-web-2_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760239.html","width":130,"caption":"Hobart Harbour, Tasmania 2","height":196});
															thumbnails[6760240] = clik.newPhoto({"id":6760240,"src":"Hobart-Harbour-web-1_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760240.html","width":130,"caption":"Hobart Harbour, Tasmania 1","height":197});
															thumbnails[6760241] = clik.newPhoto({"id":6760241,"src":"Misty-Morning-Dove-lake-re_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760241.html","width":130,"caption":"Misty Morning, Dove Lake, Cradle Mountain NP Tasmania","height":86});
															thumbnails[6760242] = clik.newPhoto({"id":6760242,"src":"Russell-Falls-web-1_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760242.html","width":130,"caption":"Russell Falls, Mt Field NP, Tasmania ","height":186});
															thumbnails[6760243] = clik.newPhoto({"id":6760243,"src":"Russell-Falls-web-2_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760243.html","width":130,"caption":"Russell Falls, Mt Field NP, Tasmania 2","height":202});
															thumbnails[6760244] = clik.newPhoto({"id":6760244,"src":"Russell-Falls-web-3_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760244.html","width":130,"caption":"Russell Falls, Mt Field NP, Tasmania 3","height":196});
															thumbnails[6760245] = clik.newPhoto({"id":6760245,"src":"Salamanca-Markets-web-1_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760245.html","width":130,"caption":"Beanies at Salamanca Markets, Hobart, Tasmania","height":86});
															thumbnails[6760247] = clik.newPhoto({"id":6760247,"src":"storm-on-hazards_TAS-web-1_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760247.html","width":130,"caption":"Storm at the Hazards,Tasmania ","height":177});
															thumbnails[6760248] = clik.newPhoto({"id":6760248,"src":"storm-on-mt-wellington_-_Tasmania_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760248.html","width":130,"caption":"Rain on Mt Wellington, Hobart, Tasmania","height":130});
															thumbnails[6760251] = clik.newPhoto({"id":6760251,"src":"rock-pattern-web_1_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760251.html","width":130,"caption":"Rock Patterns at the Hazards 1","height":196});
															thumbnails[6760252] = clik.newPhoto({"id":6760252,"src":"rock-patterns_web-2_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_6760252.html","width":130,"caption":"Rock Patterns at the Hazards, Tasmania 2","height":196});
															thumbnails[1193133] = clik.newPhoto({"id":1193133,"src":"Sue and Simon 7_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_1193133.html","width":130,"caption":"Sue and Simon 7","height":195});
															thumbnails[1193134] = clik.newPhoto({"id":1193134,"src":"Sue and Simon 8_thumb.JPG","galleries_id":316026,"server_id":15,"link":"photo_1193134.html","width":130,"caption":"Sue and Simon 8","height":196});
															thumbnails[1193119] = clik.newPhoto({"id":1193119,"src":"sue and simon 21_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_1193119.html","width":130,"caption":"Sue and Simon 2","height":195});
															thumbnails[1193120] = clik.newPhoto({"id":1193120,"src":"sue and simon 3_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_1193120.html","width":130,"caption":"Sue and Simon 3","height":195});
															thumbnails[1193121] = clik.newPhoto({"id":1193121,"src":"sue and simon 4_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_1193121.html","width":130,"caption":"Sue and Simon 4","height":195});
															thumbnails[1193123] = clik.newPhoto({"id":1193123,"src":"sue and simon 5_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_1193123.html","width":130,"caption":"Sue and Simon 5","height":195});
															thumbnails[1193126] = clik.newPhoto({"id":1193126,"src":"sue and simon 6_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_1193126.html","width":130,"caption":"Sue and Simon 6","height":195});
															thumbnails[490336] = clik.newPhoto({"id":490336,"src":"adele_friend_thumb.jpg","galleries_id":316025,"server_id":15,"link":"photo_490336.html","width":130,"caption":"adele and Josh's wedding 06","height":195});
															thumbnails[490337] = clik.newPhoto({"id":490337,"src":"adele_josh1_thumb.jpg","galleries_id":316025,"server_id":15,"link":"photo_490337.html","width":130,"caption":"Adele and Josh 1","height":190});
															thumbnails[490338] = clik.newPhoto({"id":490338,"src":"adele_josh2_thumb.jpg","galleries_id":316025,"server_id":15,"link":"photo_490338.html","width":130,"caption":"Adele and Josh - Black and White","height":160});
															thumbnails[490339] = clik.newPhoto({"id":490339,"src":"flower_ girls_thumb.jpg","galleries_id":316025,"server_id":15,"link":"photo_490339.html","width":130,"caption":"Flower Girls","height":86});
															thumbnails[490340] = clik.newPhoto({"id":490340,"src":"group1_thumb.jpg","galleries_id":316025,"server_id":15,"link":"photo_490340.html","width":130,"caption":"groomsmen and bride 1","height":195});
															thumbnails[490341] = clik.newPhoto({"id":490341,"src":"group2_thumb.jpg","galleries_id":316025,"server_id":15,"link":"photo_490341.html","width":130,"caption":"Groomsmen and Bride 2","height":98});
															thumbnails[560790] = clik.newPhoto({"id":560790,"src":"image 0108_thumb.jpg","galleries_id":37872,"server_id":15,"link":"photo_560790.html","width":130,"caption":"Liz 1","height":196});
															thumbnails[560791] = clik.newPhoto({"id":560791,"src":"image 0109_thumb.JPG","galleries_id":37872,"server_id":15,"link":"photo_560791.html","width":130,"caption":"Liz 2","height":196});
															thumbnails[560792] = clik.newPhoto({"id":560792,"src":"image 0110_thumb.jpg","galleries_id":37872,"server_id":15,"link":"photo_560792.html","width":130,"caption":"Amy 1","height":196});
															thumbnails[560789] = clik.newPhoto({"id":560789,"src":"image 0107_thumb.JPG","galleries_id":37872,"server_id":15,"link":"photo_560789.html","width":130,"caption":"cookies","height":176});
															thumbnails[7821276] = clik.newPhoto({"id":7821276,"src":"12_Watts_Lake_Panoramic_3_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821276.html","width":130,"caption":"Watts Lake, Late Summer","height":29});
															thumbnails[7821294] = clik.newPhoto({"id":7821294,"src":"14_Trajer_Ridge_Panaramic_1_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821294.html","width":130,"caption":"Trajer Ridge, Antarctica","height":32});
															thumbnails[7821225] = clik.newPhoto({"id":7821225,"src":"7_Ellis_Fjord_Panoramic_2_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821225.html","width":130,"caption":"Ellis Fjord Panoramic 2","height":21});
															thumbnails[7821252] = clik.newPhoto({"id":7821252,"src":"11_Watts_Lake_Panoramic_2_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821252.html","width":130,"caption":"Watts Lake Panorama (Early Summer)","height":29});
															thumbnails[7821230] = clik.newPhoto({"id":7821230,"src":"8_Ellis_Fjord_Panoramic_3_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821230.html","width":130,"caption":"Ellis Fjord Panoramic 3","height":30});
															thumbnails[7821237] = clik.newPhoto({"id":7821237,"src":"9_Watts_Hut_and_Ellis_Fjord_Panoramic_1_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821237.html","width":130,"caption":"Watts Hut and Ellis Fjord, Antarctica","height":24});
															thumbnails[7821245] = clik.newPhoto({"id":7821245,"src":"10_Watts_Lake_Panaramic_1_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821245.html","width":130,"caption":"Watts lake, late Spring, Antarctica","height":33});
															thumbnails[7821182] = clik.newPhoto({"id":7821182,"src":"1_Burton_lake_Sunset_resized_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821182.html","width":130,"caption":"Burton Lake Sunset, Antarctica","height":34});
															thumbnails[7821220] = clik.newPhoto({"id":7821220,"src":"6_Ellis_Fjord_Panaramic_1_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821220.html","width":130,"caption":"Ellis Fjord, Antarctica (panoramic 1)","height":29});
															thumbnails[7821201] = clik.newPhoto({"id":7821201,"src":"2_Icebergs_Panoramic_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821201.html","width":130,"caption":"Icebergs ","height":25});
															thumbnails[7821206] = clik.newPhoto({"id":7821206,"src":"3_Davis_base_Arrival_Panoramic_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821206.html","width":130,"caption":"Davis Base Arrival","height":22});
															thumbnails[7821212] = clik.newPhoto({"id":7821212,"src":"4_ship_in_sea_ice_Panaramic_thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821212.html","width":130,"caption":"Ship in Sea Ice (small panoramic)","height":28});
															thumbnails[7821218] = clik.newPhoto({"id":7821218,"src":"5_ship_in_sea_ice_Large_Panaramic_2__thumb.jpg","galleries_id":422166,"server_id":15,"link":"photo_7821218.html","width":130,"caption":"Ship in Sea Ice (large panorama)","height":13});
															thumbnails[927723] = clik.newPhoto({"id":927723,"src":"Sustrugi Sunset_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_927723.html","width":130,"caption":"Sustrugi Sunset","height":191});
															thumbnails[485511] = clik.newPhoto({"id":485511,"src":"Ice crystals_1_thumb.JPG","galleries_id":37816,"server_id":15,"link":"photo_485511.html","width":130,"caption":"Ice Crystals in blue","height":173});
															thumbnails[483538] = clik.newPhoto({"id":483538,"src":"blue_Iceberg_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_483538.html","width":130,"caption":"Blue Berg in Sea Ice","height":195});
															thumbnails[485518] = clik.newPhoto({"id":485518,"src":"Prydz_Bay_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485518.html","width":130,"caption":"Iceberg in Prydz Bay, Antarctica 3","height":173});
															thumbnails[485519] = clik.newPhoto({"id":485519,"src":"red_and_blue_ ice_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485519.html","width":130,"caption":"Red and Blue Ice","height":173});
															thumbnails[485520] = clik.newPhoto({"id":485520,"src":"sunset_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485520.html","width":130,"caption":"Antarctic Sunset","height":173});
															thumbnails[485522] = clik.newPhoto({"id":485522,"src":"burton_sunset_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485522.html","width":130,"caption":"Burton Lake Sunset","height":173});
															thumbnails[8321479] = clik.newPhoto({"id":8321479,"src":"sea_ice_resized_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321479.html","width":130,"caption":"Backlit Iceberg and Pack Ice","height":173});
															thumbnails[485513] = clik.newPhoto({"id":485513,"src":"memorial_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485513.html","width":130,"caption":"Memorials on Anchorage Island","height":173});
															thumbnails[8321578] = clik.newPhoto({"id":8321578,"src":"adelle_2_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321578.html","width":130,"caption":"Adelie Penguin","height":134});
															thumbnails[1975944] = clik.newPhoto({"id":1975944,"src":"Arrival in Antarctica-web_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_1975944.html","width":130,"caption":"Aurora Australis in Antarctica","height":67});
															thumbnails[483367] = clik.newPhoto({"id":483367,"src":"admiring_the_view_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_483367.html","width":130,"caption":"The Veiw","height":69});
															thumbnails[485510] = clik.newPhoto({"id":485510,"src":"antarctic_reflections_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485510.html","width":130,"caption":"Antarctic Reflections","height":85});
															thumbnails[560724] = clik.newPhoto({"id":560724,"src":"image 0066_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_560724.html","width":130,"caption":"sleepy weddell seal","height":98});
															thumbnails[483493] = clik.newPhoto({"id":483493,"src":"adelies_on_ sea_ice_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_483493.html","width":130,"caption":"Prydz Bay Adelies","height":85});
															thumbnails[485512] = clik.newPhoto({"id":485512,"src":"glacial_lake_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485512.html","width":130,"caption":"Glacial Lake","height":85});
															thumbnails[485514] = clik.newPhoto({"id":485514,"src":"sea_ice_breaking_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485514.html","width":130,"caption":"Pack Ice Jigsaw","height":98});
															thumbnails[485517] = clik.newPhoto({"id":485517,"src":"shadow_on_berg_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485517.html","width":130,"caption":"Ghost Ship","height":98});
															thumbnails[485521] = clik.newPhoto({"id":485521,"src":"storm_ night_thumb.jpg","galleries_id":37816,"server_id":15,"link":"photo_485521.html","width":130,"caption":"Stormy Night - Southern Ocean","height":98});
															thumbnails[8321331] = clik.newPhoto({"id":8321331,"src":"Ellis_Fjord_BW_resized_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321331.html","width":130,"caption":"Ellis Fjord monotone","height":98});
															thumbnails[8321513] = clik.newPhoto({"id":8321513,"src":"Sorsdal_Glacier_4_resized_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321513.html","width":130,"caption":"Sorsdal Glacier, Antarctica 1","height":83});
															thumbnails[8321559] = clik.newPhoto({"id":8321559,"src":"Sorsdal_Glacier_1_resized_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321559.html","width":130,"caption":"Sorsdal Glacier, Antarctica 2","height":81});
															thumbnails[8321489] = clik.newPhoto({"id":8321489,"src":"Twin_Adelies_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321489.html","width":130,"caption":"Twin Adelie Penguins, Prydz Bay","height":103});
															thumbnails[8321335] = clik.newPhoto({"id":8321335,"src":"Icebergs_in_Antarctica_resized_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321335.html","width":130,"caption":"Icebergs in Prydz Bay, Antarctica","height":89});
															thumbnails[8321337] = clik.newPhoto({"id":8321337,"src":"Pritz_Bay_Icebergs_resized_thumb.jpg","galleries_id":37816,"server_id":37,"link":"photo_8321337.html","width":130,"caption":"Icebergs in Prydz Bay, Antarctica 2","height":103});
															thumbnails[776298] = clik.newPhoto({"id":776298,"src":"Sue and Simon 1_thumb.jpg","galleries_id":316026,"server_id":15,"link":"photo_776298.html","width":130,"caption":"Sue and Simon 1","height":195});
															thumbnails[1320174] = clik.newPhoto({"id":1320174,"src":"Sturt Desert Peas 2_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_1320174.html","width":130,"caption":"Sturt Desert Pea","height":195});
															thumbnails[1193149] = clik.newPhoto({"id":1193149,"src":"darling reflections 1_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_1193149.html","width":130,"caption":"Relections on the Darling 2","height":208});
															thumbnails[1975873] = clik.newPhoto({"id":1975873,"src":"reflection 1 web_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_1975873.html","width":130,"caption":"Reflections on the Darling River","height":195});
															thumbnails[1975874] = clik.newPhoto({"id":1975874,"src":"reflection 1 bw web_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_1975874.html","width":130,"caption":"Darling River - bw","height":195});
															thumbnails[1975875] = clik.newPhoto({"id":1975875,"src":"north mine no2 web_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_1975875.html","width":130,"caption":"North Mine No2 Shaft - Broken Hill","height":194});
															thumbnails[486071] = clik.newPhoto({"id":486071,"src":"EAGLE1_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_486071.html","width":130,"caption":"Wedge Tailed Eagle","height":201});
															thumbnails[486072] = clik.newPhoto({"id":486072,"src":"EAGLE2_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_486072.html","width":130,"caption":"Wedge Tailed Eagle 2","height":184});
															thumbnails[5559940] = clik.newPhoto({"id":5559940,"src":"fireworks_over_the_hill_1_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_5559940.html","width":130,"caption":"Fireworks over the hill - Broken Hill 1","height":196});
															thumbnails[5559943] = clik.newPhoto({"id":5559943,"src":"fireworks_over_the_hill_2_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_5559943.html","width":130,"caption":"Fireworks over the hill 2","height":196});
															thumbnails[1320163] = clik.newPhoto({"id":1320163,"src":"Sturt Desert Peas 1_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_1320163.html","width":130,"caption":"Sturt Desert Pea 1","height":86});
															thumbnails[485546] = clik.newPhoto({"id":485546,"src":"triptich_thumb.jpg","galleries_id":315123,"server_id":15,"link":"photo_485546.html","width":130,"caption":"Tryptich 1","height":67});
															thumbnails[486083] = clik.newPhoto({"id":486083,"src":"slice_1_thumb.JPG","galleries_id":37872,"server_id":15,"link":"photo_486083.html","width":130,"caption":"Slice 1","height":196});
															thumbnails[5559946] = clik.newPhoto({"id":5559946,"src":"cradle_mountain_1_resized_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_5559946.html","width":130,"caption":"Cradle Mountain, Tasmania 1","height":78});
															thumbnails[5559949] = clik.newPhoto({"id":5559949,"src":"cradle_mountain_2_resized_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_5559949.html","width":130,"caption":"Cradle Mountain 2","height":100});
															thumbnails[5560286] = clik.newPhoto({"id":5560286,"src":"wine_glass_bay_1_resized_thumb.jpg","galleries_id":315127,"server_id":15,"link":"photo_5560286.html","width":130,"caption":"Wine Glass Bay from Mt Amos, Tasmania","height":130});
															thumbnails[5560289] = clik.newPhoto({"id":5560289,"src":"Cottage_thumb.jpg","galleries_id":315128,"server_id":15,"link":"photo_5560289.html","width":130,"caption":"Cottage","height":79});
															thumbnails[483541] = clik.newPhoto({"id":483541,"src":"McKenzies_Falls_1_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_483541.html","width":130,"caption":"Mackenzies Falls, Vic","height":176});
															thumbnails[485541] = clik.newPhoto({"id":485541,"src":"Hopetoun_Falls_1_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_485541.html","width":130,"caption":"Hopetoun Falls 1","height":196});
															thumbnails[485542] = clik.newPhoto({"id":485542,"src":"hopetoun_falls_2_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_485542.html","width":130,"caption":"Hopetoun Falls 2","height":196});
															thumbnails[485543] = clik.newPhoto({"id":485543,"src":"hopetoun_falls_3_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_485543.html","width":130,"caption":"Hopetoun Falls 3","height":174});
															thumbnails[485544] = clik.newPhoto({"id":485544,"src":"Sheoak_Falls 1_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_485544.html","width":130,"caption":"Sheoak Falls","height":182});
															thumbnails[485545] = clik.newPhoto({"id":485545,"src":"12apostles_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_485545.html","width":130,"caption":"The Twelve Apostles","height":195});
															thumbnails[8321585] = clik.newPhoto({"id":8321585,"src":"Hopetoun_falls_4_resized_thumb.jpg","galleries_id":315125,"server_id":37,"link":"photo_8321585.html","width":130,"caption":"Hopetoun Falls, Victoria 4","height":87});
															thumbnails[560761] = clik.newPhoto({"id":560761,"src":"image 0069_thumb.jpg","galleries_id":315125,"server_id":15,"link":"photo_560761.html","width":130,"caption":"Snails Highway","height":70});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[37816] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Antarctica","link":"gallery_37816.html","maxRecords":0.0,"photoIDs":[927723.0,485511.0,483538.0,485518.0,485519.0,485520.0,485522.0,8321479.0,485513.0,8321578.0,1975944.0,483367.0,485510.0,560724.0,483493.0,485512.0,485514.0,485517.0,485521.0,8321331.0,8321513.0,8321559.0,8321489.0,8321335.0,8321337.0],"skipIndex":0,"section_code":"gallery","featured_images":"927723,483538","id":37816,"singleSection":false});				  						galleries[315123] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"NSW","link":"gallery_315123.html","maxRecords":0.0,"photoIDs":[1320174.0,1193149.0,1975873.0,1975874.0,1975875.0,486071.0,486072.0,5559940.0,5559943.0,1320163.0,485546.0],"skipIndex":0,"section_code":"gallery","featured_images":"1975873,1320174,486071","id":315123,"singleSection":false});				  						galleries[315125] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Victoria","link":"gallery_315125.html","maxRecords":0.0,"photoIDs":[483541.0,485541.0,485542.0,485543.0,485544.0,485545.0,8321585.0,560761.0],"skipIndex":0,"section_code":"gallery","featured_images":"485543,485541","id":315125,"singleSection":false});				  						galleries[315127] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Tasmania","link":"gallery_315127.html","maxRecords":0.0,"photoIDs":[8321587.0,8321592.0,6760233.0,6760234.0,6760237.0,6760239.0,6760240.0,6760241.0,6760242.0,6760243.0,6760244.0,6760245.0,6760247.0,6760248.0,6760251.0,6760252.0,5559946.0,5559949.0,5560286.0],"skipIndex":0,"section_code":"gallery","featured_images":"6760240,5560286","id":315127,"singleSection":false});				  						galleries[315128] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"South Australia","link":"gallery_315128.html","maxRecords":0.0,"photoIDs":[5560289.0],"skipIndex":0,"section_code":"gallery","featured_images":5560289.0,"id":315128,"singleSection":false});				  						galleries[422166] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Panoramas","link":"gallery_422166.html","maxRecords":0.0,"photoIDs":[7821276.0,7821294.0,7821225.0,7821252.0,7821230.0,7821237.0,7821245.0,7821182.0,7821220.0,7821201.0,7821206.0,7821212.0,7821218.0],"skipIndex":0,"section_code":"gallery","featured_images":"7821294,7821276,7821252,7821245,7821237,7821230,7821225,7821220,7821218,7821212","id":422166,"singleSection":false});				  						galleries[316024] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings","link":"gallery_316024.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"1193119,490337","id":316024,"singleSection":false});				  						galleries[316025] = clik.newGallery({"parentGallery":316024,"usePopups":false,"title":"Adele and Josh","link":"gallery_316025.html","maxRecords":0.0,"photoIDs":[490336.0,490337.0,490338.0,490339.0,490340.0,490341.0],"skipIndex":0,"section_code":"gallery","featured_images":490337.0,"id":316025,"singleSection":false});				  						galleries[316026] = clik.newGallery({"parentGallery":316024,"usePopups":false,"title":"Sue and Simon","link":"gallery_316026.html","maxRecords":0.0,"photoIDs":[1193133.0,1193134.0,1193119.0,1193120.0,1193121.0,1193123.0,1193126.0,776298.0],"skipIndex":0,"section_code":"gallery","featured_images":1193119.0,"id":316026,"singleSection":false});				  						galleries[37872] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits, Corporate, and Advertising","link":"gallery_37872.html","maxRecords":0.0,"photoIDs":[560790.0,560791.0,560792.0,560789.0,486083.0],"skipIndex":0,"section_code":"gallery","featured_images":486083.0,"id":37872,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '927723,490337,490336,486071,485543,485542,485541,485511,483541,483538';
imageSets[2] = '6760240,5560289,5560286,1975873,1320174,1193119,927723,490337,486083,486071,485543,485541,483538';
imageSets[3] = '8321592,8321587,8321585,8321578,8321559,8321513,8321489,8321479,8321337,8321335,8321331,7821294,7821276,7821252,7821245,7821237,7821230,7821225,7821220,7821218,7821212,7821206,7821201,7821182,6760252,6760251,6760248,6760247,6760245,6760244,6760243,6760242,6760241,6760240,6760239,6760237,6760234,6760233,5560289,5560286,5559949,5559946,5559943,5559940,1975944,1975875,1975874,1975873,1320174,1320163';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/hicksey/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/hicksey/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/hicksey/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/hicksey/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/hicksey/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/hicksey/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/hicksey/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 = 'Wild Australia Photography : ' + 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({					href: thumbnails[imageID].fnGalleryLink(gallery_id),					title: galleries[gallery_id].title				});
			}
		}
	}
}

/***************************************************************************
* 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;
	}
}

			

