window.thumbnails = new Object();
												thumbnails[5616290] = new thumbnail(5616290,'','','Ken_Ward_thumb.jpg',130, 107,1,'#');
												thumbnails[5756412] = new thumbnail(5756412,'','','Guardian_Camera_Club_thumb.jpg',130, 86,1,'#');
												thumbnails[6177453] = new thumbnail(6177453,'','','Rhiannon_and_Dennys_wedding_41_thumb.jpg',130, 87,1,'#');
												thumbnails[6213206] = new thumbnail(6213206,'','2XS 1822','2XS_1822_thumb.jpg',84, 130,1,'#');
												thumbnails[6245325] = new thumbnail(6245325,'',' MG 7444','_MG_7444_thumb.jpg',130, 85,1,'#');
												thumbnails[6177452] = new thumbnail(6177452,'','','Rhiannon_and_Dennys_wedding_31_thumb.jpg',130, 86,1,'#');
												thumbnails[6213200] = new thumbnail(6213200,'','2XS 1688','2XS_1688_thumb.jpg',72, 130,1,'#');
												thumbnails[6213207] = new thumbnail(6213207,'','2XS 2122','2XS_2122_thumb.jpg',86, 130,1,'#');
												thumbnails[6245328] = new thumbnail(6245328,'',' MG 7454','_MG_7454_thumb.jpg',130, 87,1,'#');
												thumbnails[6358912] = new thumbnail(6358912,'',' MG 8434','_MG_8434_thumb.jpg',87, 130,1,'#');
												thumbnails[6177445] = new thumbnail(6177445,'','Wedding Photography Cardiff','Rhiannon_and_Dennys_wedding_11_thumb.jpg',130, 87,1,'#');
												thumbnails[6213208] = new thumbnail(6213208,'','2XS 2123','2XS_2123_thumb.jpg',83, 130,1,'#');
												thumbnails[6358913] = new thumbnail(6358913,'',' MG 8438','_MG_8438_thumb.jpg',83, 130,1,'#');
												thumbnails[6468343] = new thumbnail(6468343,'','','architectural_photography_cardiff_2_thumb.jpg',130, 87,1,'#');
												thumbnails[6244516] = new thumbnail(6244516,'','wedding photography','web1_MG_5669_thumb.jpg',100, 130,1,'#');
												thumbnails[6245333] = new thumbnail(6245333,'',' MG 7467','_MG_7467_thumb.jpg',82, 130,1,'#');
												thumbnails[6358914] = new thumbnail(6358914,'',' MG 8465','_MG_8465_thumb.jpg',87, 130,1,'#');
												thumbnails[6439437] = new thumbnail(6439437,'',' 2XS3086','_2XS3086_thumb.jpg',130, 86,1,'#');
												thumbnails[6213199] = new thumbnail(6213199,'','2XS 1609','2XS_1609_thumb.jpg',130, 120,1,'#');
												thumbnails[6245335] = new thumbnail(6245335,'',' MG 7486','_MG_7486_thumb.jpg',130, 74,1,'#');
												thumbnails[6358915] = new thumbnail(6358915,'',' MG 8479','_MG_8479_thumb.jpg',96, 130,1,'#');
												thumbnails[6468341] = new thumbnail(6468341,'','architectural photography','architectural_photography_thumb.jpg',67, 130,1,'#');
												thumbnails[5616697] = new thumbnail(5616697,'','','Art_Project_thumb.jpg',130, 47,1,'#');
												thumbnails[6245336] = new thumbnail(6245336,'',' MG 7493','_MG_7493_thumb.jpg',130, 80,1,'#');
												thumbnails[6358916] = new thumbnail(6358916,'',' MG 8484','_MG_8484_thumb.jpg',130, 86,1,'#');
												thumbnails[6245337] = new thumbnail(6245337,'',' MG 7555','_MG_7555_thumb.jpg',130, 87,1,'#');
												thumbnails[6358917] = new thumbnail(6358917,'',' MG 8485','_MG_8485_thumb.jpg',81, 130,1,'#');
												thumbnails[6245340] = new thumbnail(6245340,'',' MG 7573','_MG_7573_thumb.jpg',130, 87,1,'#');
												thumbnails[6358918] = new thumbnail(6358918,'',' MG 8491','_MG_8491_thumb.jpg',69, 130,1,'#');
												thumbnails[3814614] = new thumbnail(3814614,'','','re_1227mono_thumb.jpg',130, 86,1,'#');
												thumbnails[6245342] = new thumbnail(6245342,'',' MG 7604','_MG_7604_thumb.jpg',130, 87,1,'#');
												thumbnails[6358919] = new thumbnail(6358919,'',' MG 8492','_MG_8492_thumb.jpg',130, 87,1,'#');
												thumbnails[6244558] = new thumbnail(6244558,'','Cardiff_Wedding_Photographer','web1_MG_5701_mono_83724301-1EC9-D45B-1C91A83F4C9347C6_thumb.jpg',130, 87,1,'#');
												thumbnails[6245344] = new thumbnail(6245344,'',' MG 7609','_MG_7609_thumb.jpg',130, 72,1,'#');
												thumbnails[6358920] = new thumbnail(6358920,'',' MG 8494','_MG_8494_thumb.jpg',130, 102,1,'#');
												thumbnails[6245346] = new thumbnail(6245346,'',' MG 7614','_MG_7614_thumb.jpg',130, 89,1,'#');
												thumbnails[6358921] = new thumbnail(6358921,'',' MG 8518','_MG_8518_thumb.jpg',130, 87,1,'#');
												thumbnails[6245348] = new thumbnail(6245348,'',' MG 7633','_MG_7633_thumb.jpg',130, 87,1,'#');
												thumbnails[6358922] = new thumbnail(6358922,'',' MG 8524','_MG_8524_thumb.jpg',130, 87,1,'#');
												thumbnails[6358923] = new thumbnail(6358923,'',' MG 8538','_MG_8538_thumb.jpg',130, 87,1,'#');
												thumbnails[6358925] = new thumbnail(6358925,'',' MG 8420','_MG_8420_thumb.jpg',79, 130,1,'#');
												thumbnails[6245357] = new thumbnail(6245357,'',' MG 7702','_MG_7702_thumb.jpg',84, 130,1,'#');
												thumbnails[3691292] = new thumbnail(3691292,'','','web_0116_thumb.jpg',130, 92,1,'#');
												thumbnails[6245359] = new thumbnail(6245359,'',' MG 7728','_MG_7728_thumb.jpg',130, 87,1,'#');
												thumbnails[6245361] = new thumbnail(6245361,'',' MG 7736','_MG_7736_thumb.jpg',130, 90,1,'#');
												thumbnails[6245363] = new thumbnail(6245363,'',' MG 7761','_MG_7761_thumb.jpg',130, 83,1,'#');
												thumbnails[6245366] = new thumbnail(6245366,'',' MG 7770','_MG_7770_thumb.jpg',130, 89,1,'#');
												thumbnails[6245367] = new thumbnail(6245367,'',' MG 7786','_MG_7786_thumb.jpg',130, 89,1,'#');
												thumbnails[6245370] = new thumbnail(6245370,'',' MG 7801','_MG_7801_thumb.jpg',130, 84,1,'#');
												thumbnails[6245372] = new thumbnail(6245372,'',' MG 7828','_MG_7828_thumb.jpg',130, 98,1,'#');
												thumbnails[6245374] = new thumbnail(6245374,'',' MG 7830','_MG_7830_thumb.jpg',130, 84,1,'#');
												thumbnails[6244557] = new thumbnail(6244557,'','Cardiff_Wedding_Photographer','web1_MG_5664_mono_8372411C-1EC9-D45B-1C92CBCEFC434CF7_thumb.jpg',130, 87,1,'#');
												thumbnails[6245377] = new thumbnail(6245377,'',' MG 7836','_MG_7836_thumb.jpg',130, 130,1,'#');
												thumbnails[6245380] = new thumbnail(6245380,'',' MG 7848','_MG_7848_thumb.jpg',91, 130,1,'#');
												thumbnails[6245382] = new thumbnail(6245382,'',' MG 7862','_MG_7862_thumb.jpg',130, 87,1,'#');
												thumbnails[6245384] = new thumbnail(6245384,'',' MG 7879','_MG_7879_thumb.jpg',130, 87,1,'#');
												thumbnails[6245386] = new thumbnail(6245386,'',' MG 7926','_MG_7926_thumb.jpg',130, 87,1,'#');
												thumbnails[6213228] = new thumbnail(6213228,'','web 2652','web_2652_thumb.jpg',130, 89,1,'#');
												thumbnails[6245391] = new thumbnail(6245391,'',' MG 7937','_MG_7937_thumb.jpg',130, 87,1,'#');
												thumbnails[6245396] = new thumbnail(6245396,'',' MG 7960','_MG_7960_thumb.jpg',130, 130,1,'#');
												thumbnails[6245398] = new thumbnail(6245398,'',' MG 8044','_MG_8044_thumb.jpg',130, 90,1,'#');
												thumbnails[3691612] = new thumbnail(3691612,'','High quality location images','2XS_8083_thumb.jpg',130, 78,1,'#');
												thumbnails[3691615] = new thumbnail(3691615,'','Copyrightuniversity of Glamorgan','web_0249_thumb.jpg',86, 130,1,'#');
												thumbnails[3691617] = new thumbnail(3691617,'','Conferences','web_8977_thumb.jpg',130, 84,1,'#');
												thumbnails[7395465] = new thumbnail(7395465,'430166','Cardiff wedding photographer','1_Donna_and_Darrens_Wedding_5556_thumb.jpg',160, 107,1,'photo_7395465.html');
												thumbnails[6464028] = new thumbnail(6464028,'430166','wedding photographer Cardiff ','wedding_photographer_cardiff_6_thumb.jpg',130, 86,1,'photo_6464028.html');
												thumbnails[6464023] = new thumbnail(6464023,'430166','Wedding Photography, Cardiff','wedding_photographer_cardiff__4_thumb.jpg',130, 87,1,'photo_6464023.html');
												thumbnails[6464816] = new thumbnail(6464816,'430166','wedding photographer Cardiff ','wedding_photographer_cardiff_10_thumb.jpg',130, 87,1,'photo_6464816.html');
												thumbnails[6465245] = new thumbnail(6465245,'430166','cardiff wedding photographer ','cardiff_wedding_photographer_17_thumb.jpg',130, 87,1,'photo_6465245.html');
												thumbnails[6464027] = new thumbnail(6464027,'430166','wedding photographer cardiff 5','wedding_photographer_cardiff_5_thumb.jpg',130, 87,1,'photo_6464027.html');
												thumbnails[6464817] = new thumbnail(6464817,'430166','wedding photographer Cardiff','wedding_photographer_cardiff_11_thumb.jpg',130, 90,1,'photo_6464817.html');
												thumbnails[6778545] = new thumbnail(6778545,'430166','Cardiff Wedding Photographer','1_Rob_and_Megs_Wedding_2041_thumb.jpg',81, 130,1,'photo_6778545.html');
												thumbnails[6244518] = new thumbnail(6244518,'356407','Wedding Photography, Cardiff','web1_MG_5683_mono1_thumb.jpg',130, 130,1,'photo_6244518.html');
												thumbnails[6244515] = new thumbnail(6244515,'356407','Cardiff_wedding_photographer','web1_MG_5664_mono_thumb.jpg',130, 87,1,'photo_6244515.html');
												thumbnails[6464025] = new thumbnail(6464025,'430166','wedding photographer cardiff ','wedding_photographer_cardiff_2_thumb.jpg',81, 130,1,'photo_6464025.html');
												thumbnails[6464819] = new thumbnail(6464819,'430166','wedding photographer cardiff','wedding_photographer_cardiff_12_thumb.jpg',130, 108,1,'photo_6464819.html');
												thumbnails[6465086] = new thumbnail(6465086,'430166','Wedding Photography, Cardiff','cardiff_wedding_photographer_14_thumb.jpg',130, 130,1,'photo_6465086.html');
												thumbnails[6778546] = new thumbnail(6778546,'430166','Cardiff Wedding Photographer','Rob_and_Megs_wedding_1788_thumb.jpg',130, 87,1,'photo_6778546.html');
												thumbnails[6464026] = new thumbnail(6464026,'430166','wedding photographer Cardiff ','wedding_photographer_cardiff_3_thumb.jpg',130, 93,1,'photo_6464026.html');
												thumbnails[6465087] = new thumbnail(6465087,'430166','cardiff wedding photographer ','cardiff_wedding_photographer_15_thumb.jpg',130, 88,1,'photo_6465087.html');
												thumbnails[6778547] = new thumbnail(6778547,'430166','Cardiff Wedding Photographer','Rob_and_Megs_wedding_1803_thumb.jpg',130, 86,1,'photo_6778547.html');
												thumbnails[6464024] = new thumbnail(6464024,'430166','wedding photographer cardiff','wedding_photographer_cardiff_thumb.jpg',130, 73,1,'photo_6464024.html');
												thumbnails[6778548] = new thumbnail(6778548,'430166','Cardiff Wedding Photographer','Rob_and_Meg_1510_thumb.jpg',130, 130,1,'photo_6778548.html');
												thumbnails[6778544] = new thumbnail(6778544,'430166','Cardiff Wedding Photographer','1_Rob_and_Megs_Wedding_2005_thumb.jpg',130, 90,1,'photo_6778544.html');
												thumbnails[6778549] = new thumbnail(6778549,'430166','Cardiff Wedding Photographer','Rob_and_Meg_1618_thumb.jpg',81, 130,1,'photo_6778549.html');
												thumbnails[6244519] = new thumbnail(6244519,'356407','Wedding Photography, Cardiff','web1_MG_5701_mono_thumb.jpg',130, 87,1,'photo_6244519.html');
												thumbnails[6464029] = new thumbnail(6464029,'430166','wedding photographer cardiff ','wedding_photographer_cardiff_7_thumb.jpg',130, 130,1,'photo_6464029.html');
												thumbnails[6465085] = new thumbnail(6465085,'430166','cardiff wedding photographer ','cardiff_wedding_photographer_13_thumb.jpg',130, 81,1,'photo_6465085.html');
												thumbnails[6778550] = new thumbnail(6778550,'430166','Cardiff Wedding Photographer','Rob_and_Meg_1623_crop_thumb.jpg',130, 67,1,'photo_6778550.html');
												thumbnails[6464030] = new thumbnail(6464030,'356406','Wedding Photography, Cardiff','wedding_photographer_cardiff_8_thumb.jpg',130, 130,1,'photo_6464030.html');
												thumbnails[6465084] = new thumbnail(6465084,'356406','Wedding Photography, Cardiff','cardiff-wedding_photographer_16_thumb.jpg',129, 130,1,'photo_6465084.html');
												thumbnails[6778551] = new thumbnail(6778551,'356406','Cardiff Wedding Photographer','Rob_and_Meg_1669_thumb.jpg',130, 76,1,'photo_6778551.html');
												thumbnails[6464031] = new thumbnail(6464031,'356406','Wedding Photography, Cardiff','wedding_photographer_cardiff_9_thumb.jpg',130, 83,1,'photo_6464031.html');
												thumbnails[6778552] = new thumbnail(6778552,'356406','Cardiff Wedding Photographer','Rob_and_Meg_1715_thumb.jpg',130, 75,1,'photo_6778552.html');
												thumbnails[6177459] = new thumbnail(6177459,'356407','Wedding Photography, Cardiff','Rhiannon_and_Dennys_wedding_51_thumb.jpg',130, 79,1,'photo_6177459.html');
												thumbnails[6778553] = new thumbnail(6778553,'356406','Cardiff Wedding Photographer','Rob_and_Meg_1765_thumb.jpg',130, 130,1,'photo_6778553.html');
												thumbnails[6778554] = new thumbnail(6778554,'356406','Cardiff Wedding Photographer','Rob_and_Megs_wedding_1803_38A1C29D-1D09-001F-999B78F71BD0856D_thumb.jpg',130, 86,1,'photo_6778554.html');
												thumbnails[6778555] = new thumbnail(6778555,'356407','Cardiff Wedding Photographer','Rob_and_Megs_wedding_1806_thumb.jpg',130, 99,1,'photo_6778555.html');
												thumbnails[6778556] = new thumbnail(6778556,'356407','Cardiff Wedding Photographer','Rob_and_Megs_wedding_1821_thumb.jpg',130, 87,1,'photo_6778556.html');
												thumbnails[6778557] = new thumbnail(6778557,'356407','Cardiff Wedding Photographer','Rob_and_Megs_wedding_1860_thumb.jpg',130, 69,1,'photo_6778557.html');
												thumbnails[6244517] = new thumbnail(6244517,'356407','Wedding Photography, Cardiff','web1_MG_5675_thumb.jpg',82, 130,1,'photo_6244517.html');
												thumbnails[6213427] = new thumbnail(6213427,'356519','Press and PR Photographer','mono_D2X3669_v2_thumb.jpg',130, 129,1,'photo_6213427.html');
												thumbnails[6439434] = new thumbnail(6439434,'356519','Press and PR Photographer','web_2XS3852_thumb.jpg',130, 85,1,'photo_6439434.html');
												thumbnails[6470935] = new thumbnail(6470935,'356526','A Grand Guignol, rehearsal ','Performing_arts_photographer_Cardiff_thumb.jpg',130, 86,1,'photo_6470935.html');
												thumbnails[6533341] = new thumbnail(6533341,'356514','Architectural and building photography','Building_experiment_col_web_thumb.jpg',87, 130,1,'photo_6533341.html');
												thumbnails[6778630] = new thumbnail(6778630,'356519','Forensic Resources 1352 as Smart Object-1','Forensic_Resources_1352_as_Smart_Object-1_thumb.jpg',130, 87,1,'photo_6778630.html');
												thumbnails[6213202] = new thumbnail(6213202,'356526','Performing arts photography','_2XS3705_thumb.jpg',130, 84,1,'photo_6213202.html');
												thumbnails[6213218] = new thumbnail(6213218,'356526','Performing arts photography','re_1576_thumb.jpg',130, 92,1,'photo_6213218.html');
												thumbnails[6213229] = new thumbnail(6213229,'356519','Press and PR Photographer','web_2XS6764_thumb.jpg',130, 86,1,'photo_6213229.html');
												thumbnails[6468342] = new thumbnail(6468342,'356514','architectural photography ','architectural_photography_Cardiff_thumb.jpg',130, 87,1,'photo_6468342.html');
												thumbnails[6213219] = new thumbnail(6213219,'356526','Performing arts photography','re_1685_thumb.jpg',130, 87,1,'photo_6213219.html');
												thumbnails[6470848] = new thumbnail(6470848,'356527','Conferences and Corporate Event, Photography','Conferences_61_thumb.jpg',130, 83,1,'photo_6470848.html');
												thumbnails[6778631] = new thumbnail(6778631,'356519','Forensic Resources 1375 as Smart Object-1','Forensic_Resources_1375_as_Smart_Object-1_thumb.jpg',87, 130,1,'photo_6778631.html');
												thumbnails[6778632] = new thumbnail(6778632,'356519','Forensic Resources 1470','Forensic_Resources_1470_thumb.jpg',130, 87,1,'photo_6778632.html');
												thumbnails[2260821] = new thumbnail(2260821,'356514','Windfarm at night','Windfarm stars_thumb.jpg',81, 130,1,'photo_2260821.html');
												thumbnails[6213226] = new thumbnail(6213226,'356519','Press and PR Photographer','web_2XS2515_thumb.jpg',130, 86,1,'photo_6213226.html');
												thumbnails[6468344] = new thumbnail(6468344,'356514','architectural photography ','architectural_photography_cardiff_3_thumb.jpg',130, 87,1,'photo_6468344.html');
												thumbnails[5616919] = new thumbnail(5616919,'356519','Press and PR Photographer','Corporate_thumb.jpg',130, 60,1,'photo_5616919.html');
												thumbnails[6213220] = new thumbnail(6213220,'356526','Performing arts photography','re_1835_v2_thumb.jpg',86, 130,1,'photo_6213220.html');
												thumbnails[6468345] = new thumbnail(6468345,'356514','architectural photography ','architectural_photography_cardiff_4_thumb.jpg',80, 130,1,'photo_6468345.html');
												thumbnails[6213203] = new thumbnail(6213203,'356519','Press and PR Photographer','_MG_6869_thumb.jpg',130, 93,1,'photo_6213203.html');
												thumbnails[2272347] = new thumbnail(2272347,'356514','Cityscape Photography','architectural_photography_50756DAB-1D09-001F-994982D1DC7DC934_thumb.jpg',130, 70,1,'photo_2272347.html');
												thumbnails[3691618] = new thumbnail(3691618,'356527','Conferences and Corporate Event, Photography','web_9105_thumb.jpg',130, 86,1,'photo_3691618.html');
												thumbnails[5616047] = new thumbnail(5616047,'356516','Album and CD cover images','Dreams_of_Andalusia_thumb.jpg',130, 130,1,'photo_5616047.html');
												thumbnails[6439435] = new thumbnail(6439435,'356514','','_2XS0389_thumb.jpg',130, 64,1,'photo_6439435.html');
												thumbnails[6439440] = new thumbnail(6439440,'356519','Press and PR Photographer','_MG_9267_crop_2_thumb.jpg',130, 43,1,'photo_6439440.html');
												thumbnails[3814617] = new thumbnail(3814617,'356526','Performing arts photography','re_1243_thumb.jpg',130, 86,1,'photo_3814617.html');
												thumbnails[5616151] = new thumbnail(5616151,'356516','book jackets and CD covers','cover_thumb.jpg',95, 130,1,'photo_5616151.html');
												thumbnails[6213210] = new thumbnail(6213210,'356527','Conferences and Corporate Event, Photography','2XS_7831_thumb.jpg',130, 86,1,'photo_6213210.html');
												thumbnails[6439441] = new thumbnail(6439441,'356519','Press and PR Photographer','_MG_9384_thumb.jpg',130, 87,1,'photo_6439441.html');
												thumbnails[6213227] = new thumbnail(6213227,'356519','Press and PR Photographer','web_2XS3160_thumb.jpg',130, 87,1,'photo_6213227.html');
												thumbnails[6312582] = new thumbnail(6312582,'356516','book jackets and CD covers','THE_MARCH_OF_WALES_visual_thumb.jpg',83, 130,1,'photo_6312582.html');
												thumbnails[6245350] = new thumbnail(6245350,'356526','Performing arts photography','_MG_7638_thumb.jpg',130, 87,1,'photo_6245350.html');
												thumbnails[6213225] = new thumbnail(6213225,'356519','Press and PR Photographer','web_2XS2330_thumb.jpg',130, 86,1,'photo_6213225.html');
												thumbnails[6245352] = new thumbnail(6245352,'356526',' MG 7651','_MG_7651_thumb.jpg',130, 83,1,'photo_6245352.html');
												thumbnails[6358924] = new thumbnail(6358924,'356526','Performing arts photography','_MG_8544_thumb.jpg',130, 87,1,'photo_6358924.html');
												thumbnails[6245355] = new thumbnail(6245355,'356526','Performing arts photography','_MG_7673_thumb.jpg',130, 82,1,'photo_6245355.html');
												thumbnails[5610596] = new thumbnail(5610596,'356519','Press and PR Photographer','Team_portraits_thumb.jpg',130, 29,1,'photo_5610596.html');
												thumbnails[3691633] = new thumbnail(3691633,'356519','Press and PR Photographer','web_9371_thumb.jpg',85, 130,1,'photo_3691633.html');
												thumbnails[6468347] = new thumbnail(6468347,'356514','Cityscape photography ','cityscape_photography_cardiff_2_thumb.jpg',130, 86,1,'photo_6468347.html');
												thumbnails[6213232] = new thumbnail(6213232,'356519','Press and PR Photographer','web_2XS9576_thumb.jpg',130, 130,1,'photo_6213232.html');
												thumbnails[6213233] = new thumbnail(6213233,'356519','Press and PR Photographer','web_2677_thumb.jpg',130, 93,1,'photo_6213233.html');
												thumbnails[6245330] = new thumbnail(6245330,'356526','Performing arts photography','_MG_7456_thumb.jpg',130, 96,1,'photo_6245330.html');
												thumbnails[6245388] = new thumbnail(6245388,'356526','Performing arts photography','_MG_7928_thumb.jpg',130, 87,1,'photo_6245388.html');
												thumbnails[6245393] = new thumbnail(6245393,'356526','Performing arts photography','_MG_7947_thumb.jpg',130, 83,1,'photo_6245393.html');
												thumbnails[5615747] = new thumbnail(5615747,'356527','Conferences and Corporate Event, Photography','Conferences_4_thumb.jpg',130, 87,1,'photo_5615747.html');
												thumbnails[5615756] = new thumbnail(5615756,'356527','Conferences and Corporate Event, Photography','Conferences3_thumb.jpg',130, 88,1,'photo_5615756.html');
												thumbnails[6213230] = new thumbnail(6213230,'356519','Press and PR Photographer','web_2XS84972_thumb.jpg',130, 83,1,'photo_6213230.html');
												thumbnails[6213231] = new thumbnail(6213231,'356514','architectural photography','web_2XS8720_thumb.jpg',130, 90,1,'photo_6213231.html');
												thumbnails[3814613] = new thumbnail(3814613,'356526','Performing arts photography','re_0833_thumb.jpg',86, 130,1,'photo_3814613.html');
												thumbnails[3691619] = new thumbnail(3691619,'356527','Conferences and Corporate Event, Photography','web_9278_thumb.jpg',126, 130,1,'photo_3691619.html');
												thumbnails[3691634] = new thumbnail(3691634,'356527','Conferences and Corporate Event, Photography','web_D2X6369_thumb.jpg',130, 80,1,'photo_3691634.html');
												thumbnails[5610465] = new thumbnail(5610465,'356641','Art reproduction photography for web, print or limited edition prints.','JB_56_Widdal_H_On_the_Rocks123_thumb.jpg',130, 50,1,'photo_5610465.html');
												thumbnails[6213216] = new thumbnail(6213216,'356518','Mark Wallinger, Turner Prize winning artist','2XS_8607_thumb.jpg',130, 84,1,'photo_6213216.html');
												thumbnails[6213223] = new thumbnail(6213223,'356518','artist portraits','small_5881_thumb.jpg',130, 86,1,'photo_6213223.html');
												thumbnails[6213234] = new thumbnail(6213234,'356518','Mark Wallinger, Turner Prize winning artist','web_8612_thumb.jpg',130, 119,1,'photo_6213234.html');
												thumbnails[6439436] = new thumbnail(6439436,'356640','Galleries, openings, events and fundraisers photographer','_2XS0393_thumb.jpg',102, 130,1,'photo_6439436.html');
												thumbnails[5610957] = new thumbnail(5610957,'356518','','Artist_Portraits_thumb.jpg',130, 86,1,'photo_5610957.html');
												thumbnails[5610534] = new thumbnail(5610534,'356641','Art reproduction photography for web, print or limited edition prints.','Sculpture_and_installation_photography_thumb.jpg',84, 130,1,'photo_5610534.html');
												thumbnails[3691614] = new thumbnail(3691614,'356640','Galleries, openings, events and fundraisers photographer','re_9979_thumb.jpg',86, 130,1,'photo_3691614.html');
												thumbnails[6439438] = new thumbnail(6439438,'356641','Art reproduction photography for web, print or limited edition prints.','_MG_6635_thumb.jpg',130, 87,1,'photo_6439438.html');
												thumbnails[5610952] = new thumbnail(5610952,'356518','artist portraits','Artist_Portraits12_thumb.jpg',130, 87,1,'photo_5610952.html');
												thumbnails[6439439] = new thumbnail(6439439,'356641','Art reproduction photography for web, print or limited edition prints.','_MG_6669_thumb.jpg',87, 130,1,'photo_6439439.html');
												thumbnails[5616301] = new thumbnail(5616301,'356640','Galleries, openings, events and fundraisers photographer','Squeeze_thumb.jpg',130, 77,1,'photo_5616301.html');
												thumbnails[6213224] = new thumbnail(6213224,'356518','Joan Baker, artist, 87','web_2XS1078_thumb.jpg',130, 86,1,'photo_6213224.html');
												thumbnails[6213209] = new thumbnail(6213209,'356640','Galleries, openings, events and fundraisers photographer','2XS_2478_thumb.jpg',128, 130,1,'photo_6213209.html');
												thumbnails[6213201] = new thumbnail(6213201,'356518','Artist Portraits ','_2XS0435_crop_thumb.jpg',130, 45,1,'photo_6213201.html');
												thumbnails[5610544] = new thumbnail(5610544,'356641','Art reproduction photography for web, print or limited edition prints.','Sculpture_and_installations2_thumb.jpg',130, 41,1,'photo_5610544.html');
												thumbnails[6509562] = new thumbnail(6509562,'358146','Private commissions 2','Private_commissions_2_thumb.jpg',130, 130,1,'photo_6509562.html');
												thumbnails[6509563] = new thumbnail(6509563,'358146','Private commissions','Private_commissions_thumb.jpg',130, 87,1,'photo_6509563.html');
												thumbnails[6509564] = new thumbnail(6509564,'358146','Private commissions photogarphy Cardiff Carnalw, Presli','Private_commissions_photogarphy_Cardiff_Carnalw_Presli_thumb.jpg',130, 87,1,'photo_6509564.html');
												thumbnails[6509565] = new thumbnail(6509565,'358146','Private commissions photographer Cardiff Carnalw','Private_commissions_photographer_Cardiff_Carnalw_thumb.jpg',130, 87,1,'photo_6509565.html');
												thumbnails[6509566] = new thumbnail(6509566,'358146','Private Commissions Photographer Cardiff Preseli','Private_Commissions_Photographer_Cardiff_Preseli_thumb.jpg',87, 130,1,'photo_6509566.html');
												thumbnails[6509522] = new thumbnail(6509522,'358146','Black and white landscape photographer wales Preseli Carn Menyn','Black_and_white_landscape_photographer_wales_Preseli_Carn_Menyn_thumb.jpg',130, 87,1,'photo_6509522.html');
												thumbnails[2260785] = new thumbnail(2260785,'357577','Italians leaving the Millennium Stadium','Millennium Stadium_230208_2274_thumb.jpg',130, 87,1,'photo_2260785.html');
												thumbnails[6509542] = new thumbnail(6509542,'357578','Conceptual photography Cardiff Wales memories','Conceptual_photography_Cardiff_Wales_memories_thumb.jpg',130, 87,1,'photo_6509542.html');
												thumbnails[4109315] = new thumbnail(4109315,'357575','Whiteford Point Lighthouse, Gower','Whiteford_Point_Lighthouse_web_CP_M_thumb.jpg',130, 88,1,'photo_4109315.html');
												thumbnails[6509545] = new thumbnail(6509545,'357578','Conceptual photography Cardiff Wales trees','Conceptual_photography_Cardiff_Wales_trees_thumb.jpg',130, 87,1,'photo_6509545.html');
												thumbnails[6509540] = new thumbnail(6509540,'357578','Conceptual photography Cardiff Blorenge','Conceptual_photography_Cardiff_Blorenge_thumb.jpg',130, 87,1,'photo_6509540.html');
												thumbnails[2256118] = new thumbnail(2256118,'357579','The Conversation, Saint Marks Square, Venice','The Conversation _thumb.jpg',130, 98,1,'photo_2256118.html');
												thumbnails[2256136] = new thumbnail(2256136,'357579','Traghetto, Grand Canal','Traghetto_thumb.jpg',130, 81,1,'photo_2256136.html');
												thumbnails[2254286] = new thumbnail(2254286,'357580','Monknash Bay, Glamorgan Heritage Coast ','Monknash Beach1_thumb.jpg',130, 87,1,'photo_2254286.html');
												thumbnails[6509539] = new thumbnail(6509539,'357578','Conceptual photography Cardiff ','Conceptual_photography_Cardiff_Abergavenny_woodlands_thumb.jpg',130, 87,1,'photo_6509539.html');
												thumbnails[2254509] = new thumbnail(2254509,'357575','Ogmore Castle, dawn','Ogmore Castle and river silhouette_thumb.jpg',130, 81,1,'photo_2254509.html');
												thumbnails[2255946] = new thumbnail(2255946,'357579','Early morning at the Rialto fish market','Pescaria The Fish Market 7_thumb.jpg',130, 87,1,'photo_2255946.html');
												thumbnails[2272354] = new thumbnail(2272354,'357577','Morning Rush','Morning rush_thumb.jpg',73, 130,1,'photo_2272354.html');
												thumbnails[6509546] = new thumbnail(6509546,'357578','Conceptual photography Wales Welsh Lane','Conceptual_photography_Wales_Welsh_Lane_thumb.jpg',130, 81,1,'photo_6509546.html');
												thumbnails[2273578] = new thumbnail(2273578,'357580','From East to West and Dawn to Dusk','Rob cover_thumb.jpg',130, 122,1,'photo_2273578.html');
												thumbnails[2254405] = new thumbnail(2254405,'357580','Aberthaw Caisson, from the book From East to West & Dawn to Dusk. ','Aberthaw Caisson B&W_thumb.jpg',130, 90,1,'photo_2254405.html');
												thumbnails[2255914] = new thumbnail(2255914,'357579','First light on the Grand Canal','Canal Grande at first light_thumb.jpg',87, 130,1,'photo_2255914.html');
												thumbnails[2272501] = new thumbnail(2272501,'357577','At play in the city of light','At Play in the City of Light large_thumb.jpg',130, 96,1,'photo_2272501.html');
												thumbnails[2273697] = new thumbnail(2273697,'357580','Cwm Mawr, first light','Cliff with dawn light_thumb.jpg',130, 82,1,'photo_2273697.html');
												thumbnails[6509553] = new thumbnail(6509553,'357575','Landscape photography Cardiff Durdle Door Dorset','Landscape_photography_Cardiff_Durdle_Door_Dorset_thumb.jpg',130, 47,1,'photo_6509553.html');
												thumbnails[6509554] = new thumbnail(6509554,'357575','landscape photography Cardiff St Martins Island Scilly Cornwall','landscape_photography_Cardiff_St_Martins_Island_Scilly_Cornwall_thumb.jpg',130, 50,1,'photo_6509554.html');
												thumbnails[6509556] = new thumbnail(6509556,'357575','Landscape photography Wales Southerndown Glamorgan Heritage Coast','Landscape_photography_Wales_Southerndown_Glamorgan_Heritage_Coast_thumb.jpg',91, 130,1,'photo_6509556.html');
												thumbnails[6509568] = new thumbnail(6509568,'357577','street photography cardiff','street_photography_cardiff_thumb.jpg',130, 89,1,'photo_6509568.html');
												thumbnails[5561207] = new thumbnail(5561207,'357578','Star trails through an oak tree, part of my memories, dreams and reflections series. ','Memories_Dreams_and_Reflections_11_thumb.jpg',130, 130,1,'photo_5561207.html');
												thumbnails[3413043] = new thumbnail(3413043,'357576','Carn Llidi from Whitesands Bay, Pembrokeshire','Carn Llidi from Whitesands Bay square 768 sharp _thumb.jpg',130, 130,1,'photo_3413043.html');
												thumbnails[7022626] = new thumbnail(7022626,'357576','Tree Line 6','Tree_Line_6_thumb.JPG',130, 130,1,'photo_7022626.html');
												thumbnails[4109280] = new thumbnail(4109280,'357575','Looking at the view','lookin_at_the_view_CP_M_thumb.jpg',130, 72,1,'photo_4109280.html');
												thumbnails[3396168] = new thumbnail(3396168,'357575','Whitesands Bay and Carn Llidi, sunrise','Whitesands_Bay_and_Carn_Llidi_thumb.jpg',49, 130,1,'photo_3396168.html');
												thumbnails[2273701] = new thumbnail(2273701,'357580','Cloud reflections, Dunraven Bay','Dunraven Bay cloud reflections_thumb.jpg',130, 87,1,'photo_2273701.html');
												thumbnails[6509555] = new thumbnail(6509555,'357575','Landscape photography Wales Pembrokeshire Coast','Landscape_photography_Wales_Pembrokeshire_Coast_thumb.jpg',130, 87,1,'photo_6509555.html');
												thumbnails[6509569] = new thumbnail(6509569,'357577','Street photography Cardiff Bay','Street_photography_Cardiff_Bay_thumb.jpg',130, 130,1,'photo_6509569.html');
												thumbnails[3538205] = new thumbnail(3538205,'357575','The Joy of Solitude','The_Joy_of_Solitude_thumb.jpg',130, 59,1,'photo_3538205.html');
												thumbnails[2254712] = new thumbnail(2254712,'357579','Ca Rezzonico bridge and vaporetto','Bridge at Ca\' Rezzonico and Vaporetto_thumb.jpg',130, 103,1,'photo_2254712.html');
												thumbnails[3256969] = new thumbnail(3256969,'357576','Dunraven Bay','Dunraven web 2 crp sq2_thumb.jpg',130, 130,1,'photo_3256969.html');
												thumbnails[2254139] = new thumbnail(2254139,'357575','Beacons\' Reservoir - A new island','A new island v21_thumb.jpg',130, 77,1,'photo_2254139.html');
												thumbnails[2255931] = new thumbnail(2255931,'357579','Palazzo Ducal','Pallazzo Ducal_thumb.jpg',67, 130,1,'photo_2255931.html');
												thumbnails[2272500] = new thumbnail(2272500,'357578','A close up of a sunlit river','Afon Hepste_thumb.jpg',130, 98,1,'photo_2272500.html');
												thumbnails[2273715] = new thumbnail(2273715,'357580','Witches Nose Point (Trwyn y Witch), Dunraven Bay','Dunraven Bay Witch\'s Nose sunset colours_thumb.jpg',130, 86,1,'photo_2273715.html');
												thumbnails[6509541] = new thumbnail(6509541,'357578','Conceptual photography Cardiff Talgarth','Conceptual_photography_Cardiff_Talgarth_thumb.jpg',130, 88,1,'photo_6509541.html');
												thumbnails[4109203] = new thumbnail(4109203,'357575','a yearning for the ocean<br>\r\n<br>\r\n','a_yearning_for_the_ocean_CP_M_thumb.jpg',130, 130,1,'photo_4109203.html');
												thumbnails[2272321] = new thumbnail(2272321,'357578','Drive to the Music of Time','Drive to the music of time 2_thumb.jpg',130, 58,1,'photo_2272321.html');
												thumbnails[2272328] = new thumbnail(2272328,'357575','Fishermen at sunrise, Penarth Pier.','Fishermen at sunrise sRGB_thumb.jpg',130, 84,1,'photo_2272328.html');
												thumbnails[2273718] = new thumbnail(2273718,'357580','Footsteps Merthyr Mawr','Merthyr Mawr footsteps B&W_thumb.jpg',130, 87,1,'photo_2273718.html');
												thumbnails[6509523] = new thumbnail(6509523,'357576','Black and white landscape photographer wales St Martins Scilly Isles','Black_and_white_landscape_photographer_wales_St_Martins_Scilly_Isles_thumb.jpg',130, 130,1,'photo_6509523.html');
												thumbnails[4109254] = new thumbnail(4109254,'357575','weaving the rainbow','Weaving_the_rainbow_v5click_pic_v_thumb.jpg',130, 130,1,'photo_4109254.html');
												thumbnails[2272511] = new thumbnail(2272511,'357577','Lost','Lost-1_thumb.jpg',130, 112,1,'photo_2272511.html');
												thumbnails[2272340] = new thumbnail(2272340,'357577','Hope','Hope_thumb.jpg',130, 85,1,'photo_2272340.html');
												thumbnails[2254215] = new thumbnail(2254215,'357576','Beach curves, Dunraven Bay, Southerndown, Glamorgan Heritage Coast','Curves mono_thumb.jpg',130, 126,1,'photo_2254215.html');
												thumbnails[2254182] = new thumbnail(2254182,'357575','Three Cliffs Bay, Gower Peninsular','Three Cliffs web sRGB_thumb.jpg',130, 86,1,'photo_2254182.html');
												thumbnails[2272495] = new thumbnail(2272495,'357578','Reflections, Tenby Harbour','Abstract reflection Tenby harbour large_thumb.jpg',130, 98,1,'photo_2272495.html');
												thumbnails[2273723] = new thumbnail(2273723,'357580','Night fishing, Ogmore river','Ogmore Night Fishing,_thumb.jpg',130, 78,1,'photo_2273723.html');
												thumbnails[6509524] = new thumbnail(6509524,'357576','black white landscape photography Cardiff Glamorgan Heritage coast','black_white_landscape_photography_Cardiff_Glamorgan_Heritage_coast_thumb.jpg',130, 130,1,'photo_6509524.html');
												thumbnails[6509543] = new thumbnail(6509543,'357578','Conceptual photography Cardiff Wales muse','Conceptual_photography_Cardiff_Wales_muse_thumb.jpg',87, 130,1,'photo_6509543.html');
												thumbnails[6509557] = new thumbnail(6509557,'357576','Landscape photography whiteford point gower','Landscape_photography_whiteford_point_gower_thumb.jpg',130, 87,1,'photo_6509557.html');
												thumbnails[4109296] = new thumbnail(4109296,'357578','Exquinox','Equinox_CP_M_thumb.jpg',130, 121,1,'photo_4109296.html');
												thumbnails[4109216] = new thumbnail(4109216,'357575','Ghosts of conversations past','The_art_of_the_chair_col_bal_CP_M_thumb.jpg',130, 78,1,'photo_4109216.html');
												thumbnails[2256011] = new thumbnail(2256011,'357579','Sweeping Piazza San Marco','Piazza San Marco - Sweeping_thumb.jpg',130, 89,1,'photo_2256011.html');
												thumbnails[2273727] = new thumbnail(2273727,'357580','St. Donat\'s daybreak','St Donat\'s Walls wave large_thumb.jpg',130, 85,1,'photo_2273727.html');
												thumbnails[6509525] = new thumbnail(6509525,'357576','black white landscape photography Cardiff Gower coast','black_white_landscape_photography_Cardiff_Gower_coast_thumb.jpg',130, 130,1,'photo_6509525.html');
												thumbnails[6509544] = new thumbnail(6509544,'357578','Conceptual photography Cardiff Wales train York','Conceptual_photography_Cardiff_Wales_train_York_thumb.jpg',130, 91,1,'photo_6509544.html');
												thumbnails[6509558] = new thumbnail(6509558,'357575','landscape photohraphy wales Brecon Beacons','landscape_photohraphy_wales_Brecon_Beacons_thumb.jpg',130, 130,1,'photo_6509558.html');
												thumbnails[3075783] = new thumbnail(3075783,'357577','At the Going Down of the Sun','At the going down of the sun vertorama _thumb.jpg',74, 130,1,'photo_3075783.html');
												thumbnails[6509528] = new thumbnail(6509528,'357576','black white landscape photography Preseli Pembrokeshire','black_white_landscape_photography_Preseli_Pembrokeshire_thumb.jpg',130, 130,1,'photo_6509528.html');
												thumbnails[2272367] = new thumbnail(2272367,'357577','Loudmouth','Shout 5_thumb.jpg',130, 113,1,'photo_2272367.html');
												thumbnails[6509526] = new thumbnail(6509526,'357576','black white landscape photography Cardiff Portland Dorset','black_white_landscape_photography_Cardiff_Portland_Dorset_thumb.jpg',130, 85,1,'photo_6509526.html');
												thumbnails[7022623] = new thumbnail(7022623,'357576','Tree Line 1 ','Tree_Line_1_thumb.JPG',130, 87,1,'photo_7022623.html');
												thumbnails[6509527] = new thumbnail(6509527,'357576','black white landscape photography Cardiff Waterfalls','black_white_landscape_photography_Cardiff_Waterfalls_thumb.jpg',127, 130,1,'photo_6509527.html');
												thumbnails[3812695] = new thumbnail(3812695,'357576','Conundrum','Conundrum_v2_thumb.jpg',130, 130,1,'photo_3812695.html');
												thumbnails[2254297] = new thumbnail(2254297,'357575','Sunrise over Cribyn, Brecon Beacons National Park','Corn Ddu Sunrise2_thumb.jpg',130, 84,1,'photo_2254297.html');
												thumbnails[6509547] = new thumbnail(6509547,'357578','experimental photography wales coast night','experimental_photography_wales_coast_night_thumb.jpg',130, 43,1,'photo_6509547.html');
												thumbnails[4772324] = new thumbnail(4772324,'357576','letting the madness in','letting_the_madness_in_thumb.jpg',130, 130,1,'photo_4772324.html');
												thumbnails[2260690] = new thumbnail(2260690,'357575','Maen Llia, standing stone, near Ystradfellte, Brecon Beacons','Maen Llia and path 2a2_thumb.jpg',85, 130,1,'photo_2260690.html');
												thumbnails[2260547] = new thumbnail(2260547,'357576','Gate','Gate 2_thumb.jpg',129, 130,1,'photo_2260547.html');
												thumbnails[2325290] = new thumbnail(2325290,'357577','Never alone.','Never_alone_thumb.jpg',109, 130,1,'photo_2325290.html');
												thumbnails[6509520] = new thumbnail(6509520,'357576','Black and white landscape photographer wales lake','Black_and_white_landscape_photographer_wales_lake_thumb.jpg',130, 78,1,'photo_6509520.html');
												thumbnails[5561221] = new thumbnail(5561221,'357576','Waterfalls, Monknash beach.','Monknash_medium_thumb.jpg',130, 130,1,'photo_5561221.html');
												thumbnails[2368676] = new thumbnail(2368676,'357578','Roundabout','Roundabout _thumb.jpg',130, 98,1,'photo_2368676.html');
												thumbnails[1898485] = new thumbnail(1898485,'357575','Upper Neuadd Reservoir, Brecon Beacons - Island at dawn','Island variations 2_thumb.jpg',84, 130,1,'photo_1898485.html');
												thumbnails[6509521] = new thumbnail(6509521,'357576','Black and white landscape photographer wales Llyn Cwm Llwch','Black_and_white_landscape_photographer_wales_Llyn_Cw_Llwch_thumb.jpg',130, 130,1,'photo_6509521.html');
												thumbnails[2260798] = new thumbnail(2260798,'357578','Solitude thickens with the light<br>\r\nUpper Neuadd Reservoir','Solitude thickens with the light_thumb.jpg',130, 49,1,'photo_2260798.html');
												thumbnails[4162381] = new thumbnail(4162381,'357576','Arthurian Mystery','arthurian_mystery_medium1_thumb.jpg',130, 85,1,'photo_4162381.html');
												thumbnails[2254222] = new thumbnail(2254222,'357575','Dusk, Dunraven Bay, Southerndown, Glamorgan Heritage Coast','Dunraven_thumb.jpg',130, 73,1,'photo_2254222.html');
												thumbnails[2325398] = new thumbnail(2325398,'357575','Llyn Cwm Llwch, sunrise, Brecon Beacons','Llyn_Cwm_Llwch_sunrise_thumb.jpg',130, 81,1,'photo_2325398.html');
												thumbnails[1898453] = new thumbnail(1898453,'357575','Friar\'s Crag and Causey Pike','Causey Pike and Friars Crag new web _thumb.jpg',130, 86,1,'photo_1898453.html');
												thumbnails[2256125] = new thumbnail(2256125,'357579','San Giorgio Maggiore and Gondolas','San Giorgio Maggiore and gondolas_thumb.jpg',85, 130,1,'photo_2256125.html');
												thumbnails[2272304] = new thumbnail(2272304,'357576','A snowy walk in the park.<br>\r\n<br>\r\n','A walk in the park_thumb.jpg',130, 80,1,'photo_2272304.html');
												thumbnails[2278815] = new thumbnail(2278815,'357575','Ruperra Castle, First Light.','Ruperra Castle, first light_thumb.jpg',130, 85,1,'photo_2278815.html');
												thumbnails[2389485] = new thumbnail(2389485,'357575','Dunraven Star, Dunraven Bay','Dunraven Star web sRGB_thumb.jpg',89, 130,1,'photo_2389485.html');
												thumbnails[2368740] = new thumbnail(2368740,'357578','The sweep of a slow wave','Sweep sRGB_thumb.jpg',87, 130,1,'photo_2368740.html');
												thumbnails[2652409] = new thumbnail(2652409,'357578','Boat, Tenby Harbour','Boat, Tenby harbour_thumb.jpg',130, 87,1,'photo_2652409.html');
												thumbnails[2652410] = new thumbnail(2652410,'357578','Boat hull, Tenby Harbour','Boats, Tenby Harbour_thumb.jpg',130, 87,1,'photo_2652410.html');
												thumbnails[2402410] = new thumbnail(2402410,'357575','I\'ve looked at clouds from both sides now.<br>\r\nDunraven Bay','I\'ve_looked_at_clouds_from_both_sides_now_thumb.jpg',130, 83,1,'photo_2402410.html');
												thumbnails[3175843] = new thumbnail(3175843,'357575','Sweden','Sweden _thumb.jpg',130, 112,1,'photo_3175843.html');
												thumbnails[2647753] = new thumbnail(2647753,'357575','End of day, Monkstone Beach, Pembokshire','End of Day - Monkstone beach, Pembrokshire_thumb.jpg',87, 130,1,'photo_2647753.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[357575] = new gallery(357575,'4109315','Colour Landscape Photography, Wales','section426194',[4109315,2254509,6509553,6509554,6509556,4109280,3396168,6509555,3538205,2254139,4109203,2272328,4109254,2254182,4109216,6509558,2254297,2260690,1898485,2254222,2325398,1898453,2278815,2389485,2402410,3175843,2647753],0, 0, '', 'section426194_357575.html',0,0);
				  					galleries[358146] = new gallery(358146,'6509566,6509565,6509564,6509563,6509562,6509522','Commission Rob Hudson, Photographer','section426860',[6509562,6509563,6509564,6509565,6509566,6509522],0, 0, '', 'section426860.html',0,1);
				  					galleries[430166] = new gallery(430166,'6465086,6464028,6464027','Rob Hudson Wedding Photographers Cardiff, Swansea,','section424944weddingphotography',[7395465,6464028,6464023,6464816,6465245,6464027,6464817,6778545,6464025,6464819,6465086,6778546,6464026,6465087,6778547,6464024,6778548,6778544,6778549,6464029,6465085,6778550],0, 0, '', 'section424944weddingphotography_430166.html',0,0);
				  					galleries[356641] = new gallery(356641,'5610544','Art photography for web or print ','section425168',[5610465,5610534,6439438,6439439,5610544],0, 0, '', 'section425168_356641.html',0,0);
				  					galleries[356516] = new gallery(356516,'6312582,5616151,5616047','*Book jackets and CD covers','section425078',[5616047,5616151,6312582],0, 0, '', 'section425078_356516.html',0,0);
				  					galleries[356527] = new gallery(356527,'6470848,6213210,5615756,5615747,3691634,3691619,3691618','*Conferences and Corporate Event Photography','section425078',[6470848,3691618,6213210,5615747,5615756,3691619,3691634],0, 0, '', 'section425078_356527.html',0,0);
				  					galleries[356519] = new gallery(356519,'6439441,5610596','*Press and PR Photography','section425078',[6213427,6439434,6778630,6213229,6778631,6778632,6213226,5616919,6213203,6439440,6439441,6213227,6213225,5610596,3691633,6213232,6213233,6213230],0, 0, '', 'section425078_356519.html',0,0);
				  					galleries[356406] = new gallery(356406,'6778554,6778553,6778552,6778551,6465084,6464031,6464030','Wedding Photography ','section424944weddingphotography',[6464030,6465084,6778551,6464031,6778552,6778553,6778554],0, 0, '', 'section424944weddingphotography_356406.html',0,0);
				  					galleries[356526] = new gallery(356526,'6213218','*Performing Arts Photography','section425078',[6470935,6213202,6213218,6213219,6213220,3814617,6245350,6245352,6358924,6245355,6245330,6245388,6245393,3814613],0, 0, '', 'section425078_356526.html',0,0);
				  					galleries[357576] = new gallery(357576,'5561221,3812695','Black and White Landscape photography, Wales','section426194',[3413043,7022626,3256969,6509523,2254215,6509524,6509557,6509525,6509528,6509526,7022623,6509527,3812695,4772324,2260547,6509520,5561221,6509521,4162381,2272304],0, 0, '', 'section426194_357576.html',0,0);
				  					galleries[356407] = new gallery(356407,'6778557,6778556,6778555,6244519,6244518,6244517,6244515,6177459','Black and White Wedding Photography','section424944weddingphotography',[6244518,6244515,6244519,6177459,6778555,6778556,6778557,6244517],0, 0, '', 'section424944weddingphotography_356407.html',0,0);
				  					galleries[356518] = new gallery(356518,'5610952','* Artist Portrait Photographer','section425168',[6213216,6213223,6213234,5610957,5610952,6213224,6213201],0, 0, '', 'section425168_356518.html',0,0);
				  					galleries[356640] = new gallery(356640,'6439436,6213209,5616301,3691614','Galleries, openings and fund-raising Photography','section425168',[6439436,3691614,5616301,6213209],0, 0, '', 'section425168_356640.html',0,0);
				  					galleries[357577] = new gallery(357577,'2260785','Street Photography','section426194',[2260785,2272354,2272501,6509568,6509569,2272511,2272340,3075783,2272367,2325290],0, 0, '', 'section426194_357577.html',0,0);
				  					galleries[356514] = new gallery(356514,'6533341,6468347,6468345,6468344,6468342,6439435,6213231,2272347,2260821','*Architectural and Interiors Photography ','section425078',[6533341,6468342,2260821,6468344,6468345,2272347,6439435,6468347,6213231],0, 0, '', 'section425078_356514.html',0,0);
				  					galleries[357578] = new gallery(357578,'5561207','Abstract, experimental and conceptual photography','section426194',[6509542,6509545,6509540,6509539,6509546,5561207,2272500,6509541,2272321,2272495,6509543,4109296,6509544,6509547,2368676,2260798,2368740,2652409,2652410],0, 0, '', 'section426194_357578.html',0,0);
				  					galleries[357579] = new gallery(357579,'2254712','Venice','section426194',[2256118,2256136,2255946,2255914,2254712,2255931,2256011,2256125],0, 0, '', 'section426194_357579.html',0,0);
				  					galleries[357580] = new gallery(357580,'2273578','From East to West and Dawn to Dusk','section426194',[2254286,2273578,2254405,2273697,2273701,2273715,2273718,2273723,2273727],0, 0, '', 'section426194_357580.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[236754] = '6778557,6778556,6778555,6778552,6778551,6778550,6778549,6778548,6778547,6778545,6778544,6465086,6465084,6464031,6464030,6464029,6464028,6464027,6464026,6464025,6464024,6464023,6244558,6244519,6177459';
imageSets[1] = '7395465,7022623,6778631,6778549,6778544,6509528,6509521,6468347,6465085,6465084,6464028,6464027,6464024,6439441,6213427,6213224,6213218,6213210,5616301,5616151,5616047,5610952,5561221,4772324,4109315,4109254,4109216,3814617,3812695,3538205,3256969,2273578,2256125,2254139';
imageSets[2] = '6465086,6464028,6464027,6439441,6213218,5610952,5610596,5610544,5561221,5561207,4109315,3814614,3812695,2273578,2260785,2254712';
imageSets[3] = '5616919,5616697,5616301,5616151,5615756,5610957,4109315';
imageSets[236753] = '6464024,6464023';
imageSets[236314] = '2273727,2273723,2273718,2273715,2273701,2273697,2273578,2254405,2254286';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/bigbob/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/bigbob/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/bigbob/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/bigbob/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/bigbob/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/bigbob/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {

	imageID = randomListVal('');
		if (!basic) {
	img.src = photos[imageID].src;
	img.width = photos[imageID].width;
	img.height = photos[imageID].height;
  img.parentNode.title = img.alt = photos[imageID].caption;
	}
	else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
				
	}
			}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'section424944weddingphotography.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 && 'section424944weddingphotography' != '') {
					href = getHomeImageLink(imageID);
	}
    
  updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
  var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
      op = $.extend({},defaults,options),
      html = '', temp = '',
      photoId = op.nextPhoto.id,
      photoCaption = op.nextPhoto.caption,
      photoSrc = op.nextPhoto.src;
		
		if (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    if (op.$photo.length > 0) {
      html = $('<img/>',{
        'class': 'mainphoto photo',
        src: photoSrc,
        id: 'mainPic',
        name: 'mainPic',
        width: op.nextPhoto.width,
        height: op.nextPhoto.height,
        alt: photoCaption,
        css: op.css || {}
      });
      if (op.href) {
      	if (op.href.match(/<a/)) {
      	  html = $(op.href).append(html);
      	} else {
		  html = $('<a/>', {
			href: op.href,
			title: photoCaption
		  }).append(html);
	    }
      } else {
      	html = $('<a/>', {
			title: photoCaption
		  }).append(html);
      }
      if (op.speed == 0) {        op.$photo.html(html);        if (op.onBefore) {          op.onBefore.apply(op.$photo);        }        if (op.onAfter) {          op.onAfter.apply(op.$photo);        }      } else {        op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){            if (op.onAfter) {		    op.onAfter.apply(this);          }		  clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Open Aspect Professional Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp = temp + '<p>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																													temp = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/38YFi6O82kzpXAuOQwKDSw" method="post">';
	temp = temp + '<input type="hidden" name="item_name" value="'+item_name+'">';
								ref = '';
				if(this.photo_ref != ''){
					ref = this.photo_ref+' - '+this.caption;
				}
				else{
					ref = this.id+' - '+this.caption;
				}
				price = amount;					temp = temp + '<input type="hidden" name="item_name_1" value="'+item_name+'">';
	temp = temp + '<input type="hidden" name="item_description_1" value="'+ref+'">';
	temp = temp + '<input type="hidden" name="item_quantity_1" value="1">';
	temp = temp + '<input type="hidden" name="item_price_1" value="'+amount+'">';
	temp = temp + '<input type="hidden" name="item_currency_1" value="GBP">';
					temp = temp + '<input type="Image" src="https://checkout.google.com/buttons/checkout.gif?merchant_id=38YFi6O82kzpXAuOQwKDSw&w=160&h=43&style=trans&variant=text&loc=en_GB" onclick="this.submit" style="margin-left:-6px;">';
									temp = temp + '</form>';
										temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

