window.thumbnails = {};
															thumbnails[1642811] = clik.newPhoto({"id":1642811,"src":"DSCF0009_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1642811.html","width":130,"caption":"Gary Randall","height":106});
															thumbnails[1642821] = clik.newPhoto({"id":1642821,"src":"MD Portrait3_thumb.JPG","galleries_id":111092,"server_id":1,"link":"photo_1642821.html","width":130,"caption":"Matthew Dyer","height":127});
															thumbnails[1644116] = clik.newPhoto({"id":1644116,"src":"M ST FRONT FACADE WITH SKY_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644116.html","width":130,"caption":"Morwell Street","height":98});
															thumbnails[1644123] = clik.newPhoto({"id":1644123,"src":"M ST front elevation_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644123.html","width":130,"caption":"Morwell Street","height":82});
															thumbnails[1644126] = clik.newPhoto({"id":1644126,"src":"M ST INTERNAL 01_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644126.html","width":130,"caption":"Morwell Street","height":102});
															thumbnails[1644128] = clik.newPhoto({"id":1644128,"src":"M ST INTERNAL 02_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644128.html","width":130,"caption":"Morwell Street","height":95});
															thumbnails[1644129] = clik.newPhoto({"id":1644129,"src":"M ST RECEPTION_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644129.html","width":130,"caption":"Morwell Street","height":98});
															thumbnails[1644149] = clik.newPhoto({"id":1644149,"src":"sk book 03_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644149.html","width":130,"caption":"Study","height":70});
															thumbnails[1644182] = clik.newPhoto({"id":1644182,"src":"sk book 011_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1644182.html","width":130,"caption":"Study","height":122});
															thumbnails[1680501] = clik.newPhoto({"id":1680501,"src":"BTSNDLSVLL_243934_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1680501.html","width":130,"caption":"Sandals, Jamaica","height":87});
															thumbnails[1680502] = clik.newPhoto({"id":1680502,"src":"dynamicimagea_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1680502.html","width":130,"caption":"Sandals, Jamaica","height":87});
															thumbnails[1810102] = clik.newPhoto({"id":1810102,"src":"P8090105_1_1_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_1810102.html","width":130,"caption":"","height":106});
															thumbnails[1680503] = clik.newPhoto({"id":1680503,"src":"dynamicimage_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1680503.html","width":130,"caption":"Sandals, Jamaica","height":87});
															thumbnails[1680504] = clik.newPhoto({"id":1680504,"src":"SandalsDunnsRiver-39_thumb.jpg","galleries_id":111091,"server_id":1,"link":"photo_1680504.html","width":130,"caption":"Sandals, Jamica","height":128});
															thumbnails[3011847] = clik.newPhoto({"id":3011847,"src":"IMG_0903_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_3011847.html","width":130,"caption":"SHOWER - HALSWELL","height":98});
															thumbnails[3033957] = clik.newPhoto({"id":3033957,"src":"Halswell_Entrance_Hall_thumb.JPG","galleries_id":121654,"server_id":1,"link":"photo_3033957.html","width":130,"caption":"HALL - HALSWELL","height":98});
															thumbnails[3011840] = clik.newPhoto({"id":3011840,"src":"IMG_0907_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_3011840.html","width":130,"caption":"SHOWER - HALSWELL","height":174});
															thumbnails[3011848] = clik.newPhoto({"id":3011848,"src":"P8010003_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_3011848.html","width":130,"caption":"SHOWER - HALSWELL","height":173});
															thumbnails[3033961] = clik.newPhoto({"id":3033961,"src":"New_Image_thumb.JPG","galleries_id":121654,"server_id":1,"link":"photo_3033961.html","width":130,"caption":"Bedroom dressing area","height":173});
															thumbnails[7562978] = clik.newPhoto({"id":7562978,"src":"NMF_thumb.jpg","galleries_id":409896,"server_id":1,"link":"photo_7562978.html","width":130,"caption":"Nuala McFadden","height":106});
															thumbnails[5122566] = clik.newPhoto({"id":5122566,"src":"P5230017a_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_5122566.html","width":130,"caption":"Apartment in Spain","height":99});
															thumbnails[5122573] = clik.newPhoto({"id":5122573,"src":"P7070002_1a_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_5122573.html","width":130,"caption":"Apartment in Spain","height":98});
															thumbnails[5122574] = clik.newPhoto({"id":5122574,"src":"P5230025_1a_thumb.jpg","galleries_id":121654,"server_id":1,"link":"photo_5122574.html","width":130,"caption":"Apartment in Spain","height":98});
															thumbnails[2631470] = clik.newPhoto({"id":2631470,"src":"IMG_1009_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631470.html","width":130,"caption":"Original building - December 2005","height":96});
															thumbnails[2631514] = clik.newPhoto({"id":2631514,"src":"IMG_1029_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631514.html","width":130,"caption":"End View - December 2005","height":121});
															thumbnails[2631528] = clik.newPhoto({"id":2631528,"src":"Picture 009a_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631528.html","width":130,"caption":"Finally out of the ground","height":98});
															thumbnails[2631579] = clik.newPhoto({"id":2631579,"src":"Picture 023_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631579.html","width":130,"caption":"The walls go up","height":98});
															thumbnails[2631582] = clik.newPhoto({"id":2631582,"src":"Picture 015_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631582.html","width":130,"caption":"","height":98});
															thumbnails[2631587] = clik.newPhoto({"id":2631587,"src":"Picture 016_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631587.html","width":130,"caption":"Rear View","height":98});
															thumbnails[2631589] = clik.newPhoto({"id":2631589,"src":"Picture 017_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631589.html","width":130,"caption":"Slating and flashing","height":98});
															thumbnails[2631609] = clik.newPhoto({"id":2631609,"src":"Picture 025_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631609.html","width":130,"caption":"Slating and flashing","height":98});
															thumbnails[2631648] = clik.newPhoto({"id":2631648,"src":"DSCF0977_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631648.html","width":130,"caption":"August 2008","height":96});
															thumbnails[2631662] = clik.newPhoto({"id":2631662,"src":"New Image_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631662.html","width":130,"caption":"Aerial View","height":92});
															thumbnails[2631664] = clik.newPhoto({"id":2631664,"src":"DSCF0961_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631664.html","width":130,"caption":"Rear View","height":96});
															thumbnails[2631668] = clik.newPhoto({"id":2631668,"src":"DSCF0963_thumb.jpg","galleries_id":166761,"server_id":1,"link":"photo_2631668.html","width":130,"caption":"End View","height":138});
															thumbnails[3943583] = clik.newPhoto({"id":3943583,"src":"01_thumb.jpg","galleries_id":239136,"server_id":1,"link":"photo_3943583.html","width":130,"caption":"Drawing Room","height":87});
															thumbnails[3943590] = clik.newPhoto({"id":3943590,"src":"02_thumb.jpg","galleries_id":239136,"server_id":1,"link":"photo_3943590.html","width":130,"caption":"DINING ROOM","height":87});
															thumbnails[3943591] = clik.newPhoto({"id":3943591,"src":"04_thumb.jpg","galleries_id":239136,"server_id":1,"link":"photo_3943591.html","width":130,"caption":"MASTER BEDROOM","height":96});
															thumbnails[1637201] = clik.newPhoto({"id":1637201,"src":"UNIT 2, ANGEL YARD edited_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1637201.html","width":130,"caption":"Unit 2 - After","height":87});
															thumbnails[1637223] = clik.newPhoto({"id":1637223,"src":"71 EATON SQ edited_thumb.jpg","galleries_id":110861,"server_id":1,"link":"photo_1637223.html","width":130,"caption":"Drawing Room","height":88});
															thumbnails[1637226] = clik.newPhoto({"id":1637226,"src":"155 HUDDLESTON RD edited_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1637226.html","width":130,"caption":"External View","height":98});
															thumbnails[1637236] = clik.newPhoto({"id":1637236,"src":"1 ROBERTS MEWS edited_thumb.jpg","galleries_id":110865,"server_id":1,"link":"photo_1637236.html","width":130,"caption":"Internal View","height":84});
															thumbnails[1997513] = clik.newPhoto({"id":1997513,"src":"SASS197889_thumb.jpg","galleries_id":134011,"server_id":1,"link":"photo_1997513.html","width":130,"caption":"","height":93});
															thumbnails[4764826] = clik.newPhoto({"id":4764826,"src":"49_HS_Recep_1_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764826.html","width":130,"caption":"Reception Room","height":87});
															thumbnails[5214402] = clik.newPhoto({"id":5214402,"src":"IMG_3444_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214402.html","width":130,"caption":"Cantilevered staircase","height":87});
															thumbnails[1643649] = clik.newPhoto({"id":1643649,"src":"71 ES 01_thumb.jpg","galleries_id":110861,"server_id":1,"link":"photo_1643649.html","width":130,"caption":"Lower Ground Floor","height":86});
															thumbnails[1643733] = clik.newPhoto({"id":1643733,"src":"1 ROBERTS MEWS 02_thumb.jpg","galleries_id":110865,"server_id":1,"link":"photo_1643733.html","width":130,"caption":"Reception Area","height":75});
															thumbnails[1643760] = clik.newPhoto({"id":1643760,"src":"155 HUDDLESTON RD 01_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643760.html","width":130,"caption":"Internal View","height":98});
															thumbnails[1643993] = clik.newPhoto({"id":1643993,"src":"UNIT 2, ANGEL YARD BEFORE_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1643993.html","width":130,"caption":"Unit 2 - Before","height":61});
															thumbnails[1997516] = clik.newPhoto({"id":1997516,"src":"SASS197889A_thumb.jpg","galleries_id":134011,"server_id":1,"link":"photo_1997516.html","width":130,"caption":"Kitchen","height":93});
															thumbnails[4764827] = clik.newPhoto({"id":4764827,"src":"49_HS_Recep_2_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764827.html","width":130,"caption":"Rear Reception","height":87});
															thumbnails[1643656] = clik.newPhoto({"id":1643656,"src":"71 ES 02_thumb.jpg","galleries_id":110861,"server_id":1,"link":"photo_1643656.html","width":130,"caption":"Rear Garden","height":87});
															thumbnails[1643734] = clik.newPhoto({"id":1643734,"src":"1 ROBERTS MEWS 01_thumb.jpg","galleries_id":110865,"server_id":1,"link":"photo_1643734.html","width":130,"caption":"Work Station","height":75});
															thumbnails[1643762] = clik.newPhoto({"id":1643762,"src":"155 HUDDLESTON RD 02_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643762.html","width":130,"caption":"Internal View","height":98});
															thumbnails[1644020] = clik.newPhoto({"id":1644020,"src":"UNIT 2 LIVING ROOM 01_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644020.html","width":130,"caption":"Reception Area","height":87});
															thumbnails[1997520] = clik.newPhoto({"id":1997520,"src":"SASS197889D_thumb.jpg","galleries_id":134011,"server_id":1,"link":"photo_1997520.html","width":130,"caption":"Dining Room","height":93});
															thumbnails[4764829] = clik.newPhoto({"id":4764829,"src":"49_HS_Kitch_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764829.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[5214436] = clik.newPhoto({"id":5214436,"src":"Drawing_Room_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214436.html","width":130,"caption":"Drawing Room","height":87});
															thumbnails[1643659] = clik.newPhoto({"id":1643659,"src":"71 ES 03_thumb.jpg","galleries_id":110861,"server_id":1,"link":"photo_1643659.html","width":130,"caption":"Ground Floor Bedroom","height":109});
															thumbnails[1643742] = clik.newPhoto({"id":1643742,"src":"1 ROBERTS MEWS EX PLAN_thumb.jpg","galleries_id":110865,"server_id":1,"link":"photo_1643742.html","width":130,"caption":"Original Layout","height":175});
															thumbnails[1643786] = clik.newPhoto({"id":1643786,"src":"155 HUDDLESTON RD 03_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643786.html","width":130,"caption":"External View","height":173});
															thumbnails[1644022] = clik.newPhoto({"id":1644022,"src":"UNIT 2 LIVING ROOM 02_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644022.html","width":130,"caption":"Reception Area","height":87});
															thumbnails[1997525] = clik.newPhoto({"id":1997525,"src":"SASS197889B_thumb.jpg","galleries_id":134011,"server_id":1,"link":"photo_1997525.html","width":130,"caption":"First Floor Sitting Room","height":93});
															thumbnails[4764832] = clik.newPhoto({"id":4764832,"src":"49_HS_Dining_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764832.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[1643737] = clik.newPhoto({"id":1643737,"src":"1 ROBERTS MEWS AB PLAN_thumb.jpg","galleries_id":110865,"server_id":1,"link":"photo_1643737.html","width":130,"caption":"As-Built Layout","height":178});
															thumbnails[1643790] = clik.newPhoto({"id":1643790,"src":"155 HUDDLESTON RD 04_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643790.html","width":130,"caption":"Rooflight from above","height":173});
															thumbnails[1644023] = clik.newPhoto({"id":1644023,"src":"UNIT 2 KITCHEN 01_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644023.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[4764834] = clik.newPhoto({"id":4764834,"src":"49_HS_Bed_3_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764834.html","width":130,"caption":"Bedroom","height":87});
															thumbnails[5334988] = clik.newPhoto({"id":5334988,"src":"Drawing_Room_3_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5334988.html","width":130,"caption":"Drawing Room","height":87});
															thumbnails[8960718] = clik.newPhoto({"id":8960718,"src":"_mg_665320copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960718.html","width":130,"caption":"Entrance Hall","height":87});
															thumbnails[1643791] = clik.newPhoto({"id":1643791,"src":"155 HUDDLESTON RD 05_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643791.html","width":130,"caption":"Internal View","height":173});
															thumbnails[1644026] = clik.newPhoto({"id":1644026,"src":"UNIT 2 BEDROOM 01_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644026.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[4764835] = clik.newPhoto({"id":4764835,"src":"49_HS_Bed_2_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764835.html","width":130,"caption":"Bedroom","height":87});
															thumbnails[1643926] = clik.newPhoto({"id":1643926,"src":"155 HUDDLESTON RD 06_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643926.html","width":130,"caption":"Rooflight from below","height":98});
															thumbnails[1644029] = clik.newPhoto({"id":1644029,"src":"UNIT 2 BATHROOM 01_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644029.html","width":130,"caption":"Bathroom","height":87});
															thumbnails[1997596] = clik.newPhoto({"id":1997596,"src":"222897_bath_RGBa_thumb.jpg","galleries_id":134024,"server_id":1,"link":"photo_1997596.html","width":130,"caption":"Master Bathroom","height":87});
															thumbnails[1643927] = clik.newPhoto({"id":1643927,"src":"155 HUDDLESTON RD 07_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1643927.html","width":130,"caption":"Kitchen Warming Party","height":98});
															thumbnails[1644031] = clik.newPhoto({"id":1644031,"src":"UNIT 2 SHOWER ROOM 01_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644031.html","width":130,"caption":"Shower Room","height":87});
															thumbnails[4764837] = clik.newPhoto({"id":4764837,"src":"49_HS_Bath_2_thumb.JPG","galleries_id":134024,"server_id":1,"link":"photo_4764837.html","width":130,"caption":"Bathroom 2","height":87});
															thumbnails[5335008] = clik.newPhoto({"id":5335008,"src":"Kitchen_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5335008.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[1811069] = clik.newPhoto({"id":1811069,"src":"IMG_1157_thumb.jpg","galleries_id":110864,"server_id":1,"link":"photo_1811069.html","width":130,"caption":"Temporary Propping","height":98});
															thumbnails[1811083] = clik.newPhoto({"id":1811083,"src":"IMG_0973_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1811083.html","width":130,"caption":"Dining Area and Staircase","height":98});
															thumbnails[1644037] = clik.newPhoto({"id":1644037,"src":"UNIT 3 POST RE-FURB_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644037.html","width":130,"caption":"Unit 3 - After","height":98});
															thumbnails[5335011] = clik.newPhoto({"id":5335011,"src":"Kitchen_2_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5335011.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[5335739] = clik.newPhoto({"id":5335739,"src":"Dining_Room_2_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5335739.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[5393276] = clik.newPhoto({"id":5393276,"src":"Reception_Room_thumb.jpg","galleries_id":304388,"server_id":1,"link":"photo_5393276.html","width":130,"caption":"Reception Room","height":75});
															thumbnails[5478704] = clik.newPhoto({"id":5478704,"src":"Reception_1-2_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478704.html","width":130,"caption":"Front Reception Room","height":87});
															thumbnails[5567150] = clik.newPhoto({"id":5567150,"src":"Drawing_Room_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567150.html","width":130,"caption":"Drawing Room","height":89});
															thumbnails[5699905] = clik.newPhoto({"id":5699905,"src":"CGP38001-aw-001_thumb.jpg","galleries_id":322827,"server_id":1,"link":"photo_5699905.html","width":130,"caption":"Drawing Room","height":87});
															thumbnails[7260891] = clik.newPhoto({"id":7260891,"src":"sitting_room_1_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7260891.html","width":130,"caption":"Sitting Room","height":87});
															thumbnails[7282528] = clik.newPhoto({"id":7282528,"src":"CGP39306-aw-009_Entrance_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282528.html","width":130,"caption":"Entrance Hall","height":87});
															thumbnails[8610668] = clik.newPhoto({"id":8610668,"src":"GARDEN_2_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610668.html","width":130,"caption":"New Extension","height":195});
															thumbnails[8610906] = clik.newPhoto({"id":8610906,"src":"01_FD833819-1EC9-D45B-1C6AE8C991EC7CDD_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610906.html","width":130,"caption":"Street View","height":98});
															thumbnails[8960754] = clik.newPhoto({"id":8960754,"src":"_mg_665820copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960754.html","width":130,"caption":"Meeting Room","height":87});
															thumbnails[1644039] = clik.newPhoto({"id":1644039,"src":"UNIT 3 PRE RE-FURB_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644039.html","width":130,"caption":"Unit 3 - Before","height":98});
															thumbnails[1644024] = clik.newPhoto({"id":1644024,"src":"UNIT 2 SKYLIGHT OVER STAIR 01_thumb.jpg","galleries_id":110778,"server_id":1,"link":"photo_1644024.html","width":130,"caption":"Skylight over Stair","height":173});
															thumbnails[5214458] = clik.newPhoto({"id":5214458,"src":"IMG_3335_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214458.html","width":130,"caption":"Bedroom 1 Detail","height":195});
															thumbnails[5214460] = clik.newPhoto({"id":5214460,"src":"IMG_3439_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214460.html","width":130,"caption":"Staircase","height":195});
															thumbnails[7282539] = clik.newPhoto({"id":7282539,"src":"IMG_0099_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282539.html","width":130,"caption":"Sitting Room","height":87});
															thumbnails[8610926] = clik.newPhoto({"id":8610926,"src":"06_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610926.html","width":130,"caption":"Before Construction","height":98});
															thumbnails[8960758] = clik.newPhoto({"id":8960758,"src":"_mg_657020copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960758.html","width":130,"caption":"Office Area","height":84});
															thumbnails[5214461] = clik.newPhoto({"id":5214461,"src":"IMG_3371_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214461.html","width":130,"caption":"Entrance Hall","height":195});
															thumbnails[5336224] = clik.newPhoto({"id":5336224,"src":"Bed_1_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336224.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[5393280] = clik.newPhoto({"id":5393280,"src":"Reception_Room_2_thumb.jpg","galleries_id":304388,"server_id":1,"link":"photo_5393280.html","width":130,"caption":"Reception Room","height":87});
															thumbnails[5478758] = clik.newPhoto({"id":5478758,"src":"Reception_1-1_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478758.html","width":130,"caption":"Front Reception Room","height":87});
															thumbnails[5567164] = clik.newPhoto({"id":5567164,"src":"dining__018_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567164.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[5699908] = clik.newPhoto({"id":5699908,"src":"CGP38001-aw-005_thumb.jpg","galleries_id":322827,"server_id":1,"link":"photo_5699908.html","width":130,"caption":"Entrance Hall","height":87});
															thumbnails[7260936] = clik.newPhoto({"id":7260936,"src":"sitting_room_2_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7260936.html","width":130,"caption":"Sitting Room","height":87});
															thumbnails[7282548] = clik.newPhoto({"id":7282548,"src":"CGP39306-aw-010_Reception_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282548.html","width":130,"caption":"Sitting Room","height":87});
															thumbnails[8610671] = clik.newPhoto({"id":8610671,"src":"KITCH_3_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610671.html","width":130,"caption":"Kitchen","height":195});
															thumbnails[8610933] = clik.newPhoto({"id":8610933,"src":"SITTING_ROOM_1_FD85F0D9-1EC9-D45B-1C376C3506527BE8_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610933.html","width":130,"caption":"Sitting Room","height":87});
															thumbnails[8960767] = clik.newPhoto({"id":8960767,"src":"_mg_655120copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960767.html","width":130,"caption":"Third Floor","height":205});
															thumbnails[5336226] = clik.newPhoto({"id":5336226,"src":"Bed_1_2_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336226.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[5214455] = clik.newPhoto({"id":5214455,"src":"IMG_3359_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214455.html","width":130,"caption":"Bedroom 2","height":87});
															thumbnails[7282555] = clik.newPhoto({"id":7282555,"src":"IMG_0095_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282555.html","width":130,"caption":"Sitting Room","height":195});
															thumbnails[8610935] = clik.newPhoto({"id":8610935,"src":"SITTING_ROOM_2_FD862D93-1EC9-D45B-1C2FE41953A0DC6F_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610935.html","width":130,"caption":"Sitting Room","height":87});
															thumbnails[5336242] = clik.newPhoto({"id":5336242,"src":"Bed_3_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336242.html","width":130,"caption":"Bedroom 3","height":87});
															thumbnails[5214462] = clik.newPhoto({"id":5214462,"src":"IMG_3326_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214462.html","width":130,"caption":"Master Bathroom","height":90});
															thumbnails[5214464] = clik.newPhoto({"id":5214464,"src":"IMG_3329_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214464.html","width":130,"caption":"Master Bathroom","height":87});
															thumbnails[5214465] = clik.newPhoto({"id":5214465,"src":"IMG_3364_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5214465.html","width":130,"caption":"Bathroom 2","height":87});
															thumbnails[5393282] = clik.newPhoto({"id":5393282,"src":"Roof_Terrace_thumb.jpg","galleries_id":304388,"server_id":1,"link":"photo_5393282.html","width":130,"caption":"Roof Terrace","height":94});
															thumbnails[5478759] = clik.newPhoto({"id":5478759,"src":"Reception_2-1_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478759.html","width":130,"caption":"Rear Reception Room","height":87});
															thumbnails[5567175] = clik.newPhoto({"id":5567175,"src":"Kitchen_15021873-1D09-001F-993E854F362DCB1E_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567175.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[5699911] = clik.newPhoto({"id":5699911,"src":"CGP38001-aw-003_thumb.jpg","galleries_id":322827,"server_id":1,"link":"photo_5699911.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[7260942] = clik.newPhoto({"id":7260942,"src":"entrance_hall_1_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7260942.html","width":130,"caption":"Enrance Hall","height":87});
															thumbnails[7282559] = clik.newPhoto({"id":7282559,"src":"IMG_0094_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282559.html","width":130,"caption":"Entrance Hall","height":195});
															thumbnails[8610673] = clik.newPhoto({"id":8610673,"src":"KITCH_4_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610673.html","width":130,"caption":"Kitchen","height":195});
															thumbnails[8610941] = clik.newPhoto({"id":8610941,"src":"KITCH_11_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610941.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[8960770] = clik.newPhoto({"id":8960770,"src":"_mg_659920copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960770.html","width":130,"caption":"Second Floor","height":215});
															thumbnails[8960775] = clik.newPhoto({"id":8960775,"src":"_mg_664320copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960775.html","width":130,"caption":"First Floor","height":195});
															thumbnails[5336465] = clik.newPhoto({"id":5336465,"src":"Bath_2_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336465.html","width":130,"caption":"Bathroom 2","height":87});
															thumbnails[5336478] = clik.newPhoto({"id":5336478,"src":"Dressing_Room_2_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336478.html","width":130,"caption":"Dressing Room","height":87});
															thumbnails[7282655] = clik.newPhoto({"id":7282655,"src":"IMG_0092_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282655.html","width":130,"caption":"View to Kitchen","height":195});
															thumbnails[8610944] = clik.newPhoto({"id":8610944,"src":"KITCH_21_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610944.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[8960786] = clik.newPhoto({"id":8960786,"src":"_mg_661020copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960786.html","width":130,"caption":"","height":187});
															thumbnails[5336484] = clik.newPhoto({"id":5336484,"src":"Drawing_Room_4_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336484.html","width":130,"caption":"Drawing Room","height":182});
															thumbnails[5336473] = clik.newPhoto({"id":5336473,"src":"Guest_WC_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5336473.html","width":130,"caption":"Guest WC","height":126});
															thumbnails[5478762] = clik.newPhoto({"id":5478762,"src":"Kitchen_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478762.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[5567210] = clik.newPhoto({"id":5567210,"src":"Dining_Room1_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567210.html","width":130,"caption":"Dining Room","height":195});
															thumbnails[5699912] = clik.newPhoto({"id":5699912,"src":"CGP38001-aw-007_thumb.jpg","galleries_id":322827,"server_id":1,"link":"photo_5699912.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[7260949] = clik.newPhoto({"id":7260949,"src":"Hods_study_1_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7260949.html","width":130,"caption":"Study 1","height":87});
															thumbnails[7282719] = clik.newPhoto({"id":7282719,"src":"CGP39306-aw-002_Dining_Room_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282719.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[8610676] = clik.newPhoto({"id":8610676,"src":"GARDEN_1_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610676.html","width":130,"caption":"Rear View","height":87});
															thumbnails[8610946] = clik.newPhoto({"id":8610946,"src":"SITTING_ROOM_3_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610946.html","width":130,"caption":"Sitting Room","height":195});
															thumbnails[8960787] = clik.newPhoto({"id":8960787,"src":"_mg_664720copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960787.html","width":130,"caption":"Entrance Hall","height":195});
															thumbnails[5337002] = clik.newPhoto({"id":5337002,"src":"Dining_Room_1_thumb.jpg","galleries_id":294284,"server_id":1,"link":"photo_5337002.html","width":130,"caption":"Dining Room","height":179});
															thumbnails[7282726] = clik.newPhoto({"id":7282726,"src":"CGP39306-aw-001_Kitchen_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282726.html","width":130,"caption":"Kitchen","height":87});
															thumbnails[8610950] = clik.newPhoto({"id":8610950,"src":"SITTING_ROOM_41_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610950.html","width":130,"caption":"Sitting Room","height":195});
															thumbnails[5478764] = clik.newPhoto({"id":5478764,"src":"Dining_2_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478764.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[5567218] = clik.newPhoto({"id":5567218,"src":"Main_Stair_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567218.html","width":130,"caption":"Main Staircase","height":195});
															thumbnails[5699915] = clik.newPhoto({"id":5699915,"src":"CGP38001-aw-006_thumb.jpg","galleries_id":322827,"server_id":1,"link":"photo_5699915.html","width":130,"caption":"Media Room","height":87});
															thumbnails[7260950] = clik.newPhoto({"id":7260950,"src":"Ludas_Study_1_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7260950.html","width":130,"caption":"Study 2","height":87});
															thumbnails[7282783] = clik.newPhoto({"id":7282783,"src":"CGP39306-aw-012_Balcony_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282783.html","width":130,"caption":"Sitting Room Terrace","height":87});
															thumbnails[8610677] = clik.newPhoto({"id":8610677,"src":"KITCH_1_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610677.html","width":130,"caption":"Kitchen","height":88});
															thumbnails[8610952] = clik.newPhoto({"id":8610952,"src":"SHOWER_ROOM_11_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610952.html","width":130,"caption":"Shower Room","height":195});
															thumbnails[8960789] = clik.newPhoto({"id":8960789,"src":"_mg_663220copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960789.html","width":130,"caption":"First Floor Office","height":194});
															thumbnails[7282846] = clik.newPhoto({"id":7282846,"src":"CGP39306-aw-007_Master_Bedroom_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282846.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[8610954] = clik.newPhoto({"id":8610954,"src":"BED_1_1_FD87E64B-1EC9-D45B-1C293B0263453D3B_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610954.html","width":130,"caption":"Bedroom 1","height":87});
															thumbnails[8960791] = clik.newPhoto({"id":8960791,"src":"_mg_663020copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960791.html","width":130,"caption":"First Floor Plasterwork","height":87});
															thumbnails[5478766] = clik.newPhoto({"id":5478766,"src":"Dining_3_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478766.html","width":130,"caption":"Dining Room","height":87});
															thumbnails[5567228] = clik.newPhoto({"id":5567228,"src":"Roof_Stair_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567228.html","width":130,"caption":"Staircase to Roof Terrace","height":195});
															thumbnails[5699917] = clik.newPhoto({"id":5699917,"src":"CGP38001-aw-004_thumb.jpg","galleries_id":322827,"server_id":1,"link":"photo_5699917.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[7260987] = clik.newPhoto({"id":7260987,"src":"Bed_1_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7260987.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[7282862] = clik.newPhoto({"id":7282862,"src":"IMG_0112_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282862.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[8610678] = clik.newPhoto({"id":8610678,"src":"KITCH_2_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610678.html","width":130,"caption":"Kitchen","height":89});
															thumbnails[8610959] = clik.newPhoto({"id":8610959,"src":"BED_2_1_thumb.jpg","galleries_id":455206,"server_id":1,"link":"photo_8610959.html","width":130,"caption":"Bedroom 2","height":87});
															thumbnails[8960801] = clik.newPhoto({"id":8960801,"src":"_mg_659620copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960801.html","width":130,"caption":"Staircase","height":87});
															thumbnails[7282865] = clik.newPhoto({"id":7282865,"src":"CGP39306-aw-004_Bedroom_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282865.html","width":130,"caption":"Main Guest Bedroom","height":87});
															thumbnails[8610679] = clik.newPhoto({"id":8610679,"src":"SITTING_ROOM_4_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610679.html","width":130,"caption":"Reception","height":195});
															thumbnails[8960803] = clik.newPhoto({"id":8960803,"src":"_mg_660520copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960803.html","width":130,"caption":"First Floor Landing","height":87});
															thumbnails[5478772] = clik.newPhoto({"id":5478772,"src":"Bed_1-1_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478772.html","width":130,"caption":"Bedroom 1","height":87});
															thumbnails[5567344] = clik.newPhoto({"id":5567344,"src":"m_bed_075_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567344.html","width":130,"caption":"Master Bedroom","height":87});
															thumbnails[7261000] = clik.newPhoto({"id":7261000,"src":"Hods_bath_11_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7261000.html","width":130,"caption":"His Shower Room","height":195});
															thumbnails[7282868] = clik.newPhoto({"id":7282868,"src":"CGP39306-aw-003_Bedroom_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282868.html","width":130,"caption":"Second Guest Bedroom","height":87});
															thumbnails[8610681] = clik.newPhoto({"id":8610681,"src":"SITTING_ROOM_5_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610681.html","width":130,"caption":"Reception","height":195});
															thumbnails[8960807] = clik.newPhoto({"id":8960807,"src":"_mg_666320copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960807.html","width":130,"caption":"WC","height":182});
															thumbnails[7282873] = clik.newPhoto({"id":7282873,"src":"CGP39306-aw-006_Bathroom_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282873.html","width":130,"caption":"Master Bathroom","height":87});
															thumbnails[8610682] = clik.newPhoto({"id":8610682,"src":"KITCH_5_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610682.html","width":130,"caption":"Kitchen","height":195});
															thumbnails[8960808] = clik.newPhoto({"id":8960808,"src":"_mg_665020copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960808.html","width":130,"caption":"Mosaic","height":195});
															thumbnails[5478775] = clik.newPhoto({"id":5478775,"src":"Bed_1-2_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478775.html","width":130,"caption":"Bedroom 1","height":86});
															thumbnails[5567346] = clik.newPhoto({"id":5567346,"src":"Bedroom_2_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567346.html","width":130,"caption":"Bedroom 2","height":87});
															thumbnails[7261001] = clik.newPhoto({"id":7261001,"src":"Hods_bath_31_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7261001.html","width":130,"caption":"His Shower","height":195});
															thumbnails[7282878] = clik.newPhoto({"id":7282878,"src":"CGP39306-aw-005_Bathroom_thumb.jpg","galleries_id":393844,"server_id":1,"link":"photo_7282878.html","width":130,"caption":"Guest Ensuite","height":87});
															thumbnails[8610685] = clik.newPhoto({"id":8610685,"src":"SITTING_ROOM_2_FD49FE4D-1EC9-D45B-1C829D69D72F4861_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610685.html","width":130,"caption":"Reception","height":87});
															thumbnails[8960809] = clik.newPhoto({"id":8960809,"src":"_mg_662620copy_std_thumb.jpg","galleries_id":471608,"server_id":1,"link":"photo_8960809.html","width":130,"caption":"Fireplace Detail","height":195});
															thumbnails[5567419] = clik.newPhoto({"id":5567419,"src":"Master_Bathroom_2_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567419.html","width":130,"caption":"Master Bathroom","height":87});
															thumbnails[8610688] = clik.newPhoto({"id":8610688,"src":"SITTING_ROOM_1_FD4A49BE-1EC9-D45B-1C1EE3C7EE5868A6_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610688.html","width":130,"caption":"Reception","height":87});
															thumbnails[5478778] = clik.newPhoto({"id":5478778,"src":"Bed_2-1_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478778.html","width":130,"caption":"Bedroom 2","height":87});
															thumbnails[5567353] = clik.newPhoto({"id":5567353,"src":"m_bed_074_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567353.html","width":130,"caption":"Master Bedroom","height":195});
															thumbnails[7261003] = clik.newPhoto({"id":7261003,"src":"Ludas_Shower_11_thumb.jpg","galleries_id":392653,"server_id":1,"link":"photo_7261003.html","width":130,"caption":"Her Bathroom","height":195});
															thumbnails[8610692] = clik.newPhoto({"id":8610692,"src":"SHOWER_ROOM_1_thumb.jpg","galleries_id":455142,"server_id":1,"link":"photo_8610692.html","width":130,"caption":"Shower Room","height":88});
															thumbnails[5478781] = clik.newPhoto({"id":5478781,"src":"Dining_4_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478781.html","width":130,"caption":"Dining Room","height":195});
															thumbnails[5567357] = clik.newPhoto({"id":5567357,"src":"Master_Bathroom_1_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567357.html","width":130,"caption":"Master Bathroom","height":195});
															thumbnails[5478784] = clik.newPhoto({"id":5478784,"src":"Half_Landing_1_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478784.html","width":130,"caption":"Stair Landing","height":195});
															thumbnails[5567361] = clik.newPhoto({"id":5567361,"src":"shower_092_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567361.html","width":130,"caption":"Shower Room","height":195});
															thumbnails[5478786] = clik.newPhoto({"id":5478786,"src":"Bath_1_thumb.jpg","galleries_id":310042,"server_id":1,"link":"photo_5478786.html","width":130,"caption":"Master Bathroom","height":195});
															thumbnails[5567423] = clik.newPhoto({"id":5567423,"src":"Bathroom_2_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567423.html","width":130,"caption":"Bathroom 2","height":87});
															thumbnails[5567432] = clik.newPhoto({"id":5567432,"src":"roof_078_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567432.html","width":130,"caption":"Roof Terrace","height":87});
															thumbnails[5567433] = clik.newPhoto({"id":5567433,"src":"roof_091_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_5567433.html","width":130,"caption":"Roof Terrace","height":87});
															thumbnails[6044690] = clik.newPhoto({"id":6044690,"src":"100_0052_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_6044690.html","width":130,"caption":"Steel Frame","height":98});
															thumbnails[6044691] = clik.newPhoto({"id":6044691,"src":"100_0053_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_6044691.html","width":130,"caption":"Steel Frame","height":98});
															thumbnails[6044692] = clik.newPhoto({"id":6044692,"src":"100_0045_thumb.jpg","galleries_id":315841,"server_id":1,"link":"photo_6044692.html","width":130,"caption":"Steel Frame","height":98});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[315841] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Belgravia Apartment","link":"gallery_315841.html","maxRecords":0.0,"photoIDs":[5567150.0,5567164.0,5567175.0,5567210.0,5567218.0,5567228.0,5567344.0,5567346.0,5567419.0,5567353.0,5567357.0,5567361.0,5567423.0,5567432.0,5567433.0,6044690.0,6044691.0,6044692.0],"skipIndex":0,"section_code":"gallery","featured_images":5567150.0,"id":315841,"singleSection":false});				  						galleries[166761] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bourricourt","link":"gallery_166761.html","maxRecords":0.0,"photoIDs":[2631470.0,2631514.0,2631528.0,2631579.0,2631582.0,2631587.0,2631589.0,2631609.0,2631648.0,2631662.0,2631664.0,2631668.0],"skipIndex":0,"section_code":"gallery","featured_images":2631470.0,"id":166761,"singleSection":false});				  						galleries[455206] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Clarendon Flats","link":"gallery_455206.html","maxRecords":0.0,"photoIDs":[8610906.0,8610926.0,8610933.0,8610935.0,8610941.0,8610944.0,8610946.0,8610950.0,8610952.0,8610954.0,8610959.0],"skipIndex":0,"section_code":"gallery","featured_images":8610906.0,"id":455206,"singleSection":false});				  						galleries[322827] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Colherne Court","link":"gallery_322827.html","maxRecords":0.0,"photoIDs":[5699905.0,5699908.0,5699911.0,5699912.0,5699915.0,5699917.0],"skipIndex":0,"section_code":"gallery","featured_images":5699905.0,"id":322827,"singleSection":false});				  						galleries[393844] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Eaton Square 2","link":"gallery_393844.html","maxRecords":0.0,"photoIDs":[7282528.0,7282539.0,7282548.0,7282555.0,7282559.0,7282655.0,7282719.0,7282726.0,7282783.0,7282846.0,7282862.0,7282865.0,7282868.0,7282873.0,7282878.0],"skipIndex":0,"section_code":"gallery","featured_images":7282528.0,"id":393844,"singleSection":false});				  						galleries[239136] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Finchatton 1","link":"gallery_239136.html","maxRecords":0.0,"photoIDs":[3943583.0,3943590.0,3943591.0],"skipIndex":0,"section_code":"gallery","featured_images":3943583.0,"id":239136,"singleSection":false});				  						galleries[304388] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Finchatton 2","link":"gallery_304388.html","maxRecords":0.0,"photoIDs":[5393276.0,5393280.0,5393282.0],"skipIndex":0,"section_code":"gallery","featured_images":"5393282,5393280,5393276","id":304388,"singleSection":false});				  						galleries[294284] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mayfair Apartment","link":"gallery_294284.html","maxRecords":0.0,"photoIDs":[5214402.0,5214436.0,5334988.0,5335008.0,5335011.0,5335739.0,5214458.0,5214460.0,5214461.0,5336224.0,5336226.0,5214455.0,5336242.0,5214462.0,5214464.0,5214465.0,5336465.0,5336478.0,5336484.0,5336473.0,5337002.0],"skipIndex":0,"section_code":"gallery","featured_images":5214402.0,"id":294284,"singleSection":false});				  						galleries[455142] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Passmore Street","link":"gallery_455142.html","maxRecords":0.0,"photoIDs":[8610668.0,8610671.0,8610673.0,8610676.0,8610677.0,8610678.0,8610679.0,8610681.0,8610682.0,8610685.0,8610688.0,8610692.0],"skipIndex":0,"section_code":"gallery","featured_images":8610676.0,"id":455142,"singleSection":false});				  						galleries[392653] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Queen Annes Gate","link":"gallery_392653.html","maxRecords":0.0,"photoIDs":[7260891.0,7260936.0,7260942.0,7260949.0,7260950.0,7260987.0,7261000.0,7261001.0,7261003.0],"skipIndex":0,"section_code":"gallery","featured_images":7260891.0,"id":392653,"singleSection":false});				  						galleries[471608] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Upper Belgrave Street","link":"gallery_471608.html","maxRecords":0.0,"photoIDs":[8960718.0,8960754.0,8960758.0,8960767.0,8960770.0,8960775.0,8960786.0,8960787.0,8960789.0,8960791.0,8960801.0,8960803.0,8960807.0,8960808.0,8960809.0],"skipIndex":0,"section_code":"gallery","featured_images":8960718.0,"id":471608,"singleSection":false});				  						galleries[110861] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Eaton Square 1","link":"gallery_110861.html","maxRecords":0.0,"photoIDs":[1637223.0,1643649.0,1643656.0,1643659.0],"skipIndex":0,"section_code":"gallery","featured_images":1637223.0,"id":110861,"singleSection":false});				  						galleries[111091] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Gary Randall","link":"section145967_111091.html","maxRecords":0.0,"photoIDs":[1642811.0,1644116.0,1644123.0,1644126.0,1644128.0,1644129.0,1644149.0,1644182.0,1680501.0,1680502.0,1680503.0,1680504.0],"skipIndex":0,"section_code":"section145967","featured_images":1642811.0,"id":111091,"singleSection":false});				  						galleries[121654] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Lisette de Roche","link":"section145967_121654.html","maxRecords":0.0,"photoIDs":[1810102.0,3011847.0,3033957.0,3011840.0,3011848.0,3033961.0,5122566.0,5122573.0,5122574.0],"skipIndex":0,"section_code":"section145967","featured_images":1810102.0,"id":121654,"singleSection":false});				  						galleries[110864] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Huddleston Road","link":"gallery_110864.html","maxRecords":0.0,"photoIDs":[1637226.0,1643760.0,1643762.0,1643786.0,1643790.0,1643791.0,1643926.0,1643927.0,1811069.0],"skipIndex":0,"section_code":"gallery","featured_images":1637226.0,"id":110864,"singleSection":false});				  						galleries[409896] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nuala McFadden","link":"section145967_409896.html","maxRecords":0.0,"photoIDs":[7562978.0],"skipIndex":0,"section_code":"section145967","featured_images":7562978.0,"id":409896,"singleSection":false});				  						galleries[110778] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Angel Yard","link":"gallery_110778.html","maxRecords":0.0,"photoIDs":[1637201.0,1643993.0,1644020.0,1644022.0,1644023.0,1644026.0,1644029.0,1644031.0,1811083.0,1644037.0,1644039.0,1644024.0],"skipIndex":0,"section_code":"gallery","featured_images":1637201.0,"id":110778,"singleSection":false});				  						galleries[111092] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Matthew Dyer","link":"section145967_111092.html","maxRecords":0.0,"photoIDs":[1642821.0],"skipIndex":0,"section_code":"section145967","featured_images":1642821.0,"id":111092,"singleSection":false});				  						galleries[134011] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Victoria Square","link":"gallery_134011.html","maxRecords":0.0,"photoIDs":[1997513.0,1997516.0,1997520.0,1997525.0],"skipIndex":0,"section_code":"gallery","featured_images":1997513.0,"id":134011,"singleSection":false});				  						galleries[110865] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Roberts Mews","link":"gallery_110865.html","maxRecords":0.0,"photoIDs":[1637236.0,1643733.0,1643734.0,1643742.0,1643737.0],"skipIndex":0,"section_code":"gallery","featured_images":1637236.0,"id":110865,"singleSection":false});				  						galleries[134024] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Chelsea Houses 1","link":"gallery_134024.html","maxRecords":0.0,"photoIDs":[4764826.0,4764827.0,4764829.0,4764832.0,4764834.0,4764835.0,1997596.0,4764837.0],"skipIndex":0,"section_code":"gallery","featured_images":"4764837,4764835,4764834,4764832,4764829,4764827,4764826,1997596","id":134024,"singleSection":false});				  						galleries[310042] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Chelsea Houses 2","link":"gallery_310042.html","maxRecords":0.0,"photoIDs":[5478704.0,5478758.0,5478759.0,5478762.0,5478764.0,5478766.0,5478772.0,5478775.0,5478778.0,5478781.0,5478784.0,5478786.0],"skipIndex":0,"section_code":"gallery","featured_images":5478758.0,"id":310042,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '2631648,5214402,1637201,1644123,1644149,7282528,5393276,1680504,5336226,5393282,5567344';
imageSets[2] = '3943583,2631470,5214402,1997513,1642821,1642811,1637236,1637226,1637223,1637201,8960718,8610906,7282528,7260891,5699905,5567150,1810102,5478758,8610676';
imageSets[3] = '8960809,8960808,8960807,8960803,8960801,8960791,8960789,8960787,8960786,8960775,8960770,8960767,8960758,8960754,8960718,8610959,8610954,8610952,8610950,8610946,8610944,8610941,8610935,8610933,8610926,8610906,8610692,8610688,8610685,8610682,8610681,8610679,8610678,8610677,8610676,8610673,8610671,8610668,7562978,7282878,7282873,7282868,7282865,7282862,7282846,7282783,7282726,7282719,7282655,7282559';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/victor/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/victor/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/victor/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/victor/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/victor/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/victor/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/victor/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/victor/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 += 'section145967.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 && 'section145967' != '') {
					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 = 'GRA ARCHITECTURE & INTERIORS: ' + 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;
	}
}

			

