window.thumbnails = {};
															thumbnails[8771213] = clik.newPhoto({"id":8771213,"src":"EmmaRobert-select-8_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771213.html","width":160,"caption":"","height":160});
															thumbnails[8771252] = clik.newPhoto({"id":8771252,"src":"EmmaRobert-select-9_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771252.html","width":160,"caption":"","height":160});
															thumbnails[8771293] = clik.newPhoto({"id":8771293,"src":"EmmaRobert-select-23_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771293.html","width":160,"caption":"","height":160});
															thumbnails[8771294] = clik.newPhoto({"id":8771294,"src":"EmmaRobert-select-25_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771294.html","width":160,"caption":"","height":160});
															thumbnails[8771295] = clik.newPhoto({"id":8771295,"src":"EmmaRobert-select-29_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771295.html","width":160,"caption":"","height":160});
															thumbnails[8771723] = clik.newPhoto({"id":8771723,"src":"EmmaRobert-select-30_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771723.html","width":160,"caption":"","height":160});
															thumbnails[8771729] = clik.newPhoto({"id":8771729,"src":"EmmaRobert-select-33_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771729.html","width":160,"caption":"","height":160});
															thumbnails[8771737] = clik.newPhoto({"id":8771737,"src":"EmmaRobert-select-34_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771737.html","width":160,"caption":"","height":160});
															thumbnails[8771757] = clik.newPhoto({"id":8771757,"src":"EmmaRobert-select-58_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771757.html","width":160,"caption":"","height":160});
															thumbnails[8771761] = clik.newPhoto({"id":8771761,"src":"EmmaRobert-select-84_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771761.html","width":160,"caption":"","height":160});
															thumbnails[8771769] = clik.newPhoto({"id":8771769,"src":"EmmaRobert-select-92_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771769.html","width":160,"caption":"","height":160});
															thumbnails[8771773] = clik.newPhoto({"id":8771773,"src":"EmmaRobert-select-98_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771773.html","width":160,"caption":"","height":160});
															thumbnails[8771778] = clik.newPhoto({"id":8771778,"src":"EmmaRobert-145_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771778.html","width":160,"caption":"","height":160});
															thumbnails[8771782] = clik.newPhoto({"id":8771782,"src":"EmmaRobert-175_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771782.html","width":160,"caption":"","height":160});
															thumbnails[8771786] = clik.newPhoto({"id":8771786,"src":"EmmaRobert-237_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771786.html","width":160,"caption":"","height":160});
															thumbnails[8771797] = clik.newPhoto({"id":8771797,"src":"EmmaRobert-263_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771797.html","width":160,"caption":"","height":160});
															thumbnails[8771800] = clik.newPhoto({"id":8771800,"src":"EmmaRobert-377_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771800.html","width":160,"caption":"","height":160});
															thumbnails[8771804] = clik.newPhoto({"id":8771804,"src":"EmmaRobert-379_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771804.html","width":160,"caption":"","height":160});
															thumbnails[8771807] = clik.newPhoto({"id":8771807,"src":"EmmaRobert-399_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771807.html","width":160,"caption":"","height":160});
															thumbnails[8771810] = clik.newPhoto({"id":8771810,"src":"EmmaRobert-401_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771810.html","width":160,"caption":"","height":160});
															thumbnails[8771813] = clik.newPhoto({"id":8771813,"src":"EmmaRobert-417_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771813.html","width":160,"caption":"","height":160});
															thumbnails[8771816] = clik.newPhoto({"id":8771816,"src":"EmmaRobert-466_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771816.html","width":160,"caption":"","height":160});
															thumbnails[8771819] = clik.newPhoto({"id":8771819,"src":"EmmaRobert-470_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771819.html","width":160,"caption":"","height":160});
															thumbnails[8771824] = clik.newPhoto({"id":8771824,"src":"EmmaRobert-486_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771824.html","width":160,"caption":"","height":160});
															thumbnails[8771828] = clik.newPhoto({"id":8771828,"src":"EmmaRobert-568_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771828.html","width":160,"caption":"","height":160});
															thumbnails[8771829] = clik.newPhoto({"id":8771829,"src":"EmmaRobert-576_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771829.html","width":160,"caption":"","height":160});
															thumbnails[8771833] = clik.newPhoto({"id":8771833,"src":"EmmaRobert-580_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771833.html","width":160,"caption":"","height":160});
															thumbnails[8771838] = clik.newPhoto({"id":8771838,"src":"EmmaRobert-628_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771838.html","width":160,"caption":"","height":160});
															thumbnails[8771843] = clik.newPhoto({"id":8771843,"src":"EmmaRobert-651_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771843.html","width":160,"caption":"","height":160});
															thumbnails[8771845] = clik.newPhoto({"id":8771845,"src":"EmmaRobert-677_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771845.html","width":160,"caption":"","height":160});
															thumbnails[8771847] = clik.newPhoto({"id":8771847,"src":"EmmaRobert-708_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771847.html","width":160,"caption":"","height":160});
															thumbnails[8771853] = clik.newPhoto({"id":8771853,"src":"EmmaRobert-748_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771853.html","width":160,"caption":"","height":160});
															thumbnails[8771866] = clik.newPhoto({"id":8771866,"src":"EmmaRobert-788_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771866.html","width":160,"caption":"","height":160});
															thumbnails[8771871] = clik.newPhoto({"id":8771871,"src":"EmmaRobert-789_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771871.html","width":160,"caption":"","height":160});
															thumbnails[8771876] = clik.newPhoto({"id":8771876,"src":"EmmaRobert-806_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771876.html","width":160,"caption":"","height":160});
															thumbnails[8771882] = clik.newPhoto({"id":8771882,"src":"EmmaRobert-822_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771882.html","width":160,"caption":"","height":160});
															thumbnails[8771884] = clik.newPhoto({"id":8771884,"src":"EmmaRobert-852_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771884.html","width":160,"caption":"","height":160});
															thumbnails[8771888] = clik.newPhoto({"id":8771888,"src":"EmmaRobert-875_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771888.html","width":160,"caption":"","height":160});
															thumbnails[8771894] = clik.newPhoto({"id":8771894,"src":"EmmaRobert-920_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771894.html","width":160,"caption":"","height":160});
															thumbnails[8771895] = clik.newPhoto({"id":8771895,"src":"EmmaRobert-933_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771895.html","width":160,"caption":"","height":160});
															thumbnails[8771898] = clik.newPhoto({"id":8771898,"src":"EmmaRobert-988_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771898.html","width":160,"caption":"","height":160});
															thumbnails[8771899] = clik.newPhoto({"id":8771899,"src":"EmmaRobert-996_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771899.html","width":160,"caption":"","height":160});
															thumbnails[8771900] = clik.newPhoto({"id":8771900,"src":"EmmaRobert-1001_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771900.html","width":160,"caption":"","height":160});
															thumbnails[8771903] = clik.newPhoto({"id":8771903,"src":"EmmaRobert-1014_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771903.html","width":160,"caption":"","height":160});
															thumbnails[8771905] = clik.newPhoto({"id":8771905,"src":"EmmaRobert-1017_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771905.html","width":160,"caption":"","height":160});
															thumbnails[8771907] = clik.newPhoto({"id":8771907,"src":"EmmaRobert-1030_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771907.html","width":160,"caption":"","height":160});
															thumbnails[8771911] = clik.newPhoto({"id":8771911,"src":"EmmaRobert-1158_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771911.html","width":160,"caption":"","height":160});
															thumbnails[8771915] = clik.newPhoto({"id":8771915,"src":"EmmaRobert-1168_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771915.html","width":160,"caption":"","height":160});
															thumbnails[8771917] = clik.newPhoto({"id":8771917,"src":"EmmaRobert-1183_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771917.html","width":160,"caption":"","height":160});
															thumbnails[8771918] = clik.newPhoto({"id":8771918,"src":"EmmaRobert-1194_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771918.html","width":160,"caption":"","height":160});
															thumbnails[8771919] = clik.newPhoto({"id":8771919,"src":"EmmaRobert-1199_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771919.html","width":160,"caption":"","height":160});
															thumbnails[8771921] = clik.newPhoto({"id":8771921,"src":"EmmaRobert-1209_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771921.html","width":160,"caption":"","height":160});
															thumbnails[8771925] = clik.newPhoto({"id":8771925,"src":"EmmaRobert-1227_copy_thumb.jpg","galleries_id":461776,"server_id":15,"link":"photo_8771925.html","width":160,"caption":"","height":160});
															thumbnails[8935476] = clik.newPhoto({"id":8935476,"src":"PortraitC-AndrewCampbell-1_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8935476.html","width":136,"caption":"Ben Roberts-Smith VC","height":200});
															thumbnails[8935477] = clik.newPhoto({"id":8935477,"src":"PortraitP-CampbellAndrew-2_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8935477.html","width":200,"caption":"Silas","height":109});
															thumbnails[8935478] = clik.newPhoto({"id":8935478,"src":"ArchitectureC-CampbellAndrew-1_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935478.html","width":200,"caption":"","height":129});
															thumbnails[8935479] = clik.newPhoto({"id":8935479,"src":"ArchitectureC-CampbellAndrew-2_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935479.html","width":200,"caption":"","height":80});
															thumbnails[8935480] = clik.newPhoto({"id":8935480,"src":"ArchitectureC-CampbellAndrew-3_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935480.html","width":200,"caption":"","height":125});
															thumbnails[8935481] = clik.newPhoto({"id":8935481,"src":"ArchitectureC-CampbellAndrew-4_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935481.html","width":200,"caption":"","height":133});
															thumbnails[8935482] = clik.newPhoto({"id":8935482,"src":"ArchitectureC-CampbellAndrew-5_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935482.html","width":200,"caption":"","height":123});
															thumbnails[8935483] = clik.newPhoto({"id":8935483,"src":"ArchitectureC-CampbellAndrew-6_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935483.html","width":200,"caption":"","height":131});
															thumbnails[8935484] = clik.newPhoto({"id":8935484,"src":"ArchitectureC-CampbellAndrew-7_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8935484.html","width":200,"caption":"","height":97});
															thumbnails[8949105] = clik.newPhoto({"id":8949105,"src":"Ascot_dame_4mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949105.html","width":133,"caption":"Ascot Races 1","height":200});
															thumbnails[8949112] = clik.newPhoto({"id":8949112,"src":"ascotmask_731kb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949112.html","width":200,"caption":"Ascot Races 2","height":113});
															thumbnails[8949118] = clik.newPhoto({"id":8949118,"src":"Brightonbeachbeer_1.49mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949118.html","width":200,"caption":"Brighton Beach","height":144});
															thumbnails[8949123] = clik.newPhoto({"id":8949123,"src":"cauli_968kb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949123.html","width":131,"caption":"Chelsea Flower Show","height":200});
															thumbnails[8949128] = clik.newPhoto({"id":8949128,"src":"Curegoths_1mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949128.html","width":200,"caption":"Goths, 'Cure' concert, Finsbury Park","height":134});
															thumbnails[8949134] = clik.newPhoto({"id":8949134,"src":"FashionShow_2.18mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949134.html","width":200,"caption":"Fashio Show, Piccadilly","height":110});
															thumbnails[8949136] = clik.newPhoto({"id":8949136,"src":"gorby_742kb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949136.html","width":200,"caption":"Gorbachev","height":98});
															thumbnails[8949138] = clik.newPhoto({"id":8949138,"src":"hanky_1.2mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949138.html","width":125,"caption":"Show Jumping patron","height":200});
															thumbnails[8949139] = clik.newPhoto({"id":8949139,"src":"headdressNottHill_1_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949139.html","width":132,"caption":"Notting Hill Carnival","height":200});
															thumbnails[8949141] = clik.newPhoto({"id":8949141,"src":"herbRitts_895kb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949141.html","width":200,"caption":"Herb Ritts, Photographer, exhibition hanging","height":119});
															thumbnails[8949145] = clik.newPhoto({"id":8949145,"src":"pamhogg_1.18mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949145.html","width":200,"caption":"Pam Hogg, Designer, performs","height":183});
															thumbnails[8949147] = clik.newPhoto({"id":8949147,"src":"seude_828kb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949147.html","width":200,"caption":"Brett Anderson, 'Seude' in concert","height":131});
															thumbnails[8949773] = clik.newPhoto({"id":8949773,"src":"PARISbird_3.85mb_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949773.html","width":142,"caption":"Paris, not London","height":200});
															thumbnails[8949776] = clik.newPhoto({"id":8949776,"src":"westpier_thumb.jpg","galleries_id":237390,"server_id":15,"link":"photo_8949776.html","width":200,"caption":"The West Pier, Brighton","height":119});
															thumbnails[8949779] = clik.newPhoto({"id":8949779,"src":"Dalai_Lama_3.83mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8949779.html","width":134,"caption":"HH The Dalai Lama","height":200});
															thumbnails[8949780] = clik.newPhoto({"id":8949780,"src":"PaulineHanson_4.2mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8949780.html","width":147,"caption":"Senator Pauline Hanson","height":200});
															thumbnails[8949789] = clik.newPhoto({"id":8949789,"src":"Brent_Todd_loser_NRL_1.53mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8949789.html","width":145,"caption":"Canberra Raider Brent Todd, losing Grand Finalist","height":200});
															thumbnails[8949795] = clik.newPhoto({"id":8949795,"src":"DianadchildCROP_2.48mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8949795.html","width":120,"caption":"Walkway collapses into Sydney Harbour, celebrity comforts a frightened child.","height":200});
															thumbnails[8949797] = clik.newPhoto({"id":8949797,"src":"WikHighCourt_4.85mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8949797.html","width":146,"caption":"Aboriginal elder celebrates Wik High Court victory, Canberra.","height":200});
															thumbnails[8953608] = clik.newPhoto({"id":8953608,"src":"TonyHobbs_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_8953608.html","width":200,"caption":"Dr. Tony Hobbs \"Australian Doctor\"","height":51});
															thumbnails[8953609] = clik.newPhoto({"id":8953609,"src":"ac030823rudyBIG_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8953609.html","width":200,"caption":"New York Mayor Rudy Giuliani","height":90});
															thumbnails[8953617] = clik.newPhoto({"id":8953617,"src":"KDr.BrianSchmidt3_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8953617.html","width":134,"caption":"Nobel Laureate Dr. Brian Schmidt","height":200});
															thumbnails[8953621] = clik.newPhoto({"id":8953621,"src":"KJonStanhope_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8953621.html","width":200,"caption":"Chief Minister Jon Stanhope","height":133});
															thumbnails[8953624] = clik.newPhoto({"id":8953624,"src":"KProfFrankFenner_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8953624.html","width":200,"caption":"Prof Frank Fenner","height":133});
															thumbnails[8953627] = clik.newPhoto({"id":8953627,"src":"RAYTHEON-fisher-037_copy_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_8953627.html","width":200,"caption":"Raytheon CEO (for Raytheon)","height":123});
															thumbnails[8953630] = clik.newPhoto({"id":8953630,"src":"sport3_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8953630.html","width":200,"caption":"Boxing","height":140});
															thumbnails[8953632] = clik.newPhoto({"id":8953632,"src":"sport18_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8953632.html","width":200,"caption":"Ultramarathon, Murrumbidgee River","height":136});
															thumbnails[8954214] = clik.newPhoto({"id":8954214,"src":"1newman028_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954214.html","width":200,"caption":"","height":124});
															thumbnails[8954220] = clik.newPhoto({"id":8954220,"src":"256Jacka-065_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954220.html","width":132,"caption":"","height":200});
															thumbnails[8954222] = clik.newPhoto({"id":8954222,"src":"256Jacka-151_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954222.html","width":200,"caption":"","height":132});
															thumbnails[8954226] = clik.newPhoto({"id":8954226,"src":"526StockdaleJESPERagain_-_Copy_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954226.html","width":200,"caption":"","height":133});
															thumbnails[8954228] = clik.newPhoto({"id":8954228,"src":"6BonneyA_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954228.html","width":200,"caption":"","height":131});
															thumbnails[8954232] = clik.newPhoto({"id":8954232,"src":"6leane-048_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954232.html","width":200,"caption":"","height":134});
															thumbnails[8954235] = clik.newPhoto({"id":8954235,"src":"1441BlackallANDREWG-234_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954235.html","width":200,"caption":"","height":131});
															thumbnails[8954237] = clik.newPhoto({"id":8954237,"src":"20IjongANDREWG-5_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954237.html","width":200,"caption":"","height":131});
															thumbnails[8954239] = clik.newPhoto({"id":8954239,"src":"22AllnuttPETASa-41_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954239.html","width":200,"caption":"","height":126});
															thumbnails[8954241] = clik.newPhoto({"id":8954241,"src":"38bruning-203_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954241.html","width":200,"caption":"","height":134});
															thumbnails[8954243] = clik.newPhoto({"id":8954243,"src":"46DumaresqJESPERa-15_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954243.html","width":200,"caption":"","height":113});
															thumbnails[8954248] = clik.newPhoto({"id":8954248,"src":"86KrantzckeKATEW-52_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954248.html","width":200,"caption":"","height":113});
															thumbnails[8954251] = clik.newPhoto({"id":8954251,"src":"94AllchinANDREWG-167_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954251.html","width":200,"caption":"","height":117});
															thumbnails[8954254] = clik.newPhoto({"id":8954254,"src":"143miller-136_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954254.html","width":200,"caption":"","height":127});
															thumbnails[8954256] = clik.newPhoto({"id":8954256,"src":"20110311-155_copy_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954256.html","width":200,"caption":"","height":131});
															thumbnails[8954257] = clik.newPhoto({"id":8954257,"src":"arch4_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954257.html","width":200,"caption":"","height":140});
															thumbnails[8954258] = clik.newPhoto({"id":8954258,"src":"EchelonDUSK1-3_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8954258.html","width":200,"caption":"","height":126});
															thumbnails[8957116] = clik.newPhoto({"id":8957116,"src":"greenlawyer_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_8957116.html","width":200,"caption":"Green Lawyer and his building, \"NSW Law Journal\"","height":67});
															thumbnails[8957120] = clik.newPhoto({"id":8957120,"src":"SteamingWallaby_6_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8957120.html","width":135,"caption":"Steaming Wallaby","height":200});
															thumbnails[8957124] = clik.newPhoto({"id":8957124,"src":"Stevenson_2.25mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8957124.html","width":129,"caption":"Nicole Stevenson, Olympian","height":200});
															thumbnails[8957126] = clik.newPhoto({"id":8957126,"src":"woolies_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8957126.html","width":200,"caption":"Woolworths Refit","height":134});
															thumbnails[8957266] = clik.newPhoto({"id":8957266,"src":"86KrantzckeKATEW-47_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8957266.html","width":200,"caption":"","height":122});
															thumbnails[8957270] = clik.newPhoto({"id":8957270,"src":"ac011117FlyingNun_3.9mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8957270.html","width":170,"caption":"The Hills Are Alive...etc, etc","height":200});
															thumbnails[8957272] = clik.newPhoto({"id":8957272,"src":"ac020503autumnleaves_8.2MB_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8957272.html","width":200,"caption":"Autumn, my neighborhood","height":133});
															thumbnails[8957273] = clik.newPhoto({"id":8957273,"src":"ac020902sunbather_1.91mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8957273.html","width":200,"caption":"Sunbathing by The Lake","height":122});
															thumbnails[8957275] = clik.newPhoto({"id":8957275,"src":"ac020906raiderswoolford_1.26mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8957275.html","width":200,"caption":"Simon Woolford's last game","height":125});
															thumbnails[8957278] = clik.newPhoto({"id":8957278,"src":"ac020912brandt52_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8957278.html","width":131,"caption":"Brandt Exhibition and its Curator","height":200});
															thumbnails[8957280] = clik.newPhoto({"id":8957280,"src":"ac021114pmGough_1.87mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8957280.html","width":200,"caption":"Whitlam and Howard","height":137});
															thumbnails[8957282] = clik.newPhoto({"id":8957282,"src":"ac021206costelloPM_1.53mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8957282.html","width":200,"caption":"Costello...and Howard...","height":143});
															thumbnails[8957283] = clik.newPhoto({"id":8957283,"src":"ac021202cleantelescope_1.63mb_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_8957283.html","width":200,"caption":"Telescope construction, Mt Stromlo","height":124});
															thumbnails[8957286] = clik.newPhoto({"id":8957286,"src":"ac030210mexicanswirl_1.58mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8957286.html","width":140,"caption":"Multicultural Festival, Canberra","height":200});
															thumbnails[8957292] = clik.newPhoto({"id":8957292,"src":"ac030301bball_3.35mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8957292.html","width":110,"caption":"End of the Canberra Cannons basketball franchise.","height":200});
															thumbnails[8957295] = clik.newPhoto({"id":8957295,"src":"afl_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8957295.html","width":200,"caption":"Local Aussie Rules grand final","height":87});
															thumbnails[8957303] = clik.newPhoto({"id":8957303,"src":"swim1920_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8957303.html","width":200,"caption":"Silas, swimming","height":113});
															thumbnails[8960050] = clik.newPhoto({"id":8960050,"src":"ac030302llamagirl_1.84mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960050.html","width":200,"caption":"Canberra Show, Llama girl","height":131});
															thumbnails[8960051] = clik.newPhoto({"id":8960051,"src":"ac030425NZ_Boyflag_2.11mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960051.html","width":131,"caption":"ANZAC Day, Australian War Memorial","height":200});
															thumbnails[8960052] = clik.newPhoto({"id":8960052,"src":"ac030420abdancer53-1.7mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960052.html","width":124,"caption":"","height":200});
															thumbnails[8960053] = clik.newPhoto({"id":8960053,"src":"ac030524dressingroom_1.85mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960053.html","width":200,"caption":"","height":107});
															thumbnails[8960054] = clik.newPhoto({"id":8960054,"src":"ac030723quanta_1.63mb_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_8960054.html","width":200,"caption":"Laser Scientists, ANU","height":122});
															thumbnails[8960055] = clik.newPhoto({"id":8960055,"src":"ac030726snow_1.47mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960055.html","width":200,"caption":"The Brindabellas in winter.","height":67});
															thumbnails[8960056] = clik.newPhoto({"id":8960056,"src":"ac030817newbornalpaca_1.6mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960056.html","width":100,"caption":"10 minutes old","height":200});
															thumbnails[8960057] = clik.newPhoto({"id":8960057,"src":"ac030928bodybuilder_1.53mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8960057.html","width":114,"caption":"Bodybuilder","height":200});
															thumbnails[8960058] = clik.newPhoto({"id":8960058,"src":"ac031010arg59_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8960058.html","width":184,"caption":"Argentine try, Rugby World Cup 2003","height":200});
															thumbnails[8960059] = clik.newPhoto({"id":8960059,"src":"ac031122rwch122_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8960059.html","width":138,"caption":"The English,  Rugby World Cup 2003","height":200});
															thumbnails[8960060] = clik.newPhoto({"id":8960060,"src":"ac031122dropgoal94CROP_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8960060.html","width":200,"caption":"Wilkinson watches his kick win the Rugby World Cup 2003 as Gregan and Larkham look on.","height":156});
															thumbnails[8960061] = clik.newPhoto({"id":8960061,"src":"ac031014Herpetologist_2.18mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8960061.html","width":200,"caption":"Herpetologist","height":132});
															thumbnails[8960062] = clik.newPhoto({"id":8960062,"src":"ac031104wonTheCup_1.58mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8960062.html","width":200,"caption":"","height":132});
															thumbnails[8960063] = clik.newPhoto({"id":8960063,"src":"ac031111Payne_3.1mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8960063.html","width":200,"caption":"Keith Payne VC, Australian War Memorial","height":131});
															thumbnails[8960064] = clik.newPhoto({"id":8960064,"src":"ac031114pool_4.44mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960064.html","width":193,"caption":"Summer, Canberra","height":200});
															thumbnails[8960065] = clik.newPhoto({"id":8960065,"src":"ac031115AlbHallDancesolo_1.92mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960065.html","width":200,"caption":"Dance Party, New Years Eve","height":158});
															thumbnails[8960066] = clik.newPhoto({"id":8960066,"src":"ac040101NYEveLIPS_4.4mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960066.html","width":200,"caption":"New Years in the plaza, Canberra","height":130});
															thumbnails[8960067] = clik.newPhoto({"id":8960067,"src":"ac031115tattooneck_2.67mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960067.html","width":200,"caption":"\"Rat\", tatoo show, Bandidos MC Club","height":135});
															thumbnails[8960068] = clik.newPhoto({"id":8960068,"src":"ac040113tennisvertical_1.33mb_thumb.jpg","galleries_id":471031,"server_id":15,"link":"photo_8960068.html","width":92,"caption":"Tennis","height":200});
															thumbnails[8960069] = clik.newPhoto({"id":8960069,"src":"ac040121lightning__1.77mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960069.html","width":200,"caption":"ANZAC Parade, Canberra","height":107});
															thumbnails[8960070] = clik.newPhoto({"id":8960070,"src":"ac040124uteGIRL_2.53mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960070.html","width":200,"caption":"Ute show, Bungendore","height":131});
															thumbnails[8960071] = clik.newPhoto({"id":8960071,"src":"ACFire_cricket_10_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960071.html","width":200,"caption":"The 2003 Canberra Fire...The day before","height":131});
															thumbnails[8960072] = clik.newPhoto({"id":8960072,"src":"ACFire_ashes_10mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960072.html","width":200,"caption":"The 2003 Canberra Fire...The edges of the inferno","height":133});
															thumbnails[8960073] = clik.newPhoto({"id":8960073,"src":"ACFire4_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960073.html","width":200,"caption":"The 2003 Canberra Fire...Suburbia","height":138});
															thumbnails[8960074] = clik.newPhoto({"id":8960074,"src":"ACFire6_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960074.html","width":200,"caption":"The 2003 Canberra Fire...The Bush Capital","height":115});
															thumbnails[8960075] = clik.newPhoto({"id":8960075,"src":"ACFire_BP_10mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960075.html","width":200,"caption":"The 2003 Canberra Fire...Suburbia 2","height":131});
															thumbnails[8960076] = clik.newPhoto({"id":8960076,"src":"ACFire_vets_10mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960076.html","width":172,"caption":"The 2003 Canberra Fire...Veterinarians weep over the ruins of their hospital","height":200});
															thumbnails[8960077] = clik.newPhoto({"id":8960077,"src":"ACFire_flag10mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960077.html","width":200,"caption":"The 2003 Canberra Fire...Australia Day 2003","height":127});
															thumbnails[8960078] = clik.newPhoto({"id":8960078,"src":"ACFire_rains_10mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960078.html","width":131,"caption":"The 2003 Canberra Fire...The first rain","height":200});
															thumbnails[8960443] = clik.newPhoto({"id":8960443,"src":"acMuseumOpens_5.82mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960443.html","width":200,"caption":"Opening of the National Museum","height":140});
															thumbnails[8960445] = clik.newPhoto({"id":8960445,"src":"AC-PATRICK_10mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8960445.html","width":200,"caption":"Patrick Johnson, Sprinter","height":131});
															thumbnails[8960450] = clik.newPhoto({"id":8960450,"src":"AnnieLennox_2.48mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960450.html","width":101,"caption":"Annie Lennox","height":200});
															thumbnails[8960453] = clik.newPhoto({"id":8960453,"src":"culburraMON-4_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960453.html","width":200,"caption":"Beach Dog","height":119});
															thumbnails[8960454] = clik.newPhoto({"id":8960454,"src":"DSC_7482_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960454.html","width":200,"caption":"Heavy Metal","height":133});
															thumbnails[8960456] = clik.newPhoto({"id":8960456,"src":"DymphnaPens_4.58mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8960456.html","width":133,"caption":"Manning Clark's Pens","height":200});
															thumbnails[8960459] = clik.newPhoto({"id":8960459,"src":"FischerOldfield_5.37mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960459.html","width":200,"caption":"Tim Fischer flees racist politician David Oldfield","height":133});
															thumbnails[8960465] = clik.newPhoto({"id":8960465,"src":"GoughROMAN_2.44mb_thumb.jpg","galleries_id":471033,"server_id":15,"link":"photo_8960465.html","width":200,"caption":"PM Gough Whitlam in Roman garb, National Gallery of Australia","height":125});
															thumbnails[8960467] = clik.newPhoto({"id":8960467,"src":"IslamicWoman_3.91mb_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_8960467.html","width":133,"caption":"Friday prayers","height":200});
															thumbnails[8960473] = clik.newPhoto({"id":8960473,"src":"KLaC23horizleft_7_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960473.html","width":200,"caption":"Highway Motel","height":126});
															thumbnails[8960480] = clik.newPhoto({"id":8960480,"src":"RHKippaxDusk-19_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_8960480.html","width":200,"caption":"Agency Promo Shoot","height":133});
															thumbnails[8960491] = clik.newPhoto({"id":8960491,"src":"TinaTurner_4.23mb_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_8960491.html","width":200,"caption":"Tina Turner","height":133});
															thumbnails[8979306] = clik.newPhoto({"id":8979306,"src":"205GouldLIGHTNING_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8979306.html","width":200,"caption":"","height":115});
															thumbnails[9032775] = clik.newPhoto({"id":9032775,"src":"KirbyJ1_copy_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_9032775.html","width":200,"caption":"Justice Kirby, High Court Of Australia","height":128});
															thumbnails[9032776] = clik.newPhoto({"id":9032776,"src":"colour6_copy_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_9032776.html","width":200,"caption":"Sunflowers","height":121});
															thumbnails[9032778] = clik.newPhoto({"id":9032778,"src":"portrait19_copy_thumb.jpg","galleries_id":234877,"server_id":15,"link":"photo_9032778.html","width":200,"caption":"The Australian Of The Year","height":133});
															thumbnails[9032782] = clik.newPhoto({"id":9032782,"src":"quirky1_copy_thumb.jpg","galleries_id":471032,"server_id":15,"link":"photo_9032782.html","width":143,"caption":"Blessing Of The Pets","height":200});
															thumbnails[9033520] = clik.newPhoto({"id":9033520,"src":"1_15_copy_thumb.jpg","galleries_id":237030,"server_id":15,"link":"photo_9033520.html","width":200,"caption":"Brindabella Business Park, Canberra Airport","height":115});
															thumbnails[9131027] = clik.newPhoto({"id":9131027,"src":"Ally_Fashion_-1_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131027.html","width":133,"caption":"Ally Fashion -1","height":200});
															thumbnails[9146157] = clik.newPhoto({"id":9146157,"src":"Anoush_Kremlin_-8_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146157.html","width":135,"caption":"Anoush Kremlin -8","height":200});
															thumbnails[9131028] = clik.newPhoto({"id":9131028,"src":"Ally_Fashion_-2_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131028.html","width":153,"caption":"Ally Fashion -2","height":200});
															thumbnails[9146158] = clik.newPhoto({"id":9146158,"src":"Anoush_Kremlin_-14_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146158.html","width":200,"caption":"Anoush Kremlin -14","height":92});
															thumbnails[9131029] = clik.newPhoto({"id":9131029,"src":"Ally_Fashion_-3_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131029.html","width":133,"caption":"Ally Fashion -3","height":200});
															thumbnails[9146159] = clik.newPhoto({"id":9146159,"src":"Anoush_Kremlin_-38_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146159.html","width":132,"caption":"Anoush Kremlin -38","height":200});
															thumbnails[9131030] = clik.newPhoto({"id":9131030,"src":"Ally_Fashion_-4_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131030.html","width":133,"caption":"Ally Fashion -4","height":200});
															thumbnails[9146162] = clik.newPhoto({"id":9146162,"src":"Anoush_Kremlin_-40_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146162.html","width":200,"caption":"Anoush Kremlin -40","height":133});
															thumbnails[9131031] = clik.newPhoto({"id":9131031,"src":"Amy_Fashion_-1_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131031.html","width":112,"caption":"Amy Fashion -1","height":200});
															thumbnails[9146163] = clik.newPhoto({"id":9146163,"src":"Anoush_Kremlin_-46_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146163.html","width":200,"caption":"Anoush Kremlin -46","height":133});
															thumbnails[9131032] = clik.newPhoto({"id":9131032,"src":"Amy_Fashion_-2_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131032.html","width":133,"caption":"Amy Fashion -2","height":200});
															thumbnails[9146164] = clik.newPhoto({"id":9146164,"src":"Anoush_Kremlin_-48_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146164.html","width":145,"caption":"Anoush Kremlin -48","height":200});
															thumbnails[9131034] = clik.newPhoto({"id":9131034,"src":"Amy_Fashion_-3_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131034.html","width":200,"caption":"Amy Fashion -3","height":133});
															thumbnails[9146166] = clik.newPhoto({"id":9146166,"src":"Anoush_Kremlin_-52_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146166.html","width":135,"caption":"Anoush Kremlin -52","height":200});
															thumbnails[9131036] = clik.newPhoto({"id":9131036,"src":"Amy_Fashion_-4_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131036.html","width":142,"caption":"Amy Fashion -4","height":200});
															thumbnails[9146167] = clik.newPhoto({"id":9146167,"src":"Anoush_Kremlin_-57_1_thumb.jpg","galleries_id":407352,"server_id":15,"link":"photo_9146167.html","width":138,"caption":"Anoush Kremlin -57","height":200});
															thumbnails[9131038] = clik.newPhoto({"id":9131038,"src":"Amy_Fashion_-5_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131038.html","width":153,"caption":"Amy Fashion -5","height":200});
															thumbnails[9032644] = clik.newPhoto({"id":9032644,"src":"Untitled-1_copy_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_9032644.html","width":200,"caption":"","height":125});
															thumbnails[9032464] = clik.newPhoto({"id":9032464,"src":"NPC_Refit_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_9032464.html","width":200,"caption":"","height":122});
															thumbnails[8960486] = clik.newPhoto({"id":8960486,"src":"sanctum_thumb.jpg","galleries_id":470237,"server_id":15,"link":"photo_8960486.html","width":200,"caption":"Sanctum Design, new offices","height":187});
															thumbnails[9131039] = clik.newPhoto({"id":9131039,"src":"Amy_Fashion_-6_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131039.html","width":133,"caption":"Amy Fashion -6","height":200});
															thumbnails[9131040] = clik.newPhoto({"id":9131040,"src":"Anne_Fashion_-1_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131040.html","width":133,"caption":"Anne Fashion -1","height":200});
															thumbnails[9131041] = clik.newPhoto({"id":9131041,"src":"Anne_Fashion_-2_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131041.html","width":133,"caption":"Anne Fashion -2","height":200});
															thumbnails[9131042] = clik.newPhoto({"id":9131042,"src":"Anne_Fashion_-3_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131042.html","width":200,"caption":"Anne Fashion -3","height":133});
															thumbnails[9131043] = clik.newPhoto({"id":9131043,"src":"Anne_Fashion_-4_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131043.html","width":200,"caption":"Anne Fashion -4","height":133});
															thumbnails[9131044] = clik.newPhoto({"id":9131044,"src":"Anne_Fashion_-5_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131044.html","width":133,"caption":"Anne Fashion -5","height":200});
															thumbnails[9131046] = clik.newPhoto({"id":9131046,"src":"Anne_Fashion_-6_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131046.html","width":200,"caption":"Anne Fashion -6","height":133});
															thumbnails[9131047] = clik.newPhoto({"id":9131047,"src":"Anne_Fashion_-7_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131047.html","width":134,"caption":"Anne Fashion -7","height":200});
															thumbnails[9131048] = clik.newPhoto({"id":9131048,"src":"Anne_Fashion_-8_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131048.html","width":133,"caption":"Anne Fashion -8","height":200});
															thumbnails[9131049] = clik.newPhoto({"id":9131049,"src":"Georgia_Fashion1_-1_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131049.html","width":133,"caption":"Georgia Fashion1 -1","height":200});
															thumbnails[9131050] = clik.newPhoto({"id":9131050,"src":"Georgia_Fashion1_-2_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131050.html","width":128,"caption":"Georgia Fashion1 -2","height":200});
															thumbnails[9131051] = clik.newPhoto({"id":9131051,"src":"Georgia_Fashion1_-3_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131051.html","width":127,"caption":"Georgia Fashion1 -3","height":200});
															thumbnails[9131052] = clik.newPhoto({"id":9131052,"src":"Georgia_Fashion1_-4_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131052.html","width":133,"caption":"Georgia Fashion1 -4","height":200});
															thumbnails[9131053] = clik.newPhoto({"id":9131053,"src":"Georgia_Fashion2_-1_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131053.html","width":133,"caption":"Georgia Fashion2 -1","height":200});
															thumbnails[9131054] = clik.newPhoto({"id":9131054,"src":"Georgia_Fashion2_-2_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131054.html","width":130,"caption":"Georgia Fashion2 -2","height":200});
															thumbnails[9131055] = clik.newPhoto({"id":9131055,"src":"Georgia_Fashion2_-3_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131055.html","width":133,"caption":"Georgia Fashion2 -3","height":200});
															thumbnails[9131056] = clik.newPhoto({"id":9131056,"src":"Georgia_Fashion2_-4_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131056.html","width":133,"caption":"Georgia Fashion2 -4","height":200});
															thumbnails[9131057] = clik.newPhoto({"id":9131057,"src":"Georgia_Fashion2_-5_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131057.html","width":200,"caption":"Georgia Fashion2 -5","height":133});
															thumbnails[9131058] = clik.newPhoto({"id":9131058,"src":"Georgia_Fashion2_-6_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131058.html","width":200,"caption":"Georgia Fashion2 -6","height":133});
															thumbnails[9131059] = clik.newPhoto({"id":9131059,"src":"Georgia_Fashion2_-7_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131059.html","width":162,"caption":"Georgia Fashion2 -7","height":200});
															thumbnails[9131060] = clik.newPhoto({"id":9131060,"src":"Georgia_Fashion2_-8_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131060.html","width":161,"caption":"Georgia Fashion2 -8","height":200});
															thumbnails[9131061] = clik.newPhoto({"id":9131061,"src":"Georgia_Fashion2_-9_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131061.html","width":130,"caption":"Georgia Fashion2 -9","height":200});
															thumbnails[9131062] = clik.newPhoto({"id":9131062,"src":"Georgia_Fashion2_-10_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131062.html","width":131,"caption":"Georgia Fashion2 -10","height":200});
															thumbnails[9131063] = clik.newPhoto({"id":9131063,"src":"Georgia_Fashion2_-11_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131063.html","width":200,"caption":"Georgia Fashion2 -11","height":129});
															thumbnails[9131064] = clik.newPhoto({"id":9131064,"src":"Georgia_Fashion2_-12_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131064.html","width":125,"caption":"Georgia Fashion2 -12","height":200});
															thumbnails[9131066] = clik.newPhoto({"id":9131066,"src":"Georgia_Fashion2_-13_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131066.html","width":191,"caption":"Georgia Fashion2 -13","height":200});
															thumbnails[9131067] = clik.newPhoto({"id":9131067,"src":"Georgia_Fashion2_-14_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131067.html","width":132,"caption":"Georgia Fashion2 -14","height":200});
															thumbnails[9131069] = clik.newPhoto({"id":9131069,"src":"Rei_Jewellery_Fashion_-1_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131069.html","width":200,"caption":"Rei Jewellery Fashion -1","height":135});
															thumbnails[9131070] = clik.newPhoto({"id":9131070,"src":"Rei_Jewellery_Fashion_-2_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131070.html","width":200,"caption":"Rei Jewellery Fashion -2","height":120});
															thumbnails[9131071] = clik.newPhoto({"id":9131071,"src":"Rei_Jewellery_Fashion_-3_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131071.html","width":200,"caption":"Rei  Fashion -3","height":133});
															thumbnails[9131072] = clik.newPhoto({"id":9131072,"src":"Rei_Jewellery_Fashion_-4_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131072.html","width":200,"caption":"Rei Fashion -4","height":133});
															thumbnails[9131073] = clik.newPhoto({"id":9131073,"src":"Rei_Jewellery_Fashion_-5_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131073.html","width":200,"caption":"Rei Fashion -5","height":141});
															thumbnails[9131214] = clik.newPhoto({"id":9131214,"src":"Glamour_2_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131214.html","width":200,"caption":"Glamour 1","height":111});
															thumbnails[9131220] = clik.newPhoto({"id":9131220,"src":"Glamour_2_79A2264C-1EC9-DFB6-09EE531EA194C447_1_thumb.jpg","galleries_id":475555,"server_id":15,"link":"photo_9131220.html","width":200,"caption":"Glamour 2","height":143});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[471032] = clik.newGallery({"parentGallery":471030,"usePopups":true,"title":"Daily Life","link":"gallery_471032.html","maxRecords":0.0,"photoIDs":[8957270.0,8957272.0,8957273.0,8957278.0,8957286.0,8960050.0,8960051.0,8960052.0,8960053.0,8960055.0,8960056.0,8960064.0,8960065.0,8960066.0,8960067.0,8960069.0,8960070.0,8960453.0,8960454.0,8960473.0,8960491.0,9032776.0,9032782.0],"skipIndex":0,"section_code":"gallery","featured_images":"9032782,9032776,8960454,8960070,8960069,8960067,8960066,8960064,8960056,8960052,8960051,8957278,8957272,8957270","id":471032,"singleSection":false});				  						galleries[471033] = clik.newGallery({"parentGallery":471030,"usePopups":true,"title":"Hard News","link":"gallery_471033.html","maxRecords":0.0,"photoIDs":[8949795.0,8949797.0,8957280.0,8957282.0,8960071.0,8960072.0,8960073.0,8960074.0,8960075.0,8960076.0,8960077.0,8960078.0,8960443.0,8960450.0,8960459.0,8960465.0],"skipIndex":0,"section_code":"gallery","featured_images":"8960075,8960074,8949797,8949795","id":471033,"singleSection":false});				  						galleries[471031] = clik.newGallery({"parentGallery":471030,"usePopups":true,"title":"Sport","link":"gallery_471031.html","maxRecords":0.0,"photoIDs":[8949789.0,8953630.0,8953632.0,8957120.0,8957124.0,8957275.0,8957292.0,8957295.0,8960057.0,8960058.0,8960059.0,8960060.0,8960062.0,8960068.0],"skipIndex":0,"section_code":"gallery","featured_images":"8960060,8960059,8960057,8957124,8953632,8953630,8949789","id":471031,"singleSection":false});				  						galleries[407352] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Recent Works","link":"gallery_407352.html","maxRecords":0.0,"photoIDs":[9146157.0,9146158.0,9146159.0,9146162.0,9146163.0,9146164.0,9146166.0,9146167.0],"skipIndex":0,"section_code":"gallery","featured_images":"9146167,9146166,9146164,9146163,9146162,9146159,9146158,9146157","id":407352,"singleSection":false});				  						galleries[475555] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Modelling","link":"gallery_475555.html","maxRecords":0.0,"photoIDs":[9131027.0,9131028.0,9131029.0,9131030.0,9131031.0,9131032.0,9131034.0,9131036.0,9131038.0,9131039.0,9131040.0,9131041.0,9131042.0,9131043.0,9131044.0,9131046.0,9131047.0,9131048.0,9131049.0,9131050.0,9131051.0,9131052.0,9131053.0,9131054.0,9131055.0,9131056.0,9131057.0,9131058.0,9131059.0,9131060.0,9131061.0,9131062.0,9131063.0,9131064.0,9131066.0,9131067.0,9131069.0,9131070.0,9131071.0,9131072.0,9131073.0,9131214.0,9131220.0],"skipIndex":0,"section_code":"gallery","featured_images":"9131220,9131214,9131073,9131072,9131071,9131070,9131069,9131067,9131066,9131064","id":475555,"singleSection":false});				  						galleries[470237] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Architecture","link":"gallery_470237.html","maxRecords":0.0,"photoIDs":[8935478.0,8935479.0,8935480.0,8935481.0,8935482.0,8935483.0,8935484.0,8954214.0,8954220.0,8954222.0,8954226.0,8954228.0,8954232.0,8954235.0,8954237.0,8954239.0,8954241.0,8954243.0,8954248.0,8954251.0,8954254.0,8954256.0,8954257.0,8954258.0,8957126.0,8957266.0,8979306.0,9032644.0,9032464.0,8960486.0],"skipIndex":0,"section_code":"gallery","featured_images":"8957126,8954258,8954257,8954254,8954251,8954222,8935484,8935483,8935481,8935480,8935479,8935478","id":470237,"singleSection":false});				  						galleries[471030] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"News Photography","link":"gallery_471030.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"9032782,9032776,8960454,8960075,8960074,8960070,8960069,8960067,8960066,8960064,8960060,8960059,8960057,8960056,8960052,8960051,8957278,8957272,8957270,8957124,8953632,8953630,8949797,8949795,8949789","id":471030,"singleSection":false});				  						galleries[234877] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Portraits","link":"gallery_234877.html","maxRecords":0.0,"photoIDs":[8935476.0,8935477.0,8949779.0,8949780.0,8953609.0,8953617.0,8953621.0,8953624.0,8957303.0,8960061.0,8960063.0,8960445.0,8960456.0,8960467.0,9032775.0,9032778.0],"skipIndex":0,"section_code":"gallery","featured_images":"9032775,8960445,8960061,8957303,8953624,8953621,8953617,8949780,8949779,8935476","id":234877,"singleSection":false});				  						galleries[237030] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Corporate \/ Commissions","link":"gallery_237030.html","maxRecords":0.0,"photoIDs":[8953608.0,8953627.0,8957116.0,8957283.0,8960054.0,8960480.0,9033520.0],"skipIndex":0,"section_code":"gallery","featured_images":"9033520,8960054,8957283,8953627","id":237030,"singleSection":false});				  						galleries[237390] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"London","link":"gallery_237390.html","maxRecords":0.0,"photoIDs":[8949105.0,8949112.0,8949118.0,8949123.0,8949128.0,8949134.0,8949136.0,8949138.0,8949139.0,8949141.0,8949145.0,8949147.0,8949773.0,8949776.0],"skipIndex":0,"section_code":"gallery","featured_images":"8949773,8949147,8949141,8949139,8949112,8949105","id":237390,"singleSection":false});				  						galleries[461776] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"A Wedding","link":"gallery_461776.html","maxRecords":0.0,"photoIDs":[8771213.0,8771252.0,8771293.0,8771294.0,8771295.0,8771723.0,8771729.0,8771737.0,8771757.0,8771761.0,8771769.0,8771773.0,8771778.0,8771782.0,8771786.0,8771797.0,8771800.0,8771804.0,8771807.0,8771810.0,8771813.0,8771816.0,8771819.0,8771824.0,8771828.0,8771829.0,8771833.0,8771838.0,8771843.0,8771845.0,8771847.0,8771853.0,8771866.0,8771871.0,8771876.0,8771882.0,8771884.0,8771888.0,8771894.0,8771895.0,8771898.0,8771899.0,8771900.0,8771903.0,8771905.0,8771907.0,8771911.0,8771915.0,8771917.0,8771918.0,8771919.0,8771921.0,8771925.0],"skipIndex":0,"section_code":"gallery","featured_images":"8771919,8771903,8771895,8771876,8771853,8771804,8771757","id":461776,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9032782,9032778,9032776,9032775,8979306,8960491,8960480,8960465,8960459,8960454,8960453,8960445,8960443,8960078,8960075,8960074,8960070,8960069,8960067,8960066,8960064,8960061,8960060,8960057,8960051,8957303,8957283,8957280,8957124,8957120,8954258,8954257,8954251,8954222,8953632,8953630,8953627,8953624,8953621,8953609,8949795,8949789,8949780,8949779,8949776,8949147,8949145,8949141,8949138,8949134,8935484,8935483,8935481,8935480,8935479,8935478,8935477,8935476,8771919,8771895,8771876,8771853,8771804,8771757';
