window.thumbnails = new Object();
												thumbnails[3353898] = new thumbnail(3353898,'','',' contemporay-Conf_thumb.JPG',130, 98,2,'#');
												thumbnails[3353900] = new thumbnail(3353900,'','','DSCF0519_thumb.JPG',130, 98,5,'#');
												thumbnails[3354019] = new thumbnail(3354019,'','','2 hall65_thumb.JPG',130, 98,5,'#');
												thumbnails[3354113] = new thumbnail(3354113,'','','2 hall _thumb.JPG',130, 98,5,'#');
												thumbnails[3354114] = new thumbnail(3354114,'','','product launch_thumb.JPG',130, 98,5,'#');
												thumbnails[3354119] = new thumbnail(3354119,'','','entrance hall 2_thumb.JPG',130, 98,5,'#');
												thumbnails[3354131] = new thumbnail(3354131,'','','side 2 hall_thumb.JPG',130, 98,5,'#');
												thumbnails[3354191] = new thumbnail(3354191,'','','DSCF0189_thumb.JPG',130, 98,5,'#');
												thumbnails[3354194] = new thumbnail(3354194,'','','DSCF0054_thumb.JPG',130, 98,5,'#');
												thumbnails[3354239] = new thumbnail(3354239,'','','DSCF0093_thumb.JPG',130, 98,5,'#');
												thumbnails[3354240] = new thumbnail(3354240,'','','DSCF0021_thumb.JPG',130, 98,5,'#');
												thumbnails[3354246] = new thumbnail(3354246,'','','DSCF0095_thumb.JPG',130, 98,5,'#');
												thumbnails[3354298] = new thumbnail(3354298,'','','bar area hall 2-1_thumb.jpg',130, 86,5,'#');
												thumbnails[3354301] = new thumbnail(3354301,'','','entrance to hall18_thumb.JPG',130, 98,5,'#');
												thumbnails[3354437] = new thumbnail(3354437,'','','hall 2-1_thumb.jpg',130, 86,5,'#');
												thumbnails[3354445] = new thumbnail(3354445,'','','DSCF0055_thumb.JPG',130, 98,5,'#');
												thumbnails[3366594] = new thumbnail(3366594,'','','88 Lower Ground Floor correct_thumb.jpg',130, 84,5,'#');
												thumbnails[3371297] = new thumbnail(3371297,'','Entrance','hall 2 entrance-1_thumb.jpg',130, 86,5,'#');
												thumbnails[3440799] = new thumbnail(3440799,'','registration desk','registration desk_thumb.jpg',130, 196,5,'#');
												thumbnails[3468841] = new thumbnail(3468841,'','Stairs to Entrance','stairs to 88b_thumb.jpg',130, 86,5,'#');
												thumbnails[5478086] = new thumbnail(5478086,'','','Mainspace_SBP_thumb.JPG',130, 173,5,'#');
												thumbnails[5478089] = new thumbnail(5478089,'','','Mainspace_SBP_2_thumb.JPG',130, 98,5,'#');
												thumbnails[5478090] = new thumbnail(5478090,'','','Mainspace_SBP_w_lighting__thumb.JPG',130, 98,5,'#');
												thumbnails[5478091] = new thumbnail(5478091,'','','Mezzanine_SBP_thumb.JPG',130, 98,5,'#');
												thumbnails[5478092] = new thumbnail(5478092,'','','Mezzanine_SBP_2_thumb.JPG',130, 98,5,'#');
												thumbnails[5478122] = new thumbnail(5478122,'','','P1210007j_thumb.JPG',130, 98,5,'#');
												thumbnails[5478123] = new thumbnail(5478123,'','','P1210011_thumb.JPG',130, 98,5,'#');
												thumbnails[3447765] = new thumbnail(3447765,'','','mark and will baker_thumb.jpg',130, 98,5,'#');
												thumbnails[3452264] = new thumbnail(3452264,'','','drinks_thumb.jpg',130, 199,5,'#');
												thumbnails[3447762] = new thumbnail(3447762,'','','Launch_thumb.jpg',130, 194,5,'#');
												thumbnails[3447761] = new thumbnail(3447761,'','','hoss 4_thumb.jpg',130, 187,5,'#');
												thumbnails[3449699] = new thumbnail(3449699,'','','4 floor Soho gallery small_thumb.jpg',130, 160,5,'#');
												thumbnails[2078797] = new thumbnail(2078797,'','Sony new camera launch','sony3_thumb.jpg',130, 231,5,'#');
												thumbnails[2014210] = new thumbnail(2014210,'135012','Covered Arcade','arcade eveing with carpet_thumb.jpg',130, 100,5,'photo_2014210.html');
												thumbnails[2077768] = new thumbnail(2077768,'135012','Sculpture exhibition','unit30_1_thumb.jpg',130, 87,5,'photo_2077768.html');
												thumbnails[2077891] = new thumbnail(2077891,'135012','','edb exh 2_thumb.jpg',130, 86,5,'photo_2077891.html');
												thumbnails[2842589] = new thumbnail(2842589,'135012','dinner with art','dinner with art_thumb.jpg',130, 98,5,'photo_2842589.html');
												thumbnails[2842604] = new thumbnail(2842604,'135012','exhibition','DSC_0012_thumb.jpg',130, 87,5,'photo_2842604.html');
												thumbnails[2842609] = new thumbnail(2842609,'135012','art space','DSCF2652_thumb.jpg',130, 87,5,'photo_2842609.html');
												thumbnails[2842626] = new thumbnail(2842626,'135012','pall mall window','dune window display_thumb.jpg',130, 70,5,'photo_2842626.html');
												thumbnails[2842628] = new thumbnail(2842628,'135012','party bar','bboy glasses_thumb.jpg',130, 83,5,'photo_2842628.html');
												thumbnails[2842630] = new thumbnail(2842630,'135012','screen','DSCF1732_thumb.jpg',130, 87,5,'photo_2842630.html');
												thumbnails[2842632] = new thumbnail(2842632,'135012','art exhibition','DSC00894_thumb.jpg',130, 98,5,'photo_2842632.html');
												thumbnails[2842652] = new thumbnail(2842652,'135012','view towards pall mall','DSCF2657 - Copy_thumb.jpg',130, 87,5,'photo_2842652.html');
												thumbnails[3013648] = new thumbnail(3013648,'135012',' Desk/ Bar','desk -galleria_thumb.jpg',130, 98,5,'photo_3013648.html');
												thumbnails[3038334] = new thumbnail(3038334,'135012','Location map','Map_thumb.jpg',130, 92,5,'photo_3038334.html');
												thumbnails[3371355] = new thumbnail(3371355,'135012','','La Galleria (3)_thumb.jpg',130, 87,5,'photo_3371355.html');
												thumbnails[3371358] = new thumbnail(3371358,'135012','','art opening at La Galleria_thumb.gif',130, 87,5,'photo_3371358.html');
												thumbnails[3433010] = new thumbnail(3433010,'135012','La Galleria','DSCF2720_thumb.jpg',130, 87,5,'photo_3433010.html');
												thumbnails[3433028] = new thumbnail(3433028,'135012','DJ platform','DSCF2730_thumb.jpg',130, 86,5,'photo_3433028.html');
												thumbnails[3436769] = new thumbnail(3436769,'135012','Wedding La Galleria','wedding  galleria 2_thumb.jpg',130, 87,5,'photo_3436769.html');
												thumbnails[3458721] = new thumbnail(3458721,'135012','','PRWIREPRESS_thumb.jpg',130, 81,5,'photo_3458721.html');
												thumbnails[3458743] = new thumbnail(3458743,'135012','','aconference4_thumb.jpg',130, 87,5,'photo_3458743.html');
												thumbnails[4792436] = new thumbnail(4792436,'135012','Long Wall','la_galleria_main_wall_thumb.jpg',130, 52,5,'photo_4792436.html');
												thumbnails[4792453] = new thumbnail(4792453,'135012','','front_of_la_galleria_thumb.jpg',130, 87,5,'photo_4792453.html');
												thumbnails[4792479] = new thumbnail(4792479,'135012','stage area','la_galleria_1_thumb.jpg',130, 46,5,'photo_4792479.html');
												thumbnails[4792496] = new thumbnail(4792496,'135012',' Galleria','galleria_small_thumb.jpg',130, 87,5,'photo_4792496.html');
												thumbnails[3371349] = new thumbnail(3371349,'135012','','exh at La Galleria_thumb.jpg',130, 98,5,'photo_3371349.html');
												thumbnails[3038333] = new thumbnail(3038333,'135012','floor plan (right click to print)','dimensions galleria_thumb.jpg',130, 179,5,'photo_3038333.html');
												thumbnails[3436771] = new thumbnail(3436771,'135012','Table la Galleria ','wedding table galleria_thumb.jpg',130, 195,5,'photo_3436771.html');
												thumbnails[2842583] = new thumbnail(2842583,'135012','Entrance','DSC00691_thumb.jpg',130, 231,5,'photo_2842583.html');
												thumbnails[2014198] = new thumbnail(2014198,'135012','Dinner at La Galleria','DSCF0031_thumb.jpg',130, 173,5,'photo_2014198.html');
												thumbnails[2014197] = new thumbnail(2014197,'135013','Bar ground floor','DSCF0110_thumb.jpg',130, 98,5,'photo_2014197.html');
												thumbnails[2077331] = new thumbnail(2077331,'135013','evening at the ROA','hackman_MG_6816_thumb.jpg',130, 87,5,'photo_2077331.html');
												thumbnails[2077729] = new thumbnail(2077729,'135013','stairs in ROA','DSC_0074_thumb.jpg',130, 87,5,'photo_2077729.html');
												thumbnails[2077737] = new thumbnail(2077737,'135013','View onto Pall Mall','DSC_0008_thumb.jpg',130, 89,5,'photo_2077737.html');
												thumbnails[2077739] = new thumbnail(2077739,'135013','first floor','DSC_0083_thumb.jpg',130, 87,5,'photo_2077739.html');
												thumbnails[2077742] = new thumbnail(2077742,'135013','lower floor','DSC_0101_thumb.jpg',130, 87,5,'photo_2077742.html');
												thumbnails[2842561] = new thumbnail(2842561,'135013','ground floor art area','window area_thumb.jpg',130, 103,5,'photo_2842561.html');
												thumbnails[2842564] = new thumbnail(2842564,'135013','ground floor','DSC_0654-small_thumb.gif',130, 87,5,'photo_2842564.html');
												thumbnails[2842566] = new thumbnail(2842566,'135013',' ground floor','DSC_0007_thumb.jpg',130, 87,5,'photo_2842566.html');
												thumbnails[2842568] = new thumbnail(2842568,'135013','1st floor','DSCF2749 - Copy_thumb.jpg',130, 84,5,'photo_2842568.html');
												thumbnails[2842571] = new thumbnail(2842571,'135013','ground floor','DSC_9184_thumb.jpg',130, 87,5,'photo_2842571.html');
												thumbnails[2842576] = new thumbnail(2842576,'135013','ROA','DSCF1384galleria_thumb.jpg',130, 87,5,'photo_2842576.html');
												thumbnails[2842578] = new thumbnail(2842578,'135013','1st floor','DSCF2744 - Copy_thumb.jpg',130, 87,5,'photo_2842578.html');
												thumbnails[2842634] = new thumbnail(2842634,'135013','arcade windows','DSCF2711 - Copy_thumb.jpg',130, 194,5,'photo_2842634.html');
												thumbnails[3038330] = new thumbnail(3038330,'135013','Floor plan (right click to print)','web ROA Gallery floor plan_thumb.jpg',130, 106,5,'photo_3038330.html');
												thumbnails[3371338] = new thumbnail(3371338,'135013','Staircase','feature staircase_thumb.jpg',130, 195,5,'photo_3371338.html');
												thumbnails[3433049] = new thumbnail(3433049,'135013','','arcade carpeted_thumb.jpg',130, 200,5,'photo_3433049.html');
												thumbnails[3449866] = new thumbnail(3449866,'135013','','first floor photography 2_thumb.jpg',130, 87,5,'photo_3449866.html');
												thumbnails[5047757] = new thumbnail(5047757,'285617','','Galleria_2_thumb.jpg',130, 53,5,'photo_5047757.html');
												thumbnails[5047758] = new thumbnail(5047758,'285617','','Galleria_3_thumb.jpg',130, 43,5,'photo_5047758.html');
												thumbnails[5047759] = new thumbnail(5047759,'285617','','la_galleria_main_wall_C0524D24-2219-B5B5-4CEF098FABDBC6D0_thumb.jpg',130, 52,5,'photo_5047759.html');
												thumbnails[5047806] = new thumbnail(5047806,'285617','','La_Galleria_Window_thumb.jpg',130, 87,5,'photo_5047806.html');
												thumbnails[5047811] = new thumbnail(5047811,'285617','','marccain_8_thumb.jpg',130, 194,5,'photo_5047811.html');
												thumbnails[5047813] = new thumbnail(5047813,'285617','','marccain_5_thumb.jpg',130, 194,5,'photo_5047813.html');
												thumbnails[5047822] = new thumbnail(5047822,'285617','','la_galleria_1_C06D88A0-2219-B5B5-4C589E2A148D4000_thumb.jpg',130, 46,5,'photo_5047822.html');
												thumbnails[5047844] = new thumbnail(5047844,'285617','','marccain_4_thumb.jpg',130, 87,5,'photo_5047844.html');
												thumbnails[5047851] = new thumbnail(5047851,'285617','','Map_C07574D4-2219-B5B5-4C7DDAB9B2219925_thumb.jpg',130, 92,5,'photo_5047851.html');
												thumbnails[5047854] = new thumbnail(5047854,'285617','','marccain_6_thumb.jpg',130, 87,5,'photo_5047854.html');
												thumbnails[5047858] = new thumbnail(5047858,'285617','','seiko_thumb.jpg',130, 201,5,'photo_5047858.html');
												thumbnails[5047860] = new thumbnail(5047860,'285617','','ea_thumb.jpg',130, 87,5,'photo_5047860.html');
												thumbnails[6245763] = new thumbnail(6245763,'135013','Firebird by Colin Frooms','17_firebird__thumb.jpg',130, 185,5,'photo_6245763.html');
												thumbnails[7508257] = new thumbnail(7508257,'135013','ROA Ground Floor','ROA_Ground_floor_AL2_3360_thumb.jpg',130, 195,5,'photo_7508257.html');
												thumbnails[7508260] = new thumbnail(7508260,'135013','','ROA_Ground_floor_AL2_3366_thumb.jpg',130, 195,5,'photo_7508260.html');
												thumbnails[7508265] = new thumbnail(7508265,'135013','','Roa_frist_floor_AL2_3369_thumb.jpg',130, 188,5,'photo_7508265.html');
												thumbnails[7508270] = new thumbnail(7508270,'135013','','Roa_frist_floor_AL2_33691_thumb.jpg',130, 188,5,'photo_7508270.html');
												thumbnails[7508283] = new thumbnail(7508283,'285617','','Galleria_2_A045ECBF-1E4F-37DC-7102F7AD39CC7BE0_thumb.jpg',130, 53,5,'photo_7508283.html');
												thumbnails[7508291] = new thumbnail(7508291,'285617','','dimensions_galleria_thumb.jpg',130, 179,5,'photo_7508291.html');
												thumbnails[7508295] = new thumbnail(7508295,'285617','','windows_on_arcade_side_thumb.jpg',130, 87,5,'photo_7508295.html');
												thumbnails[7508300] = new thumbnail(7508300,'285617','','la_galleria_window_A048C938-1E4F-37DC-71779557927362CB_thumb.jpg',130, 87,5,'photo_7508300.html');
												thumbnails[7508304] = new thumbnail(7508304,'285617','','City_Handbag_A3_thumb.jpg',130, 92,5,'photo_7508304.html');
												thumbnails[7987105] = new thumbnail(7987105,'135013','','rachel_4__thumb.jpg',130, 87,5,'photo_7987105.html');
												thumbnails[2842559] = new thumbnail(2842559,'135013','Arcade outside space','DSC00672_thumb.jpg',130, 231,5,'photo_2842559.html');
												thumbnails[3306726] = new thumbnail(3306726,'201585','Hall Fire View','Senza titolo-1_thumb.jpg',130, 86,5,'photo_3306726.html');
												thumbnails[3306727] = new thumbnail(3306727,'201585','Entrance','DSCF0025_thumb.JPG',130, 98,5,'photo_3306727.html');
												thumbnails[3306728] = new thumbnail(3306728,'201585','Benchmark','benchmark event_thumb.JPG',130, 98,5,'photo_3306728.html');
												thumbnails[3306729] = new thumbnail(3306729,'201585','','citigroup_thumb.JPG',130, 98,5,'photo_3306729.html');
												thumbnails[3306730] = new thumbnail(3306730,'201585','','hall 1 dinner_thumb.JPG',130, 98,5,'photo_3306730.html');
												thumbnails[3306732] = new thumbnail(3306732,'201585','Benchmark','benchmark 2_thumb.JPG',130, 98,5,'photo_3306732.html');
												thumbnails[3308226] = new thumbnail(3308226,'201585','Hall Long View','hall-1_thumb.jpg',130, 86,5,'photo_3308226.html');
												thumbnails[3308230] = new thumbnail(3308230,'201585','Window','DSCF01111_thumb.JPG',130, 98,5,'photo_3308230.html');
												thumbnails[3308232] = new thumbnail(3308232,'201585','','fashion 2_thumb.JPG',130, 98,5,'photo_3308232.html');
												thumbnails[3308234] = new thumbnail(3308234,'201585','Wedding','HALL1BAN_thumb.JPG',130, 98,5,'photo_3308234.html');
												thumbnails[3354011] = new thumbnail(3354011,'201585','Event',' 1 hall_thumb.JPG',130, 98,2,'photo_3354011.html');
												thumbnails[3354261] = new thumbnail(3354261,'201585','','oscars_thumb.JPG',130, 98,5,'photo_3354261.html');
												thumbnails[3354264] = new thumbnail(3354264,'201585','','entrancelit7_thumb.JPG',130, 98,5,'photo_3354264.html');
												thumbnails[3354440] = new thumbnail(3354440,'201585','','DSCF0104_thumb.JPG',130, 98,5,'photo_3354440.html');
												thumbnails[3366608] = new thumbnail(3366608,'201585','','88 ground floor_thumb.jpg',130, 60,5,'photo_3366608.html');
												thumbnails[3371268] = new thumbnail(3371268,'201585','kitchen ','kitchen2 -1_thumb.jpg',130, 86,5,'photo_3371268.html');
												thumbnails[3371279] = new thumbnail(3371279,'201585','87 and 87 St James\'s venues','close up external _thumb.JPG',130, 98,5,'photo_3371279.html');
												thumbnails[3371290] = new thumbnail(3371290,'201585','Main Entrance ','door to stairs-1_thumb.jpg',130, 86,5,'photo_3371290.html');
												thumbnails[3371331] = new thumbnail(3371331,'201585','Vestibule','vestibule-1_thumb.jpg',130, 86,5,'photo_3371331.html');
												thumbnails[3440661] = new thumbnail(3440661,'201585','','DSCF0022_thumb.JPG',130, 98,5,'photo_3440661.html');
												thumbnails[3468873] = new thumbnail(3468873,'201585','88 hall','88 Hall_thumb.jpg',130, 86,5,'photo_3468873.html');
												thumbnails[3468880] = new thumbnail(3468880,'201585','Bathroom area','bathroom area_thumb.jpg',130, 86,5,'photo_3468880.html');
												thumbnails[3807972] = new thumbnail(3807972,'232011','Auction at 88','auction_88_thumb.jpg',130, 87,5,'photo_3807972.html');
												thumbnails[3807976] = new thumbnail(3807976,'232011','auctions at 88','auction_room_at_88_thumb.jpg',130, 86,5,'photo_3807976.html');
												thumbnails[3807992] = new thumbnail(3807992,'232011','freestanding walls','auction_at_88_thumb.jpg',130, 87,5,'photo_3807992.html');
												thumbnails[3807994] = new thumbnail(3807994,'232011','display walls','freestanding_walls_thumb.jpg',130, 87,5,'photo_3807994.html');
												thumbnails[3807996] = new thumbnail(3807996,'232011','art panels at 88','panels_88_thumb.jpg',130, 87,5,'photo_3807996.html');
												thumbnails[3807998] = new thumbnail(3807998,'232011','sculpture at 88','sculpture_at_88_thumb.jpg',130, 196,5,'photo_3807998.html');
												thumbnails[3354362] = new thumbnail(3354362,'201585','','longshot Hall 1-1_thumb.jpg',130, 196,5,'photo_3354362.html');
												thumbnails[3354302] = new thumbnail(3354302,'201585','','vetrata-1_thumb.jpg',130, 196,5,'photo_3354302.html');
												thumbnails[6460079] = new thumbnail(6460079,'356220','','DSC019671_thumb.jpg',130, 87,5,'photo_6460079.html');
												thumbnails[6460082] = new thumbnail(6460082,'356220','','DSC01964_thumb.jpg',130, 87,5,'photo_6460082.html');
												thumbnails[6460084] = new thumbnail(6460084,'356220','','DSC01975_thumb.jpg',130, 195,5,'photo_6460084.html');
												thumbnails[6460102] = new thumbnail(6460102,'356220','','DSC01973_thumb.jpg',130, 195,5,'photo_6460102.html');
												thumbnails[6516508] = new thumbnail(6516508,'356220','Floorplan of the front exhibition space at 87 St James Street','87_ground_copy_thumb.jpg',130, 62,5,'photo_6516508.html');
												thumbnails[6516512] = new thumbnail(6516512,'356220','87 St James Rear Space ','87_rear_copy_thumb.jpg',130, 83,5,'photo_6516512.html');
												thumbnails[6911709] = new thumbnail(6911709,'356220','Double doors entrance on St James\'s Street','ALR_1528_thumb.jpg',130, 87,5,'photo_6911709.html');
												thumbnails[6911715] = new thumbnail(6911715,'356220','gallery area','ALR_1534_thumb.jpg',130, 87,5,'photo_6911715.html');
												thumbnails[6911722] = new thumbnail(6911722,'356220','Gallery has a centre section carpeted beige.<br>\r\nRoom carpeted  black.','ALR_1532_thumb.jpg',130, 87,5,'photo_6911722.html');
												thumbnails[6911728] = new thumbnail(6911728,'356220','','ALR_1536_thumb.jpg',130, 87,5,'photo_6911728.html');
												thumbnails[6911730] = new thumbnail(6911730,'356220','','ALR_1539_thumb.jpg',130, 87,5,'photo_6911730.html');
												thumbnails[6911731] = new thumbnail(6911731,'356220','Room on the back of the gallery','ALR_1542_thumb.jpg',130, 87,5,'photo_6911731.html');
												thumbnails[6911738] = new thumbnail(6911738,'356220','Office Lower ground','ALR_1547_thumb.jpg',130, 87,5,'photo_6911738.html');
												thumbnails[6911739] = new thumbnail(6911739,'356220','View from back to front entrance','ALR_1535_thumb.jpg',130, 87,5,'photo_6911739.html');
												thumbnails[6911741] = new thumbnail(6911741,'356220','Back room to Gallery','ALR_1541_thumb.jpg',130, 196,5,'photo_6911741.html');
												thumbnails[7142243] = new thumbnail(7142243,'356220','','ALR_8652_thumb.jpg',130, 87,5,'photo_7142243.html');
												thumbnails[6460086] = new thumbnail(6460086,'356220','','entrance_to_87_thumb.jpg',130, 87,5,'photo_6460086.html');
												thumbnails[7025209] = new thumbnail(7025209,'380359','Balearic Artists','Catalan_Exhibition_ALR_5901_thumb.jpg',130, 79,5,'photo_7025209.html');
												thumbnails[7025218] = new thumbnail(7025218,'380359','Balearic Artists','Catalan_Exhibition_ALR_5915_thumb.jpg',130, 87,5,'photo_7025218.html');
												thumbnails[7025219] = new thumbnail(7025219,'380359','','Catalan_Exhibition_ALR_5900_thumb.jpg',130, 77,5,'photo_7025219.html');
												thumbnails[7113766] = new thumbnail(7113766,'380359','','ALR_8191_-_Copy_thumb.jpg',130, 87,5,'photo_7113766.html');
												thumbnails[7153822] = new thumbnail(7153822,'380359','Making Tea','tea_thumb.jpg',130, 99,5,'photo_7153822.html');
												thumbnails[3173093] = new thumbnail(3173093,'135017','','xmas decorations_thumb.jpg',130, 93,5,'photo_3173093.html');
												thumbnails[3450040] = new thumbnail(3450040,'135017','','wedding  galleria 21_thumb.jpg',130, 87,5,'photo_3450040.html');
												thumbnails[3468857] = new thumbnail(3468857,'135017','','gallery evening_thumb.jpg',130, 97,5,'photo_3468857.html');
												thumbnails[3468876] = new thumbnail(3468876,'135017','Hall 88 St James\'s','88 Hall1_thumb.jpg',130, 86,5,'photo_3468876.html');
												thumbnails[3468878] = new thumbnail(3468878,'135017','Hall 88','hall-11_thumb.jpg',130, 86,5,'photo_3468878.html');
												thumbnails[3173006] = new thumbnail(3173006,'135017','Xmas at La Galleria ','xmas arcade_thumb.jpg',130, 89,5,'photo_3173006.html');
												thumbnails[3173084] = new thumbnail(3173084,'135017','Exclusive Xmas parties at La Galleria','xmas decorations _thumb.jpg',130, 87,5,'photo_3173084.html');
												thumbnails[2077793] = new thumbnail(2077793,'135017','xmas parties','DSCF0495_thumb.jpg',130, 102,5,'photo_2077793.html');
												thumbnails[3013574] = new thumbnail(3013574,'135017','bar arcade','bar arcade_thumb.jpg',130, 98,5,'photo_3013574.html');
												thumbnails[2077791] = new thumbnail(2077791,'135017','xmas parties','DSC_7101_1web_thumb.jpg',130, 89,5,'photo_2077791.html');
												thumbnails[2842653] = new thumbnail(2842653,'135017','dinner','dinner set_thumb.jpg',130, 87,5,'photo_2842653.html');
												thumbnails[2014193] = new thumbnail(2014193,'135017','','DSCF0061_thumb.jpg',130, 98,5,'photo_2014193.html');
												thumbnails[2842612] = new thumbnail(2842612,'135017','party -roa gallery','roa pink_thumb.jpg',130, 98,5,'photo_2842612.html');
												thumbnails[2077788] = new thumbnail(2077788,'135017','xmas parties','DSC_2038a_thumb.jpg',130, 95,5,'photo_2077788.html');
												thumbnails[3013572] = new thumbnail(3013572,'135017','Dinner','dinner galleria_thumb.jpg',130, 98,5,'photo_3013572.html');
												thumbnails[3013655] = new thumbnail(3013655,'135017','','xmas at La Galleria_thumb.jpg',130, 78,5,'photo_3013655.html');
												thumbnails[2842617] = new thumbnail(2842617,'135017','Arcade party','evening arcade_thumb.jpg',130, 215,5,'photo_2842617.html');
												thumbnails[2842620] = new thumbnail(2842620,'135017','cocktail','hi15_thumb.jpg',130, 186,5,'photo_2842620.html');
												thumbnails[3436765] = new thumbnail(3436765,'135017',' Dinner','wedding close-up_thumb.jpg',130, 195,5,'photo_3436765.html');
												thumbnails[3465962] = new thumbnail(3465962,'211891','','fashion 21_thumb.jpg',130, 87,5,'photo_3465962.html');
												thumbnails[3465973] = new thumbnail(3465973,'211891','','fashion 3_thumb.jpg',130, 100,5,'photo_3465973.html');
												thumbnails[3468859] = new thumbnail(3468859,'211891','','fashion_thumb.jpg',130, 90,5,'photo_3468859.html');
												thumbnails[7987097] = new thumbnail(7987097,'211891','','saraha_1_thumb.jpg',130, 194,5,'photo_7987097.html');
												thumbnails[7987101] = new thumbnail(7987101,'211891','','saraha_3__thumb.jpg',130, 87,5,'photo_7987101.html');
												thumbnails[7987103] = new thumbnail(7987103,'211891','','saraha_2_thumb.jpg',130, 87,5,'photo_7987103.html');
												thumbnails[3465871] = new thumbnail(3465871,'135021','','drinks1_thumb.jpg',130, 199,5,'photo_3465871.html');
												thumbnails[3465876] = new thumbnail(3465876,'135021','','Wedding 5_thumb.jpg',130, 87,5,'photo_3465876.html');
												thumbnails[3465826] = new thumbnail(3465826,'211882','','bar arcade1_thumb.jpg',130, 98,5,'photo_3465826.html');
												thumbnails[3465831] = new thumbnail(3465831,'211882','','Hoss Entropia 3_thumb.jpg',130, 87,5,'photo_3465831.html');
												thumbnails[3465837] = new thumbnail(3465837,'211882','','arcade eveing with carpet1_thumb.jpg',130, 100,5,'photo_3465837.html');
												thumbnails[3465844] = new thumbnail(3465844,'211882','','ROA pinklights_thumb.jpg',130, 98,5,'photo_3465844.html');
												thumbnails[3465862] = new thumbnail(3465862,'211882','','event Hoss 2_thumb.jpg',130, 87,5,'photo_3465862.html');
												thumbnails[3468845] = new thumbnail(3468845,'211882','La Galleria 2','la galleria 2_thumb.jpg',130, 86,5,'photo_3468845.html');
												thumbnails[3468848] = new thumbnail(3468848,'211882','','la galleria door_thumb.jpg',130, 86,5,'photo_3468848.html');
												thumbnails[3468862] = new thumbnail(3468862,'211882','','la galleria white_thumb.jpg',130, 86,5,'photo_3468862.html');
												thumbnails[3465827] = new thumbnail(3465827,'211882','','evening arcade party_thumb.jpg',130, 215,5,'photo_3465827.html');
												thumbnails[4063115] = new thumbnail(4063115,'244445','','Room_Mark_Hall_thumb.jpg',130, 130,5,'photo_4063115.html');
												thumbnails[4063118] = new thumbnail(4063118,'244445','','Wedding_venue_thumb.jpg',130, 195,5,'photo_4063118.html');
												thumbnails[4063140] = new thumbnail(4063140,'244448','','wedding_table_galleria_thumb.jpg',130, 195,5,'photo_4063140.html');
												thumbnails[4063142] = new thumbnail(4063142,'244448','','Wedding_5_thumb.jpg',130, 87,5,'photo_4063142.html');
												thumbnails[4063148] = new thumbnail(4063148,'244448','','wedding_close-up_thumb.jpg',130, 195,5,'photo_4063148.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[356220] = new gallery(356220,'7142243,6460086','87 St James\'s Gallery','section424707',[6460079,6460082,6460084,6460102,6516508,6516512,6911709,6911715,6911722,6911728,6911730,6911731,6911738,6911739,6911741,7142243,6460086],0, 0, '', 'section424707.html',0,1);
				  					galleries[232011] = new gallery(232011,'3807998,3807996,3807994,3807992,3807976,3807972','88 as an art gallery','section248192',[3807972,3807976,3807992,3807994,3807996,3807998],0, 0, '', 'section248192_232011.html',0,0);
				  					galleries[201585] = new gallery(201585,'3371279,3354362,3306727','88 St James\'s Venue','section248192',[3306726,3306727,3306728,3306729,3306730,3306732,3308226,3308230,3308232,3308234,3354011,3354261,3354264,3354440,3366608,3371268,3371279,3371290,3371331,3440661,3468873,3468880,3354362,3354302],0, 0, '', 'section248192_201585.html',0,0);
				  					galleries[135021] = new gallery(135021,'3465876,3465871','Catering','section174803',[3465871,3465876],0, 0, '', 'section174803.html',0,1);
				  					galleries[135022] = new gallery(135022,'','Contact','section174804',[],0, 0, '', 'section174804.html',0,1);
				  					galleries[380359] = new gallery(380359,'7153822,7113766,7025209','Exhibitions at 87 St James\'s Street','section459915',[7025209,7025218,7025219,7113766,7153822],0, 0, '', 'section459915.html',0,1);
				  					galleries[211891] = new gallery(211891,'7987097','Fashion Sample Sales','section227712',[3465962,3465973,3468859,7987097,7987101,7987103],0, 0, '', 'section227712.html',0,1);
				  					galleries[135012] = new gallery(135012,'4792496,3433010','La Galleria','section174797',[2014210,2077768,2077891,2842589,2842604,2842609,2842626,2842628,2842630,2842632,2842652,3013648,3038334,3371355,3371358,3433010,3433028,3436769,3458721,3458743,4792436,4792453,4792479,4792496,3371349,3038333,3436771,2842583,2014198],0, 0, '', 'section174797.html',0,1);
				  					galleries[285617] = new gallery(285617,'7508300,5047822','La Galleria Venue','section342578',[5047757,5047758,5047759,5047806,5047811,5047813,5047822,5047844,5047851,5047854,5047858,5047860,7508283,7508291,7508295,7508300,7508304],0, 0, '', 'section342578.html',0,1);
				  					galleries[135017] = new gallery(135017,'3173084,3173006,3013655,3013572','Parties in 2011','section174801',[3173093,3450040,3468857,3468876,3468878,3173006,3173084,2077793,3013574,2077791,2842653,2014193,2842612,2077788,3013572,3013655,2842617,2842620,3436765],0, 0, '', 'section174801.html',0,1);
				  					galleries[135013] = new gallery(135013,'7508260,2842576','ROA Gallery','section174798',[2014197,2077331,2077729,2077737,2077739,2077742,2842561,2842564,2842566,2842568,2842571,2842576,2842578,2842634,3038330,3371338,3433049,3449866,6245763,7508257,7508260,7508265,7508270,7987105,2842559],0, 0, '', 'section174798.html',0,1);
				  					galleries[211882] = new gallery(211882,'3468862,3468848,3468845,3465862,3465844,3465837,3465831,3465827,3465826','Summer Parties at La Galleria','section247641',[3465826,3465831,3465837,3465844,3465862,3468845,3468848,3468862,3465827],0, 0, '', 'section247641.html',0,1);
				  					galleries[244448] = new gallery(244448,'4063148,4063142,4063140','Wedding galleria','section296892',[4063140,4063142,4063148],0, 0, '', 'section296892_244448.html',0,0);
				  					galleries[244445] = new gallery(244445,'4063118,4063115','Wedding in St James\'s','section296892',[4063115,4063118],0, 0, '', 'section296892_244445.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7987105,7508304,7508283,3433010,2842632,2014210';
imageSets[2] = '7987097,7508300,7508260,7153822,7142243,7113766,7025209,6460086,5047822,4792496,3433010,3371279,3354362,3354113,3306727,3173084,3173006,3013655,3013572,2842576';
imageSets[3] = '7987103,7987101,7508295,7508291,7025218,6911741,6911739,6911738,6911731,6911730,6911728,6911722,6911715,6911709,6460102,6460084,6460082,6460079,5047860,5047858,5047854,5047851,5047844,5047813,5047811,5047806,5047759,5047758,5047757,4792479,4792453,4792436';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/bestvenuesnew/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/bestvenuesnew/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 && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'section174797.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 && 'section174797' != '') {
					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:'',
                    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 (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    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));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'www.bestvenues.co.uk: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {photoinfominwidth:200};	    		options.photoinfoadjacent = true;			      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			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').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp = temp + '<p>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp = 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({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* 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 + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

