window.thumbnails = {};
															thumbnails[6363577] = clik.newPhoto({"id":6363577,"src":"NASS_0052_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6363577.html","width":87,"caption":"NASS _0052","height":130});
															thumbnails[6363578] = clik.newPhoto({"id":6363578,"src":"NASS_0074_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6363578.html","width":87,"caption":"NASS_0074","height":130});
															thumbnails[6363580] = clik.newPhoto({"id":6363580,"src":"NAS_0118_copy_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6363580.html","width":87,"caption":"NASS_0118","height":130});
															thumbnails[6363582] = clik.newPhoto({"id":6363582,"src":"NASS_2010_0125_by_Francis_Street_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6363582.html","width":87,"caption":"NASS_0125","height":130});
															thumbnails[6363597] = clik.newPhoto({"id":6363597,"src":"NASS_0187_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6363597.html","width":130,"caption":"NASS_0187","height":87});
															thumbnails[6434703] = clik.newPhoto({"id":6434703,"src":"NASS_0037_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6434703.html","width":87,"caption":"NASS_0037","height":130});
															thumbnails[6434704] = clik.newPhoto({"id":6434704,"src":"NASS_2010_0123_by_Francis_Street_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6434704.html","width":87,"caption":"NASS_0123","height":130});
															thumbnails[6434715] = clik.newPhoto({"id":6434715,"src":"NASS_0177_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6434715.html","width":130,"caption":"NASS_0177","height":87});
															thumbnails[6434716] = clik.newPhoto({"id":6434716,"src":"NASS_0156_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6434716.html","width":130,"caption":"NASS_0156","height":87});
															thumbnails[6434717] = clik.newPhoto({"id":6434717,"src":"NASS_0150_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_6434717.html","width":130,"caption":"NASS_0150","height":87});
															thumbnails[5171545] = clik.newPhoto({"id":5171545,"src":"Airborne_bullfighter_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5171545.html","width":87,"caption":"Airborne matador","height":130});
															thumbnails[5171550] = clik.newPhoto({"id":5171550,"src":"Junior_matadors_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5171550.html","width":87,"caption":"Junior matadors","height":130});
															thumbnails[5171561] = clik.newPhoto({"id":5171561,"src":"Bush_Cricket_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5171561.html","width":130,"caption":"Bush Cricket","height":87});
															thumbnails[5171575] = clik.newPhoto({"id":5171575,"src":"Bristol_bridge_and_St_Mary-le-Port_tower_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5171575.html","width":87,"caption":"Bristol bridge and St Mary-le-Port tower","height":130});
															thumbnails[5171581] = clik.newPhoto({"id":5171581,"src":"Park_Street_0024_copy_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5171581.html","width":87,"caption":"Park Street_portrait HDR","height":130});
															thumbnails[5216818] = clik.newPhoto({"id":5216818,"src":"Stratford-upon-avon_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5216818.html","width":87,"caption":"Stratford-upon-avon","height":130});
															thumbnails[5216823] = clik.newPhoto({"id":5216823,"src":"Tower_bridge_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5216823.html","width":87,"caption":"Tower bridge","height":130});
															thumbnails[5265174] = clik.newPhoto({"id":5265174,"src":"Three_lamps_on_Westminster_bridge_view_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5265174.html","width":87,"caption":"Three lamps on Westminster bridge view","height":130});
															thumbnails[5731299] = clik.newPhoto({"id":5731299,"src":"Boxer_dog_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5731299.html","width":130,"caption":"Boxer dog","height":87});
															thumbnails[5731300] = clik.newPhoto({"id":5731300,"src":"One_for_the_pot_copy_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_5731300.html","width":87,"caption":"One for the pot","height":130});
															thumbnails[7552255] = clik.newPhoto({"id":7552255,"src":"Carta_Roja_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_7552255.html","width":87,"caption":"Carta Roja","height":130});
															thumbnails[7562765] = clik.newPhoto({"id":7562765,"src":"Salomon_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_7562765.html","width":130,"caption":"Salomon","height":87});
															thumbnails[7569248] = clik.newPhoto({"id":7569248,"src":"Kaia_copy_thumb.jpg","galleries_id":340029,"server_id":5,"link":"photo_7569248.html","width":87,"caption":"Kaia","height":130});
															thumbnails[7569251] = clik.newPhoto({"id":7569251,"src":"Sally_thumb.jpg","galleries_id":340029,"server_id":5,"link":"photo_7569251.html","width":87,"caption":"Sally","height":130});
															thumbnails[7570417] = clik.newPhoto({"id":7570417,"src":"Ben_copy1_thumb.jpg","galleries_id":410563,"server_id":5,"link":"photo_7570417.html","width":87,"caption":"Ben_Mountain BMX","height":130});
															thumbnails[7571061] = clik.newPhoto({"id":7571061,"src":"NASS_2010_0077_by_Francis_Street_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_7571061.html","width":87,"caption":"NASS 2010_0077","height":130});
															thumbnails[7571076] = clik.newPhoto({"id":7571076,"src":"NASS_2010_0083_by_Francis_Street_thumb.jpg","galleries_id":330031,"server_id":5,"link":"photo_7571076.html","width":87,"caption":"NASS 2010_0083","height":130});
															thumbnails[7571455] = clik.newPhoto({"id":7571455,"src":"Tilly_watermark_thumb.jpg","galleries_id":340029,"server_id":5,"link":"photo_7571455.html","width":130,"caption":"Tilly","height":87});
															thumbnails[7580879] = clik.newPhoto({"id":7580879,"src":"Scooter_dude_alt_copy_thumb.jpg","galleries_id":410563,"server_id":5,"link":"photo_7580879.html","width":87,"caption":"AKA Hitman_Scooter","height":130});
															thumbnails[7864592] = clik.newPhoto({"id":7864592,"src":"MH04_thumb.jpg","galleries_id":410563,"server_id":5,"link":"photo_7864592.html","width":87,"caption":"Matti Hemmings_Flatland BMX","height":130});
															thumbnails[7906907] = clik.newPhoto({"id":7906907,"src":"Disabled_car1_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_7906907.html","width":130,"caption":"Disabled car","height":87});
															thumbnails[7945411] = clik.newPhoto({"id":7945411,"src":"Tibor_Jonas_021_thumb.jpg","galleries_id":410563,"server_id":5,"link":"photo_7945411.html","width":87,"caption":"Tibor Jonas_Skateboarder","height":130});
															thumbnails[8521472] = clik.newPhoto({"id":8521472,"src":"Park_Street_0043_night_landscape_thumb.jpg","galleries_id":289157,"server_id":5,"link":"photo_8521472.html","width":130,"caption":"Park Street_landscape HDR","height":87});
															thumbnails[8567866] = clik.newPhoto({"id":8567866,"src":"Mayko_bmx_flatlander_thumb.jpg","galleries_id":410563,"server_id":5,"link":"photo_8567866.html","width":87,"caption":"Mayko_Flatlander BMX","height":130});
															thumbnails[8877832] = clik.newPhoto({"id":8877832,"src":"Kyle2_thumb.jpg","galleries_id":410563,"server_id":5,"link":"photo_8877832.html","width":87,"caption":"Kyle_BMX","height":130});
															thumbnails[8333102] = clik.newPhoto({"id":8333102,"src":"SNE_2011_009_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333102.html","width":87,"caption":"See no Evil 2011","height":130});
															thumbnails[8333140] = clik.newPhoto({"id":8333140,"src":"SNE_2011_001_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333140.html","width":87,"caption":"See no Evil 2011","height":130});
															thumbnails[8333174] = clik.newPhoto({"id":8333174,"src":"SNE_2011_010_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333174.html","width":130,"caption":"See no Evil 2011","height":87});
															thumbnails[8333219] = clik.newPhoto({"id":8333219,"src":"SNE_2011_011B_copy12_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333219.html","width":130,"caption":"See no Evil 2011","height":87});
															thumbnails[8333231] = clik.newPhoto({"id":8333231,"src":"SNE_2011_015_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333231.html","width":87,"caption":"See no Evil 2011","height":130});
															thumbnails[8333237] = clik.newPhoto({"id":8333237,"src":"SNE_2011_018_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333237.html","width":130,"caption":"See no Evil 2011","height":87});
															thumbnails[5812468] = clik.newPhoto({"id":5812468,"src":"BR_v_Brentford_0121_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5812468.html","width":130,"caption":"Bristol Rovers v Brentford 0121","height":87});
															thumbnails[8333263] = clik.newPhoto({"id":8333263,"src":"SNE_2011_020_thumb.jpg","galleries_id":442968,"server_id":5,"link":"photo_8333263.html","width":130,"caption":"See no Evil 2011","height":87});
															thumbnails[5812469] = clik.newPhoto({"id":5812469,"src":"BR_v_Brentford_0130_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5812469.html","width":87,"caption":"Bristol Rovers v Brentford 0130","height":130});
															thumbnails[5786288] = clik.newPhoto({"id":5786288,"src":"BRH_0546_A1_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5786288.html","width":87,"caption":"Bristol Rovers v Tranmere Rovers 0546","height":130});
															thumbnails[5833355] = clik.newPhoto({"id":5833355,"src":"Bristol_Rovers_v_Tranmere_Rovers_01241_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5833355.html","width":130,"caption":"Bristol Rovers v Tranmere Rovers 0124","height":87});
															thumbnails[5598495] = clik.newPhoto({"id":5598495,"src":"Mika_and_the_inflatable_stiletto_shoe_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598495.html","width":130,"caption":"Mika 0023","height":87});
															thumbnails[5808834] = clik.newPhoto({"id":5808834,"src":"Beyond_Paradise_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_5808834.html","width":87,"caption":"Beyond paradise","height":130});
															thumbnails[5636727] = clik.newPhoto({"id":5636727,"src":"BRH_0191_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5636727.html","width":87,"caption":"Bristol Rovers v Tranmere Rovers 0191","height":130});
															thumbnails[5598533] = clik.newPhoto({"id":5598533,"src":"Mika_full_height_stage_shot_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598533.html","width":130,"caption":"Mika 0042","height":87});
															thumbnails[6052352] = clik.newPhoto({"id":6052352,"src":"0042_Alexxsia_Elizabeth_copy_thumb.jpg","galleries_id":340029,"server_id":5,"link":"photo_6052352.html","width":87,"caption":"0042 Alexxsia Elizabeth","height":130});
															thumbnails[5833364] = clik.newPhoto({"id":5833364,"src":"Bristol_Rovers_v_Tranmere_Rovers_0401_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5833364.html","width":87,"caption":"Bristol Rovers v Tranmere Rovers 0401","height":130});
															thumbnails[5598560] = clik.newPhoto({"id":5598560,"src":"Mika_laid_back_on_piano_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598560.html","width":130,"caption":"Mika 0060","height":87});
															thumbnails[6052385] = clik.newPhoto({"id":6052385,"src":"0200_Jessie_Potter_copy_thumb.jpg","galleries_id":340029,"server_id":5,"link":"photo_6052385.html","width":87,"caption":"0200 Jessie Potter ","height":130});
															thumbnails[6052396] = clik.newPhoto({"id":6052396,"src":"0253_Oana_Balan_copy_thumb.jpg","galleries_id":340029,"server_id":5,"link":"photo_6052396.html","width":87,"caption":"0253 Oana Balan","height":130});
															thumbnails[5636734] = clik.newPhoto({"id":5636734,"src":"BRH_0552_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5636734.html","width":130,"caption":"Bristol Rovers v Tranmere Rovers 0552","height":87});
															thumbnails[5598590] = clik.newPhoto({"id":5598590,"src":"Mika_sat_on_stage_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598590.html","width":87,"caption":"Mika 0089","height":130});
															thumbnails[5799932] = clik.newPhoto({"id":5799932,"src":"BRH_0258_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5799932.html","width":87,"caption":"Bristol Rovers v Tranmere Rovers 0258","height":130});
															thumbnails[5598607] = clik.newPhoto({"id":5598607,"src":"Mika_wide_stage_shot_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598607.html","width":130,"caption":"Mika 0035","height":87});
															thumbnails[5265179] = clik.newPhoto({"id":5265179,"src":"Arrested_at_Bristol_City_v_Doncaster_Rovers_thumb.jpg","galleries_id":288891,"server_id":5,"link":"photo_5265179.html","width":130,"caption":"Arrested at Bristol City v Doncaster Rovers","height":98});
															thumbnails[5620135] = clik.newPhoto({"id":5620135,"src":"PA0014_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5620135.html","width":87,"caption":"Peter Andre 0014","height":130});
															thumbnails[5620137] = clik.newPhoto({"id":5620137,"src":"PA0043_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5620137.html","width":87,"caption":"Peter Andre 0043","height":130});
															thumbnails[5620139] = clik.newPhoto({"id":5620139,"src":"PA0056_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5620139.html","width":130,"caption":"Peter Andre 0056","height":87});
															thumbnails[5424993] = clik.newPhoto({"id":5424993,"src":"Underwater_RCV_1_12_scale_copy_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_5424993.html","width":130,"caption":"Underwater RCV 1\/12 scale","height":98});
															thumbnails[5620140] = clik.newPhoto({"id":5620140,"src":"PA0075_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5620140.html","width":130,"caption":"Peter Andre 0075","height":87});
															thumbnails[5620141] = clik.newPhoto({"id":5620141,"src":"PA0078_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5620141.html","width":130,"caption":"Peter Andre 0078","height":87});
															thumbnails[8932221] = clik.newPhoto({"id":8932221,"src":"Gaz_Brookfield_0208_0163C869-24E8-5EC4-4FC467A2DA7E59EB_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932221.html","width":87,"caption":"Gaz Brookfield 0208","height":130});
															thumbnails[8932227] = clik.newPhoto({"id":8932227,"src":"Gaz_Brookfield_0227_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932227.html","width":130,"caption":"Gaz Brookfield 0227","height":87});
															thumbnails[8932234] = clik.newPhoto({"id":8932234,"src":"Gaz_Brookfield_0235_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932234.html","width":87,"caption":"Gaz Brookfield 0235","height":130});
															thumbnails[8932246] = clik.newPhoto({"id":8932246,"src":"Gaz_Brookfield_0264_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932246.html","width":130,"caption":"Gaz Brookfield 0264","height":87});
															thumbnails[8932260] = clik.newPhoto({"id":8932260,"src":"The_Flamenco_Thief_0011_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932260.html","width":87,"caption":"The Flamenco Thief 0011","height":130});
															thumbnails[8932266] = clik.newPhoto({"id":8932266,"src":"The_Flamenco_Thief_0012_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932266.html","width":130,"caption":"The Flamenco Thief 0012","height":87});
															thumbnails[8932275] = clik.newPhoto({"id":8932275,"src":"The_Flamenco_Thief_0030_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932275.html","width":130,"caption":"The Flamenco Thief with Jade Morris on Violin 0030","height":87});
															thumbnails[8932283] = clik.newPhoto({"id":8932283,"src":"The_Flamenco_Thief_0037_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932283.html","width":87,"caption":"The Flamenco Thief with Jade Morris on Violin0037","height":130});
															thumbnails[5424913] = clik.newPhoto({"id":5424913,"src":"Edel_Cacao_copy1_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_5424913.html","width":130,"caption":"Edel cacao","height":98});
															thumbnails[8932294] = clik.newPhoto({"id":8932294,"src":"Ryan_Inglis_0087_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932294.html","width":87,"caption":"Ryan Inglis 0087","height":130});
															thumbnails[8932298] = clik.newPhoto({"id":8932298,"src":"Ryan_Inglis_0090_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932298.html","width":130,"caption":"Ryan Inglis 0090","height":87});
															thumbnails[8932299] = clik.newPhoto({"id":8932299,"src":"Ryan_Inglis_0102_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932299.html","width":87,"caption":"Ryan Inglis 0097","height":130});
															thumbnails[8932305] = clik.newPhoto({"id":8932305,"src":"Ryan_Inglis_01021_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932305.html","width":87,"caption":"Ryan Inglis 0102","height":130});
															thumbnails[8932311] = clik.newPhoto({"id":8932311,"src":"Sam_Eason_0139_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932311.html","width":87,"caption":"Sam Eason 0139","height":130});
															thumbnails[8932312] = clik.newPhoto({"id":8932312,"src":"Sam_Eason_0142_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932312.html","width":87,"caption":"Liam Rodda Bassist - Sam Eason 0142","height":130});
															thumbnails[8932313] = clik.newPhoto({"id":8932313,"src":"Sam_Eason_0145_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932313.html","width":130,"caption":"Tom Turner Drummer - Sam Eason 0145","height":87});
															thumbnails[8932321] = clik.newPhoto({"id":8932321,"src":"Sam_Eason_0154_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8932321.html","width":87,"caption":"Sam Eason with Beth Eason 0154","height":130});
															thumbnails[7254746] = clik.newPhoto({"id":7254746,"src":"Toast_n_Jam_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_7254746.html","width":130,"caption":"Toast & jam","height":87});
															thumbnails[5598686] = clik.newPhoto({"id":5598686,"src":"Bros_London_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598686.html","width":130,"caption":"Bros","height":87});
															thumbnails[5739568] = clik.newPhoto({"id":5739568,"src":"Depeche_Mode_B27_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5739568.html","width":130,"caption":"Depeche Mode B27","height":87});
															thumbnails[7254740] = clik.newPhoto({"id":7254740,"src":"Wine_splash_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_7254740.html","width":87,"caption":"Wine splash","height":130});
															thumbnails[5598649] = clik.newPhoto({"id":5598649,"src":"Madness_01_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598649.html","width":87,"caption":"Madness 025","height":130});
															thumbnails[8934871] = clik.newPhoto({"id":8934871,"src":"Madness_04_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934871.html","width":87,"caption":"Madness 033","height":130});
															thumbnails[5598665] = clik.newPhoto({"id":5598665,"src":"Hazel_O_Conner_07_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598665.html","width":130,"caption":"Hazel O Conner 07","height":87});
															thumbnails[8934872] = clik.newPhoto({"id":8934872,"src":"Hazel_O_Conner_13_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934872.html","width":130,"caption":"Hazel O Conner 013","height":87});
															thumbnails[5424965] = clik.newPhoto({"id":5424965,"src":"Summer_Blossom_Honey_copy_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_5424965.html","width":98,"caption":"Summer blossom honey","height":130});
															thumbnails[5598760] = clik.newPhoto({"id":5598760,"src":"Toyah_02_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598760.html","width":130,"caption":"Toyah E4","height":87});
															thumbnails[8934875] = clik.newPhoto({"id":8934875,"src":"Toyah_12_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934875.html","width":130,"caption":"Toyah 12","height":87});
															thumbnails[5598806] = clik.newPhoto({"id":5598806,"src":"Hugh_Cornwell_former_lead_singer_of_The_Stranglers_15_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598806.html","width":130,"caption":"Hugh Cornwell former lead singer of The Stranglers 15","height":87});
															thumbnails[6174279] = clik.newPhoto({"id":6174279,"src":"Licor_43_Ad_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_6174279.html","width":87,"caption":"Licor 43","height":130});
															thumbnails[8934876] = clik.newPhoto({"id":8934876,"src":"Jet_Black_The_Stranglers_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934876.html","width":130,"caption":"Jet Black - The Stranglers","height":87});
															thumbnails[5424920] = clik.newPhoto({"id":5424920,"src":"Strawberry_splash_copy_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_5424920.html","width":130,"caption":"Strawberry and cream","height":98});
															thumbnails[5598832] = clik.newPhoto({"id":5598832,"src":"The_Clash_02_copy_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598832.html","width":87,"caption":"The Clash 02","height":130});
															thumbnails[8934873] = clik.newPhoto({"id":8934873,"src":"The_Clash_08_copy_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934873.html","width":130,"caption":"Joe Strummer - The Clash 08","height":87});
															thumbnails[7246111] = clik.newPhoto({"id":7246111,"src":"Houseplant_watering_can_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_7246111.html","width":130,"caption":"Stainless steel can","height":87});
															thumbnails[5424903] = clik.newPhoto({"id":5424903,"src":"Kaliber_chilled_copy_thumb.jpg","galleries_id":306608,"server_id":5,"link":"photo_5424903.html","width":130,"caption":"Kaliber chill filtered","height":98});
															thumbnails[5598855] = clik.newPhoto({"id":5598855,"src":"Bad_Manners__15_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598855.html","width":87,"caption":"Buster Bloodvessel - Bad Manners 15","height":130});
															thumbnails[8934874] = clik.newPhoto({"id":8934874,"src":"Bad_Manners__26_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934874.html","width":130,"caption":"Bad Manners  26","height":87});
															thumbnails[5598882] = clik.newPhoto({"id":5598882,"src":"Souixie_and_the_Banshees_03_83EC534F-1EC9-DFB6-09A99BE638A7BE0C_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5598882.html","width":130,"caption":"Siouxsie Sioux and the Banshees 03","height":87});
															thumbnails[8934877] = clik.newPhoto({"id":8934877,"src":"Souixie_and_the_Banshees_25_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_8934877.html","width":87,"caption":"Souixie and the Banshees 25","height":130});
															thumbnails[5731293] = clik.newPhoto({"id":5731293,"src":"Kim_Wilde_B30_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5731293.html","width":87,"caption":"Kim Wilde B30","height":130});
															thumbnails[5734695] = clik.newPhoto({"id":5734695,"src":"Haircut_100_B27_thumb.jpg","galleries_id":288892,"server_id":5,"link":"photo_5734695.html","width":130,"caption":"Haircut 100  B27","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[442968] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"See no Evil 2011","link":"gallery_442968.html","maxRecords":0.0,"photoIDs":[8333102.0,8333140.0,8333174.0,8333219.0,8333231.0,8333237.0,8333263.0],"skipIndex":0,"section_code":"gallery","featured_images":8333174.0,"id":442968,"singleSection":false});				  						galleries[306608] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Commercial","link":"gallery_306608.html","maxRecords":0.0,"photoIDs":[7552255.0,7562765.0,5808834.0,5424993.0,5424913.0,7254746.0,7254740.0,5424965.0,6174279.0,5424920.0,7246111.0,5424903.0],"skipIndex":0,"section_code":"gallery","featured_images":7562765.0,"id":306608,"singleSection":false});				  						galleries[288892] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Music concerts","link":"gallery_288892.html","maxRecords":0.0,"photoIDs":[5598495.0,5598533.0,5598560.0,5598590.0,5598607.0,5620135.0,5620137.0,5620139.0,5620140.0,5620141.0,8932221.0,8932227.0,8932234.0,8932246.0,8932260.0,8932266.0,8932275.0,8932283.0,8932294.0,8932298.0,8932299.0,8932305.0,8932311.0,8932312.0,8932313.0,8932321.0,5598686.0,5739568.0,5598649.0,8934871.0,5598665.0,8934872.0,5598760.0,8934875.0,5598806.0,8934876.0,5598832.0,8934873.0,5598855.0,8934874.0,5598882.0,8934877.0,5731293.0,5734695.0],"skipIndex":0,"section_code":"gallery","featured_images":5598495.0,"id":288892,"singleSection":false});				  						galleries[288891] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Football","link":"gallery_288891.html","maxRecords":0.0,"photoIDs":[5812468.0,5812469.0,5786288.0,5833355.0,5636727.0,5833364.0,5636734.0,5799932.0,5265179.0],"skipIndex":0,"section_code":"gallery","featured_images":5636727.0,"id":288891,"singleSection":false});				  						galleries[340029] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Fashion ","link":"gallery_340029.html","maxRecords":0.0,"photoIDs":[7569248.0,7569251.0,7571455.0,6052352.0,6052385.0,6052396.0],"skipIndex":0,"section_code":"gallery","featured_images":7571455.0,"id":340029,"singleSection":false});				  						galleries[330031] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"N.A.S.S finals 2010","link":"gallery_330031.html","maxRecords":0.0,"photoIDs":[6363577.0,6363578.0,6363580.0,6363582.0,6363597.0,6434703.0,6434704.0,6434715.0,6434716.0,6434717.0,7571061.0,7571076.0],"skipIndex":0,"section_code":"gallery","featured_images":6363597.0,"id":330031,"singleSection":false});				  						galleries[410563] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Bristol Extreme ","link":"gallery_410563.html","maxRecords":0.0,"photoIDs":[7570417.0,7580879.0,7864592.0,7945411.0,8567866.0,8877832.0],"skipIndex":0,"section_code":"gallery","featured_images":7945411.0,"id":410563,"singleSection":false});				  						galleries[289157] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Miscellaneous","link":"gallery_289157.html","maxRecords":0.0,"photoIDs":[5171545.0,5171550.0,5171561.0,5171575.0,5171581.0,5216818.0,5216823.0,5265174.0,5731299.0,5731300.0,7906907.0,8521472.0],"skipIndex":0,"section_code":"gallery","featured_images":5171581.0,"id":289157,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8877832,8567866,8521472,7945411,7906907,7864592,7580879,7571455,7571076,7571061,7570417,7569251,7569248,7562765,7552255,6434717,6434716,6434715,6434704,6434703,6363597,6363582,6363580,6363578,6363577,5731300,5731299,5265174,5216823,5216818,5171581,5171575,5171561,5171550,5171545,8333102,8333140,8333174,8333219,8333231,8333237,8333263,5812468,5812469,5786288,5833355,5808834,5598495,6052352,5636727,5598533,5833364,6052385,5598560,6052396,5636734,5598590,5799932,5598607,5265179,5620135,5620137,5620139,5424993,5620140,5620141,8932221,8932227,8932234,8932246,8932260,8932266,8932275,8932283,5424913,8932294,8932298,8932299,8932305,8932311,8932312,8932313,8932321,7254746,5598686,7254740,5739568,5598649,8934871,5598665,8934872,5598760,5424965,8934875,6174279,5598806,8934876,5598832,5424920,8934873,7246111,5598855,5424903,8934874,5598882,8934877,5731293,5734695';
