window.thumbnails = {};
															thumbnails[5770776] = clik.newPhoto({"id":5770776,"src":"Harrison_Display1_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770776.html","width":130,"caption":"Harrison Display","height":87});
															thumbnails[5770782] = clik.newPhoto({"id":5770782,"src":"Davis1_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770782.html","width":130,"caption":"Davis Street","height":86});
															thumbnails[5770783] = clik.newPhoto({"id":5770783,"src":"Duffy_Street1_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770783.html","width":130,"caption":"Duffy Street","height":86});
															thumbnails[5770787] = clik.newPhoto({"id":5770787,"src":"OConnor_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770787.html","width":130,"caption":"O'Connor","height":70});
															thumbnails[5770790] = clik.newPhoto({"id":5770790,"src":"Murrumbateman_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770790.html","width":130,"caption":"Murrumbateman","height":71});
															thumbnails[5770794] = clik.newPhoto({"id":5770794,"src":"Lowanna_Condo_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770794.html","width":130,"caption":"Lowanna Condo","height":86});
															thumbnails[5770796] = clik.newPhoto({"id":5770796,"src":"Buntine1_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770796.html","width":130,"caption":"Buntine Crescent","height":80});
															thumbnails[5770802] = clik.newPhoto({"id":5770802,"src":"Pool_11_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770802.html","width":130,"caption":"Pool 1","height":82});
															thumbnails[5770805] = clik.newPhoto({"id":5770805,"src":"Pool_21_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770805.html","width":130,"caption":"Pool 2","height":83});
															thumbnails[5770836] = clik.newPhoto({"id":5770836,"src":"Space_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5770836.html","width":86,"caption":"'Space'","height":130});
															thumbnails[5770843] = clik.newPhoto({"id":5770843,"src":"31186phoenix-065_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5770843.html","width":86,"caption":"'Phoenix'","height":130});
															thumbnails[5770853] = clik.newPhoto({"id":5770853,"src":"SanctumDesign_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5770853.html","width":130,"caption":"Sanctum's Offices","height":107});
															thumbnails[5770858] = clik.newPhoto({"id":5770858,"src":"Woolworths_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5770858.html","width":130,"caption":"Woolworths, Mawson","height":86});
															thumbnails[5770862] = clik.newPhoto({"id":5770862,"src":"Bar_Renos_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5770862.html","width":130,"caption":"Renovations","height":86});
															thumbnails[5770867] = clik.newPhoto({"id":5770867,"src":"Glebe_Park_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5770867.html","width":45,"caption":"'Glebe Park'","height":130});
															thumbnails[5770874] = clik.newPhoto({"id":5770874,"src":"One_Apt_12_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5770874.html","width":130,"caption":"'OnQ' Apt 12","height":85});
															thumbnails[5770877] = clik.newPhoto({"id":5770877,"src":"101marchant-0060CHOSEN_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5770877.html","width":130,"caption":"","height":80});
															thumbnails[5770881] = clik.newPhoto({"id":5770881,"src":"26whitfield25_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5770881.html","width":130,"caption":"Whitfield Stairway","height":85});
															thumbnails[5770886] = clik.newPhoto({"id":5770886,"src":"13Brinkley69-GUN_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5770886.html","width":130,"caption":"Brinkley","height":86});
															thumbnails[5772958] = clik.newPhoto({"id":5772958,"src":"Container_Flats_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5772958.html","width":130,"caption":"Container Living","height":127});
															thumbnails[5772961] = clik.newPhoto({"id":5772961,"src":"Derelict_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5772961.html","width":130,"caption":"Derelict","height":130});
															thumbnails[5779278] = clik.newPhoto({"id":5779278,"src":"Jacka_Cres_1_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5779278.html","width":130,"caption":"Jacka Cres 1","height":86});
															thumbnails[5779281] = clik.newPhoto({"id":5779281,"src":"Jacka_Cres_2_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5779281.html","width":130,"caption":"Jacka Cres 2","height":74});
															thumbnails[5805575] = clik.newPhoto({"id":5805575,"src":"Beams_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805575.html","width":130,"caption":"Beams","height":80});
															thumbnails[5805582] = clik.newPhoto({"id":5805582,"src":"13Brinkley128-GUN_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805582.html","width":85,"caption":"Brinkley","height":130});
															thumbnails[5805588] = clik.newPhoto({"id":5805588,"src":"59katherine-042_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805588.html","width":130,"caption":"Katherine","height":85});
															thumbnails[5805607] = clik.newPhoto({"id":5805607,"src":"26whitfield103_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805607.html","width":130,"caption":"Whitfield","height":86});
															thumbnails[5805613] = clik.newPhoto({"id":5805613,"src":"22davis-218-Edit-Edit-2_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805613.html","width":130,"caption":"Murrumbateman","height":86});
															thumbnails[5805618] = clik.newPhoto({"id":5805618,"src":"3thomas-055_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805618.html","width":130,"caption":"Thomas","height":86});
															thumbnails[5805621] = clik.newPhoto({"id":5805621,"src":"3penrhyn-009_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805621.html","width":130,"caption":"Penrhyn","height":86});
															thumbnails[5805625] = clik.newPhoto({"id":5805625,"src":"1newman028_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5805625.html","width":130,"caption":"Newman","height":80});
															thumbnails[5809431] = clik.newPhoto({"id":5809431,"src":"328black-0083_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809431.html","width":130,"caption":"3@28 Black","height":86});
															thumbnails[5809432] = clik.newPhoto({"id":5809432,"src":"46hall-13_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809432.html","width":130,"caption":"4@6 Hall","height":80});
															thumbnails[5809436] = clik.newPhoto({"id":5809436,"src":"88corinna002_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809436.html","width":130,"caption":"8@8 Corinna","height":87});
															thumbnails[5809447] = clik.newPhoto({"id":5809447,"src":"6311JoyCummins124-RENTAL_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809447.html","width":130,"caption":"63@11 Joy Cummins","height":85});
															thumbnails[5809453] = clik.newPhoto({"id":5809453,"src":"802TheMetropolitan-014_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809453.html","width":130,"caption":"80@2 The Metropolitan","height":86});
															thumbnails[5809461] = clik.newPhoto({"id":5809461,"src":"168CUNNINGHAM-06_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809461.html","width":130,"caption":"168 Cunningham","height":85});
															thumbnails[5809466] = clik.newPhoto({"id":5809466,"src":"305TheWaldorf-11_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809466.html","width":130,"caption":"305 The Waldorf","height":85});
															thumbnails[5809472] = clik.newPhoto({"id":5809472,"src":"091222-2204_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809472.html","width":130,"caption":"Balcony, Space","height":85});
															thumbnails[5809506] = clik.newPhoto({"id":5809506,"src":"PANOS_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5809506.html","width":130,"caption":"Panoramas","height":128});
															thumbnails[5809526] = clik.newPhoto({"id":5809526,"src":"MBA_entry_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5809526.html","width":130,"caption":"MBA Entry","height":121});
															thumbnails[5809550] = clik.newPhoto({"id":5809550,"src":"Variations_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5809550.html","width":130,"caption":"Variations","height":114});
															thumbnails[5812583] = clik.newPhoto({"id":5812583,"src":"5simmons-023_copy_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5812583.html","width":130,"caption":"5 Simmons","height":86});
															thumbnails[5812584] = clik.newPhoto({"id":5812584,"src":"542nbourne-084copy_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5812584.html","width":130,"caption":"Northbourne","height":87});
															thumbnails[5812585] = clik.newPhoto({"id":5812585,"src":"2evan-097_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5812585.html","width":130,"caption":"2 Evan","height":86});
															thumbnails[5812586] = clik.newPhoto({"id":5812586,"src":"256Jacka-065_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5812586.html","width":87,"caption":"Stairs","height":130});
															thumbnails[5812587] = clik.newPhoto({"id":5812587,"src":"Mural_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5812587.html","width":130,"caption":"Ceiling Detail","height":87});
															thumbnails[5838187] = clik.newPhoto({"id":5838187,"src":"1notepad-095_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838187.html","width":130,"caption":"Dunlop","height":87});
															thumbnails[5838188] = clik.newPhoto({"id":5838188,"src":"ExtVariants_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838188.html","width":130,"caption":"Two Versions","height":130});
															thumbnails[5838190] = clik.newPhoto({"id":5838190,"src":"gallopcreek-088_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838190.html","width":130,"caption":"Wines","height":78});
															thumbnails[5838220] = clik.newPhoto({"id":5838220,"src":"40sunshine-147_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838220.html","width":86,"caption":"Modernity","height":130});
															thumbnails[5838221] = clik.newPhoto({"id":5838221,"src":"14phoenix-036_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838221.html","width":130,"caption":"Patio","height":87});
															thumbnails[5838222] = clik.newPhoto({"id":5838222,"src":"1whimB-162_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838222.html","width":130,"caption":"Palatial","height":83});
															thumbnails[5838224] = clik.newPhoto({"id":5838224,"src":"172captcook035_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5838224.html","width":87,"caption":"Deck","height":130});
															thumbnails[5839439] = clik.newPhoto({"id":5839439,"src":"3143Blackall78-CIT_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5839439.html","width":130,"caption":"","height":85});
															thumbnails[5839584] = clik.newPhoto({"id":5839584,"src":"14DeMole99-GUN_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5839584.html","width":130,"caption":"Dunlop","height":83});
															thumbnails[5860174] = clik.newPhoto({"id":5860174,"src":"6leane-048_copy_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5860174.html","width":130,"caption":"Leane","height":86});
															thumbnails[5860177] = clik.newPhoto({"id":5860177,"src":"ac-4922_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5860177.html","width":130,"caption":"Campbell","height":87});
															thumbnails[5860188] = clik.newPhoto({"id":5860188,"src":"38bruning-203_copy_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5860188.html","width":130,"caption":"Bruning","height":87});
															thumbnails[5860198] = clik.newPhoto({"id":5860198,"src":"40sunshine-090_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5860198.html","width":79,"caption":"Sunshine","height":130});
															thumbnails[5860221] = clik.newPhoto({"id":5860221,"src":"3scott-124_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5860221.html","width":130,"caption":"Scott","height":66});
															thumbnails[5860841] = clik.newPhoto({"id":5860841,"src":"15McHenry-102GUN_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5860841.html","width":130,"caption":"McHenry","height":88});
															thumbnails[5860891] = clik.newPhoto({"id":5860891,"src":"4DudiA35-KAL_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5860891.html","width":130,"caption":"Dudi","height":57});
															thumbnails[5860897] = clik.newPhoto({"id":5860897,"src":"8Swainsora33-CIT_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5860897.html","width":130,"caption":"Swainsona","height":85});
															thumbnails[5860905] = clik.newPhoto({"id":5860905,"src":"15hovea-32_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5860905.html","width":130,"caption":"Hovea","height":84});
															thumbnails[5860937] = clik.newPhoto({"id":5860937,"src":"16PellewA3-CIT_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5860937.html","width":130,"caption":"Pellew","height":80});
															thumbnails[5860944] = clik.newPhoto({"id":5860944,"src":"920ijong-56CIT_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5860944.html","width":85,"caption":"9@20 Ijong","height":130});
															thumbnails[5860968] = clik.newPhoto({"id":5860968,"src":"6keatsFRONT-20DIC_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_5860968.html","width":130,"caption":"Keats","height":79});
															thumbnails[5860977] = clik.newPhoto({"id":5860977,"src":"1miller-28CIT_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5860977.html","width":130,"caption":"1 Miller<br>\r\n","height":85});
															thumbnails[5891439] = clik.newPhoto({"id":5891439,"src":"gr8builders_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_5891439.html","width":130,"caption":"GR8 Builders","height":130});
															thumbnails[5891466] = clik.newPhoto({"id":5891466,"src":"6MillerB31-DIC_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5891466.html","width":130,"caption":"6 Miller","height":85});
															thumbnails[5891475] = clik.newPhoto({"id":5891475,"src":"6MillerB10-DIC_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_5891475.html","width":130,"caption":"6 Miller","height":85});
															thumbnails[5891482] = clik.newPhoto({"id":5891482,"src":"6MillerB186-DIC_copy_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5891482.html","width":86,"caption":"6 Miller","height":130});
															thumbnails[5905609] = clik.newPhoto({"id":5905609,"src":"205Goulda-58-Edit-Edit_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_5905609.html","width":130,"caption":"20\/5 Gould","height":82});
															thumbnails[6081946] = clik.newPhoto({"id":6081946,"src":"Chapman_Gallery_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_6081946.html","width":130,"caption":"Chapman Gallery","height":130});
															thumbnails[6081971] = clik.newPhoto({"id":6081971,"src":"RENTAL-2Wendyey-40_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_6081971.html","width":130,"caption":"Wendyey","height":80});
															thumbnails[6082160] = clik.newPhoto({"id":6082160,"src":"32Waterworth-196-Edit_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_6082160.html","width":130,"caption":"Waterworth","height":62});
															thumbnails[6082494] = clik.newPhoto({"id":6082494,"src":"91Jardine_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6082494.html","width":130,"caption":"9@1 Jardine","height":49});
															thumbnails[6082499] = clik.newPhoto({"id":6082499,"src":"130FarrerDIC-41-Edit_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_6082499.html","width":130,"caption":"1@30 Farrer","height":79});
															thumbnails[6226403] = clik.newPhoto({"id":6226403,"src":"Aurora_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_6226403.html","width":130,"caption":"Industrial Wasteland","height":130});
															thumbnails[6226407] = clik.newPhoto({"id":6226407,"src":"20100618-653_copy_thumb.jpg","galleries_id":346895,"server_id":5,"link":"photo_6226407.html","width":130,"caption":"Vacant glow","height":86});
															thumbnails[6226470] = clik.newPhoto({"id":6226470,"src":"1MuscaKAL-232_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_6226470.html","width":130,"caption":"Musca","height":85});
															thumbnails[6226482] = clik.newPhoto({"id":6226482,"src":"90MacarthurDIC-99_copy_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_6226482.html","width":130,"caption":"Macarthur 2","height":85});
															thumbnails[6226486] = clik.newPhoto({"id":6226486,"src":"107NormanFisher-52_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_6226486.html","width":130,"caption":"Norman Fisher","height":85});
															thumbnails[6226491] = clik.newPhoto({"id":6226491,"src":"2538WatsonKAL-43-Edit_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6226491.html","width":130,"caption":"25@38 Watson","height":85});
															thumbnails[6226498] = clik.newPhoto({"id":6226498,"src":"228WaldorfCITY-60-Edit_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6226498.html","width":130,"caption":"Waldorf 1","height":85});
															thumbnails[6226500] = clik.newPhoto({"id":6226500,"src":"228WaldorfCITY-113-Edit_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6226500.html","width":130,"caption":"Waldorf 2","height":85});
															thumbnails[6494327] = clik.newPhoto({"id":6494327,"src":"_ACP4930_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6494327.html","width":130,"caption":"SkyPlaza1","height":85});
															thumbnails[6494331] = clik.newPhoto({"id":6494331,"src":"_ACP4938_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6494331.html","width":130,"caption":"SkyPlaza3","height":85});
															thumbnails[6494335] = clik.newPhoto({"id":6494335,"src":"_ACP4948_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6494335.html","width":130,"caption":"SkyPlaza4","height":85});
															thumbnails[6494339] = clik.newPhoto({"id":6494339,"src":"6GentileKAL-26_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_6494339.html","width":130,"caption":"Gentile1","height":85});
															thumbnails[6494341] = clik.newPhoto({"id":6494341,"src":"6GentileKAL-90_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_6494341.html","width":86,"caption":"Gentile2","height":130});
															thumbnails[6494345] = clik.newPhoto({"id":6494345,"src":"6GentileKAL-200_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_6494345.html","width":130,"caption":"Gentile4","height":85});
															thumbnails[6494417] = clik.newPhoto({"id":6494417,"src":"7ThrosbyPRIVATE-4302_copy_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_6494417.html","width":130,"caption":"Throsby2","height":85});
															thumbnails[6494424] = clik.newPhoto({"id":6494424,"src":"7ThrosbyPRIVATE-4323_copy_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_6494424.html","width":130,"caption":"Throsby4","height":72});
															thumbnails[6494430] = clik.newPhoto({"id":6494430,"src":"36WeddinGUNG-39_thumb.jpg","galleries_id":327307,"server_id":5,"link":"photo_6494430.html","width":130,"caption":"Weddin1","height":85});
															thumbnails[6494499] = clik.newPhoto({"id":6494499,"src":"86LondonTowerBEL-100_copy_thumb.jpg","galleries_id":321950,"server_id":5,"link":"photo_6494499.html","width":130,"caption":"London Tower1","height":85});
															thumbnails[6494520] = clik.newPhoto({"id":6494520,"src":"AllBarNun-40_copy_thumb.jpg","galleries_id":324011,"server_id":5,"link":"photo_6494520.html","width":130,"caption":"All Bar Nun","height":75});
															thumbnails[6494559] = clik.newPhoto({"id":6494559,"src":"140CoodravaleKAL-26_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494559.html","width":130,"caption":"Coodravale1","height":85});
															thumbnails[6494600] = clik.newPhoto({"id":6494600,"src":"140CoodravaleKAL-41_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494600.html","width":130,"caption":"Coodravale2","height":86});
															thumbnails[6494602] = clik.newPhoto({"id":6494602,"src":"140CoodravaleKAL-127_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494602.html","width":130,"caption":"Coodravale6","height":86});
															thumbnails[6494603] = clik.newPhoto({"id":6494603,"src":"140CoodravaleKAL-222_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494603.html","width":130,"caption":"Coodravale3","height":86});
															thumbnails[6494605] = clik.newPhoto({"id":6494605,"src":"140CoodravaleKAL-195_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494605.html","width":130,"caption":"Coodravale4","height":86});
															thumbnails[6494703] = clik.newPhoto({"id":6494703,"src":"140CoodravaleKAL-93_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494703.html","width":130,"caption":"Coodravale5","height":86});
															thumbnails[6494707] = clik.newPhoto({"id":6494707,"src":"140CoodravaleKAL-328_copy_thumb.jpg","galleries_id":357643,"server_id":5,"link":"photo_6494707.html","width":130,"caption":"Coodravale7","height":85});
															thumbnails[6494814] = clik.newPhoto({"id":6494814,"src":"2WandererGUN-213_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_6494814.html","width":130,"caption":"Wanderer1","height":61});
															thumbnails[6494839] = clik.newPhoto({"id":6494839,"src":"90121ThynneBEL-RENT-18_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_6494839.html","width":86,"caption":"Thynne1","height":130});
															thumbnails[6494842] = clik.newPhoto({"id":6494842,"src":"45BaradaDIC-82_copy_thumb.jpg","galleries_id":321949,"server_id":5,"link":"photo_6494842.html","width":130,"caption":"Barada1","height":85});
															thumbnails[7122326] = clik.newPhoto({"id":7122326,"src":"41Tanderra1_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122326.html","width":130,"caption":"Tanderra1","height":69});
															thumbnails[7122329] = clik.newPhoto({"id":7122329,"src":"41Tanderra2_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122329.html","width":130,"caption":"Tanderra2","height":75});
															thumbnails[7122330] = clik.newPhoto({"id":7122330,"src":"41Tanderra3_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122330.html","width":130,"caption":"Tanderra3","height":71});
															thumbnails[7122370] = clik.newPhoto({"id":7122370,"src":"41Tanderra4_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122370.html","width":130,"caption":"Tanderra4","height":81});
															thumbnails[7122371] = clik.newPhoto({"id":7122371,"src":"41Tanderra5_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122371.html","width":130,"caption":"Tanderra5","height":81});
															thumbnails[7122372] = clik.newPhoto({"id":7122372,"src":"41Tanderra6_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122372.html","width":130,"caption":"Tanderra6","height":75});
															thumbnails[7122375] = clik.newPhoto({"id":7122375,"src":"15Cleggett1_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122375.html","width":85,"caption":"Cleggett1","height":130});
															thumbnails[7122376] = clik.newPhoto({"id":7122376,"src":"15Cleggett2_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122376.html","width":86,"caption":"","height":130});
															thumbnails[7122377] = clik.newPhoto({"id":7122377,"src":"15Cleggett3_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122377.html","width":85,"caption":"Cleggett3","height":130});
															thumbnails[7122378] = clik.newPhoto({"id":7122378,"src":"The_Oracle1_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122378.html","width":85,"caption":"The Oracle","height":130});
															thumbnails[7122380] = clik.newPhoto({"id":7122380,"src":"77Katoomba1_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122380.html","width":85,"caption":"77 Katoomba","height":130});
															thumbnails[7122381] = clik.newPhoto({"id":7122381,"src":"52Woolner_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122381.html","width":130,"caption":"52 Woolner","height":71});
															thumbnails[7122383] = clik.newPhoto({"id":7122383,"src":"Bonney1_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122383.html","width":130,"caption":"Bonney1","height":85});
															thumbnails[7122387] = clik.newPhoto({"id":7122387,"src":"Bonney2_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122387.html","width":130,"caption":"Bonney2","height":80});
															thumbnails[7122390] = clik.newPhoto({"id":7122390,"src":"Bonney3_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122390.html","width":130,"caption":"Bonney3","height":85});
															thumbnails[7122394] = clik.newPhoto({"id":7122394,"src":"Bonney4_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122394.html","width":130,"caption":"Bonney4","height":81});
															thumbnails[7122399] = clik.newPhoto({"id":7122399,"src":"Bonney5_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122399.html","width":130,"caption":"Bonney5","height":80});
															thumbnails[7122400] = clik.newPhoto({"id":7122400,"src":"Bonney6_thumb.jpg","galleries_id":330387,"server_id":5,"link":"photo_7122400.html","width":130,"caption":"Bonney6","height":83});
															thumbnails[5770812] = clik.newPhoto({"id":5770812,"src":"Adder_2_thumb.jpg","galleries_id":324012,"server_id":5,"link":"photo_5770812.html","width":130,"caption":"Adder 2","height":86});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[321949] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Homes-Exteriors","link":"gallery_321949.html","maxRecords":0.0,"photoIDs":[5770877.0,5770886.0,5838187.0,5838188.0,5838190.0,5838220.0,5838221.0,5838222.0,5838224.0,5860221.0,5860841.0,5860891.0,5860937.0,5860968.0,6081971.0,6226470.0,6494339.0,6494814.0,6494839.0,6494842.0],"skipIndex":0,"section_code":"gallery","featured_images":"6494839,6494814,6494339,6226470,6081971,5860968,5860841,5860221,5838220,5770886,5770877","id":321949,"singleSection":false});				  						galleries[327307] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Homes-Interiors","link":"gallery_327307.html","maxRecords":0.0,"photoIDs":[5770881.0,5805575.0,5805582.0,5805588.0,5805607.0,5805613.0,5805618.0,5805621.0,5805625.0,5812584.0,5812585.0,5812586.0,5812587.0,5860174.0,5860198.0,5860897.0,5860905.0,5860977.0,5891466.0,5891475.0,6226486.0,6494341.0,6494345.0,6494417.0,6494430.0],"skipIndex":0,"section_code":"gallery","featured_images":"6494341,5860977,5860897,5805621,5770881","id":327307,"singleSection":false});				  						galleries[321950] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Apartments","link":"gallery_321950.html","maxRecords":0.0,"photoIDs":[5770836.0,5770843.0,5770867.0,5770874.0,5809431.0,5809432.0,5809436.0,5809447.0,5809453.0,5809461.0,5809466.0,5809472.0,5809506.0,5839439.0,5860177.0,5860944.0,5905609.0,6082494.0,6226491.0,6226498.0,6226500.0,6494327.0,6494331.0,6494335.0,6494499.0],"skipIndex":0,"section_code":"gallery","featured_images":"6494331,6494327,5905609,5860177,5839439,5809466,5809461,5770874,5770836","id":321950,"singleSection":false});				  						galleries[324011] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Commercial","link":"gallery_324011.html","maxRecords":0.0,"photoIDs":[5770853.0,5770858.0,5770862.0,5772958.0,5772961.0,5809526.0,5891439.0,6081946.0,6226403.0,6494520.0],"skipIndex":0,"section_code":"gallery","featured_images":"6494520,6081946,5891439,5772961,5770858","id":324011,"singleSection":false});				  						galleries[324012] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Duskshoots","link":"gallery_324012.html","maxRecords":0.0,"photoIDs":[5770776.0,5770782.0,5770783.0,5770787.0,5770790.0,5770794.0,5770796.0,5770802.0,5770805.0,5779278.0,5779281.0,5809550.0,5812583.0,5839584.0,5860188.0,5891482.0,6082160.0,6082499.0,6226482.0,6494424.0,5770812.0],"skipIndex":0,"section_code":"gallery","featured_images":"6494424,6226482,6082499,6082160,5891482,5860188,5839584,5812583,5779278,5770812,5770805,5770802,5770796,5770790,5770787,5770783,5770782,5770776","id":324012,"singleSection":false});				  						galleries[330387] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Recent Work","link":"gallery_330387.html","maxRecords":0.0,"photoIDs":[7122326.0,7122329.0,7122330.0,7122370.0,7122371.0,7122372.0,7122375.0,7122376.0,7122377.0,7122378.0,7122380.0,7122381.0,7122383.0,7122387.0,7122390.0,7122394.0,7122399.0,7122400.0],"skipIndex":0,"section_code":"gallery","featured_images":"7122400,7122399,7122390,7122387,7122383,7122377,7122376,7122370,7122330,7122329,7122326","id":330387,"singleSection":false});				  						galleries[357643] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Rural Works","link":"gallery_357643.html","maxRecords":0.0,"photoIDs":[6494559.0,6494600.0,6494602.0,6494603.0,6494605.0,6494703.0,6494707.0],"skipIndex":0,"section_code":"gallery","featured_images":"6494707,6494605,6494603,6494559","id":357643,"singleSection":false});				  						galleries[346895] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Observations","link":"gallery_346895.html","maxRecords":0.0,"photoIDs":[6226407.0],"skipIndex":0,"section_code":"gallery","featured_images":6226407.0,"id":346895,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7122400,7122399,7122390,7122387,7122383,7122377,7122376,7122371,7122370,7122330,7122329,7122326,6494707,6494605,6494603,6494602,6494600,6494559,6494520,6494499,6494424,6494417,6494345,6494339,6494331,6494327,6226482,6226407,6082499,6082160,6081971,6081946,5905609,5891482,5891475,5891466,5891439,5860977,5860937,5860905,5860897,5860221,5860198,5860188,5860174,5839584,5839439,5838221,5838220,5838190,5812586,5812585,5812583,5809550,5809526,5809506,5809472,5809461,5809447,5809432,5805625,5805621,5779281,5779278,5772961,5772958,5770886,5770881,5770877,5770874,5770862,5770858,5770853,5770805,5770796,5770790,5770787,5770783,5770782,5770776,5770812';