imageSets[2] = '9033520,9032782,9032776,9032775,8960454,8960445,8960075,8960074,8960070,8960069,8960067,8960066,8960064,8960061,8960060,8960059,8960057,8960056,8960054,8960052,8960051,8957303,8957283,8957278,8957272,8957270,8957126,8957124,8954258,8954257,8954254,8954251,8954222,8953632,8953630,8953627,8953624,8953621,8953617,8949797,8949795,8949789,8949780,8949779,8949773,8949147,8949141,8949139,8949112,8949105,8935484,8935483,8935481,8935480,8935479,8935478,8935476,8771919,8771903,8771895,8771876,8771853,8771804,8771757';
imageSets[3] = '9146167,9146166,9146164,9146163,9146162,9146159,9146158,9146157,9131220,9131214,9131073,9131072,9131071,9131070,9131069,9131067,9131066,9131064,9131063,9131062,9131061,9131060,9131059,9131058,9131057,9131056,9131055,9131054,9131053,9131052,9131051,9131050,9131049,9131048,9131047,9131046,9131044,9131043,9131042,9131041,9131040,9131039,9131038,9131036,9131034,9131032,9131031,9131030,9131029,9131028';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/photohog/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/photohog/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/photohog/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/photohog/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/photohog/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/photohog/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/photohog/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/photohog/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 = 'Andrew Campbell Photographer     : ' + 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;
	}
}

			

