window.thumbnails = {};
															thumbnails[6847210] = clik.newPhoto({"id":6847210,"src":"Kelly-5_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":196});
															thumbnails[6847240] = clik.newPhoto({"id":6847240,"src":"Kelly-181_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":195});
															thumbnails[6846408] = clik.newPhoto({"id":6846408,"src":"Elizabeth-1-134_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Elizabeth","height":195});
															thumbnails[6846410] = clik.newPhoto({"id":6846410,"src":"Elizabeth-3-21-BW_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Elizabeth","height":196});
															thumbnails[6841177] = clik.newPhoto({"id":6841177,"src":"David-1-18_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"David Ford","height":196});
															thumbnails[6841192] = clik.newPhoto({"id":6841192,"src":"David-2-10_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"David Ford","height":195});
															thumbnails[6841206] = clik.newPhoto({"id":6841206,"src":"Boro-L1-41a-MB_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Boro Srzich","height":189});
															thumbnails[6841210] = clik.newPhoto({"id":6841210,"src":"Boro-L5-24b_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Boro Srzich","height":189});
															thumbnails[5845224] = clik.newPhoto({"id":5845224,"src":"Sonia_Kruger-0205_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_5845224.html","width":130,"caption":"Sonia Kruger","height":173});
															thumbnails[7089216] = clik.newPhoto({"id":7089216,"src":"Ronnies_BD-46_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_7089216.html","width":130,"caption":"Ronnie's 30th birthday","height":87});
															thumbnails[6274667] = clik.newPhoto({"id":6274667,"src":"Rachael_Finch-1005_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_6274667.html","width":130,"caption":"Raechel Finch","height":196});
															thumbnails[6274680] = clik.newPhoto({"id":6274680,"src":"Erin_McNaught-1005_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_6274680.html","width":130,"caption":"Erin McNaught","height":195});
															thumbnails[6902579] = clik.newPhoto({"id":6902579,"src":"Liam_Hemsworth-3_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_6902579.html","width":130,"caption":"Liam Hemsworth","height":163});
															thumbnails[6978186] = clik.newPhoto({"id":6978186,"src":"Jenolan_Caves-crop_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_6978186.html","width":130,"caption":"Jenolan Caves Resort","height":98});
															thumbnails[8900207] = clik.newPhoto({"id":8900207,"src":"Donna-CE2-115_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_8900207.html","width":130,"caption":"\tFinalist, Fine Art - Nude, IPA International Photography Awards. Exhibited: Michelle7","height":195});
															thumbnails[5963794] = clik.newPhoto({"id":5963794,"src":"Sabatini-151_thumb.jpg","galleries_id":359037,"server_id":5,"link":"photo_5963794.html","width":130,"caption":"Rosemount Australian Fashion Week, 2010","height":173});
															thumbnails[6685953] = clik.newPhoto({"id":6685953,"src":"Sabatini-217_thumb.jpg","galleries_id":359037,"server_id":5,"link":"photo_6685953.html","width":130,"caption":"Rosemount Australian Fashion Week - Sabatini afterparty","height":87});
															thumbnails[5809854] = clik.newPhoto({"id":5809854,"src":"FashionAssasin-121_copy_thumb.jpg","galleries_id":359037,"server_id":5,"link":"photo_5809854.html","width":130,"caption":"Published: 9TO5","height":86});
															thumbnails[6685947] = clik.newPhoto({"id":6685947,"src":"BrunsdonMorrisey-338-adj_thumb.jpg","galleries_id":359037,"server_id":5,"link":"photo_6685947.html","width":130,"caption":"Peter Morrissey and Jason Brunsdon","height":98});
															thumbnails[5844120] = clik.newPhoto({"id":5844120,"src":"Tiffani_Wood-0810_thumb.jpg","galleries_id":359037,"server_id":5,"link":"photo_5844120.html","width":130,"caption":"Tiffani Wood","height":195});
															thumbnails[5844284] = clik.newPhoto({"id":5844284,"src":"Nicole-235_thumb.jpg","galleries_id":328916,"server_id":5,"link":"photo_5844284.html","width":130,"caption":"DJ Nicky G","height":98});
															thumbnails[5809931] = clik.newPhoto({"id":5809931,"src":"Miss_Suzie_Q_thumb.jpg","galleries_id":328916,"server_id":5,"link":"photo_5809931.html","width":130,"caption":"Published: Cherrie","height":195});
															thumbnails[5810032] = clik.newPhoto({"id":5810032,"src":"Homecoming-46-adj_thumb.jpg","galleries_id":328916,"server_id":5,"link":"photo_5810032.html","width":130,"caption":"Published: Daily Telegraph","height":195});
															thumbnails[5844017] = clik.newPhoto({"id":5844017,"src":"Paul_Capsis-53-PP_thumb.jpg","galleries_id":328916,"server_id":5,"link":"photo_5844017.html","width":130,"caption":"Paul Capsis","height":98});
															thumbnails[5843950] = clik.newPhoto({"id":5843950,"src":"FashionAssasin-338_thumb.jpg","galleries_id":359037,"server_id":5,"link":"photo_5843950.html","width":130,"caption":"Peter Morrissey + Jayson Brunsdon","height":86});
															thumbnails[5810154] = clik.newPhoto({"id":5810154,"src":"Stairs-04_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_5810154.html","width":130,"caption":"","height":195});
															thumbnails[5810158] = clik.newPhoto({"id":5810158,"src":"Stairs-14_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_5810158.html","width":130,"caption":"","height":195});
															thumbnails[5810149] = clik.newPhoto({"id":5810149,"src":"Donna-059_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_5810149.html","width":130,"caption":"","height":195});
															thumbnails[5849948] = clik.newPhoto({"id":5849948,"src":"Donna-063_thumb.jpg","galleries_id":374555,"server_id":5,"link":"photo_5849948.html","width":130,"caption":"","height":195});
															thumbnails[5775169] = clik.newPhoto({"id":5775169,"src":"Lady-6-271_thumb.jpg","galleries_id":327121,"server_id":5,"link":"photo_5775169.html","width":130,"caption":"Silver, Fashion, London Photographic Association Awards, 2009.","height":173});
															thumbnails[5865012] = clik.newPhoto({"id":5865012,"src":"Lady-2-01_thumb.jpg","galleries_id":327121,"server_id":5,"link":"photo_5865012.html","width":130,"caption":"Bronze, Beauty, Prix de la Photographie Paris (Paris Photography Prize PX3), 2010","height":195});
															thumbnails[5775166] = clik.newPhoto({"id":5775166,"src":"Sophie_Monk-PP1_thumb.jpg","galleries_id":327121,"server_id":5,"link":"photo_5775166.html","width":130,"caption":"Sem-Finalist, Hasselblad Masters Award, 2008. Published: Sydney Morning Herald.","height":173});
															thumbnails[8900205] = clik.newPhoto({"id":8900205,"src":"Donna-AD1-026_thumb.jpg","galleries_id":467937,"server_id":5,"link":"photo_8900205.html","width":130,"caption":"\tFinalist, Fine Art - Nude, IPA International Photography Awards. Exhibited: Michelle7","height":196});
															thumbnails[8900206] = clik.newPhoto({"id":8900206,"src":"Donna-AD1-027_4CBA7994-1EC9-DFB6-0968796D13B99B17_thumb.jpg","galleries_id":467937,"server_id":5,"link":"photo_8900206.html","width":130,"caption":"\tFinalist, Fine Art - Nude, IPA International Photography Awards. Exhibited: Michelle7","height":196});
															thumbnails[6092810] = clik.newPhoto({"id":6092810,"src":"Donna-DE2-1401_thumb.jpg","galleries_id":467937,"server_id":5,"link":"photo_6092810.html","width":130,"caption":"Finalist, Fine Art - Nude, IPA International Photography Awards. Exhibited: Michelle7","height":195});
															thumbnails[6092802] = clik.newPhoto({"id":6092802,"src":"Donna-DE2-1431_thumb.jpg","galleries_id":467937,"server_id":5,"link":"photo_6092802.html","width":130,"caption":"Finalist, Fine Art - Nude, IPA International Photography Awards. Exhibited: Michelle7","height":195});
															thumbnails[8872922] = clik.newPhoto({"id":8872922,"src":"Loarna-258-PP_thumb.jpg","galleries_id":467937,"server_id":5,"link":"photo_8872922.html","width":130,"caption":"Finalist, TZIPAC Eros Interntional Awards, 2011","height":87});
															thumbnails[5845237] = clik.newPhoto({"id":5845237,"src":"Stephanie_Rice-0908_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_5845237.html","width":130,"caption":"Stephanie Rice","height":130});
															thumbnails[6988785] = clik.newPhoto({"id":6988785,"src":"Russian_Vodka-78_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6988785.html","width":130,"caption":"Jesinta Campbell","height":195});
															thumbnails[5845160] = clik.newPhoto({"id":5845160,"src":"Miranda_Kerr-0804_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_5845160.html","width":130,"caption":"Miranda Kerr","height":173});
															thumbnails[6898586] = clik.newPhoto({"id":6898586,"src":"Zac_Efron-10_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6898586.html","width":130,"caption":"Zac Efron","height":195});
															thumbnails[6902580] = clik.newPhoto({"id":6902580,"src":"Guy_Sebastian-1_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6902580.html","width":130,"caption":"Guy Sebastian. ","height":163});
															thumbnails[6902586] = clik.newPhoto({"id":6902586,"src":"Elijah_Wood-16_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6902586.html","width":130,"caption":"Elijah Wood","height":163});
															thumbnails[6898587] = clik.newPhoto({"id":6898587,"src":"Ashton-25_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6898587.html","width":130,"caption":"Ashton Kutcher. ","height":130});
															thumbnails[5845211] = clik.newPhoto({"id":5845211,"src":"Elle_Macpherson-0205-adj2_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_5845211.html","width":130,"caption":"Elle Macpherson","height":195});
															thumbnails[6407705] = clik.newPhoto({"id":6407705,"src":"Cate_Blanchett-115-0711_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6407705.html","width":130,"caption":"Cate Blanchett","height":195});
															thumbnails[6050980] = clik.newPhoto({"id":6050980,"src":"Jennifer_Hawkins-1005_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6050980.html","width":130,"caption":"Jennifer Hawkins","height":163});
															thumbnails[8633579] = clik.newPhoto({"id":8633579,"src":"Reese_Witherspoon-430_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_8633579.html","width":130,"caption":"Reese Witherspoon","height":163});
															thumbnails[6898585] = clik.newPhoto({"id":6898585,"src":"Ewan_McGregor-19_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6898585.html","width":130,"caption":"Ewan McGregor","height":195});
															thumbnails[6050653] = clik.newPhoto({"id":6050653,"src":"Geoffrey_Rush-61_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6050653.html","width":130,"caption":"Geoffrey Rush","height":182});
															thumbnails[7370945] = clik.newPhoto({"id":7370945,"src":"Russell_Crowe1101_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_7370945.html","width":130,"caption":"Russell Crowe","height":163});
															thumbnails[6051084] = clik.newPhoto({"id":6051084,"src":"Georgio_Armani-071112_thumb.jpg","galleries_id":327110,"server_id":5,"link":"photo_6051084.html","width":130,"caption":"Giorgio Armani","height":195});
															thumbnails[6092755] = clik.newPhoto({"id":6092755,"src":"Donna-AC1-078_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_6092755.html","width":130,"caption":"","height":196});
															thumbnails[6677516] = clik.newPhoto({"id":6677516,"src":"Ladies-1_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6677516.html","width":130,"caption":"Bronze, Beauty, Prix de la Photographie Paris, 2010","height":195});
															thumbnails[6677569] = clik.newPhoto({"id":6677569,"src":"Alex_Perry-37_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6677569.html","width":130,"caption":"Rosemount Sydney Fashion Festival","height":163});
															thumbnails[5865006] = clik.newPhoto({"id":5865006,"src":"Lady-1-33_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_5865006.html","width":130,"caption":"Bronze, Beauty, Prix de la Photographie Paris, 2010","height":195});
															thumbnails[6092785] = clik.newPhoto({"id":6092785,"src":"Donna-AD1-027_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_6092785.html","width":130,"caption":"","height":196});
															thumbnails[6950560] = clik.newPhoto({"id":6950560,"src":"Camilla-65_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6950560.html","width":130,"caption":"Rosemount Sydney Fashion Festival, 2010","height":98});
															thumbnails[5865018] = clik.newPhoto({"id":5865018,"src":"Lady-4-55_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_5865018.html","width":130,"caption":"Bronze, Beauty, Prix de la Photographie Paris, 2010","height":195});
															thumbnails[6681950] = clik.newPhoto({"id":6681950,"src":"_DSC0559_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6681950.html","width":130,"caption":"Rosemount Sydney Fashion Festival","height":130});
															thumbnails[5865032] = clik.newPhoto({"id":5865032,"src":"Lady-8-08_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_5865032.html","width":130,"caption":"Bronze, Beauty, Paris Photography Prize, 2010","height":195});
															thumbnails[6677567] = clik.newPhoto({"id":6677567,"src":"Bonds-51_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6677567.html","width":130,"caption":"Rosemount Sydney Fashion Festival, 2010","height":195});
															thumbnails[5849963] = clik.newPhoto({"id":5849963,"src":"Stairs-17_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_5849963.html","width":130,"caption":"","height":195});
															thumbnails[5957079] = clik.newPhoto({"id":5957079,"src":"Ellery-51_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5957079.html","width":130,"caption":"Rosemount Australian Fashion Week, 2010","height":260});
															thumbnails[6729058] = clik.newPhoto({"id":6729058,"src":"Alya-118-rev_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6729058.html","width":130,"caption":"Hair and Makeup: Jennifer Foo","height":130});
															thumbnails[5810294] = clik.newPhoto({"id":5810294,"src":"Stairs-24_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_5810294.html","width":130,"caption":"","height":87});
															thumbnails[5957082] = clik.newPhoto({"id":5957082,"src":"Dhini-33_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5957082.html","width":130,"caption":"Rosemount Australian Fashion Week, 2010","height":260});
															thumbnails[6581322] = clik.newPhoto({"id":6581322,"src":"Natalie-3-38_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6581322.html","width":130,"caption":"Makeup: Sarah Jane Bryan @ Glamour Doll Creations","height":98});
															thumbnails[5957080] = clik.newPhoto({"id":5957080,"src":"Romance_Was_Born-110_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5957080.html","width":130,"caption":"Rosemount Australian Fashion Week, 2010","height":260});
															thumbnails[6728236] = clik.newPhoto({"id":6728236,"src":"Annick-145_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6728236.html","width":130,"caption":"Makeup: Dafne Rahnema @ Victoria's, Milan","height":195});
															thumbnails[5957375] = clik.newPhoto({"id":5957375,"src":"Rachel_Gilbert-51_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5957375.html","width":130,"caption":"Rosemount Australian Fashion Week, 2010","height":130});
															thumbnails[6728190] = clik.newPhoto({"id":6728190,"src":"Georgette-142b-adj_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6728190.html","width":130,"caption":"Makeup: Saskia Donkers","height":195});
															thumbnails[5810101] = clik.newPhoto({"id":5810101,"src":"Donna-050_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_5810101.html","width":130,"caption":"","height":195});
															thumbnails[6313208] = clik.newPhoto({"id":6313208,"src":"Chambord-173_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6313208.html","width":130,"caption":"Chambord Shine Awards, 2010","height":260});
															thumbnails[6728133] = clik.newPhoto({"id":6728133,"src":"Blondies_Ad-PP_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6728133.html","width":130,"caption":"Hair: Eliza Showell @ Blondies","height":195});
															thumbnails[5810151] = clik.newPhoto({"id":5810151,"src":"Donna-074_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_5810151.html","width":130,"caption":"","height":195});
															thumbnails[6313212] = clik.newPhoto({"id":6313212,"src":"UTS-2-0645_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6313212.html","width":130,"caption":"University of Technology, Sydney. Fashion graduation show, 2009","height":260});
															thumbnails[6728059] = clik.newPhoto({"id":6728059,"src":"Sarah_Elizabeth-339-adj_thumb.jpg","galleries_id":359034,"server_id":5,"link":"photo_6728059.html","width":130,"caption":"Hair: Errol Douglas @ Schwarzkopf Professional","height":173});
															thumbnails[6274646] = clik.newPhoto({"id":6274646,"src":"FDS-216_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6274646.html","width":130,"caption":"Fashion Design Studio TAFE. Eveningwear prize, 2009.","height":195});
															thumbnails[6274647] = clik.newPhoto({"id":6274647,"src":"Myer-332_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6274647.html","width":130,"caption":"Myer show.","height":173});
															thumbnails[5809845] = clik.newPhoto({"id":5809845,"src":"DavisEyes-41_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5809845.html","width":130,"caption":"Published: Duo","height":195});
															thumbnails[6902965] = clik.newPhoto({"id":6902965,"src":"Frankie-124a_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_6902965.html","width":130,"caption":"","height":195});
															thumbnails[5809762] = clik.newPhoto({"id":5809762,"src":"Schwarzkopf-75_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5809762.html","width":130,"caption":"Published: Fashion Journal   ","height":98});
															thumbnails[6902966] = clik.newPhoto({"id":6902966,"src":"Frankie-150_thumb.jpg","galleries_id":327118,"server_id":5,"link":"photo_6902966.html","width":130,"caption":"","height":87});
															thumbnails[5809843] = clik.newPhoto({"id":5809843,"src":"Silence_is_Golden-13_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5809843.html","width":130,"caption":"Published: Attitude","height":195});
															thumbnails[5809759] = clik.newPhoto({"id":5809759,"src":"Ashe-06_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5809759.html","width":130,"caption":"Published: Cream","height":195});
															thumbnails[6313216] = clik.newPhoto({"id":6313216,"src":"CamilaMarc-34_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6313216.html","width":130,"caption":"Published: 3D World","height":195});
															thumbnails[5809765] = clik.newPhoto({"id":5809765,"src":"Mjolk-51_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5809765.html","width":130,"caption":"Published: 3D World","height":195});
															thumbnails[6313214] = clik.newPhoto({"id":6313214,"src":"Leopold-07_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_6313214.html","width":130,"caption":"Published: 3D World","height":195});
															thumbnails[5809846] = clik.newPhoto({"id":5809846,"src":"Michelle_Jank-17_thumb.jpg","galleries_id":327114,"server_id":5,"link":"photo_5809846.html","width":130,"caption":"Published: POL Oxygen","height":195});
															thumbnails[5810789] = clik.newPhoto({"id":5810789,"src":"Clare-062-PP_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5810789.html","width":130,"caption":"Scene Model Management","height":195});
															thumbnails[5810788] = clik.newPhoto({"id":5810788,"src":"Sarah-119-bw_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5810788.html","width":130,"caption":"Platform Models","height":195});
															thumbnails[5810787] = clik.newPhoto({"id":5810787,"src":"Amanda_Simons-3-110a_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5810787.html","width":130,"caption":"Scene Model Management","height":173});
															thumbnails[5810786] = clik.newPhoto({"id":5810786,"src":"Charly-L3-32-PP_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5810786.html","width":130,"caption":"Chadwick Model Agency","height":195});
															thumbnails[5810785] = clik.newPhoto({"id":5810785,"src":"Georgette-063_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5810785.html","width":130,"caption":"Bliss Models and Management","height":195});
															thumbnails[5850490] = clik.newPhoto({"id":5850490,"src":"LBVS-178_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5850490.html","width":130,"caption":"Chadwick Model Agency","height":195});
															thumbnails[5810609] = clik.newPhoto({"id":5810609,"src":"Eunice_440-adj_crop_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_5810609.html","width":130,"caption":"Chadwicks Model Agency","height":195});
															thumbnails[6229610] = clik.newPhoto({"id":6229610,"src":"Birdie-2-PP_thumb.jpg","galleries_id":382044,"server_id":5,"link":"photo_6229610.html","width":130,"caption":"Chadwick Models","height":173});
															thumbnails[5865125] = clik.newPhoto({"id":5865125,"src":"New_Kids-D-381_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5865125.html","width":130,"caption":"","height":170});
															thumbnails[5865124] = clik.newPhoto({"id":5865124,"src":"New_Kids-C-344_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5865124.html","width":130,"caption":"","height":170});
															thumbnails[5865151] = clik.newPhoto({"id":5865151,"src":"New_Kids-E-409_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5865151.html","width":130,"caption":"","height":170});
															thumbnails[5865152] = clik.newPhoto({"id":5865152,"src":"New_Kids-F-45_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5865152.html","width":130,"caption":"","height":170});
															thumbnails[6274632] = clik.newPhoto({"id":6274632,"src":"Rechelle_L6-267_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274632.html","width":130,"caption":"","height":98});
															thumbnails[6274635] = clik.newPhoto({"id":6274635,"src":"Rechelle_L9-335_gf_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274635.html","width":130,"caption":"","height":195});
															thumbnails[6274634] = clik.newPhoto({"id":6274634,"src":"Rechelle-263_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274634.html","width":130,"caption":"","height":195});
															thumbnails[6274631] = clik.newPhoto({"id":6274631,"src":"Rechelle_L1_054-gf_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274631.html","width":130,"caption":"","height":195});
															thumbnails[5849009] = clik.newPhoto({"id":5849009,"src":"Lemisee-379-PP1_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5849009.html","width":130,"caption":"","height":195});
															thumbnails[5849011] = clik.newPhoto({"id":5849011,"src":"Lemisee-339_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5849011.html","width":130,"caption":"","height":195});
															thumbnails[5849012] = clik.newPhoto({"id":5849012,"src":"Lemisee-487-PP_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5849012.html","width":130,"caption":"","height":195});
															thumbnails[5849013] = clik.newPhoto({"id":5849013,"src":"Lemisee-513-PP_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_5849013.html","width":130,"caption":"","height":189});
															thumbnails[6274637] = clik.newPhoto({"id":6274637,"src":"Hats-L2-01-PP_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274637.html","width":130,"caption":"","height":195});
															thumbnails[6274639] = clik.newPhoto({"id":6274639,"src":"Hats-L5-04-PP_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274639.html","width":130,"caption":"","height":195});
															thumbnails[6274636] = clik.newPhoto({"id":6274636,"src":"Hats-L1-09-PP_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274636.html","width":130,"caption":"","height":195});
															thumbnails[6274638] = clik.newPhoto({"id":6274638,"src":"Hats-L3-03-PP_thumb.jpg","galleries_id":328920,"server_id":5,"link":"photo_6274638.html","width":130,"caption":"","height":226});
															thumbnails[6886479] = clik.newPhoto({"id":6886479,"src":"KellyOwen-329_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_6886479.html","width":130,"caption":"","height":195});
															thumbnails[5844349] = clik.newPhoto({"id":5844349,"src":"Vivienne-3-044-8x12_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5844349.html","width":130,"caption":"","height":195});
															thumbnails[5849028] = clik.newPhoto({"id":5849028,"src":"Ali-137-PP_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5849028.html","width":130,"caption":"","height":184});
															thumbnails[5856994] = clik.newPhoto({"id":5856994,"src":"Brydon-34-PP_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5856994.html","width":130,"caption":"","height":173});
															thumbnails[6257912] = clik.newPhoto({"id":6257912,"src":"Jessica-64_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_6257912.html","width":130,"caption":"","height":195});
															thumbnails[5844346] = clik.newPhoto({"id":5844346,"src":"Carol-35_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5844346.html","width":130,"caption":"","height":173});
															thumbnails[5844364] = clik.newPhoto({"id":5844364,"src":"Cheryl-71-adj_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5844364.html","width":130,"caption":"","height":196});
															thumbnails[6260397] = clik.newPhoto({"id":6260397,"src":"Megan-0510_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_6260397.html","width":130,"caption":"","height":163});
															thumbnails[6673781] = clik.newPhoto({"id":6673781,"src":"John-218_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_6673781.html","width":130,"caption":"","height":195});
															thumbnails[5844354] = clik.newPhoto({"id":5844354,"src":"Paul-0661_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5844354.html","width":130,"caption":"","height":195});
															thumbnails[5844356] = clik.newPhoto({"id":5844356,"src":"Andy-73-PP_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_5844356.html","width":130,"caption":"","height":195});
															thumbnails[6260559] = clik.newPhoto({"id":6260559,"src":"Josh-0200_thumb.jpg","galleries_id":330678,"server_id":5,"link":"photo_6260559.html","width":130,"caption":"","height":173});
															thumbnails[5844160] = clik.newPhoto({"id":5844160,"src":"Kate-225_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5844160.html","width":130,"caption":"Kate Davis","height":195});
															thumbnails[5844206] = clik.newPhoto({"id":5844206,"src":"Belinda_Granata-07_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5844206.html","width":130,"caption":"Belinda Granata","height":173});
															thumbnails[6673811] = clik.newPhoto({"id":6673811,"src":"Matt-7-09-print_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_6673811.html","width":130,"caption":"Matt Milotich","height":196});
															thumbnails[5844201] = clik.newPhoto({"id":5844201,"src":"Allan-3-06_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5844201.html","width":130,"caption":"Allan McPherson","height":195});
															thumbnails[5883695] = clik.newPhoto({"id":5883695,"src":"Danielle-L3-40-PP_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5883695.html","width":130,"caption":"Danielle Milich","height":195});
															thumbnails[5884655] = clik.newPhoto({"id":5884655,"src":"Em-261-PP_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5884655.html","width":130,"caption":"Emily Fitzgerald","height":196});
															thumbnails[5844203] = clik.newPhoto({"id":5844203,"src":"Sam-2-01-Web_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5844203.html","width":130,"caption":"Samuel Tesfay,  trainer","height":195});
															thumbnails[6673829] = clik.newPhoto({"id":6673829,"src":"Daniel-0804_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_6673829.html","width":130,"caption":"Daniel D'Aponte","height":195});
															thumbnails[5884495] = clik.newPhoto({"id":5884495,"src":"Master_Slave-28-A5_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5884495.html","width":130,"caption":"Eleni Kondos","height":184});
															thumbnails[5810034] = clik.newPhoto({"id":5810034,"src":"Kristi-Anna_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5810034.html","width":130,"caption":"Kristi-Anna Brydon","height":173});
															thumbnails[5884420] = clik.newPhoto({"id":5884420,"src":"Master_Slave-49-A5_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_5884420.html","width":130,"caption":"Roderick Ng","height":184});
															thumbnails[6673852] = clik.newPhoto({"id":6673852,"src":"Mark_Matthews-43_E24052A4-1D09-001F-99DD9F20C4C55BCC_thumb.jpg","galleries_id":328917,"server_id":5,"link":"photo_6673852.html","width":130,"caption":"Mark Matthews","height":198});
															thumbnails[5883625] = clik.newPhoto({"id":5883625,"src":"Johns_60th-355b_thumb.jpg","galleries_id":342508,"server_id":5,"link":"photo_5883625.html","width":130,"caption":"John's Christmas Party","height":98});
															thumbnails[7110519] = clik.newPhoto({"id":7110519,"src":"Johns_60th-368_thumb.jpg","galleries_id":342508,"server_id":5,"link":"photo_7110519.html","width":130,"caption":"John's Christmas Party","height":195});
															thumbnails[6988862] = clik.newPhoto({"id":6988862,"src":"Russian_Vodka-8_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6988862.html","width":130,"caption":"Russian Standard Vodka party ","height":195});
															thumbnails[7089199] = clik.newPhoto({"id":7089199,"src":"Ronnies_BD-4_thumb.jpg","galleries_id":342508,"server_id":5,"link":"photo_7089199.html","width":130,"caption":"Ronnie's 30th birthday","height":87});
															thumbnails[6988867] = clik.newPhoto({"id":6988867,"src":"Chambord-70_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6988867.html","width":130,"caption":"Chambord Shine Awards","height":163});
															thumbnails[7110495] = clik.newPhoto({"id":7110495,"src":"Ronnies_BD-85_thumb.jpg","galleries_id":342508,"server_id":5,"link":"photo_7110495.html","width":130,"caption":"","height":104});
															thumbnails[6988905] = clik.newPhoto({"id":6988905,"src":"Jessica_Mauboy-45_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6988905.html","width":130,"caption":"Blackberry Pearl 3G launch","height":98});
															thumbnails[6988970] = clik.newPhoto({"id":6988970,"src":"Racing_Media_Launch-19_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6988970.html","width":130,"caption":"Sydney Autumn Racing Carnival launch","height":98});
															thumbnails[6989097] = clik.newPhoto({"id":6989097,"src":"Butlers-3_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6989097.html","width":130,"caption":"Butlers In The Buff launch","height":87});
															thumbnails[7089319] = clik.newPhoto({"id":7089319,"src":"Daniels-30th-14_thumb.jpg","galleries_id":342508,"server_id":5,"link":"photo_7089319.html","width":130,"caption":"Alya's party","height":87});
															thumbnails[6205399] = clik.newPhoto({"id":6205399,"src":"Noir_Shop-101_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6205399.html","width":130,"caption":"Noir Shop launch","height":87});
															thumbnails[6205373] = clik.newPhoto({"id":6205373,"src":"Drambuie-123_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6205373.html","width":130,"caption":"Drambuie whiskey launch","height":195});
															thumbnails[5883615] = clik.newPhoto({"id":5883615,"src":"Chop_Shop-023_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_5883615.html","width":130,"caption":"Chop Shop Hair Salon opening","height":98});
															thumbnails[5883622] = clik.newPhoto({"id":5883622,"src":"Ross_Graduation-0891_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_5883622.html","width":130,"caption":"Julia Ross Recruitment","height":195});
															thumbnails[5883638] = clik.newPhoto({"id":5883638,"src":"Sabatini-022_thumb.jpg","galleries_id":342508,"server_id":5,"link":"photo_5883638.html","width":130,"caption":"Margi's Xmas Party","height":195});
															thumbnails[6205374] = clik.newPhoto({"id":6205374,"src":"Rosemount-046_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_6205374.html","width":130,"caption":"Rosemount O wine launch","height":87});
															thumbnails[5883613] = clik.newPhoto({"id":5883613,"src":"Bondi_Blonde-086_thumb.jpg","galleries_id":381964,"server_id":5,"link":"photo_5883613.html","width":130,"caption":"Bondi Blonde Lager launch","height":98});
															thumbnails[6976883] = clik.newPhoto({"id":6976883,"src":"Flat-Lay-1-7-deep-etch_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6976883.html","width":130,"caption":"9TO5 magazine","height":87});
															thumbnails[6978068] = clik.newPhoto({"id":6978068,"src":"Status-06_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978068.html","width":130,"caption":"Status Agencies","height":87});
															thumbnails[6976885] = clik.newPhoto({"id":6976885,"src":"Flat-Lay-1-5-deep-etch_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6976885.html","width":130,"caption":"9TO5 magazine","height":87});
															thumbnails[6978232] = clik.newPhoto({"id":6978232,"src":"Status-01_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978232.html","width":130,"caption":"Status Agencies","height":87});
															thumbnails[6976882] = clik.newPhoto({"id":6976882,"src":"Flat-Lay-1-3-deep-etch_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6976882.html","width":130,"caption":"9TO5 magazine","height":130});
															thumbnails[6978085] = clik.newPhoto({"id":6978085,"src":"Status-39_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978085.html","width":130,"caption":"Status Agencies","height":87});
															thumbnails[6976886] = clik.newPhoto({"id":6976886,"src":"Flat-Lay-1-1-deep-etch_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6976886.html","width":130,"caption":"9TO5 magazine","height":173});
															thumbnails[6978098] = clik.newPhoto({"id":6978098,"src":"Status-60_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978098.html","width":130,"caption":"Status Agencies","height":130});
															thumbnails[6976943] = clik.newPhoto({"id":6976943,"src":"Bella_Cosmetics_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6976943.html","width":130,"caption":"Bella Sydney Cosmetics","height":195});
															thumbnails[7085365] = clik.newPhoto({"id":7085365,"src":"Bon-Accord-5-40_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_7085365.html","width":130,"caption":"","height":60});
															thumbnails[6976938] = clik.newPhoto({"id":6976938,"src":"Hygenix-02-PP_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6976938.html","width":130,"caption":"Hygenix Skin Care","height":130});
															thumbnails[7085364] = clik.newPhoto({"id":7085364,"src":"Bon-Accord-4-4_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_7085364.html","width":130,"caption":"","height":95});
															thumbnails[6978422] = clik.newPhoto({"id":6978422,"src":"Fashion_TV-PP_thumb.jpg","galleries_id":381965,"server_id":5,"link":"photo_6978422.html","width":130,"caption":"Fashion TV Video range","height":90});
															thumbnails[7085363] = clik.newPhoto({"id":7085363,"src":"Bon-Accord-2-31_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_7085363.html","width":130,"caption":"","height":86});
															thumbnails[7085362] = clik.newPhoto({"id":7085362,"src":"Bon-Accord-1-9_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_7085362.html","width":130,"caption":"","height":179});
															thumbnails[6978457] = clik.newPhoto({"id":6978457,"src":"Parra-153-crop_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978457.html","width":130,"caption":"Waldorf Hotels","height":173});
															thumbnails[6978528] = clik.newPhoto({"id":6978528,"src":"Randwick-89_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978528.html","width":130,"caption":"Waldorf Hotels","height":98});
															thumbnails[6978535] = clik.newPhoto({"id":6978535,"src":"Randwick-60_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6978535.html","width":130,"caption":"Waldorf Hotels","height":98});
															thumbnails[6976991] = clik.newPhoto({"id":6976991,"src":"Parra-188_thumb.jpg","galleries_id":381966,"server_id":5,"link":"photo_6976991.html","width":130,"caption":"Waldorf Hotels","height":98});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[359037] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fashion - Behind the Scenes","link":"gallery_359037.html","maxRecords":0.0,"photoIDs":[5963794.0,6685953.0,5809854.0,6685947.0,5844120.0,5843950.0],"skipIndex":0,"section_code":"gallery","featured_images":5963794.0,"id":359037,"singleSection":false});				  						galleries[374555] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Not Public","link":"gallery_374555.html","maxRecords":0.0,"photoIDs":[5845224.0,7089216.0,6274667.0,6274680.0,6902579.0,6978186.0,8900207.0,5810154.0,5810158.0,5810149.0,5849948.0],"skipIndex":0,"section_code":"gallery","featured_images":5810154.0,"id":374555,"singleSection":false});				  						galleries[328916] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Performers","link":"gallery_328916.html","maxRecords":0.0,"photoIDs":[5844284.0,5809931.0,5810032.0,5844017.0],"skipIndex":0,"section_code":"gallery","featured_images":5844017.0,"id":328916,"singleSection":false});				  						galleries[327121] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"International Recognition - Fashion and Beauty","link":"section567253_327121.html","maxRecords":0.0,"photoIDs":[5775169.0,5865012.0,5775166.0],"skipIndex":0,"section_code":"section567253","featured_images":5775169.0,"id":327121,"singleSection":false});				  						galleries[467937] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"International Recognition - Nude","link":"section567253_467937.html","maxRecords":0.0,"photoIDs":[8900205.0,8900206.0,6092810.0,6092802.0,8872922.0],"skipIndex":0,"section_code":"section567253","featured_images":"8900205,6092802","id":467937,"singleSection":false});				  						galleries[327110] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Celebrities","link":"section567254.html","maxRecords":0.0,"photoIDs":[5845237.0,6988785.0,5845160.0,6898586.0,6902580.0,6902586.0,6898587.0,5845211.0,6407705.0,6050980.0,8633579.0,6898585.0,6050653.0,7370945.0,6051084.0],"skipIndex":0,"section_code":"section567254","featured_images":5845160.0,"id":327110,"singleSection":true});				  						galleries[328920] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fashion Stories","link":"section567255_328920.html","maxRecords":0.0,"photoIDs":[5865125.0,5865124.0,5865151.0,5865152.0,6274632.0,6274635.0,6274634.0,6274631.0,5849009.0,5849011.0,5849012.0,5849013.0,6274637.0,6274639.0,6274636.0,6274638.0],"skipIndex":0,"section_code":"section567255","featured_images":6274631.0,"id":328920,"singleSection":false});				  						galleries[327114] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fashion Shows","link":"section567255_327114.html","maxRecords":0.0,"photoIDs":[6677569.0,6950560.0,6681950.0,6677567.0,5957079.0,5957082.0,5957080.0,5957375.0,6313208.0,6313212.0,6274646.0,6274647.0,5809845.0,5809762.0,5809843.0,5809759.0,6313216.0,5809765.0,6313214.0,5809846.0],"skipIndex":0,"section_code":"section567255","featured_images":6677569.0,"id":327114,"singleSection":false});				  						galleries[359034] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Beauty","link":"section567255_359034.html","maxRecords":0.0,"photoIDs":[6677516.0,5865006.0,5865018.0,5865032.0,6729058.0,6581322.0,6728236.0,6728190.0,6728133.0,6728059.0],"skipIndex":0,"section_code":"section567255","featured_images":6677516.0,"id":359034,"singleSection":false});				  						galleries[382044] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Model Portfolios","link":"section567255_382044.html","maxRecords":0.0,"photoIDs":[5810789.0,5810788.0,5810787.0,5810786.0,5810785.0,5850490.0,5810609.0,6229610.0],"skipIndex":0,"section_code":"section567255","featured_images":5810786.0,"id":382044,"singleSection":false});				  						galleries[327118] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nudes","link":"section567255_327118.html","maxRecords":0.0,"photoIDs":[6092755.0,6092785.0,5849963.0,5810294.0,5810101.0,5810151.0,6902965.0,6902966.0],"skipIndex":0,"section_code":"section567255","featured_images":"6902966,6902965,6092785,6092755,5849963,5810294,5810151,5810101","id":327118,"singleSection":false});				  						galleries[328917] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Professionals","link":"section567256_328917.html","maxRecords":0.0,"photoIDs":[5844160.0,5844206.0,6673811.0,5844201.0,5883695.0,5884655.0,5844203.0,6673829.0,5884495.0,5810034.0,5884420.0,6673852.0],"skipIndex":0,"section_code":"section567256","featured_images":6673811.0,"id":328917,"singleSection":false});				  						galleries[342508] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Private Events","link":"section567257_342508.html","maxRecords":0.0,"photoIDs":[5883625.0,7110519.0,7089199.0,7110495.0,7089319.0,5883638.0],"skipIndex":0,"section_code":"section567257","featured_images":5883625.0,"id":342508,"singleSection":false});				  						galleries[330678] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Private Portraits","link":"section567256_330678.html","maxRecords":0.0,"photoIDs":[6886479.0,5844349.0,5849028.0,5856994.0,6257912.0,5844346.0,5844364.0,6260397.0,6673781.0,5844354.0,5844356.0,6260559.0],"skipIndex":0,"section_code":"section567256","featured_images":6886479.0,"id":330678,"singleSection":false});				  						galleries[381964] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate & Public Events","link":"section567257_381964.html","maxRecords":0.0,"photoIDs":[6988862.0,6988867.0,6988905.0,6988970.0,6989097.0,6205399.0,6205373.0,5883615.0,5883622.0,6205374.0,5883613.0],"skipIndex":0,"section_code":"section567257","featured_images":6988867.0,"id":381964,"singleSection":false});				  						galleries[381966] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Real Estate","link":"section567270_381966.html","maxRecords":0.0,"photoIDs":[6978068.0,6978232.0,6978085.0,6978098.0,7085365.0,7085364.0,7085363.0,7085362.0,6978457.0,6978528.0,6978535.0,6976991.0],"skipIndex":0,"section_code":"section567270","featured_images":6978098.0,"id":381966,"singleSection":false});				  						galleries[381965] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Products","link":"section567270_381965.html","maxRecords":0.0,"photoIDs":[6976883.0,6976885.0,6976882.0,6976886.0,6976943.0,6976938.0,6978422.0],"skipIndex":0,"section_code":"section567270","featured_images":6976882.0,"id":381965,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6274632';
imageSets[2] = '5883625,6886479,6677569,6677516,6988867,6976882,5845160,6978098,5810786,5775169,8900205,6092802,6274631,5963794,5844017,6673811,5810154';
imageSets[3] = '5845237,5865006,5844349,5865018,5865032,5849963,5883615,5883638,5883622,5883613,5865125,5865124,5865151,5865152,5844206,5844201';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/nyksykes/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/nyksykes/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 = 'Nyk Sykes Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.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;
	}
}

			

