window.thumbnails = {};
															thumbnails[3753767] = clik.newPhoto({"id":3753767,"src":"1797_bef_01_thumb.jpg","galleries_id":229068,"server_id":5,"link":"photo_3753767.html","width":130,"caption":"Existing Elevation","height":130});
															thumbnails[3753772] = clik.newPhoto({"id":3753772,"src":"1797_aft_03_thumb.jpg","galleries_id":229068,"server_id":5,"link":"photo_3753772.html","width":130,"caption":"Rear elevation with extension","height":130});
															thumbnails[4933595] = clik.newPhoto({"id":4933595,"src":"semple_009_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4933595.html","width":130,"caption":"External view at dusk.","height":130});
															thumbnails[7677261] = clik.newPhoto({"id":7677261,"src":"DSC03024_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_7677261.html","width":130,"caption":"Existing Corridor","height":130});
															thumbnails[8668294] = clik.newPhoto({"id":8668294,"src":"_DSC5478_thumb.jpg","galleries_id":457622,"server_id":5,"link":"photo_8668294.html","width":130,"caption":"Exterior view of new shopfront","height":130});
															thumbnails[3753775] = clik.newPhoto({"id":3753775,"src":"1797_aft_01_thumb.jpg","galleries_id":229068,"server_id":5,"link":"photo_3753775.html","width":130,"caption":"INTERIOR VIEW","height":130});
															thumbnails[5221685] = clik.newPhoto({"id":5221685,"src":"Flava_008_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221685.html","width":130,"caption":"","height":130});
															thumbnails[5221663] = clik.newPhoto({"id":5221663,"src":"Flava_007_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221663.html","width":130,"caption":"","height":130});
															thumbnails[3044266] = clik.newPhoto({"id":3044266,"src":"elderslie_thumb.jpg","galleries_id":187288,"server_id":5,"link":"photo_3044266.html","width":130,"caption":"","height":130});
															thumbnails[3044277] = clik.newPhoto({"id":3044277,"src":"eldon_thumb.jpg","galleries_id":187289,"server_id":5,"link":"photo_3044277.html","width":130,"caption":"","height":130});
															thumbnails[3045878] = clik.newPhoto({"id":3045878,"src":"amber_pan_thumb.jpg","galleries_id":187385,"server_id":5,"link":"photo_3045878.html","width":130,"caption":"Main Dining Area","height":130});
															thumbnails[3753790] = clik.newPhoto({"id":3753790,"src":"turnberry_w_thumb.jpg","galleries_id":229071,"server_id":5,"link":"photo_3753790.html","width":130,"caption":"INTERIOR","height":130});
															thumbnails[3753819] = clik.newPhoto({"id":3753819,"src":"dental-room-7-panorama-3_thumb.jpg","galleries_id":229074,"server_id":5,"link":"photo_3753819.html","width":130,"caption":"DENTAL SURGERY","height":130});
															thumbnails[3753891] = clik.newPhoto({"id":3753891,"src":"airdrie_1_thumb.jpg","galleries_id":229094,"server_id":5,"link":"photo_3753891.html","width":130,"caption":"Dining Area","height":130});
															thumbnails[3753961] = clik.newPhoto({"id":3753961,"src":"east_india_1_thumb.jpg","galleries_id":229103,"server_id":5,"link":"photo_3753961.html","width":130,"caption":"Photo-realistic Perspective","height":130});
															thumbnails[3754358] = clik.newPhoto({"id":3754358,"src":"gourock_bay_1_thumb.jpg","galleries_id":229119,"server_id":5,"link":"photo_3754358.html","width":130,"caption":"Masterplan","height":130});
															thumbnails[3763619] = clik.newPhoto({"id":3763619,"src":"houston_road_1_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763619.html","width":130,"caption":"Plot 1 House Entrance (3D Visual)","height":130});
															thumbnails[3768135] = clik.newPhoto({"id":3768135,"src":"murphy_1_thumb.jpg","galleries_id":229833,"server_id":5,"link":"photo_3768135.html","width":130,"caption":"Early Design Sketch","height":130});
															thumbnails[3768139] = clik.newPhoto({"id":3768139,"src":"cowans_corner_thumb.jpg","galleries_id":229838,"server_id":5,"link":"photo_3768139.html","width":130,"caption":"Sketch Perspective","height":130});
															thumbnails[3768206] = clik.newPhoto({"id":3768206,"src":"nursery_ave1_thumb.jpg","galleries_id":187290,"server_id":5,"link":"photo_3768206.html","width":130,"caption":"","height":130});
															thumbnails[3778030] = clik.newPhoto({"id":3778030,"src":"CGC_02_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778030.html","width":130,"caption":"Open Courtyard","height":130});
															thumbnails[3880329] = clik.newPhoto({"id":3880329,"src":"prospecthill_1_thumb.jpg","galleries_id":235729,"server_id":5,"link":"photo_3880329.html","width":130,"caption":"View from south west","height":130});
															thumbnails[4258322] = clik.newPhoto({"id":4258322,"src":"levan_wood_1_thumb.jpg","galleries_id":251942,"server_id":5,"link":"photo_4258322.html","width":130,"caption":"Exterior View","height":130});
															thumbnails[4831506] = clik.newPhoto({"id":4831506,"src":"cowie_001_thumb.jpg","galleries_id":275974,"server_id":5,"link":"photo_4831506.html","width":130,"caption":"Existing Rear Elevation","height":130});
															thumbnails[4909232] = clik.newPhoto({"id":4909232,"src":"semple_001_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4909232.html","width":130,"caption":"Exterior view from garden.","height":130});
															thumbnails[4992528] = clik.newPhoto({"id":4992528,"src":"1617-008_thumb.jpg","galleries_id":283439,"server_id":5,"link":"photo_4992528.html","width":130,"caption":"","height":130});
															thumbnails[5050395] = clik.newPhoto({"id":5050395,"src":"1854_01_thumb.jpg","galleries_id":285803,"server_id":5,"link":"photo_5050395.html","width":130,"caption":"3D visual of completed development","height":130});
															thumbnails[5124026] = clik.newPhoto({"id":5124026,"src":"columbas_001_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_5124026.html","width":130,"caption":"Photo-realistic 3-d image of proposal prepared in-house.","height":130});
															thumbnails[5221567] = clik.newPhoto({"id":5221567,"src":"Flava_001_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221567.html","width":130,"caption":"","height":130});
															thumbnails[7174176] = clik.newPhoto({"id":7174176,"src":"projman_3_CA9FE883-24E8-5EC4-4FCC1B2BF6B695BA_thumb.jpg","galleries_id":299901,"server_id":5,"link":"photo_7174176.html","width":130,"caption":"","height":130});
															thumbnails[7174205] = clik.newPhoto({"id":7174205,"src":"PICT1294_thumb.jpg","galleries_id":229085,"server_id":5,"link":"photo_7174205.html","width":130,"caption":"","height":130});
															thumbnails[7675538] = clik.newPhoto({"id":7675538,"src":"P1020672_thumb.jpg","galleries_id":415670,"server_id":5,"link":"photo_7675538.html","width":130,"caption":"Existing premises","height":130});
															thumbnails[8471279] = clik.newPhoto({"id":8471279,"src":"DSC03412_thumb.jpg","galleries_id":448145,"server_id":5,"link":"photo_8471279.html","width":130,"caption":"Rear view before extension","height":130});
															thumbnails[8668399] = clik.newPhoto({"id":8668399,"src":"P7154965_thumb.JPG","galleries_id":457623,"server_id":5,"link":"photo_8668399.html","width":130,"caption":"Rear elevation prior to extension","height":130});
															thumbnails[8668446] = clik.newPhoto({"id":8668446,"src":"P5205913_thumb.jpg","galleries_id":457627,"server_id":5,"link":"photo_8668446.html","width":130,"caption":"View from road prior to extension","height":130});
															thumbnails[8668469] = clik.newPhoto({"id":8668469,"src":"_DSC3724_thumb.jpg","galleries_id":457630,"server_id":5,"link":"photo_8668469.html","width":130,"caption":"View from garden","height":130});
															thumbnails[7677431] = clik.newPhoto({"id":7677431,"src":"DSC04339_thumb.jpg","galleries_id":415792,"server_id":5,"link":"photo_7677431.html","width":130,"caption":"Servery and Seating Area","height":130});
															thumbnails[3044272] = clik.newPhoto({"id":3044272,"src":"elderslie_2_thumb.jpg","galleries_id":187288,"server_id":5,"link":"photo_3044272.html","width":130,"caption":"","height":130});
															thumbnails[3044286] = clik.newPhoto({"id":3044286,"src":"eldon_2_thumb.jpg","galleries_id":187289,"server_id":5,"link":"photo_3044286.html","width":130,"caption":"","height":130});
															thumbnails[3044299] = clik.newPhoto({"id":3044299,"src":"nursery_ave_2_thumb.jpg","galleries_id":187290,"server_id":5,"link":"photo_3044299.html","width":130,"caption":"","height":130});
															thumbnails[3753827] = clik.newPhoto({"id":3753827,"src":"reception_3_thumb.jpg","galleries_id":229074,"server_id":5,"link":"photo_3753827.html","width":130,"caption":"RECEPTION AREA","height":130});
															thumbnails[3753892] = clik.newPhoto({"id":3753892,"src":"airdrie_2_thumb.jpg","galleries_id":229094,"server_id":5,"link":"photo_3753892.html","width":130,"caption":"Waiting Area","height":130});
															thumbnails[3753928] = clik.newPhoto({"id":3753928,"src":"amber_1_thumb.jpg","galleries_id":187385,"server_id":5,"link":"photo_3753928.html","width":130,"caption":"Dining Area and Bar","height":130});
															thumbnails[3754125] = clik.newPhoto({"id":3754125,"src":"east_india_2_thumb.jpg","galleries_id":229103,"server_id":5,"link":"photo_3754125.html","width":130,"caption":"Elevation to Marina","height":130});
															thumbnails[3754383] = clik.newPhoto({"id":3754383,"src":"gourock_bay_2_thumb.jpg","galleries_id":229119,"server_id":5,"link":"photo_3754383.html","width":130,"caption":"Marina and Transport Interchange","height":130});
															thumbnails[3763627] = clik.newPhoto({"id":3763627,"src":"houston_road_2_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763627.html","width":130,"caption":"Plot 1 House Frontage (3D Visual)","height":130});
															thumbnails[3778032] = clik.newPhoto({"id":3778032,"src":"CGC_05_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778032.html","width":130,"caption":"Open Display","height":130});
															thumbnails[3880339] = clik.newPhoto({"id":3880339,"src":"prospecthill_2_thumb.jpg","galleries_id":235729,"server_id":5,"link":"photo_3880339.html","width":130,"caption":"View from South East","height":130});
															thumbnails[4258327] = clik.newPhoto({"id":4258327,"src":"levan_wood_2_thumb.jpg","galleries_id":251942,"server_id":5,"link":"photo_4258327.html","width":130,"caption":"Interior View of Living Area","height":130});
															thumbnails[4831524] = clik.newPhoto({"id":4831524,"src":"cowie_002_thumb.jpg","galleries_id":275974,"server_id":5,"link":"photo_4831524.html","width":130,"caption":"Existing Kitchen","height":130});
															thumbnails[4909269] = clik.newPhoto({"id":4909269,"src":"semple_002_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4909269.html","width":130,"caption":"Night-time view from exterior.","height":130});
															thumbnails[4992530] = clik.newPhoto({"id":4992530,"src":"1617-004_thumb.jpg","galleries_id":283439,"server_id":5,"link":"photo_4992530.html","width":130,"caption":"","height":130});
															thumbnails[5124029] = clik.newPhoto({"id":5124029,"src":"columbas_002_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_5124029.html","width":130,"caption":"Photo-realistic 3-d image of proposal prepared in-house.","height":130});
															thumbnails[5221587] = clik.newPhoto({"id":5221587,"src":"Flava_002_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221587.html","width":130,"caption":"","height":130});
															thumbnails[6984879] = clik.newPhoto({"id":6984879,"src":"P5311348_thumb.jpg","galleries_id":378545,"server_id":5,"link":"photo_6984879.html","width":130,"caption":"Extension under construction.","height":130});
															thumbnails[6984884] = clik.newPhoto({"id":6984884,"src":"P5311343_thumb.jpg","galleries_id":378545,"server_id":5,"link":"photo_6984884.html","width":130,"caption":"Steelwork detailing.","height":130});
															thumbnails[7174214] = clik.newPhoto({"id":7174214,"src":"PICT1295_thumb.jpg","galleries_id":229085,"server_id":5,"link":"photo_7174214.html","width":130,"caption":"","height":130});
															thumbnails[7177813] = clik.newPhoto({"id":7177813,"src":"house_36_thumb.jpg","galleries_id":229833,"server_id":5,"link":"photo_7177813.html","width":130,"caption":"Completed House","height":130});
															thumbnails[7677142] = clik.newPhoto({"id":7677142,"src":"P1060887-finished_thumb.jpg","galleries_id":415670,"server_id":5,"link":"photo_7677142.html","width":130,"caption":"New Reception Area","height":130});
															thumbnails[7677433] = clik.newPhoto({"id":7677433,"src":"DSC04337_thumb.jpg","galleries_id":415792,"server_id":5,"link":"photo_7677433.html","width":130,"caption":"Servery","height":130});
															thumbnails[8668168] = clik.newPhoto({"id":8668168,"src":"DSC04923_thumb.jpg","galleries_id":448145,"server_id":5,"link":"photo_8668168.html","width":130,"caption":"Completed rear view","height":130});
															thumbnails[8668298] = clik.newPhoto({"id":8668298,"src":"f_DSC5469_thumb.jpg","galleries_id":457622,"server_id":5,"link":"photo_8668298.html","width":130,"caption":"Banking hall and counters","height":130});
															thumbnails[8668401] = clik.newPhoto({"id":8668401,"src":"P1060906_thumb.JPG","galleries_id":457623,"server_id":5,"link":"photo_8668401.html","width":130,"caption":"Rear elevation during construction","height":130});
															thumbnails[8668447] = clik.newPhoto({"id":8668447,"src":"P1080046_thumb.jpg","galleries_id":457627,"server_id":5,"link":"photo_8668447.html","width":130,"caption":"View following completion of extension","height":130});
															thumbnails[8668526] = clik.newPhoto({"id":8668526,"src":"_DSC3726_thumb.jpg","galleries_id":457630,"server_id":5,"link":"photo_8668526.html","width":130,"caption":"Detailed view from patio","height":130});
															thumbnails[3753839] = clik.newPhoto({"id":3753839,"src":"student-room-2_thumb.jpg","galleries_id":229074,"server_id":5,"link":"photo_3753839.html","width":130,"caption":"Student Surgery","height":130});
															thumbnails[3753896] = clik.newPhoto({"id":3753896,"src":"airdrie_3_thumb.jpg","galleries_id":229094,"server_id":5,"link":"photo_3753896.html","width":130,"caption":"Bar and Buffet Area","height":130});
															thumbnails[3753930] = clik.newPhoto({"id":3753930,"src":"amber_2_thumb.jpg","galleries_id":187385,"server_id":5,"link":"photo_3753930.html","width":130,"caption":"Booth Seating","height":130});
															thumbnails[3754130] = clik.newPhoto({"id":3754130,"src":"east_india_3_thumb.jpg","galleries_id":229103,"server_id":5,"link":"photo_3754130.html","width":130,"caption":"Gabel Elevation","height":130});
															thumbnails[3754391] = clik.newPhoto({"id":3754391,"src":"gourock_bay_3_thumb.jpg","galleries_id":229119,"server_id":5,"link":"photo_3754391.html","width":130,"caption":"Transport Interchange Building","height":130});
															thumbnails[3763968] = clik.newPhoto({"id":3763968,"src":"houston_road_3_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763968.html","width":130,"caption":"Plot 2 House Frontage","height":130});
															thumbnails[3778033] = clik.newPhoto({"id":3778033,"src":"CGC_06_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778033.html","width":130,"caption":"Display and Pergola","height":130});
															thumbnails[3880362] = clik.newPhoto({"id":3880362,"src":"prospecthill_4_thumb.jpg","galleries_id":235729,"server_id":5,"link":"photo_3880362.html","width":130,"caption":"Detail at pend","height":130});
															thumbnails[4258330] = clik.newPhoto({"id":4258330,"src":"levan_wood_3_thumb.jpg","galleries_id":251942,"server_id":5,"link":"photo_4258330.html","width":130,"caption":"Interior View of Living Area","height":130});
															thumbnails[4415937] = clik.newPhoto({"id":4415937,"src":"_DSC5039_thumb.jpg","galleries_id":187289,"server_id":5,"link":"photo_4415937.html","width":130,"caption":"","height":130});
															thumbnails[4415989] = clik.newPhoto({"id":4415989,"src":"DSC_5835_thumb.jpg","galleries_id":187288,"server_id":5,"link":"photo_4415989.html","width":130,"caption":"","height":130});
															thumbnails[4442081] = clik.newPhoto({"id":4442081,"src":"_4033367_thumb.jpg","galleries_id":187290,"server_id":5,"link":"photo_4442081.html","width":130,"caption":"","height":130});
															thumbnails[4831552] = clik.newPhoto({"id":4831552,"src":"cowie_003_thumb.jpg","galleries_id":275974,"server_id":5,"link":"photo_4831552.html","width":130,"caption":"Rear Elevation with Extension","height":130});
															thumbnails[4909277] = clik.newPhoto({"id":4909277,"src":"semple_003_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4909277.html","width":130,"caption":"Night-time view of kitchen and gallery.","height":130});
															thumbnails[4992535] = clik.newPhoto({"id":4992535,"src":"1617-006_thumb.jpg","galleries_id":283439,"server_id":5,"link":"photo_4992535.html","width":130,"caption":"","height":130});
															thumbnails[5124030] = clik.newPhoto({"id":5124030,"src":"columbas_003_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_5124030.html","width":130,"caption":"Photo-realistic 3-d image of proposal prepared in-house.","height":130});
															thumbnails[5221592] = clik.newPhoto({"id":5221592,"src":"Flava_003_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221592.html","width":130,"caption":"","height":130});
															thumbnails[7177831] = clik.newPhoto({"id":7177831,"src":"_DSC0372_thumb.jpg","galleries_id":387882,"server_id":5,"link":"photo_7177831.html","width":130,"caption":"","height":130});
															thumbnails[7677143] = clik.newPhoto({"id":7677143,"src":"P1060891-finished_thumb.jpg","galleries_id":415670,"server_id":5,"link":"photo_7677143.html","width":130,"caption":"New Waiting Area","height":130});
															thumbnails[7677434] = clik.newPhoto({"id":7677434,"src":"DSC04338_thumb.jpg","galleries_id":415792,"server_id":5,"link":"photo_7677434.html","width":130,"caption":"Unit Entrance","height":130});
															thumbnails[8668187] = clik.newPhoto({"id":8668187,"src":"DSC04924_thumb.jpg","galleries_id":448145,"server_id":5,"link":"photo_8668187.html","width":130,"caption":"Completed view showing patio","height":130});
															thumbnails[8668299] = clik.newPhoto({"id":8668299,"src":"f_DSC5481_thumb.jpg","galleries_id":457622,"server_id":5,"link":"photo_8668299.html","width":130,"caption":"Banking hall","height":130});
															thumbnails[8668404] = clik.newPhoto({"id":8668404,"src":"P1060944_thumb.JPG","galleries_id":457623,"server_id":5,"link":"photo_8668404.html","width":130,"caption":"Elevation to river during construction","height":130});
															thumbnails[8668451] = clik.newPhoto({"id":8668451,"src":"P1080037_thumb.jpg","galleries_id":457627,"server_id":5,"link":"photo_8668451.html","width":130,"caption":"Rear lounge","height":130});
															thumbnails[8668534] = clik.newPhoto({"id":8668534,"src":"_DSC3732_thumb.jpg","galleries_id":457630,"server_id":5,"link":"photo_8668534.html","width":130,"caption":"Garden room \/ kitchen","height":130});
															thumbnails[3753776] = clik.newPhoto({"id":3753776,"src":"1797_aft_02_thumb.jpg","galleries_id":229068,"server_id":5,"link":"photo_3753776.html","width":130,"caption":"Interior View","height":130});
															thumbnails[3753931] = clik.newPhoto({"id":3753931,"src":"amber_3_thumb.jpg","galleries_id":187385,"server_id":5,"link":"photo_3753931.html","width":130,"caption":"Dining Area and Shopfront","height":130});
															thumbnails[3754133] = clik.newPhoto({"id":3754133,"src":"east_india_4_thumb.jpg","galleries_id":229103,"server_id":5,"link":"photo_3754133.html","width":130,"caption":"Elevation to Town Centre","height":130});
															thumbnails[3754411] = clik.newPhoto({"id":3754411,"src":"gourock_bay_4_thumb.jpg","galleries_id":229119,"server_id":5,"link":"photo_3754411.html","width":130,"caption":"Marina Elevation","height":130});
															thumbnails[3763972] = clik.newPhoto({"id":3763972,"src":"houston_road_4_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763972.html","width":130,"caption":"Plot 2 House Entrance","height":130});
															thumbnails[3778034] = clik.newPhoto({"id":3778034,"src":"CGC_08_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778034.html","width":130,"caption":"Pergola","height":130});
															thumbnails[3880367] = clik.newPhoto({"id":3880367,"src":"prospecthill_5_thumb.jpg","galleries_id":235729,"server_id":5,"link":"photo_3880367.html","width":130,"caption":"Corner Detail","height":130});
															thumbnails[4258332] = clik.newPhoto({"id":4258332,"src":"levan_wood_4_thumb.jpg","galleries_id":251942,"server_id":5,"link":"photo_4258332.html","width":130,"caption":"Interior View of Dining Area","height":130});
															thumbnails[4415938] = clik.newPhoto({"id":4415938,"src":"_DSC5318_thumb.jpg","galleries_id":187289,"server_id":5,"link":"photo_4415938.html","width":130,"caption":"","height":130});
															thumbnails[4415990] = clik.newPhoto({"id":4415990,"src":"DSC_5854_thumb.jpg","galleries_id":187288,"server_id":5,"link":"photo_4415990.html","width":130,"caption":"","height":130});
															thumbnails[4442084] = clik.newPhoto({"id":4442084,"src":"_4033416_thumb.jpg","galleries_id":187290,"server_id":5,"link":"photo_4442084.html","width":130,"caption":"","height":128});
															thumbnails[4831556] = clik.newPhoto({"id":4831556,"src":"cowie_004_thumb.jpg","galleries_id":275974,"server_id":5,"link":"photo_4831556.html","width":130,"caption":"New Dining Room","height":130});
															thumbnails[4909287] = clik.newPhoto({"id":4909287,"src":"semple_004_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4909287.html","width":130,"caption":"Interior view showing dining area.","height":130});
															thumbnails[4992536] = clik.newPhoto({"id":4992536,"src":"1617-007_thumb.jpg","galleries_id":283439,"server_id":5,"link":"photo_4992536.html","width":130,"caption":"","height":130});
															thumbnails[5221597] = clik.newPhoto({"id":5221597,"src":"Flava_004_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221597.html","width":130,"caption":"","height":130});
															thumbnails[6984877] = clik.newPhoto({"id":6984877,"src":"P8071477_thumb.jpg","galleries_id":378545,"server_id":5,"link":"photo_6984877.html","width":130,"caption":"Completed extension.","height":130});
															thumbnails[7177834] = clik.newPhoto({"id":7177834,"src":"_DSC0376_thumb.jpg","galleries_id":387882,"server_id":5,"link":"photo_7177834.html","width":130,"caption":"","height":130});
															thumbnails[7677141] = clik.newPhoto({"id":7677141,"src":"P1060902-finished_thumb.jpg","galleries_id":415670,"server_id":5,"link":"photo_7677141.html","width":130,"caption":"New Display and Booths","height":130});
															thumbnails[7677263] = clik.newPhoto({"id":7677263,"src":"P4127011_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_7677263.html","width":130,"caption":"Completed Corridor","height":130});
															thumbnails[8668194] = clik.newPhoto({"id":8668194,"src":"DSC04917_thumb.jpg","galleries_id":448145,"server_id":5,"link":"photo_8668194.html","width":130,"caption":"Completed patio and landscaping","height":130});
															thumbnails[8668300] = clik.newPhoto({"id":8668300,"src":"r_DSC5482_thumb.jpg","galleries_id":457622,"server_id":5,"link":"photo_8668300.html","width":130,"caption":"Banking hall and shopfront","height":130});
															thumbnails[8668408] = clik.newPhoto({"id":8668408,"src":"_DSC4066_thumb.jpg","galleries_id":457623,"server_id":5,"link":"photo_8668408.html","width":130,"caption":"Completed rear extension","height":130});
															thumbnails[8668455] = clik.newPhoto({"id":8668455,"src":"P1080032_thumb.jpg","galleries_id":457627,"server_id":5,"link":"photo_8668455.html","width":130,"caption":"Loft space storage","height":130});
															thumbnails[8668540] = clik.newPhoto({"id":8668540,"src":"_DSC3747_thumb.jpg","galleries_id":457630,"server_id":5,"link":"photo_8668540.html","width":130,"caption":"Entrance hallway","height":130});
															thumbnails[3778038] = clik.newPhoto({"id":3778038,"src":"CGC_07_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778038.html","width":130,"caption":"Display and Retail Sheds","height":130});
															thumbnails[3754288] = clik.newPhoto({"id":3754288,"src":"east_india_5_thumb.jpg","galleries_id":229103,"server_id":5,"link":"photo_3754288.html","width":130,"caption":"Site Masterplan","height":130});
															thumbnails[3754429] = clik.newPhoto({"id":3754429,"src":"gourock_bay_5_thumb.jpg","galleries_id":229119,"server_id":5,"link":"photo_3754429.html","width":130,"caption":"Marina Housing Elevation","height":130});
															thumbnails[3763976] = clik.newPhoto({"id":3763976,"src":"houston_road_5_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763976.html","width":130,"caption":"Site Layout","height":130});
															thumbnails[3778035] = clik.newPhoto({"id":3778035,"src":"CGC_01_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778035.html","width":130,"caption":"Restaurant","height":130});
															thumbnails[4831563] = clik.newPhoto({"id":4831563,"src":"cowie_005_thumb.jpg","galleries_id":275974,"server_id":5,"link":"photo_4831563.html","width":130,"caption":"New Kitchen","height":130});
															thumbnails[4910297] = clik.newPhoto({"id":4910297,"src":"semple_005_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4910297.html","width":130,"caption":"Exterior view over balcony.","height":130});
															thumbnails[5221655] = clik.newPhoto({"id":5221655,"src":"Flava_005_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221655.html","width":130,"caption":"","height":130});
															thumbnails[7177841] = clik.newPhoto({"id":7177841,"src":"_DSC0385_thumb.jpg","galleries_id":387882,"server_id":5,"link":"photo_7177841.html","width":130,"caption":"","height":130});
															thumbnails[7190536] = clik.newPhoto({"id":7190536,"src":"_DSC0387_thumb.jpg","galleries_id":387882,"server_id":5,"link":"photo_7190536.html","width":130,"caption":"","height":130});
															thumbnails[7677264] = clik.newPhoto({"id":7677264,"src":"P4137096_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_7677264.html","width":130,"caption":"Refurbished Reception Area","height":130});
															thumbnails[7677266] = clik.newPhoto({"id":7677266,"src":"P4137095_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_7677266.html","width":130,"caption":"Refurbished Main Stair","height":130});
															thumbnails[8668413] = clik.newPhoto({"id":8668413,"src":"_DSC4081_thumb.jpg","galleries_id":457623,"server_id":5,"link":"photo_8668413.html","width":130,"caption":"Completed room within loft space","height":130});
															thumbnails[3754290] = clik.newPhoto({"id":3754290,"src":"east_india_6_thumb.jpg","galleries_id":229103,"server_id":5,"link":"photo_3754290.html","width":130,"caption":"Typical Floor Plan","height":130});
															thumbnails[3763978] = clik.newPhoto({"id":3763978,"src":"houston_road_6_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763978.html","width":130,"caption":"Plot 1 House Under Construction","height":130});
															thumbnails[3778037] = clik.newPhoto({"id":3778037,"src":"CGC_03_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778037.html","width":130,"caption":"Restaurant Servery and Display","height":130});
															thumbnails[4831566] = clik.newPhoto({"id":4831566,"src":"cowie_006_thumb.jpg","galleries_id":275974,"server_id":5,"link":"photo_4831566.html","width":130,"caption":"New Master Bedroom","height":130});
															thumbnails[4910300] = clik.newPhoto({"id":4910300,"src":"semple_006_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4910300.html","width":130,"caption":"First floor interior view","height":130});
															thumbnails[5221661] = clik.newPhoto({"id":5221661,"src":"Flava_006_thumb.jpg","galleries_id":294518,"server_id":5,"link":"photo_5221661.html","width":130,"caption":"","height":130});
															thumbnails[7677268] = clik.newPhoto({"id":7677268,"src":"P4137097_thumb.jpg","galleries_id":289570,"server_id":5,"link":"photo_7677268.html","width":130,"caption":"refurbished main access corridor","height":130});
															thumbnails[8668419] = clik.newPhoto({"id":8668419,"src":"_DSC4077_thumb.jpg","galleries_id":457623,"server_id":5,"link":"photo_8668419.html","width":130,"caption":"Completed room within loft space","height":130});
															thumbnails[3763982] = clik.newPhoto({"id":3763982,"src":"houston_road_7_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_3763982.html","width":130,"caption":"Plot 1 House Roof Structure","height":130});
															thumbnails[3778040] = clik.newPhoto({"id":3778040,"src":"CGC_04_thumb.jpg","galleries_id":230412,"server_id":5,"link":"photo_3778040.html","width":130,"caption":"Restaurant Dining","height":130});
															thumbnails[4910773] = clik.newPhoto({"id":4910773,"src":"semple_008_thumb.jpg","galleries_id":279659,"server_id":5,"link":"photo_4910773.html","width":130,"caption":"View into upper floor room from terrace.","height":130});
															thumbnails[5595611] = clik.newPhoto({"id":5595611,"src":"P1020517_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595611.html","width":130,"caption":"Plot 1 Exterior View (Complete)","height":130});
															thumbnails[5595619] = clik.newPhoto({"id":5595619,"src":"P1020518_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595619.html","width":130,"caption":"Plot 1 Exterior View (Complete)","height":130});
															thumbnails[5595624] = clik.newPhoto({"id":5595624,"src":"P1020524_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595624.html","width":130,"caption":"Plot 1 Exterior View (Complete)","height":130});
															thumbnails[5595626] = clik.newPhoto({"id":5595626,"src":"P1020477_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595626.html","width":130,"caption":"Plot 1 Entrance Hall","height":130});
															thumbnails[5595629] = clik.newPhoto({"id":5595629,"src":"P1020482_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595629.html","width":130,"caption":"Plot 1 Kitchen","height":130});
															thumbnails[5595633] = clik.newPhoto({"id":5595633,"src":"P1020490_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595633.html","width":130,"caption":"Plot 1 Master Bedroom","height":130});
															thumbnails[5595639] = clik.newPhoto({"id":5595639,"src":"P1020511_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595639.html","width":130,"caption":"Plot 1 Lounge","height":130});
															thumbnails[5595647] = clik.newPhoto({"id":5595647,"src":"P1020474_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595647.html","width":130,"caption":"Plot 1 Access Bridge","height":130});
															thumbnails[5595665] = clik.newPhoto({"id":5595665,"src":"P1020506_thumb.jpg","galleries_id":229484,"server_id":5,"link":"photo_5595665.html","width":130,"caption":"Plot 1 En-Suite","height":130});
															thumbnails[3885587] = clik.newPhoto({"id":3885587,"src":"arch_1_thumb.jpg","galleries_id":235991,"server_id":5,"link":"photo_3885587.html","width":130,"caption":"","height":130});
															thumbnails[3885663] = clik.newPhoto({"id":3885663,"src":"projman_1_thumb.jpg","galleries_id":235992,"server_id":5,"link":"photo_3885663.html","width":130,"caption":"","height":130});
															thumbnails[7174160] = clik.newPhoto({"id":7174160,"src":"CDM_thumb.jpg","galleries_id":235993,"server_id":5,"link":"photo_7174160.html","width":130,"caption":"","height":130});
															thumbnails[3885589] = clik.newPhoto({"id":3885589,"src":"arch_2_thumb.jpg","galleries_id":235991,"server_id":5,"link":"photo_3885589.html","width":130,"caption":"","height":130});
															thumbnails[3885664] = clik.newPhoto({"id":3885664,"src":"projman_2_thumb.jpg","galleries_id":235992,"server_id":5,"link":"photo_3885664.html","width":130,"caption":"","height":130});
															thumbnails[7174162] = clik.newPhoto({"id":7174162,"src":"CDM_3_thumb.jpg","galleries_id":235993,"server_id":5,"link":"photo_7174162.html","width":130,"caption":"","height":130});
															thumbnails[3885591] = clik.newPhoto({"id":3885591,"src":"arch_3_thumb.jpg","galleries_id":235991,"server_id":5,"link":"photo_3885591.html","width":130,"caption":"","height":130});
															thumbnails[3885668] = clik.newPhoto({"id":3885668,"src":"projman_3_thumb.jpg","galleries_id":235992,"server_id":5,"link":"photo_3885668.html","width":130,"caption":"","height":130});
															thumbnails[7174164] = clik.newPhoto({"id":7174164,"src":"CDM2_thumb.jpg","galleries_id":235993,"server_id":5,"link":"photo_7174164.html","width":130,"caption":"","height":130});
															thumbnails[3885592] = clik.newPhoto({"id":3885592,"src":"arch_4_thumb.jpg","galleries_id":235991,"server_id":5,"link":"photo_3885592.html","width":130,"caption":"","height":130});
															thumbnails[3885669] = clik.newPhoto({"id":3885669,"src":"projman_4_thumb.jpg","galleries_id":235992,"server_id":5,"link":"photo_3885669.html","width":130,"caption":"","height":130});
															thumbnails[7174166] = clik.newPhoto({"id":7174166,"src":"CDM4_thumb.jpg","galleries_id":235993,"server_id":5,"link":"photo_7174166.html","width":130,"caption":"","height":130});
															thumbnails[3883687] = clik.newPhoto({"id":3883687,"src":"office_2_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_3883687.html","width":130,"caption":"View from Union Street","height":130});
															thumbnails[3884150] = clik.newPhoto({"id":3884150,"src":"IT_1_thumb.jpg","galleries_id":235923,"server_id":5,"link":"photo_3884150.html","width":130,"caption":"Workstation","height":130});
															thumbnails[3884442] = clik.newPhoto({"id":3884442,"src":"IIP_1_thumb.jpg","galleries_id":230353,"server_id":5,"link":"photo_3884442.html","width":130,"caption":"Investors In People","height":130});
															thumbnails[3884481] = clik.newPhoto({"id":3884481,"src":"Quality_Systems_thumb.jpg","galleries_id":230354,"server_id":5,"link":"photo_3884481.html","width":130,"caption":"Quality Manual","height":130});
															thumbnails[3767024] = clik.newPhoto({"id":3767024,"src":"VC_thumb.jpg","galleries_id":229572,"server_id":5,"link":"photo_3767024.html","width":130,"caption":"Victor A Canata","height":130});
															thumbnails[3777906] = clik.newPhoto({"id":3777906,"src":"directions_glasgow_thumb.jpg","galleries_id":230401,"server_id":5,"link":"photo_3777906.html","width":130,"caption":"Directions from Glasgow<br>\r\n","height":130});
															thumbnails[3883689] = clik.newPhoto({"id":3883689,"src":"office_3_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_3883689.html","width":130,"caption":"Reception Area","height":130});
															thumbnails[3884153] = clik.newPhoto({"id":3884153,"src":"IT_2_thumb.jpg","galleries_id":235923,"server_id":5,"link":"photo_3884153.html","width":130,"caption":"A0 printer","height":130});
															thumbnails[3883698] = clik.newPhoto({"id":3883698,"src":"office_6_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_3883698.html","width":130,"caption":"Production Area","height":130});
															thumbnails[3883699] = clik.newPhoto({"id":3883699,"src":"office_7_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_3883699.html","width":130,"caption":"Workstations","height":130});
															thumbnails[3767015] = clik.newPhoto({"id":3767015,"src":"JS_thumb.jpg","galleries_id":229572,"server_id":5,"link":"photo_3767015.html","width":130,"caption":"John W Seggie","height":130});
															thumbnails[3777914] = clik.newPhoto({"id":3777914,"src":"directions_largs_thumb.jpg","galleries_id":230401,"server_id":5,"link":"photo_3777914.html","width":130,"caption":"Directions from Largs","height":130});
															thumbnails[3884156] = clik.newPhoto({"id":3884156,"src":"IT_3_thumb.jpg","galleries_id":235923,"server_id":5,"link":"photo_3884156.html","width":130,"caption":"A3 colour printer and A0 scanner","height":130});
															thumbnails[8039197] = clik.newPhoto({"id":8039197,"src":"P1080104_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_8039197.html","width":130,"caption":"Board Room","height":130});
															thumbnails[3767025] = clik.newPhoto({"id":3767025,"src":"DN_thumb.jpg","galleries_id":229572,"server_id":5,"link":"photo_3767025.html","width":130,"caption":"Douglas Nicholson","height":130});
															thumbnails[3883697] = clik.newPhoto({"id":3883697,"src":"office_5_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_3883697.html","width":130,"caption":"Meeting Room","height":130});
															thumbnails[3767026] = clik.newPhoto({"id":3767026,"src":"MR_thumb.jpg","galleries_id":229572,"server_id":5,"link":"photo_3767026.html","width":130,"caption":"Marco G Rebecchi","height":130});
															thumbnails[3776798] = clik.newPhoto({"id":3776798,"src":"office_1_thumb.jpg","galleries_id":229573,"server_id":5,"link":"photo_3776798.html","width":130,"caption":"Office Floor Plan","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[457622] = clik.newGallery({"parentGallery":229093,"usePopups":true,"title":"Airdrie Savings Bank, Falkirk","link":"gallery_457622.html","maxRecords":0.0,"photoIDs":[8668294.0,8668298.0,8668299.0,8668300.0],"skipIndex":0,"section_code":"gallery","featured_images":8668294.0,"id":457622,"singleSection":false});				  						galleries[294518] = clik.newGallery({"parentGallery":187384,"usePopups":true,"title":"Cafe Flava, Gourock","link":"gallery_294518.html","maxRecords":0.0,"photoIDs":[5221685.0,5221663.0,5221567.0,5221587.0,5221592.0,5221597.0,5221655.0,5221661.0],"skipIndex":0,"section_code":"gallery","featured_images":5221663.0,"id":294518,"singleSection":false});				  						galleries[415670] = clik.newGallery({"parentGallery":229093,"usePopups":true,"title":"Judy Plum, Glasgow","link":"gallery_415670.html","maxRecords":0.0,"photoIDs":[7675538.0,7677142.0,7677143.0,7677141.0],"skipIndex":0,"section_code":"gallery","featured_images":7677142.0,"id":415670,"singleSection":false});				  						galleries[187385] = clik.newGallery({"parentGallery":187384,"usePopups":true,"title":"Amber Restaurant, Glasgow","link":"gallery_187385.html","maxRecords":0.0,"photoIDs":[3045878.0,3753928.0,3753930.0,3753931.0],"skipIndex":0,"section_code":"gallery","featured_images":3045878.0,"id":187385,"singleSection":false});				  						galleries[235991] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Architecture & Interior Design","link":"section231877_235991.html","maxRecords":0.0,"photoIDs":[3885587.0,3885589.0,3885591.0,3885592.0],"skipIndex":0,"section_code":"section231877","featured_images":"3885592,3885591,3885589,3885587","id":235991,"singleSection":false});				  						galleries[230412] = clik.newGallery({"parentGallery":229093,"usePopups":true,"title":"Cardwell Garden Centre, Gourock","link":"gallery_230412.html","maxRecords":0.0,"photoIDs":[3778030.0,3778032.0,3778033.0,3778034.0,3778038.0,3778035.0,3778037.0,3778040.0],"skipIndex":0,"section_code":"gallery","featured_images":3778030.0,"id":230412,"singleSection":false});				  						galleries[229074] = clik.newGallery({"parentGallery":187286,"usePopups":true,"title":"Dental Teach and Treat","link":"gallery_229074.html","maxRecords":0.0,"photoIDs":[3753819.0,3753827.0,3753839.0],"skipIndex":0,"section_code":"gallery","featured_images":3753819.0,"id":229074,"singleSection":false});				  						galleries[229071] = clik.newGallery({"parentGallery":187285,"usePopups":true,"title":"Detached House, Gourock","link":"gallery_229071.html","maxRecords":0.0,"photoIDs":[3753790.0],"skipIndex":0,"section_code":"gallery","featured_images":3753790.0,"id":229071,"singleSection":false});				  						galleries[229103] = clik.newGallery({"parentGallery":229107,"usePopups":true,"title":"East India Harbour, Greenock","link":"gallery_229103.html","maxRecords":0.0,"photoIDs":[3753961.0,3754125.0,3754130.0,3754133.0,3754288.0,3754290.0],"skipIndex":0,"section_code":"gallery","featured_images":3753961.0,"id":229103,"singleSection":false});				  						galleries[187288] = clik.newGallery({"parentGallery":187284,"usePopups":true,"title":"Elderslie Flats","link":"gallery_187288.html","maxRecords":0.0,"photoIDs":[3044266.0,3044272.0,4415989.0,4415990.0],"skipIndex":0,"section_code":"gallery","featured_images":3044266.0,"id":187288,"singleSection":false});				  						galleries[299901] = clik.newGallery({"parentGallery":299895,"usePopups":true,"title":"Glasgow Storage Warehouse","link":"gallery_299901.html","maxRecords":0.0,"photoIDs":[7174176.0],"skipIndex":0,"section_code":"gallery","featured_images":7174176.0,"id":299901,"singleSection":false});				  						galleries[229068] = clik.newGallery({"parentGallery":187287,"usePopups":true,"title":"House Extension, Inverkip","link":"gallery_229068.html","maxRecords":0.0,"photoIDs":[3753767.0,3753772.0,3753775.0,3753776.0],"skipIndex":0,"section_code":"gallery","featured_images":3753775.0,"id":229068,"singleSection":false});				  						galleries[187284] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Residential","link":"gallery_187284.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"4992528,4258322,3880329,3768206,3044277,3044266","id":187284,"singleSection":false});				  						galleries[289570] = clik.newGallery({"parentGallery":289553,"usePopups":true,"title":"St. Columba's, Kilmacolm","link":"gallery_289570.html","maxRecords":0.0,"photoIDs":[7677261.0,5124026.0,5124029.0,5124030.0,7677263.0,7677264.0,7677266.0,7677268.0],"skipIndex":0,"section_code":"gallery","featured_images":5124026.0,"id":289570,"singleSection":false});				  						galleries[378545] = clik.newGallery({"parentGallery":299895,"usePopups":true,"title":"W.L. Gore, Livingston","link":"gallery_378545.html","maxRecords":0.0,"photoIDs":[6984879.0,6984884.0,6984877.0],"skipIndex":0,"section_code":"gallery","featured_images":6984877.0,"id":378545,"singleSection":false});				  						galleries[229085] = clik.newGallery({"parentGallery":187285,"usePopups":true,"title":"3-Storey House, Gourock","link":"gallery_229085.html","maxRecords":0.0,"photoIDs":[7174205.0,7174214.0],"skipIndex":0,"section_code":"gallery","featured_images":"7174214,7174205","id":229085,"singleSection":false});				  						galleries[229572] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Directors","link":"section231876_229572.html","maxRecords":0.0,"photoIDs":[3767024.0,3767015.0,3767025.0,3767026.0],"skipIndex":0,"section_code":"section231876","featured_images":3767024.0,"id":229572,"singleSection":false});				  						galleries[187289] = clik.newGallery({"parentGallery":187284,"usePopups":true,"title":"Eldon Street Flats","link":"gallery_187289.html","maxRecords":0.0,"photoIDs":[3044277.0,3044286.0,4415937.0,4415938.0],"skipIndex":0,"section_code":"gallery","featured_images":3044277.0,"id":187289,"singleSection":false});				  						galleries[229119] = clik.newGallery({"parentGallery":262362,"usePopups":true,"title":"Gourock Bay","link":"gallery_229119.html","maxRecords":0.0,"photoIDs":[3754358.0,3754383.0,3754391.0,3754411.0,3754429.0],"skipIndex":0,"section_code":"gallery","featured_images":"3754429,3754411,3754391,3754383,3754358","id":229119,"singleSection":false});				  						galleries[275974] = clik.newGallery({"parentGallery":187287,"usePopups":true,"title":"House Extension and Alterations, Gourock","link":"gallery_275974.html","maxRecords":0.0,"photoIDs":[4831506.0,4831524.0,4831552.0,4831556.0,4831563.0,4831566.0],"skipIndex":0,"section_code":"gallery","featured_images":4831552.0,"id":275974,"singleSection":false});				  						galleries[229094] = clik.newGallery({"parentGallery":187384,"usePopups":true,"title":"Jade Palace Restaurant, Airdrie","link":"gallery_229094.html","maxRecords":0.0,"photoIDs":[3753891.0,3753892.0,3753896.0],"skipIndex":0,"section_code":"gallery","featured_images":"3753896,3753892,3753891","id":229094,"singleSection":false});				  						galleries[235992] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Project Management","link":"section231877_235992.html","maxRecords":0.0,"photoIDs":[3885663.0,3885664.0,3885668.0,3885669.0],"skipIndex":0,"section_code":"section231877","featured_images":"3885669,3885668,3885664,3885663","id":235992,"singleSection":false});				  						galleries[187285] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Single Dwellings","link":"gallery_187285.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8668469,3753790","id":187285,"singleSection":false});				  						galleries[187287] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"House Extensions","link":"gallery_187287.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8668447,8668413,8668168,4909287,4831552,3753775","id":187287,"singleSection":false});				  						galleries[230353] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Vision","link":"section231876_230353.html","maxRecords":0.0,"photoIDs":[3884442.0],"skipIndex":0,"section_code":"section231876","featured_images":3884442.0,"id":230353,"singleSection":false});				  						galleries[235993] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"CDM Co-ordination","link":"section231877_235993.html","maxRecords":0.0,"photoIDs":[7174160.0,7174162.0,7174164.0,7174166.0],"skipIndex":0,"section_code":"section231877","featured_images":7174160.0,"id":235993,"singleSection":false});				  						galleries[229838] = clik.newGallery({"parentGallery":229107,"usePopups":true,"title":"Cowan's Corner","link":"gallery_229838.html","maxRecords":0.0,"photoIDs":[3768139.0],"skipIndex":0,"section_code":"gallery","featured_images":3768139.0,"id":229838,"singleSection":false});				  						galleries[187286] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Health Care","link":"gallery_187286.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":3753819.0,"id":187286,"singleSection":false});				  						galleries[279659] = clik.newGallery({"parentGallery":187287,"usePopups":true,"title":"House Extension Proposal, Gourock","link":"gallery_279659.html","maxRecords":0.0,"photoIDs":[4933595.0,4909232.0,4909269.0,4909277.0,4909287.0,4910297.0,4910300.0,4910773.0],"skipIndex":0,"section_code":"gallery","featured_images":4909287.0,"id":279659,"singleSection":false});				  						galleries[387882] = clik.newGallery({"parentGallery":187286,"usePopups":true,"title":"Inverclyde Royal Hospital","link":"gallery_387882.html","maxRecords":0.0,"photoIDs":[7177831.0,7177834.0,7177841.0,7190536.0],"skipIndex":0,"section_code":"gallery","featured_images":"7190536,7177841,7177834,7177831","id":387882,"singleSection":false});				  						galleries[187290] = clik.newGallery({"parentGallery":187284,"usePopups":true,"title":"Kilmarnock Flats","link":"gallery_187290.html","maxRecords":0.0,"photoIDs":[3768206.0,3044299.0,4442081.0,4442084.0],"skipIndex":0,"section_code":"gallery","featured_images":3768206.0,"id":187290,"singleSection":false});				  						galleries[229573] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Premises","link":"section231876_229573.html","maxRecords":0.0,"photoIDs":[3883687.0,3883689.0,3883698.0,3883699.0,8039197.0,3883697.0,3776798.0],"skipIndex":0,"section_code":"section231876","featured_images":"8039197,3883689","id":229573,"singleSection":false});				  						galleries[229484] = clik.newGallery({"parentGallery":187285,"usePopups":true,"title":"Two Detached Houses, Kilmacolm","link":"gallery_229484.html","maxRecords":0.0,"photoIDs":[3763619.0,3763627.0,3763968.0,3763972.0,3763976.0,3763978.0,3763982.0,5595611.0,5595619.0,5595624.0,5595626.0,5595629.0,5595633.0,5595639.0,5595647.0,5595665.0],"skipIndex":0,"section_code":"gallery","featured_images":"5595665,5595647,5595639,5595633,5595629,5595626,5595624,5595619,5595611,3763982","id":229484,"singleSection":false});				  						galleries[235923] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Information Technology","link":"section231876_235923.html","maxRecords":0.0,"photoIDs":[3884150.0,3884153.0,3884156.0],"skipIndex":0,"section_code":"section231876","featured_images":3884150.0,"id":235923,"singleSection":false});				  						galleries[230354] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Quality Systems","link":"section231876_230354.html","maxRecords":0.0,"photoIDs":[3884481.0],"skipIndex":0,"section_code":"section231876","featured_images":3884481.0,"id":230354,"singleSection":false});				  						galleries[415792] = clik.newGallery({"parentGallery":187384,"usePopups":true,"title":"Burger King, East Kilbride","link":"gallery_415792.html","maxRecords":0.0,"photoIDs":[7677431.0,7677433.0,7677434.0],"skipIndex":0,"section_code":"gallery","featured_images":"7677434,7677433,7677431","id":415792,"singleSection":false});				  						galleries[229833] = clik.newGallery({"parentGallery":187285,"usePopups":true,"title":"Detached 2-storey House, Gourock","link":"gallery_229833.html","maxRecords":0.0,"photoIDs":[3768135.0,7177813.0],"skipIndex":0,"section_code":"gallery","featured_images":"7177813,3768135","id":229833,"singleSection":false});				  						galleries[448145] = clik.newGallery({"parentGallery":187287,"usePopups":true,"title":"House Extension, Esplanade, Greenock","link":"gallery_448145.html","maxRecords":0.0,"photoIDs":[8471279.0,8668168.0,8668187.0,8668194.0],"skipIndex":0,"section_code":"gallery","featured_images":8668168.0,"id":448145,"singleSection":false});				  						galleries[235729] = clik.newGallery({"parentGallery":187284,"usePopups":true,"title":"Prospecthill Street Flats","link":"gallery_235729.html","maxRecords":0.0,"photoIDs":[3880329.0,3880339.0,3880362.0,3880367.0],"skipIndex":0,"section_code":"gallery","featured_images":3880329.0,"id":235729,"singleSection":false});				  						galleries[187384] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Bars and Restaurants","link":"gallery_187384.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5221663,3045878","id":187384,"singleSection":false});				  						galleries[229093] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Commercial","link":"gallery_229093.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"8668294,7677142,3778030","id":229093,"singleSection":false});				  						galleries[251942] = clik.newGallery({"parentGallery":187284,"usePopups":true,"title":"Levan Wood Flats","link":"gallery_251942.html","maxRecords":0.0,"photoIDs":[4258322.0,4258327.0,4258330.0,4258332.0],"skipIndex":0,"section_code":"gallery","featured_images":4258322.0,"id":251942,"singleSection":false});				  						galleries[230401] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Location","link":"section231876_230401.html","maxRecords":0.0,"photoIDs":[3777906.0,3777914.0],"skipIndex":0,"section_code":"section231876","featured_images":"3777914,3777906","id":230401,"singleSection":false});				  						galleries[457623] = clik.newGallery({"parentGallery":187287,"usePopups":true,"title":"Loft Conversion and Extension, Gourock","link":"gallery_457623.html","maxRecords":0.0,"photoIDs":[8668399.0,8668401.0,8668404.0,8668408.0,8668413.0,8668419.0],"skipIndex":0,"section_code":"gallery","featured_images":8668413.0,"id":457623,"singleSection":false});				  						galleries[285803] = clik.newGallery({"parentGallery":187285,"usePopups":true,"title":"Two Detached Houses, Newton Mearns","link":"gallery_285803.html","maxRecords":0.0,"photoIDs":[5050395.0],"skipIndex":0,"section_code":"gallery","featured_images":5050395.0,"id":285803,"singleSection":false});				  						galleries[457630] = clik.newGallery({"parentGallery":187285,"usePopups":true,"title":"Detached house, Troon","link":"gallery_457630.html","maxRecords":0.0,"photoIDs":[8668469.0,8668526.0,8668534.0,8668540.0],"skipIndex":0,"section_code":"gallery","featured_images":8668469.0,"id":457630,"singleSection":false});				  						galleries[283439] = clik.newGallery({"parentGallery":187284,"usePopups":true,"title":"Inverkip Road Flats","link":"gallery_283439.html","maxRecords":0.0,"photoIDs":[4992528.0,4992530.0,4992535.0,4992536.0],"skipIndex":0,"section_code":"gallery","featured_images":4992528.0,"id":283439,"singleSection":false});				  						galleries[457627] = clik.newGallery({"parentGallery":187287,"usePopups":true,"title":"Side and rear extension to house, Langbank","link":"gallery_457627.html","maxRecords":0.0,"photoIDs":[8668446.0,8668447.0,8668451.0,8668455.0],"skipIndex":0,"section_code":"gallery","featured_images":8668447.0,"id":457627,"singleSection":false});				  						galleries[262362] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Masterplanning","link":"gallery_262362.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"3754429,3754411,3754391,3754383,3754358","id":262362,"singleSection":false});				  						galleries[289553] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Education","link":"gallery_289553.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":5124026.0,"id":289553,"singleSection":false});				  						galleries[299895] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Industrial","link":"gallery_299895.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":6984877.0,"id":299895,"singleSection":false});				  						galleries[229107] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Competitions \/ Unbuilt","link":"gallery_229107.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":3753961.0,"id":229107,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8668294,4933595,5221685,3753775,5221663,8668469,7174205,7174176,7174160,5221567,5124026,5050395,4992528,4909232,4258322,3885663,3885587,3880329,3778030,3753961,3753819,3753790,3045878,3044277,3044266,7677431,8668447,8668168,7677433,7677142,7177813,7174214,7174162,6984884,6984879,5221587,5124029,4992530,4909269,4258327,3885664,3885589,3880339,3044286,7677434,7177831,7174164,5221592,5124030,4992535,4909277,4831552,4442081,4415989,4415937,4258330,3885668,3885591,3880362,7677263,7677141,7177834,7174166,6984877,5221597,4992536,4909287,4831556,4442084,4415990,4415938,4258332,3885669,3885592,8668413,7677266,7677264,7190536,7177841,5221655,4910297,4831563,7677268,5221661,4910300,4831566,3763978,5595611,4910773,3778040,5595619,5595624,5595626,5595629,5595633,5595639,5595647,5595665';
imageSets[2] = '8668294,3753775,5221663,8668469,7174160,5124026,4992528,4258322,3884442,3884150,3880329,3778030,3768206,3753961,3753819,3753790,3045878,3044277,3044266,8668447,8668168,7677142,3883689,3767024,8039197,4831552,6984877,4909287,8668413';
imageSets[3] = '7677261,5221685,5221663,7675538,7174205,7174176,7174160,5221567,5124026,5050395,7677431,7677433,7677142,7177813,7174214,7174162,6984884,6984879,5221587,5124029,7677434,7677143,7177831,7174164,5221592,5124030,4992535';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/canseg1/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/canseg1/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/canseg1/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/canseg1/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/canseg1/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/canseg1/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/canseg1/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/canseg1/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Canata & Seggie Chartered Architects: ' + 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;
	}
}

			

