window.thumbnails = {};
															thumbnails[8117645] = clik.newPhoto({"id":8117645,"src":"4_1_of_1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":240});
															thumbnails[7493131] = clik.newPhoto({"id":7493131,"src":"FB_23_of_36_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":229});
															thumbnails[8117653] = clik.newPhoto({"id":8117653,"src":"1_1_of_1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":240});
															thumbnails[8254303] = clik.newPhoto({"id":8254303,"src":"2_2_of_6_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":200});
															thumbnails[8117657] = clik.newPhoto({"id":8117657,"src":"5_1_of_1-2_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":240});
															thumbnails[8117659] = clik.newPhoto({"id":8117659,"src":"5_1_of_1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":107});
															thumbnails[7246063] = clik.newPhoto({"id":7246063,"src":"FB_1_of_1-4_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":128});
															thumbnails[8117662] = clik.newPhoto({"id":8117662,"src":"3_1_of_1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":243});
															thumbnails[8117663] = clik.newPhoto({"id":8117663,"src":"2_1_of_1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":107});
															thumbnails[7493132] = clik.newPhoto({"id":7493132,"src":"FB_8_of_36_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":109});
															thumbnails[8146759] = clik.newPhoto({"id":8146759,"src":"j_1_of_11_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":107});
															thumbnails[8521494] = clik.newPhoto({"id":8521494,"src":"d_1_of_1-9_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":160,"caption":"","height":242});
															thumbnails[8917923] = clik.newPhoto({"id":8917923,"src":"ashley_1_of_2_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8917923.html","width":160,"caption":"","height":240});
															thumbnails[9015029] = clik.newPhoto({"id":9015029,"src":"2012_1_of_2_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_9015029.html","width":160,"caption":"","height":240});
															thumbnails[4650092] = clik.newPhoto({"id":4650092,"src":"ON_6_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_4650092.html","width":160,"caption":"","height":240});
															thumbnails[7302299] = clik.newPhoto({"id":7302299,"src":"Andre_1_of_1_thumb.jpg","galleries_id":440159,"server_id":18,"link":"photo_7302299.html","width":160,"caption":"","height":224});
															thumbnails[7492984] = clik.newPhoto({"id":7492984,"src":"2_1_of_1_A7243F23-24E8-5EC4-4F6A1F6359D3216A_thumb.jpg","galleries_id":434366,"server_id":18,"link":"photo_7492984.html","width":160,"caption":"","height":231});
															thumbnails[7493017] = clik.newPhoto({"id":7493017,"src":"FB_4_of_36_thumb.jpg","galleries_id":434358,"server_id":18,"link":"photo_7493017.html","width":160,"caption":"","height":219});
															thumbnails[8163907] = clik.newPhoto({"id":8163907,"src":"The_Beauty_Story_1_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163907.html","width":160,"caption":"","height":240});
															thumbnails[8254283] = clik.newPhoto({"id":8254283,"src":"2_1_of_4_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254283.html","width":160,"caption":"","height":240});
															thumbnails[8254292] = clik.newPhoto({"id":8254292,"src":"Metropolis_6_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8254292.html","width":160,"caption":"","height":107});
															thumbnails[8254299] = clik.newPhoto({"id":8254299,"src":"2_1_of_1_9D5C992C-1E4F-37DC-71D5362A25F6DF21_thumb.jpg","galleries_id":439647,"server_id":18,"link":"photo_8254299.html","width":160,"caption":"","height":107});
															thumbnails[8265918] = clik.newPhoto({"id":8265918,"src":"2_1_of_1-6_thumb.jpg","galleries_id":440163,"server_id":18,"link":"photo_8265918.html","width":160,"caption":"","height":107});
															thumbnails[8369093] = clik.newPhoto({"id":8369093,"src":"symphonie_en_noir_et_blanc_3_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369093.html","width":160,"caption":"","height":240});
															thumbnails[7296806] = clik.newPhoto({"id":7296806,"src":"ICP_workshops_1_of_1-2_thumb.jpg","galleries_id":440159,"server_id":18,"link":"photo_7296806.html","width":160,"caption":"","height":130});
															thumbnails[7493054] = clik.newPhoto({"id":7493054,"src":"2_1_of_1_A7550DBE-24E8-5EC4-4FB0212C024E25C3_thumb.jpg","galleries_id":434366,"server_id":18,"link":"photo_7493054.html","width":160,"caption":"","height":240});
															thumbnails[8163908] = clik.newPhoto({"id":8163908,"src":"The_Beauty_Story_8_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163908.html","width":160,"caption":"","height":128});
															thumbnails[8254285] = clik.newPhoto({"id":8254285,"src":"2_2_of_4_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254285.html","width":160,"caption":"","height":107});
															thumbnails[8254293] = clik.newPhoto({"id":8254293,"src":"d_1_of_1_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8254293.html","width":160,"caption":"","height":240});
															thumbnails[8254298] = clik.newPhoto({"id":8254298,"src":"2_5_of_6_thumb.jpg","galleries_id":439647,"server_id":18,"link":"photo_8254298.html","width":160,"caption":"","height":200});
															thumbnails[8265916] = clik.newPhoto({"id":8265916,"src":"2_1_of_1-8_thumb.jpg","galleries_id":440163,"server_id":18,"link":"photo_8265916.html","width":160,"caption":"","height":240});
															thumbnails[8369099] = clik.newPhoto({"id":8369099,"src":"symphonie_en_noir_et_blanc_7_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369099.html","width":160,"caption":"","height":240});
															thumbnails[8811768] = clik.newPhoto({"id":8811768,"src":"ON_4_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8811768.html","width":160,"caption":"","height":107});
															thumbnails[7493072] = clik.newPhoto({"id":7493072,"src":"FB_2_of_36_thumb.jpg","galleries_id":434358,"server_id":18,"link":"photo_7493072.html","width":160,"caption":"","height":244});
															thumbnails[7537401] = clik.newPhoto({"id":7537401,"src":"andre_1_of_1_8DFC62B5-1EC9-DFB6-094F68EA819B0E68_thumb.jpg","galleries_id":440159,"server_id":18,"link":"photo_7537401.html","width":160,"caption":"","height":218});
															thumbnails[8163909] = clik.newPhoto({"id":8163909,"src":"The_Beauty_Story_6_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163909.html","width":160,"caption":"","height":240});
															thumbnails[8254294] = clik.newPhoto({"id":8254294,"src":"Metropolis_5_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8254294.html","width":160,"caption":"","height":240});
															thumbnails[8254300] = clik.newPhoto({"id":8254300,"src":"2_6_of_6_thumb.jpg","galleries_id":439647,"server_id":18,"link":"photo_8254300.html","width":160,"caption":"","height":128});
															thumbnails[8265917] = clik.newPhoto({"id":8265917,"src":"2_1_of_1-5_thumb.jpg","galleries_id":440163,"server_id":18,"link":"photo_8265917.html","width":160,"caption":"","height":107});
															thumbnails[8369094] = clik.newPhoto({"id":8369094,"src":"symphonie_en_noir_et_blanc_1_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369094.html","width":160,"caption":"","height":240});
															thumbnails[8521500] = clik.newPhoto({"id":8521500,"src":"d_1_of_1-14_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8521500.html","width":160,"caption":"","height":240});
															thumbnails[8811798] = clik.newPhoto({"id":8811798,"src":"ON_5_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8811798.html","width":160,"caption":"","height":240});
															thumbnails[7493012] = clik.newPhoto({"id":7493012,"src":"FB_5_of_36_thumb.jpg","galleries_id":434358,"server_id":18,"link":"photo_7493012.html","width":160,"caption":"","height":202});
															thumbnails[7493125] = clik.newPhoto({"id":7493125,"src":"FB_14_of_36_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7493125.html","width":160,"caption":"","height":240});
															thumbnails[7493167] = clik.newPhoto({"id":7493167,"src":"FB_1_of_36_thumb.jpg","galleries_id":434358,"server_id":18,"link":"photo_7493167.html","width":160,"caption":"","height":232});
															thumbnails[7493217] = clik.newPhoto({"id":7493217,"src":"FB_1_of_21_thumb.jpg","galleries_id":440159,"server_id":18,"link":"photo_7493217.html","width":160,"caption":"","height":240});
															thumbnails[8163914] = clik.newPhoto({"id":8163914,"src":"The_Beauty_Story_9_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163914.html","width":160,"caption":"","height":128});
															thumbnails[8254286] = clik.newPhoto({"id":8254286,"src":"1_2_of_5_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254286.html","width":160,"caption":"","height":240});
															thumbnails[8254295] = clik.newPhoto({"id":8254295,"src":"Metropolis_1_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8254295.html","width":160,"caption":"","height":128});
															thumbnails[8265915] = clik.newPhoto({"id":8265915,"src":"2_1_of_1-4_thumb.jpg","galleries_id":440163,"server_id":18,"link":"photo_8265915.html","width":160,"caption":"","height":107});
															thumbnails[8369096] = clik.newPhoto({"id":8369096,"src":"symphonie_en_noir_et_blanc_4_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369096.html","width":160,"caption":"","height":240});
															thumbnails[8814175] = clik.newPhoto({"id":8814175,"src":"no_1_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8814175.html","width":160,"caption":"","height":240});
															thumbnails[5151265] = clik.newPhoto({"id":5151265,"src":"a_1_of_1_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_5151265.html","width":160,"caption":"","height":240});
															thumbnails[8163910] = clik.newPhoto({"id":8163910,"src":"The_Beauty_Story_14_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163910.html","width":160,"caption":"","height":240});
															thumbnails[8254287] = clik.newPhoto({"id":8254287,"src":"1_3_of_5_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254287.html","width":160,"caption":"","height":107});
															thumbnails[8254296] = clik.newPhoto({"id":8254296,"src":"Metropolis_9_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8254296.html","width":160,"caption":"","height":240});
															thumbnails[8265919] = clik.newPhoto({"id":8265919,"src":"2_1_of_1-9_thumb.jpg","galleries_id":440163,"server_id":18,"link":"photo_8265919.html","width":160,"caption":"","height":240});
															thumbnails[8369102] = clik.newPhoto({"id":8369102,"src":"symphonie_en_noir_et_blanc_10_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369102.html","width":160,"caption":"","height":240});
															thumbnails[8814176] = clik.newPhoto({"id":8814176,"src":"no_6_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8814176.html","width":160,"caption":"","height":107});
															thumbnails[7493098] = clik.newPhoto({"id":7493098,"src":"FB_35_of_36_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7493098.html","width":160,"caption":"","height":215});
															thumbnails[7493177] = clik.newPhoto({"id":7493177,"src":"FB_3_of_36_thumb.jpg","galleries_id":434358,"server_id":18,"link":"photo_7493177.html","width":160,"caption":"","height":219});
															thumbnails[8254288] = clik.newPhoto({"id":8254288,"src":"1_4_of_5_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254288.html","width":160,"caption":"","height":240});
															thumbnails[8254297] = clik.newPhoto({"id":8254297,"src":"Metropolis_2_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8254297.html","width":160,"caption":"","height":107});
															thumbnails[8265920] = clik.newPhoto({"id":8265920,"src":"2_1_of_1-7_thumb.jpg","galleries_id":440163,"server_id":18,"link":"photo_8265920.html","width":160,"caption":"","height":107});
															thumbnails[8369098] = clik.newPhoto({"id":8369098,"src":"symphonie_en_noir_et_blanc_1_of_1_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369098.html","width":160,"caption":"","height":240});
															thumbnails[8814177] = clik.newPhoto({"id":8814177,"src":"no_2_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8814177.html","width":160,"caption":"","height":240});
															thumbnails[5579614] = clik.newPhoto({"id":5579614,"src":"Temple_de_lAmour_32_of_36_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_5579614.html","width":130,"caption":"","height":201});
															thumbnails[8163913] = clik.newPhoto({"id":8163913,"src":"The_Beauty_Story_3_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163913.html","width":160,"caption":"","height":128});
															thumbnails[8369100] = clik.newPhoto({"id":8369100,"src":"symphonie_en_noir_et_blanc_8_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369100.html","width":160,"caption":"","height":240});
															thumbnails[8424430] = clik.newPhoto({"id":8424430,"src":"Metropolis_7_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8424430.html","width":160,"caption":"","height":128});
															thumbnails[8814178] = clik.newPhoto({"id":8814178,"src":"no_2_of_41_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8814178.html","width":160,"caption":"","height":207});
															thumbnails[4650101] = clik.newPhoto({"id":4650101,"src":"inventive_photography_7_of_5_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_4650101.html","width":130,"caption":"","height":185});
															thumbnails[8254291] = clik.newPhoto({"id":8254291,"src":"ac_1_of_1_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254291.html","width":160,"caption":"","height":240});
															thumbnails[8369095] = clik.newPhoto({"id":8369095,"src":"symphonie_en_noir_et_blanc_2_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369095.html","width":160,"caption":"","height":240});
															thumbnails[8424428] = clik.newPhoto({"id":8424428,"src":"Metropolis_8_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8424428.html","width":160,"caption":"","height":240});
															thumbnails[8814179] = clik.newPhoto({"id":8814179,"src":"no_5_of_7_thumb.jpg","galleries_id":463998,"server_id":18,"link":"photo_8814179.html","width":160,"caption":"","height":107});
															thumbnails[7493163] = clik.newPhoto({"id":7493163,"src":"FB_19_of_36_thumb.jpg","galleries_id":434366,"server_id":18,"link":"photo_7493163.html","width":160,"caption":"","height":240});
															thumbnails[8117539] = clik.newPhoto({"id":8117539,"src":"Juan_1_of_3_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8117539.html","width":160,"caption":"","height":240});
															thumbnails[8163915] = clik.newPhoto({"id":8163915,"src":"The_Beauty_Story_10_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163915.html","width":160,"caption":"","height":107});
															thumbnails[8254290] = clik.newPhoto({"id":8254290,"src":"d_1_of_1-7_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254290.html","width":160,"caption":"","height":107});
															thumbnails[8369101] = clik.newPhoto({"id":8369101,"src":"symphonie_en_noir_et_blanc_9_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369101.html","width":160,"caption":"","height":240});
															thumbnails[8424427] = clik.newPhoto({"id":8424427,"src":"Metropolis_3_of_9_thumb.jpg","galleries_id":439646,"server_id":18,"link":"photo_8424427.html","width":160,"caption":"","height":240});
															thumbnails[8163916] = clik.newPhoto({"id":8163916,"src":"The_Beauty_Story_12_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163916.html","width":160,"caption":"","height":200});
															thumbnails[8254284] = clik.newPhoto({"id":8254284,"src":"1_1_of_2_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254284.html","width":160,"caption":"","height":200});
															thumbnails[8369097] = clik.newPhoto({"id":8369097,"src":"symphonie_en_noir_et_blanc_6_of_10_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8369097.html","width":160,"caption":"","height":240});
															thumbnails[7462535] = clik.newPhoto({"id":7462535,"src":"2_1_of_1-3_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7462535.html","width":160,"caption":"","height":200});
															thumbnails[7493144] = clik.newPhoto({"id":7493144,"src":"FB_6_of_36_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7493144.html","width":160,"caption":"","height":104});
															thumbnails[8163917] = clik.newPhoto({"id":8163917,"src":"The_Beauty_Story_4_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163917.html","width":160,"caption":"","height":240});
															thumbnails[8373858] = clik.newPhoto({"id":8373858,"src":"symphonie_en_noir_et_blanc_1_of_1-2_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8373858.html","width":160,"caption":"","height":240});
															thumbnails[8521501] = clik.newPhoto({"id":8521501,"src":"d_1_of_1-6_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8521501.html","width":160,"caption":"","height":107});
															thumbnails[8163912] = clik.newPhoto({"id":8163912,"src":"The_Beauty_Story_5_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163912.html","width":160,"caption":"","height":128});
															thumbnails[8254289] = clik.newPhoto({"id":8254289,"src":"2_3_of_4_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8254289.html","width":160,"caption":"","height":240});
															thumbnails[8373864] = clik.newPhoto({"id":8373864,"src":"symphonie_en_noir_et_blanc_1_of_1-3_thumb.jpg","galleries_id":444153,"server_id":18,"link":"photo_8373864.html","width":160,"caption":"","height":240});
															thumbnails[8163919] = clik.newPhoto({"id":8163919,"src":"The_Beauty_Story_11_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163919.html","width":160,"caption":"","height":200});
															thumbnails[8521527] = clik.newPhoto({"id":8521527,"src":"d_1_of_11_thumb.jpg","galleries_id":439645,"server_id":18,"link":"photo_8521527.html","width":160,"caption":"","height":240});
															thumbnails[8163920] = clik.newPhoto({"id":8163920,"src":"The_Beauty_Story_2_of_14_thumb.jpg","galleries_id":436210,"server_id":18,"link":"photo_8163920.html","width":160,"caption":"","height":128});
															thumbnails[7402916] = clik.newPhoto({"id":7402916,"src":"d_1_of_1-12_thumb.jpg","galleries_id":434366,"server_id":18,"link":"photo_7402916.html","width":160,"caption":"","height":107});
															thumbnails[7402914] = clik.newPhoto({"id":7402914,"src":"2_1_of_1-2_A72568CF-24E8-5EC4-4F4CC66DA86AF8E7_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7402914.html","width":160,"caption":"","height":227});
															thumbnails[8521498] = clik.newPhoto({"id":8521498,"src":"d_1_of_1-11_thumb.jpg","galleries_id":434366,"server_id":18,"link":"photo_8521498.html","width":160,"caption":"","height":222});
															thumbnails[7126761] = clik.newPhoto({"id":7126761,"src":"Web_2011_4_of_9_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7126761.html","width":130,"caption":"","height":203});
															thumbnails[8811802] = clik.newPhoto({"id":8811802,"src":"ON_2_of_7_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8811802.html","width":160,"caption":"","height":107});
															thumbnails[4661413] = clik.newPhoto({"id":4661413,"src":"Maury_Photoshoot_II_071309_9_of_56_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_4661413.html","width":130,"caption":"","height":195});
															thumbnails[7493051] = clik.newPhoto({"id":7493051,"src":"FB_30_of_36_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7493051.html","width":160,"caption":"","height":230});
															thumbnails[8811807] = clik.newPhoto({"id":8811807,"src":"ON_7_of_7_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8811807.html","width":160,"caption":"","height":107});
															thumbnails[8265914] = clik.newPhoto({"id":8265914,"src":"k_1_of_1_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8265914.html","width":160,"caption":"","height":240});
															thumbnails[7573162] = clik.newPhoto({"id":7573162,"src":"alision_1_of_1-2_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_7573162.html","width":160,"caption":"","height":240});
															thumbnails[8117464] = clik.newPhoto({"id":8117464,"src":"anais_1_of_1_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8117464.html","width":160,"caption":"","height":246});
															thumbnails[8163922] = clik.newPhoto({"id":8163922,"src":"Lin_1_of_1_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8163922.html","width":160,"caption":"","height":240});
															thumbnails[8987746] = clik.newPhoto({"id":8987746,"src":"ashley_1_of_1_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8987746.html","width":160,"caption":"","height":120});
															thumbnails[9015032] = clik.newPhoto({"id":9015032,"src":"2012_2_of_21_thumb_E32D000F-24E8-5EC4-4F385DB0B7CDB7FE.jpg","galleries_id":440152,"server_id":18,"link":"photo_9015032.html","width":160,"caption":"","height":128});
															thumbnails[8521495] = clik.newPhoto({"id":8521495,"src":"d_1_of_1-8_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8521495.html","width":160,"caption":"","height":107});
															thumbnails[8254301] = clik.newPhoto({"id":8254301,"src":"2012_1_of_1-2_1_thumb.jpg","galleries_id":440152,"server_id":35,"link":"photo_8254301.html","width":160,"caption":"","height":200});
															thumbnails[8521499] = clik.newPhoto({"id":8521499,"src":"d_1_of_1-5_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_8521499.html","width":160,"caption":"","height":128});
															thumbnails[9087269] = clik.newPhoto({"id":9087269,"src":"2012_1_of_3_thumb.jpg","galleries_id":440152,"server_id":18,"link":"photo_9087269.html","width":160,"caption":"","height":240});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[444153] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"black and white symphony","link":"gallery_444153.html","maxRecords":0.0,"photoIDs":[8369093.0,8369099.0,8369094.0,8369096.0,8369102.0,8369098.0,8369100.0,8369095.0,8369101.0,8369097.0,8373858.0,8373864.0],"skipIndex":0,"section_code":"gallery","featured_images":"8369099,8369093","id":444153,"singleSection":false});				  						galleries[439644] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"fashion and beauty","link":"gallery_439644.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8369099,8369093,8254298,8254293,8254291,8254283,8163914,8163909,8163908,8163907,7493017,7493012,7492984,4650092","id":439644,"singleSection":false});				  						galleries[436210] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"makeup madness - the beauty story","link":"gallery_436210.html","maxRecords":0.0,"photoIDs":[8163907.0,8163908.0,8163909.0,8163914.0,8163910.0,8163913.0,8163915.0,8163916.0,8163917.0,8163912.0,8163919.0,8163920.0],"skipIndex":0,"section_code":"gallery","featured_images":"8163914,8163909,8163908,8163907","id":436210,"singleSection":false});				  						galleries[439645] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"unforgettable fire","link":"gallery_439645.html","maxRecords":0.0,"photoIDs":[8917923.0,9015029.0,8254283.0,8254285.0,8521500.0,8254286.0,8254287.0,8254288.0,8254291.0,8254290.0,8254284.0,8521501.0,8254289.0,8521527.0],"skipIndex":0,"section_code":"gallery","featured_images":"8254291,8254283","id":439645,"singleSection":false});				  						galleries[439646] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"metropolis","link":"gallery_439646.html","maxRecords":0.0,"photoIDs":[8254292.0,8254293.0,8254294.0,8254295.0,8254296.0,8254297.0,8424430.0,8424428.0,8424427.0],"skipIndex":0,"section_code":"gallery","featured_images":8254293.0,"id":439646,"singleSection":false});				  						galleries[440159] = clik.newGallery({"parentGallery":434430,"usePopups":true,"title":"shape and form","link":"gallery_440159.html","maxRecords":0.0,"photoIDs":[7302299.0,7296806.0,7537401.0,7493217.0],"skipIndex":0,"section_code":"gallery","featured_images":7296806.0,"id":440159,"singleSection":false});				  						galleries[440163] = clik.newGallery({"parentGallery":434430,"usePopups":true,"title":"fashion and minimalism","link":"gallery_440163.html","maxRecords":0.0,"photoIDs":[8265918.0,8265916.0,8265917.0,8265915.0,8265919.0,8265920.0],"skipIndex":0,"section_code":"gallery","featured_images":8265918.0,"id":440163,"singleSection":false});				  						galleries[434358] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"opium","link":"gallery_434358.html","maxRecords":0.0,"photoIDs":[7493017.0,7493072.0,7493012.0,7493167.0,7493177.0],"skipIndex":0,"section_code":"gallery","featured_images":"7493017,7493012","id":434358,"singleSection":false});				  						galleries[440152] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"portraiture","link":"gallery_440152.html","maxRecords":0.0,"photoIDs":[7493125.0,5151265.0,7493098.0,5579614.0,4650101.0,8117539.0,7462535.0,7493144.0,7402914.0,7126761.0,8811802.0,4661413.0,7493051.0,8811807.0,8265914.0,7573162.0,8117464.0,8163922.0,8987746.0,9015032.0,8521495.0,8254301.0,8521499.0,9087269.0],"skipIndex":0,"section_code":"gallery","featured_images":"8163922,8117539,7493144,7462535,5579614,5151265,4650101","id":440152,"singleSection":false});				  						galleries[439647] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"nuclear desert","link":"gallery_439647.html","maxRecords":0.0,"photoIDs":[8254299.0,8254298.0,8254300.0],"skipIndex":0,"section_code":"gallery","featured_images":8254298.0,"id":439647,"singleSection":false});				  						galleries[434430] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"personal projects","link":"gallery_434430.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8265918,7296806","id":434430,"singleSection":false});				  						galleries[434366] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"dollhouse","link":"gallery_434366.html","maxRecords":0.0,"photoIDs":[7492984.0,7493054.0,7493163.0,7402916.0,8521498.0],"skipIndex":0,"section_code":"gallery","featured_images":7492984.0,"id":434366,"singleSection":false});				  						galleries[463998] = clik.newGallery({"parentGallery":439644,"usePopups":true,"title":"vintage hollywood project","link":"gallery_463998.html","maxRecords":0.0,"photoIDs":[4650092.0,8811768.0,8811798.0,8814175.0,8814176.0,8814177.0,8814178.0,8814179.0],"skipIndex":0,"section_code":"gallery","featured_images":4650092.0,"id":463998,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8254291';
imageSets[2] = '8117645,8369093,8265918,8254283,8163907,8117653,7493017,7492984,4650092,8369099,8254303,8254298,8254293,8163908,7296806,8163909,8163914,7493012,5151265,5579614,8254291,4650101,8117539,7493144,7462535,8163922';
imageSets[3] = '9087269,9015032,9015029,8987746,8917923,8814179,8814178,8814177,8814176,8814175,8811807,8811802,8811798,8811768,8521527,8521501,8521500,8521499,8521498,8521495,8521494,8424430,8424428,8424427,8373864,8373858,8369102,8369101,8369100,8369099,8369098,8369097,8369096,8369095,8369094,8369093,8265920,8265919,8265918,8265917,8265916,8265915,8265914,8254303,8254301,8254300,8254299,8254298,8254297,8254296';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/NoirGrabek/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/NoirGrabek/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 = 'Kasia Grabek 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;
	}
}

			