imageSets[2] = '7122400,7122399,7122390,7122387,7122383,7122377,7122376,7122370,7122330,7122329,7122326,6494839,6494814,6494707,6494605,6494603,6494559,6494520,6494424,6494341,6494339,6494331,6494327,6226482,6226470,6226407,6082499,6082160,6081971,6081946,5905609,5891482,5891439,5860977,5860968,5860897,5860841,5860221,5860188,5860177,5839584,5839439,5838220,5812583,5809466,5809461,5805621,5779278,5772961,5770886,5770881,5770877,5770874,5770858,5770836,5770805,5770802,5770796,5770790,5770787,5770783,5770782,5770776,5770812';
imageSets[3] = '7122400,7122399,7122394,7122390,7122387,7122383,7122381,7122380,7122378,7122377,7122376,7122375,7122372,7122371,7122370,7122330,7122329,7122326,6494842,6494839,6494814,6494707,6494703,6494605,6494603,6494602,6494600,6494559,6494520,6494499,6494430,6494424,6494417,6494345,6494341,6494339,6494335,6494331,6494327,6226500,6226498,6226491,6226486,6226482,6226470,6226407,6226403,6082499,6082494,6082160';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/CanPix/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/CanPix/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/CanPix/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/CanPix/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/CanPix/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/CanPix/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/CanPix/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 = 'CanPix Canberra Pictures: ' + 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 !== '' || this.payment_groups_id !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

