window.thumbnails = {};
															thumbnails[332093] = clik.newPhoto({"id":332093,"src":"girl-lying-versailles-res-B_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_332093.html","width":130,"caption":"","height":130});
															thumbnails[332103] = clik.newPhoto({"id":332103,"src":"paris-cafe-cp1_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_332103.html","width":130,"caption":"","height":130});
															thumbnails[332104] = clik.newPhoto({"id":332104,"src":"paris-street-BC_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_332104.html","width":130,"caption":"","height":130});
															thumbnails[332105] = clik.newPhoto({"id":332105,"src":"paris-woman-cafe-chairs-edi_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_332105.html","width":130,"caption":"","height":130});
															thumbnails[332112] = clik.newPhoto({"id":332112,"src":"woman-umbrella-paris-BC_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_332112.html","width":130,"caption":"","height":130});
															thumbnails[716959] = clik.newPhoto({"id":716959,"src":"table feet rain paris_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_716959.html","width":130,"caption":"","height":114});
															thumbnails[716980] = clik.newPhoto({"id":716980,"src":"girl cig cafe paris_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_716980.html","width":130,"caption":"","height":111});
															thumbnails[740485] = clik.newPhoto({"id":740485,"src":"girls reflects paris cafe no crop1_thumb.jpg","galleries_id":243688,"server_id":1,"link":"photo_740485.html","width":130,"caption":"","height":85});
															thumbnails[1472355] = clik.newPhoto({"id":1472355,"src":"girl-silhouette-arles_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_1472355.html","width":130,"caption":"","height":87});
															thumbnails[1676222] = clik.newPhoto({"id":1676222,"src":"couple-bus-stop1_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_1676222.html","width":130,"caption":"","height":87});
															thumbnails[1676238] = clik.newPhoto({"id":1676238,"src":"man-reflects-wall-blue_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_1676238.html","width":130,"caption":"","height":87});
															thumbnails[1676244] = clik.newPhoto({"id":1676244,"src":"red-manniquin-chelsea_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_1676244.html","width":130,"caption":"","height":85});
															thumbnails[1676245] = clik.newPhoto({"id":1676245,"src":"two-women-white-cap_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_1676245.html","width":130,"caption":"","height":87});
															thumbnails[2471322] = clik.newPhoto({"id":2471322,"src":"Avingnon-old-signage-plus-bottle_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471322.html","width":130,"caption":"","height":173});
															thumbnails[2471323] = clik.newPhoto({"id":2471323,"src":"girl-looks-cafe-arles_1_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471323.html","width":130,"caption":"","height":87});
															thumbnails[2471324] = clik.newPhoto({"id":2471324,"src":"girl-montpelier-plus-maillol_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471324.html","width":130,"caption":"","height":87});
															thumbnails[2471348] = clik.newPhoto({"id":2471348,"src":"woman-dog-balls-ceret_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471348.html","width":130,"caption":"","height":87});
															thumbnails[2471358] = clik.newPhoto({"id":2471358,"src":"skate-boarder-avignon-crop_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471358.html","width":130,"caption":"","height":113});
															thumbnails[2471365] = clik.newPhoto({"id":2471365,"src":"jeans-white-top-montpelier-plus-girl_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471365.html","width":130,"caption":"","height":87});
															thumbnails[2471367] = clik.newPhoto({"id":2471367,"src":"interior-restaurant_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471367.html","width":130,"caption":"","height":87});
															thumbnails[2471369] = clik.newPhoto({"id":2471369,"src":"glass-carafe-hand_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471369.html","width":130,"caption":"","height":87});
															thumbnails[2471376] = clik.newPhoto({"id":2471376,"src":"girl-mobile-montpelier-plus-girl-walking-blend1_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471376.html","width":130,"caption":"","height":87});
															thumbnails[2471847] = clik.newPhoto({"id":2471847,"src":"people-cafe-reflections-arles_thumb.jpg","galleries_id":243683,"server_id":1,"link":"photo_2471847.html","width":130,"caption":"","height":87});
															thumbnails[4053972] = clik.newPhoto({"id":4053972,"src":"3-girls-one-read-head2_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_4053972.html","width":130,"caption":"","height":87});
															thumbnails[4053978] = clik.newPhoto({"id":4053978,"src":"couples-on-tube-train_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_4053978.html","width":130,"caption":"","height":97});
															thumbnails[4053980] = clik.newPhoto({"id":4053980,"src":"fat-man-crossing-street-BW_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_4053980.html","width":130,"caption":"","height":119});
															thumbnails[4053992] = clik.newPhoto({"id":4053992,"src":"four-seats-on-tube-train_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_4053992.html","width":130,"caption":"","height":87});
															thumbnails[4053994] = clik.newPhoto({"id":4053994,"src":"girl-walk-taxi-plus-girl-cello_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_4053994.html","width":130,"caption":"","height":88});
															thumbnails[4054012] = clik.newPhoto({"id":4054012,"src":"two-girls-peekaboo_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_4054012.html","width":130,"caption":"","height":87});
															thumbnails[7139910] = clik.newPhoto({"id":7139910,"src":"girl_mobile_look_direct_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139910.html","width":130,"caption":"","height":87});
															thumbnails[7139912] = clik.newPhoto({"id":7139912,"src":"girl_walk_taxi_plus_girl_cello-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139912.html","width":130,"caption":"","height":88});
															thumbnails[7139914] = clik.newPhoto({"id":7139914,"src":"little_guy_heels_advert_crop2-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139914.html","width":130,"caption":"","height":92});
															thumbnails[7139915] = clik.newPhoto({"id":7139915,"src":"lyoyds_woman_smoking-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139915.html","width":130,"caption":"","height":87});
															thumbnails[7139916] = clik.newPhoto({"id":7139916,"src":"man_advert_woman_walking_on_1-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139916.html","width":130,"caption":"","height":87});
															thumbnails[7139918] = clik.newPhoto({"id":7139918,"src":"many_people_looking_up-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139918.html","width":130,"caption":"","height":87});
															thumbnails[7286042] = clik.newPhoto({"id":7286042,"src":"Kate1_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7286042.html","width":130,"caption":"","height":157});
															thumbnails[7286043] = clik.newPhoto({"id":7286043,"src":"Kate2_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7286043.html","width":130,"caption":"","height":91});
															thumbnails[7286044] = clik.newPhoto({"id":7286044,"src":"Kate3_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7286044.html","width":130,"caption":"","height":105});
															thumbnails[7295387] = clik.newPhoto({"id":7295387,"src":"band_trio_BW_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7295387.html","width":130,"caption":"","height":91});
															thumbnails[7295397] = clik.newPhoto({"id":7295397,"src":"johny_1_BW_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7295397.html","width":130,"caption":"","height":87});
															thumbnails[7295410] = clik.newPhoto({"id":7295410,"src":"DAN3_BW_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7295410.html","width":130,"caption":"","height":97});
															thumbnails[7295430] = clik.newPhoto({"id":7295430,"src":"DAN7_BW_thumb.jpg","galleries_id":243686,"server_id":1,"link":"photo_7295430.html","width":130,"caption":"","height":99});
															thumbnails[7366080] = clik.newPhoto({"id":7366080,"src":"southwark_wet_night_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_7366080.html","width":130,"caption":"","height":92});
															thumbnails[8611143] = clik.newPhoto({"id":8611143,"src":"2_girls_road_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611143.html","width":130,"caption":"","height":87});
															thumbnails[8611144] = clik.newPhoto({"id":8611144,"src":"2_men_car_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611144.html","width":130,"caption":"","height":87});
															thumbnails[8611146] = clik.newPhoto({"id":8611146,"src":"3_pink_T_shirts_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611146.html","width":130,"caption":"","height":87});
															thumbnails[8611147] = clik.newPhoto({"id":8611147,"src":"3_soldiers_march_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611147.html","width":130,"caption":"","height":87});
															thumbnails[8611150] = clik.newPhoto({"id":8611150,"src":"cherry_blossom_car_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611150.html","width":130,"caption":"","height":87});
															thumbnails[8611152] = clik.newPhoto({"id":8611152,"src":"couple_in_circle_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611152.html","width":130,"caption":"","height":87});
															thumbnails[8611153] = clik.newPhoto({"id":8611153,"src":"couple_lake_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611153.html","width":130,"caption":"","height":87});
															thumbnails[8611155] = clik.newPhoto({"id":8611155,"src":"dentist_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611155.html","width":130,"caption":"","height":87});
															thumbnails[8611156] = clik.newPhoto({"id":8611156,"src":"girl_mannequin_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611156.html","width":130,"caption":"","height":87});
															thumbnails[8611158] = clik.newPhoto({"id":8611158,"src":"girl_metal_worker_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611158.html","width":130,"caption":"","height":87});
															thumbnails[8611159] = clik.newPhoto({"id":8611159,"src":"girls_sell_pants_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611159.html","width":130,"caption":"","height":87});
															thumbnails[8611160] = clik.newPhoto({"id":8611160,"src":"Guillin_boy_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611160.html","width":130,"caption":"","height":87});
															thumbnails[8611161] = clik.newPhoto({"id":8611161,"src":"IMG_8535_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611161.html","width":130,"caption":"","height":87});
															thumbnails[8611163] = clik.newPhoto({"id":8611163,"src":"IMG_8663_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611163.html","width":130,"caption":"","height":87});
															thumbnails[8611164] = clik.newPhoto({"id":8611164,"src":"kids_panda_look_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611164.html","width":130,"caption":"","height":87});
															thumbnails[8611166] = clik.newPhoto({"id":8611166,"src":"kite_eyes_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611166.html","width":130,"caption":"","height":87});
															thumbnails[8611167] = clik.newPhoto({"id":8611167,"src":"line_of_kids_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611167.html","width":130,"caption":"","height":87});
															thumbnails[8611168] = clik.newPhoto({"id":8611168,"src":"man_in_bus_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611168.html","width":130,"caption":"","height":87});
															thumbnails[8611170] = clik.newPhoto({"id":8611170,"src":"muslim_market_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611170.html","width":130,"caption":"","height":87});
															thumbnails[8611171] = clik.newPhoto({"id":8611171,"src":"old_lady_tooth_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611171.html","width":130,"caption":"","height":87});
															thumbnails[8611172] = clik.newPhoto({"id":8611172,"src":"pattern_with_hair_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611172.html","width":130,"caption":"","height":195});
															thumbnails[8611178] = clik.newPhoto({"id":8611178,"src":"pavement_eating_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611178.html","width":130,"caption":"","height":87});
															thumbnails[8611179] = clik.newPhoto({"id":8611179,"src":"red_caps_line_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611179.html","width":130,"caption":"","height":87});
															thumbnails[8611180] = clik.newPhoto({"id":8611180,"src":"red_caps_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611180.html","width":130,"caption":"","height":87});
															thumbnails[8611182] = clik.newPhoto({"id":8611182,"src":"steaming_wok_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611182.html","width":130,"caption":"","height":87});
															thumbnails[8611183] = clik.newPhoto({"id":8611183,"src":"three_men_bike_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611183.html","width":130,"caption":"","height":87});
															thumbnails[8611184] = clik.newPhoto({"id":8611184,"src":"wheel_and_circles_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611184.html","width":130,"caption":"","height":87});
															thumbnails[8611185] = clik.newPhoto({"id":8611185,"src":"woman_eating_street_thumb.jpg","galleries_id":455220,"server_id":1,"link":"photo_8611185.html","width":130,"caption":"","height":87});
															thumbnails[8904611] = clik.newPhoto({"id":8904611,"src":"girl_red_jacket_final_edit_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904611.html","width":130,"caption":"","height":87});
															thumbnails[8904772] = clik.newPhoto({"id":8904772,"src":"Afro-carribean_man_Balham_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904772.html","width":130,"caption":"","height":87});
															thumbnails[8904774] = clik.newPhoto({"id":8904774,"src":"man_hand2_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904774.html","width":130,"caption":"","height":87});
															thumbnails[8904777] = clik.newPhoto({"id":8904777,"src":"man_profile_nose_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904777.html","width":130,"caption":"","height":87});
															thumbnails[8904779] = clik.newPhoto({"id":8904779,"src":"woman_close_eye_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904779.html","width":130,"caption":"","height":87});
															thumbnails[8904780] = clik.newPhoto({"id":8904780,"src":"woman_reading_underground_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904780.html","width":130,"caption":"","height":195});
															thumbnails[8904782] = clik.newPhoto({"id":8904782,"src":"woman_umbrella_raindrops_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904782.html","width":130,"caption":"","height":87});
															thumbnails[8904783] = clik.newPhoto({"id":8904783,"src":"woman_wheelie_man_edit_thumb.jpg","galleries_id":468254,"server_id":1,"link":"photo_8904783.html","width":130,"caption":"","height":87});
															thumbnails[7593020] = clik.newPhoto({"id":7593020,"src":"waiting_bus_chelsea_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593020.html","width":130,"caption":"","height":87});
															thumbnails[8904786] = clik.newPhoto({"id":8904786,"src":"faling_leaf4_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8904786.html","width":130,"caption":"","height":93});
															thumbnails[7592998] = clik.newPhoto({"id":7592998,"src":"eye_patch_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7592998.html","width":130,"caption":"","height":87});
															thumbnails[8904785] = clik.newPhoto({"id":8904785,"src":"complex_ambiguity_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8904785.html","width":130,"caption":"","height":87});
															thumbnails[7593022] = clik.newPhoto({"id":7593022,"src":"woman_monsoon_bag_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593022.html","width":130,"caption":"","height":87});
															thumbnails[7593001] = clik.newPhoto({"id":7593001,"src":"girl_bike_helmet_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593001.html","width":130,"caption":"","height":87});
															thumbnails[8600807] = clik.newPhoto({"id":8600807,"src":"youth_leaning_poster_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600807.html","width":130,"caption":"","height":87});
															thumbnails[7593004] = clik.newPhoto({"id":7593004,"src":"girls_mobile_phone_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593004.html","width":130,"caption":"","height":87});
															thumbnails[7593065] = clik.newPhoto({"id":7593065,"src":"three_women_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593065.html","width":130,"caption":"","height":87});
															thumbnails[8600805] = clik.newPhoto({"id":8600805,"src":"woman_chelsea_bus_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600805.html","width":130,"caption":"","height":94});
															thumbnails[499586] = clik.newPhoto({"id":499586,"src":"man-umbrella-cig_thumb.jpg","galleries_id":243685,"server_id":1,"link":"photo_499586.html","width":130,"caption":"","height":84});
															thumbnails[7593007] = clik.newPhoto({"id":7593007,"src":"man_woman_timetable_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593007.html","width":130,"caption":"","height":87});
															thumbnails[8600799] = clik.newPhoto({"id":8600799,"src":"man_jeans_ads_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600799.html","width":130,"caption":"","height":87});
															thumbnails[7139921] = clik.newPhoto({"id":7139921,"src":"two_girls_peekaboo-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7139921.html","width":130,"caption":"","height":87});
															thumbnails[7592986] = clik.newPhoto({"id":7592986,"src":"2_red_coats_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7592986.html","width":130,"caption":"","height":87});
															thumbnails[8600797] = clik.newPhoto({"id":8600797,"src":"lurid_pink_flags_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600797.html","width":130,"caption":"","height":87});
															thumbnails[7593002] = clik.newPhoto({"id":7593002,"src":"girl_pensive2_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593002.html","width":130,"caption":"","height":87});
															thumbnails[8600795] = clik.newPhoto({"id":8600795,"src":"Gucci_two_ladies_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600795.html","width":130,"caption":"","height":97});
															thumbnails[7592995] = clik.newPhoto({"id":7592995,"src":"blonde_girl_look_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7592995.html","width":130,"caption":"","height":87});
															thumbnails[8600792] = clik.newPhoto({"id":8600792,"src":"couple_wigmore_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600792.html","width":130,"caption":"","height":87});
															thumbnails[7140771] = clik.newPhoto({"id":7140771,"src":"red_hat_man_advert_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7140771.html","width":130,"caption":"","height":108});
															thumbnails[7593067] = clik.newPhoto({"id":7593067,"src":"woman_hand_out1_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593067.html","width":130,"caption":"","height":87});
															thumbnails[8600790] = clik.newPhoto({"id":8600790,"src":"blue_jeans2_pe-2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600790.html","width":130,"caption":"","height":93});
															thumbnails[7593000] = clik.newPhoto({"id":7593000,"src":"family_group_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593000.html","width":130,"caption":"","height":87});
															thumbnails[8600788] = clik.newPhoto({"id":8600788,"src":"bike_moving_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600788.html","width":130,"caption":"","height":87});
															thumbnails[7593016] = clik.newPhoto({"id":7593016,"src":"waiting_bus_battersea_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593016.html","width":130,"caption":"","height":87});
															thumbnails[8600785] = clik.newPhoto({"id":8600785,"src":"bad_weather_read_umbrella2_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_8600785.html","width":130,"caption":"","height":101});
															thumbnails[7366088] = clik.newPhoto({"id":7366088,"src":"bad_weather_for_4_tourists_thumb.jpg","galleries_id":385960,"server_id":1,"link":"photo_7366088.html","width":130,"caption":"","height":87});
															thumbnails[7592992] = clik.newPhoto({"id":7592992,"src":"4_people_lady_hat_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7592992.html","width":130,"caption":"","height":87});
															thumbnails[7592990] = clik.newPhoto({"id":7592990,"src":"3_waiting_bus_fingers_battersea_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7592990.html","width":130,"caption":"","height":87});
															thumbnails[7593011] = clik.newPhoto({"id":7593011,"src":"two_girls_lolly_pops_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593011.html","width":130,"caption":"","height":87});
															thumbnails[7593010] = clik.newPhoto({"id":7593010,"src":"red_hair_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593010.html","width":130,"caption":"","height":87});
															thumbnails[7593014] = clik.newPhoto({"id":7593014,"src":"two_ladies_wheelie_baskets_thumb.jpg","galleries_id":411724,"server_id":1,"link":"photo_7593014.html","width":130,"caption":"","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[385960] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"BEST NEW WORK","link":"section295986_385960.html","maxRecords":0.0,"photoIDs":[7139910.0,7139912.0,7139914.0,7139915.0,7139916.0,7139918.0,8904786.0,8904785.0,8600807.0,8600805.0,8600799.0,7139921.0,8600797.0,8600795.0,8600792.0,7140771.0,8600790.0,8600788.0,8600785.0,7366088.0],"skipIndex":0,"section_code":"section295986","featured_images":"8904786,8904785,8600807,8600805,8600799,8600797,8600795,8600792,8600790,8600788","id":385960,"singleSection":false});				  						galleries[468254] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"BALHAM","link":"section295986_468254.html","maxRecords":0.0,"photoIDs":[8904611.0,8904772.0,8904774.0,8904777.0,8904779.0,8904780.0,8904782.0,8904783.0],"skipIndex":0,"section_code":"section295986","featured_images":"8904783,8904782,8904780,8904779,8904777,8904774,8904772,8904611","id":468254,"singleSection":false});				  						galleries[411724] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"A Bus Travels from Chelsea to Battersea","link":"section295986_411724.html","maxRecords":0.0,"photoIDs":[7593020.0,7592998.0,7593022.0,7593001.0,7593004.0,7593065.0,7593007.0,7592986.0,7593002.0,7592995.0,7593067.0,7593000.0,7593016.0,7592992.0,7592990.0,7593011.0,7593010.0,7593014.0],"skipIndex":0,"section_code":"section295986","featured_images":"7593067,7593065,7593022,7593020,7593016,7593014,7593011,7593010,7593007,7593004","id":411724,"singleSection":false});				  						galleries[455220] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"CHINA 2011","link":"section295986_455220.html","maxRecords":0.0,"photoIDs":[8611143.0,8611144.0,8611146.0,8611147.0,8611150.0,8611152.0,8611153.0,8611155.0,8611156.0,8611158.0,8611159.0,8611160.0,8611161.0,8611163.0,8611164.0,8611166.0,8611167.0,8611168.0,8611170.0,8611171.0,8611172.0,8611178.0,8611179.0,8611180.0,8611182.0,8611183.0,8611184.0,8611185.0],"skipIndex":0,"section_code":"section295986","featured_images":"8611185,8611184,8611183,8611182,8611180,8611179,8611178,8611172,8611171,8611170","id":455220,"singleSection":false});				  						galleries[243688] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PARIS","link":"section295986_243688.html","maxRecords":0.0,"photoIDs":[332093.0,332103.0,332104.0,332105.0,332112.0,716959.0,716980.0,740485.0],"skipIndex":0,"section_code":"section295986","featured_images":"740485,716980,716959,332112,332105,332104,332103,332093","id":243688,"singleSection":false});				  						galleries[243685] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"LONDON","link":"section295986_243685.html","maxRecords":0.0,"photoIDs":[1676222.0,1676238.0,1676244.0,1676245.0,4053972.0,4053978.0,4053980.0,4053992.0,4053994.0,4054012.0,7366080.0,499586.0],"skipIndex":0,"section_code":"section295986","featured_images":"7366080,4054012,4053994,4053992,4053980,4053978,4053972,1676245,1676244,1676238","id":243685,"singleSection":false});				  						galleries[243683] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"SOUTH OF FRANCE","link":"section295986_243683.html","maxRecords":0.0,"photoIDs":[1472355.0,2471322.0,2471323.0,2471324.0,2471348.0,2471358.0,2471365.0,2471367.0,2471369.0,2471376.0,2471847.0],"skipIndex":0,"section_code":"section295986","featured_images":"2471847,2471376,2471369,2471367,2471365,2471358,2471348,2471324,2471323,2471322","id":243683,"singleSection":false});				  						galleries[243686] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PORTRAITS","link":"section295986_243686.html","maxRecords":0.0,"photoIDs":[7286042.0,7286043.0,7286044.0,7295387.0,7295397.0,7295410.0,7295430.0],"skipIndex":0,"section_code":"section295986","featured_images":"7295430,7295410,7295397,7295387,7286044,7286043,7286042","id":243686,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8904611,8611172,7139918,7139915,4053994,4053992,4053972,2471348,2471323,740485,8904786,7593020,8904785,8600805,8600799,8600797,8600795,8600790,7140771,8600785';
imageSets[3] = '4053994,2471348,8600799,8600797,8600795,8600790,8600785';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/richardstern/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/richardstern/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/richardstern/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/richardstern/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/richardstern/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/richardstern/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/richardstern/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/richardstern/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 += 'section295986.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 && 'section295986' != '') {
					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 = 'Richard Stern 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;
	}
}

			