imageSets[2] = '7945411,7571455,7562765,6363597,5171581,8333174,5598495,5636727';
imageSets[3] = '8877832,8567866,8521472,7945411,7906907,7864592,7580879,7571455,7571076,7571061,7570417,7569251,7569248,7562765,7552255,6434717,6434716,6434715,6434704,6434703,6363597,6363582,6363580,6363578,6363577,5731300,5731299,5265174,5216823,5216818,5171581,5171575,5171550,5171545,8333102,8333140,8333174,8333219,8333231,8333237,8333263,5812468,5812469,5786288,5833355,5808834,5598495,6052352,5636727,5598533,5833364,6052385,5598560,6052396,5636734,5598590,5799932,5598607,5265179,5620135,5620137,5620139,5424993,5620140,5620141,8932221,8932227,8932234,8932246,8932260,8932266,8932275,8932283,5424913,8932294,8932298,8932299,8932305,8932311,8932312,8932313,8932321,7254746,5598686,7254740,5739568,5598649,8934871,5598665,8934872,5598760,5424965,8934875,6174279,5598806,8934876,5598832,5424920,8934873,7246111,5598855,5424903,8934874,5598882,8934877,5731293,5734695';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/franciswilliamStreet/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/franciswilliamStreet/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 = 'FWS 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>';
	}
				
	temp += this.fnGetPaymentInfo();
				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>To purchase select \'Add to cart\' then \'View cart\'</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="FRANCISWILLIAMSTREET">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

