window.thumbnails = new Object();
												thumbnails[723435] = new thumbnail(723435,'','TAMRON 500mm 1','TAMRON 500mm_1_thumb.jpg',130, 87,1,'							photo_723435.html');
												thumbnails[723436] = new thumbnail(723436,'','TAMRON 500mm 2','TAMRON 500mm_2_thumb.jpg',130, 87,1,'							photo_723436.html');
												thumbnails[723437] = new thumbnail(723437,'','TAMRON 500mm 3','TAMRON 500mm_3_thumb.jpg',130, 81,1,'							photo_723437.html');
												thumbnails[723438] = new thumbnail(723438,'','TAMRON 500mm 4','TAMRON 500mm_4_thumb.jpg',130, 87,1,'							photo_723438.html');
												thumbnails[723439] = new thumbnail(723439,'','TAMRON 500mm 5','TAMRON 500mm_5_thumb.jpg',130, 87,1,'							photo_723439.html');
												thumbnails[723440] = new thumbnail(723440,'','TAMRON 500mm f8 6','TAMRON 500mm_f8_6_thumb.jpg',130, 87,1,'							photo_723440.html');
												thumbnails[423730] = new thumbnail(423730,'33848','Form follows function','Beach-Loungers_thumb.jpg',130, 184,1,'							photo_423730.html');
												thumbnails[423740] = new thumbnail(423740,'33848','Fountain','Fountain_thumb.jpg',130, 186,1,'							photo_423740.html');
												thumbnails[423742] = new thumbnail(423742,'33848','Hay bails','Hay-Bails_thumb.jpg',130, 81,1,'							photo_423742.html');
												thumbnails[423755] = new thumbnail(423755,'33853','Beach huts and the bike','HUTS-SHADOW_thumb.jpg',130, 56,1,'							photo_423755.html');
												thumbnails[423756] = new thumbnail(423756,'33853','Orange boats at sunset','Orange-Boats_thumb.jpg',130, 67,1,'							photo_423756.html');
												thumbnails[423758] = new thumbnail(423758,'33853','West Pier and the birds','PIERBIRDS_thumb.jpg',130, 87,1,'							photo_423758.html');
												thumbnails[423761] = new thumbnail(423761,'33853','West Pier at sunset','Sunset-pier_thumb.jpg',130, 86,1,'							photo_423761.html');
												thumbnails[423762] = new thumbnail(423762,'33855','Boscastle coastguard lookout','Boscastle-coastguard_thumb.jpg',130, 197,1,'							photo_423762.html');
												thumbnails[423763] = new thumbnail(423763,'33855','Colourful Cornish coastline','Cornscape_thumb.jpg',130, 195,1,'							photo_423763.html');
												thumbnails[423764] = new thumbnail(423764,'33855','Cornish cove and lifeboat','Cove-&-lifeboat-lrge-PNT_thumb.jpg',130, 87,1,'							photo_423764.html');
												thumbnails[423767] = new thumbnail(423767,'33855','A sweep of coastline near Bude','Seascape-vertical_thumb.jpg',130, 195,1,'							photo_423767.html');
												thumbnails[423769] = new thumbnail(423769,'33872','Eye Shadow!','eye-shadow_thumb.jpg',130, 204,1,'							photo_423769.html');
												thumbnails[423770] = new thumbnail(423770,'33872','London, from the \"eye\"','3987_thumb.jpg',130, 179,1,'							photo_423770.html');
												thumbnails[423771] = new thumbnail(423771,'33856','','CRW_3366NeatCapToms_thumb.jpg',130, 196,1,'							photo_423771.html');
												thumbnails[423773] = new thumbnail(423773,'33856','Drying ropes on the staircse, Positano','CRW_3472NeatCapToms_thumb.jpg',130, 213,1,'							photo_423773.html');
												thumbnails[423776] = new thumbnail(423776,'33856','','The-Game_thumb.jpg',130, 215,1,'							photo_423776.html');
												thumbnails[423846] = new thumbnail(423846,'33849','Hotel fills with water','04_Hotel-fills-with-waterWJ_thumb.jpg',130, 94,1,'							photo_423846.html');
												thumbnails[424156] = new thumbnail(424156,'33854','Churches','Church-keyhole5_thumb.jpg',130, 209,1,'							photo_424156.html');
												thumbnails[424225] = new thumbnail(424225,'33858','Fire Escape','fireescape_thumb.jpg',130, 195,1,'							photo_424225.html');
												thumbnails[424228] = new thumbnail(424228,'33851','Anti immigration law protest ','protest1_thumb.jpg',130, 77,1,'							photo_424228.html');
												thumbnails[424230] = new thumbnail(424230,'33851','Anti immigration law protest ','protest2_thumb.jpg',130, 84,1,'							photo_424230.html');
												thumbnails[424233] = new thumbnail(424233,'33805','Look out behind you!','_MG_0121-WIP_thumb.jpg',130, 85,1,'							photo_424233.html');
												thumbnails[425442] = new thumbnail(425442,'33853','The West Pier, the night before it burnt down','West-pier-the-night-before-_thumb.jpg',130, 87,1,'							photo_425442.html');
												thumbnails[2994882] = new thumbnail(2994882,'184538','','blacksquare_thumb.jpg',130, 130,1,'							photo_2994882.html');
												thumbnails[423777] = new thumbnail(423777,'329709','Displaced','Displaced_thumb.jpg',130, 87,1,'							photo_423777.html');
												thumbnails[423841] = new thumbnail(423841,'33849','The Wave','01_The-WaveWJG_thumb.jpg',130, 177,1,'							photo_423841.html');
												thumbnails[423778] = new thumbnail(423778,'33850','Freedom Fighters','Freedom-Fighters_thumb.jpg',130, 87,1,'							photo_423778.html');
												thumbnails[423843] = new thumbnail(423843,'33849','Car hits the shop','02_Car-hits-shop_thumb.jpg',130, 96,1,'							photo_423843.html');
												thumbnails[425212] = new thumbnail(425212,'33857','Cross & church','Cross&church_thumb.jpg',130, 97,1,'							photo_425212.html');
												thumbnails[426570] = new thumbnail(426570,'33849','A wave that starts the cars moving','Wave-1v2WJG_thumb.jpg',130, 174,1,'							photo_426570.html');
												thumbnails[427613] = new thumbnail(427613,'33853','Burning Pier','Burning-pier-sign-WIP_thumb.jpg',130, 87,1,'							photo_427613.html');
												thumbnails[428987] = new thumbnail(428987,'34006','Haves & have nots','Haves&havenots_thumb.jpg',130, 90,1,'							photo_428987.html');
												thumbnails[461625] = new thumbnail(461625,'36521',' MG 8201jpg51','_MG_8201jpg51_thumb.jpg',130, 59,1,'							photo_461625.html');
												thumbnails[504272] = new thumbnail(504272,'36521','Airbus A380 and Red Arrows','933_thumb.jpg',130, 82,1,'							photo_504272.html');
												thumbnails[584851] = new thumbnail(584851,'44970','Ferrari 430 at the Hotel De Paris','092_thumb.jpg',130, 201,1,'							photo_584851.html');
												thumbnails[829971] = new thumbnail(829971,'33858','Georgetown Canal','_MG_1059__thumb.jpg',130, 87,1,'							photo_829971.html');
												thumbnails[829999] = new thumbnail(829999,'64146','Chamonix Hotel in Storm','_MG_77952926261_thumb.jpg',130, 87,1,'							photo_829999.html');
												thumbnails[830007] = new thumbnail(830007,'64152','Sydney','01b_thumb.jpg',130, 87,1,'							photo_830007.html');
												thumbnails[830377] = new thumbnail(830377,'64152','Sydney from the Manley Ferry','051_thumb.jpg',130, 70,1,'							photo_830377.html');
												thumbnails[830388] = new thumbnail(830388,'64152','Melbourne by night','082_thumb.jpg',130, 87,1,'							photo_830388.html');
												thumbnails[848045] = new thumbnail(848045,'65409','John Hancock Tower reflection','_MG_0005_thumb.jpg',130, 195,1,'							photo_848045.html');
												thumbnails[848088] = new thumbnail(848088,'33858','Pulling into the Metro Station','_MG_1214_thumb.jpg',130, 87,1,'							photo_848088.html');
												thumbnails[848114] = new thumbnail(848114,'65409','Cranes','_MG_1380-2_thumb.jpg',130, 195,1,'							photo_848114.html');
												thumbnails[848243] = new thumbnail(848243,'65409','Firemen Memorial','_MG_1617_thumb.jpg',130, 83,1,'							photo_848243.html');
												thumbnails[2990235] = new thumbnail(2990235,'34007','WIP','Girl_Mirror-WIP_thumb.jpg',130, 217,1,'							photo_2990235.html');
												thumbnails[2990247] = new thumbnail(2990247,'184203','Enola Gay3','AirandSpace-111_thumb.jpg',130, 76,1,'							photo_2990247.html');
												thumbnails[2990260] = new thumbnail(2990260,'184203','SR71','SR71_thumb.jpg',130, 87,1,'							photo_2990260.html');
												thumbnails[2995140] = new thumbnail(2995140,'33848','deckchairs','deckchairs_thumb.jpg',130, 88,1,'							photo_2995140.html');
												thumbnails[5546608] = new thumbnail(5546608,'33853','Burning of the clocks','Burning_of_the_clocks_thumb.jpg',130, 94,1,'							photo_5546608.html');
												thumbnails[848060] = new thumbnail(848060,'65409','Room with a panoramic view  2','_MG_0092_thumb.jpg',130, 87,1,'							photo_848060.html');
												thumbnails[425646] = new thumbnail(425646,'33850','Death scene','Death-Scene_thumb.jpg',130, 185,1,'							photo_425646.html');
												thumbnails[848062] = new thumbnail(848062,'65409','Boston from the ICA','_MG_0103_thumb.jpg',130, 191,1,'							photo_848062.html');
												thumbnails[423845] = new thumbnail(423845,'33849','Cars sweep by','03_Cars-sweep-by_thumb.jpg',130, 98,1,'							photo_423845.html');
												thumbnails[584850] = new thumbnail(584850,'44970','Ferrari 360 at the Cafe De Paris','081_thumb.jpg',130, 192,1,'							photo_584850.html');
												thumbnails[848059] = new thumbnail(848059,'65409','Room with a panoramic view','_MG_0091_thumb.jpg',130, 88,1,'							photo_848059.html');
												thumbnails[2995143] = new thumbnail(2995143,'33848','Spiral','Spiral-4-upsize_upsized4_thumb.jpg',130, 202,1,'							photo_2995143.html');
												thumbnails[426568] = new thumbnail(426568,'33849','Harbour lights destroyed','Harbour-lights-_thumb.jpg',130, 195,1,'							photo_426568.html');
												thumbnails[584849] = new thumbnail(584849,'44970','Aston DB9 Monaco','071_thumb.jpg',130, 195,1,'							photo_584849.html');
												thumbnails[589643] = new thumbnail(589643,'44970','Casino and Fountain, Monaco','Casini and Fountain, monaco_thumb.jpg',130, 73,1,'							photo_589643.html');
												thumbnails[425457] = new thumbnail(425457,'33854','Keeled Over','Dead-or-alive---Silver_thumb.jpg',130, 83,1,'							photo_425457.html');
												thumbnails[426590] = new thumbnail(426590,'33856','Capri','Capri_thumb.jpg',130, 82,1,'							photo_426590.html');
												thumbnails[427614] = new thumbnail(427614,'33848','Steps abstract','CRW_4761-PBX_thumb.jpg',130, 195,1,'							photo_427614.html');
												thumbnails[461626] = new thumbnail(461626,'36521','Airbus A380 Landing','_MG_8202jpg52_thumb.jpg',130, 54,1,'							photo_461626.html');
												thumbnails[461863] = new thumbnail(461863,'36521','MIG 29 lands with pararchute','_MG_8271jpg62_thumb.jpg',130, 65,1,'							photo_461863.html');
												thumbnails[479012] = new thumbnail(479012,'36879','Thundercat Racing 02','Thundercat Racing 02_thumb.jpg',130, 67,1,'							photo_479012.html');
												thumbnails[504274] = new thumbnail(504274,'36521','Airbus A380 and Red Arrows','934_thumb.jpg',130, 75,1,'							photo_504274.html');
												thumbnails[589641] = new thumbnail(589641,'44970','Carlton Mirrors','Carlton Mirrors_thumb.jpg',130, 195,1,'							photo_589641.html');
												thumbnails[589642] = new thumbnail(589642,'44970','Carlton Staircase','Carlton Staircase_thumb.jpg',130, 87,1,'							photo_589642.html');
												thumbnails[829972] = new thumbnail(829972,'64146','Smoke and mist','_MG_7703FB_thumb.jpg',130, 87,1,'							photo_829972.html');
												thumbnails[830005] = new thumbnail(830005,'64146','Church Chamonix','_MG_7710-PNT_thumb.jpg',130, 195,1,'							photo_830005.html');
												thumbnails[830378] = new thumbnail(830378,'64152','Rainbow behind Sydney Opera House','06-SAB-rainbow_thumb.jpg',130, 72,1,'							photo_830378.html');
												thumbnails[830389] = new thumbnail(830389,'64152','Ferris wheel Melbourne','093_thumb.jpg',130, 87,1,'							photo_830389.html');
												thumbnails[848046] = new thumbnail(848046,'65409','Building abstract','_MG_0019_thumb.jpg',130, 195,1,'							photo_848046.html');
												thumbnails[848057] = new thumbnail(848057,'65409','Old industry and modern business','_MG_0064_thumb.jpg',130, 87,1,'							photo_848057.html');
												thumbnails[848089] = new thumbnail(848089,'33858','The Tunnel','_MG_1227_thumb.jpg',130, 87,1,'							photo_848089.html');
												thumbnails[848100] = new thumbnail(848100,'65409','Skyline from the river 1','_MG_1330_thumb.jpg',130, 87,1,'							photo_848100.html');
												thumbnails[848217] = new thumbnail(848217,'65409','Reflections in the hancock building','_MG_1581_thumb.jpg',130, 195,1,'							photo_848217.html');
												thumbnails[2990085] = new thumbnail(2990085,'184203','AirandSpace-3','AirandSpace-3_thumb.jpg',130, 63,1,'							photo_2990085.html');
												thumbnails[2995141] = new thumbnail(2995141,'33848','Spiral 1','Lake_Maggiore_140807_0764-Edit_thumb.jpg',130, 87,1,'							photo_2995141.html');
												thumbnails[5546610] = new thumbnail(5546610,'329709','Spiral Ramp, FIAT car factory','Mono-1-3_thumb.jpg',130, 202,1,'							photo_5546610.html');
												thumbnails[589682] = new thumbnail(589682,'44970','Martinez Staircase 2','Martinez-Staircase-4_thumb.jpg',130, 87,1,'							photo_589682.html');
												thumbnails[426574] = new thumbnail(426574,'33849','Back up the valley, the empty carpark can be seen','Boscastle-the-day-after_thumb.jpg',130, 173,1,'							photo_426574.html');
												thumbnails[589644] = new thumbnail(589644,'44970','Martinez Staircase 1','Martinez Staircase 1_thumb.jpg',130, 199,1,'							photo_589644.html');
												thumbnails[848220] = new thumbnail(848220,'65409','Reflections in the hancock building','_MG_1588_thumb.jpg',130, 195,1,'							photo_848220.html');
												thumbnails[425428] = new thumbnail(425428,'34007','Mercedes','Mercedes_thumb.jpg',130, 87,1,'							photo_425428.html');
												thumbnails[426569] = new thumbnail(426569,'33849','Harbour','Harbour_thumb.jpg',130, 87,1,'							photo_426569.html');
												thumbnails[461627] = new thumbnail(461627,'36521','Typhoon take-off','_MG_8215jpg53_thumb.jpg',130, 84,1,'							photo_461627.html');
												thumbnails[461864] = new thumbnail(461864,'36521','F16 takes off','_MG_8274jpg63_thumb.jpg',130, 76,1,'							photo_461864.html');
												thumbnails[829976] = new thumbnail(829976,'64146','Chamonix train','_MG_7771181517_thumb.jpg',130, 83,1,'							photo_829976.html');
												thumbnails[830379] = new thumbnail(830379,'64152','Sydney Opera House at night','061_thumb.jpg',130, 80,1,'							photo_830379.html');
												thumbnails[830395] = new thumbnail(830395,'33858','The Girl at the Washington Metro ','51-Metro_thumb.jpg',130, 86,1,'							photo_830395.html');
												thumbnails[848058] = new thumbnail(848058,'65409','Sleeper Street','_MG_0080_thumb.jpg',130, 195,1,'							photo_848058.html');
												thumbnails[2990241] = new thumbnail(2990241,'184203','Enola Gay2','Enola Gay2_thumb.jpg',130, 77,1,'							photo_2990241.html');
												thumbnails[2995142] = new thumbnail(2995142,'33848','Spiral 2','Lingotto2_thumb.jpg',130, 195,1,'							photo_2995142.html');
												thumbnails[425429] = new thumbnail(425429,'34006','Sweeping the beach','Sweeping-the-beach_thumb.jpg',130, 91,1,'							photo_425429.html');
												thumbnails[425449] = new thumbnail(425449,'33856','Stairs and petals','Stairs and petals_thumb.jpg',130, 205,1,'							photo_425449.html');
												thumbnails[425459] = new thumbnail(425459,'34006','Drying ropes','Drying-ropes---Gold1_thumb.jpg',130, 89,1,'							photo_425459.html');
												thumbnails[426571] = new thumbnail(426571,'33849','Witchcraft Museum','Witchcraft-Museum_thumb.jpg',130, 87,1,'							photo_426571.html');
												thumbnails[426592] = new thumbnail(426592,'33856','laundry','Dirty-laundry_thumb.jpg',130, 93,1,'							photo_426592.html');
												thumbnails[461628] = new thumbnail(461628,'36521','Typhoon - fully loaded','_MG_8216jpg54_thumb.jpg',130, 81,1,'							photo_461628.html');
												thumbnails[848047] = new thumbnail(848047,'65409','John Hancock Tower','_MG_0029_thumb.jpg',130, 195,1,'							photo_848047.html');
												thumbnails[848117] = new thumbnail(848117,'65409','Skyline','_MG_1394_thumb.jpg',130, 54,1,'							photo_848117.html');
												thumbnails[2990136] = new thumbnail(2990136,'184203','Blackbird','AirandSpace-1_thumb.jpg',130, 91,1,'							photo_2990136.html');
												thumbnails[2990242] = new thumbnail(2990242,'184203','Shuttle Enterprise Front','Shuttle_Enterprise_Front_thumb.jpg',130, 84,1,'							photo_2990242.html');
												thumbnails[426572] = new thumbnail(426572,'33849','Workmen enter witchcraft museum','Workmen-enter-witchcraft-mu_thumb.jpg',130, 87,1,'							photo_426572.html');
												thumbnails[426593] = new thumbnail(426593,'33805','Girl and the mirrors','GirlandMirrors_thumb.jpg',130, 193,1,'							photo_426593.html');
												thumbnails[461629] = new thumbnail(461629,'36521','Saab Grippen takes off','_MG_8232jpg55_thumb.jpg',130, 80,1,'							photo_461629.html');
												thumbnails[829974] = new thumbnail(829974,'64146','Chamonix from train','_MG_772512911_thumb.jpg',130, 87,1,'							photo_829974.html');
												thumbnails[848048] = new thumbnail(848048,'65409','John Hancock Tower','_MG_0042_thumb.jpg',130, 195,1,'							photo_848048.html');
												thumbnails[848103] = new thumbnail(848103,'65409','Building abstract','_MG_1369_thumb.jpg',130, 77,1,'							photo_848103.html');
												thumbnails[848118] = new thumbnail(848118,'65409','Modern bridge abstract','_MG_1405-2_thumb.jpg',130, 195,1,'							photo_848118.html');
												thumbnails[2990243] = new thumbnail(2990243,'184203','Shuttle Enterprise Rear','Shuttle_Enterprise_Rear_thumb.jpg',130, 87,1,'							photo_2990243.html');
												thumbnails[5836754] = new thumbnail(5836754,'329709','Alan Turing and the birth of th eelectronic computer','224_Bletchley-1334_thumb.jpg',130, 195,1,'							photo_5836754.html');
												thumbnails[848063] = new thumbnail(848063,'65409','Boston from the ICA 2','_MG_0106_thumb.jpg',130, 87,1,'							photo_848063.html');
												thumbnails[425461] = new thumbnail(425461,'33856','Shopping - Amalfi style','Shopping-Amalfi-Style---Sil_thumb.jpg',130, 87,1,'							photo_425461.html');
												thumbnails[426594] = new thumbnail(426594,'33856','Marina Grande','Marina Grande_thumb.jpg',130, 87,1,'							photo_426594.html');
												thumbnails[461598] = new thumbnail(461598,'36521','Airbus A380','_MG_8052jpg01_thumb.jpg',130, 81,1,'							photo_461598.html');
												thumbnails[848221] = new thumbnail(848221,'65409','Window Cleaners dream','_MG_1590_thumb.jpg',130, 87,1,'							photo_848221.html');
												thumbnails[848158] = new thumbnail(848158,'65409','Holocaust Memorial 3','_MG_1490_thumb.jpg',130, 195,1,'							photo_848158.html');
												thumbnails[848157] = new thumbnail(848157,'65409','Holocaust Memorial 2','_MG_1489_thumb.jpg',130, 87,1,'							photo_848157.html');
												thumbnails[425462] = new thumbnail(425462,'33848','Steam!','Steam-sRGB---Gold_thumb.jpg',130, 83,1,'							photo_425462.html');
												thumbnails[426595] = new thumbnail(426595,'33853','Who killed the West Pier?','pier-lights_thumb.jpg',130, 87,1,'							photo_426595.html');
												thumbnails[848246] = new thumbnail(848246,'65409','JFK Reflection','_MG_1679_thumb.jpg',130, 88,1,'							photo_848246.html');
												thumbnails[848249] = new thumbnail(848249,'65409','Kennedy Center 4','_MG_9908_thumb.jpg',130, 87,1,'							photo_848249.html');
												thumbnails[848244] = new thumbnail(848244,'65409','Kennedy Center 1','_MG_1671_thumb.jpg',130, 87,1,'							photo_848244.html');
												thumbnails[5836760] = new thumbnail(5836760,'329709','Folded-Fighter1','Folded-Fighter1_thumb.jpg',130, 87,1,'							photo_5836760.html');
												thumbnails[437539] = new thumbnail(437539,'33848','Lovers & the stones','lovers&stones-WIP-2006_thumb.jpg',130, 195,1,'							photo_437539.html');
												thumbnails[848175] = new thumbnail(848175,'65409','Library','_MG_1538_thumb.jpg',130, 87,1,'							photo_848175.html');
												thumbnails[848251] = new thumbnail(848251,'65409','Kennedy Center 5','_MG_9915_thumb.jpg',130, 195,1,'							photo_848251.html');
												thumbnails[848176] = new thumbnail(848176,'65409','Reflections on the Freedom Trail','_MG_1560_thumb.jpg',130, 87,1,'							photo_848176.html');
												thumbnails[848252] = new thumbnail(848252,'65409','Prudential building','_MG_9967_thumb.jpg',130, 87,1,'							photo_848252.html');
												thumbnails[5836762] = new thumbnail(5836762,'329709','Lloyds Building1','Lloyds_Building1_thumb.jpg',130, 87,1,'							photo_5836762.html');
												thumbnails[424227] = new thumbnail(424227,'33858','Washington Memorial and flag','Memandflag_thumb.jpg',130, 86,1,'							photo_424227.html');
												thumbnails[848253] = new thumbnail(848253,'65409','Route through town','_MG_9976_thumb.jpg',130, 193,1,'							photo_848253.html');
												thumbnails[5836763] = new thumbnail(5836763,'329709','View-from-German-Bunker-of-Martello-tower-Corbiere-Jersey','View-from-German-Bunker-of-Martello-tower-Corbiere-Jersey_thumb.jpg',130, 87,1,'							photo_5836763.html');
												thumbnails[426600] = new thumbnail(426600,'33853','West Pier contemplation','WestPiercontemplation_thumb.jpg',130, 87,1,'							photo_426600.html');
												thumbnails[848254] = new thumbnail(848254,'65409','Looking down from the Prudential Building','_MG_9988_thumb.jpg',130, 87,1,'							photo_848254.html');
												thumbnails[425224] = new thumbnail(425224,'33857','TV Tower','TVTower_thumb.jpg',130, 195,1,'							photo_425224.html');
												thumbnails[5836788] = new thumbnail(5836788,'329709','Sienna Dome HDR PNT','Sienna_Dome_HDR_PNT_thumb.jpg',130, 90,1,'							photo_5836788.html');
												thumbnails[5836865] = new thumbnail(5836865,'329709','Window Cleaners Dream','_MG_1590_WIP_thumb.jpg',130, 86,1,'							photo_5836865.html');
												thumbnails[2994786] = new thumbnail(2994786,'184538','Lumix-lx3s','Lumix-lx3s_thumb.jpg',130, 75,1,'							photo_2994786.html');
												thumbnails[848310] = new thumbnail(848310,'33858','Union Station Roof','_MG_8056_thumb.jpg',130, 87,1,'							photo_848310.html');
												thumbnails[423044] = new thumbnail(423044,'33847','Lancia Stratus reflected in the bumper of a Cadillac','03_thumb.jpg',130, 87,1,'							photo_423044.html');
												thumbnails[423048] = new thumbnail(423048,'33847','Mercedes ','07_thumb.jpg',130, 87,1,'							photo_423048.html');
												thumbnails[423049] = new thumbnail(423049,'33847','Jaguar SS100','08_thumb.jpg',130, 94,1,'							photo_423049.html');
												thumbnails[423052] = new thumbnail(423052,'33847','Panther DeVille','10_thumb.jpg',130, 87,1,'							photo_423052.html');
												thumbnails[423054] = new thumbnail(423054,'33847','Jaguar XK120','14_thumb.jpg',130, 87,1,'							photo_423054.html');
												thumbnails[423055] = new thumbnail(423055,'33847','Lagonda Rapide','15_thumb.jpg',130, 88,1,'							photo_423055.html');
												thumbnails[423056] = new thumbnail(423056,'33847','Aston Martin DB4 GT Zagato','12_thumb.jpg',130, 87,1,'							photo_423056.html');
												thumbnails[423057] = new thumbnail(423057,'33847','Bentley','11_thumb.jpg',130, 93,1,'							photo_423057.html');
												thumbnails[423042] = new thumbnail(423042,'33847','Stripes and pipes!','01_thumb.jpg',130, 195,1,'							photo_423042.html');
												thumbnails[425427] = new thumbnail(425427,'33847','Cadillac','Caddy_thumb.jpg',130, 84,1,'							photo_425427.html');
												thumbnails[423043] = new thumbnail(423043,'33847','Ford Mustang GT','02_thumb.jpg',130, 183,1,'							photo_423043.html');
												thumbnails[461594] = new thumbnail(461594,'33847','Jag XK abstract reflection','Jag_XK_abstract_reflection1_thumb.jpg',130, 197,1,'							photo_461594.html');
												thumbnails[423045] = new thumbnail(423045,'33847','Bugatti','04_thumb.jpg',130, 185,1,'							photo_423045.html');
												thumbnails[461595] = new thumbnail(461595,'33847','Lagonda grille','Lagonda_grille1_thumb.jpg',130, 89,1,'							photo_461595.html');
												thumbnails[423053] = new thumbnail(423053,'33847','Porche 996 and Ferrari 360','13_thumb.jpg',130, 195,1,'							photo_423053.html');
												thumbnails[437532] = new thumbnail(437532,'33847','Cord','Cord_thumb.jpg',130, 195,1,'							photo_437532.html');
												thumbnails[423046] = new thumbnail(423046,'33847','Self reflection','05_thumb.jpg',130, 205,1,'							photo_423046.html');
												thumbnails[425430] = new thumbnail(425430,'33847','X5-Y','X5Y10_thumb.jpg',130, 194,1,'							photo_425430.html');
												thumbnails[437534] = new thumbnail(437534,'33847','Lagonda Grille','CRW_5170-WIP_thumb.jpg',130, 194,1,'							photo_437534.html');
												thumbnails[425463] = new thumbnail(425463,'33847','Two-pounds-and-80-pence','Two-pounds-and-80-pence---B_thumb.jpg',130, 91,1,'							photo_425463.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[184203] = new gallery(184203,'2990260,2990247,2990243,2990242,2990241,2990136,2990085','Air and Space Museum','gallery',[2990247,2990260,2990085,2990241,2990136,2990242,2990243],0, 0, '33804', '																																																																																																							gallery_184203.html',0,0);
				  					galleries[384360] = new gallery(384360,'','Architecture','gallery',[],0, 0, '', '																																																																																																							gallery_384360.html',0,0);
				  					galleries[33806] = new gallery(33806,'428987,425429','Art','gallery',[],0, 0, '', '																																																																																																							gallery_33806.html',0,0);
				  					galleries[64152] = new gallery(64152,'830007','Australia','gallery',[830007,830377,830388,830378,830389,830379],0, 0, '33798', '																																																																																																							gallery_64152.html',0,0);
				  					galleries[33849] = new gallery(33849,'426571,426569,423846,423845,423843','Boscastle Flood','gallery',[423846,423841,423843,426570,423845,426568,426574,426569,426571,426572],0, 0, '33804', '																																																																																																							gallery_33849.html',0,0);
				  					galleries[65409] = new gallery(65409,'848221,848060,848059,848058,848057','Boston','gallery',[848045,848114,848243,848060,848062,848059,848046,848057,848100,848217,848220,848058,848047,848117,848048,848103,848118,848063,848221,848158,848157,848246,848249,848244,848175,848251,848176,848252,848253,848254],0, 0, '33798', '																																																																																																							gallery_65409.html',0,0);
				  					galleries[33853] = new gallery(33853,'425442,423758,423756','Brighton','gallery',[423755,423756,423758,423761,425442,427613,5546608,426595,426600],0, 0, '33798', '																																																																																																							gallery_33853.html',0,0);
				  					galleries[33854] = new gallery(33854,'424156','Budapest','gallery',[424156,425457],0, 0, '33798', '																																																																																																							gallery_33854.html',0,0);
				  					galleries[33850] = new gallery(33850,'425646,423778','Budapest Uprising','gallery',[423778,425646],0, 0, '33804', '																																																																																																							gallery_33850.html',0,0);
				  					galleries[64146] = new gallery(64146,'830005,829999,829976,829974,829972','Chamonix','gallery',[829999,829972,830005,829976,829974],0, 0, '33798', '																																																																																																							gallery_64146.html',0,0);
				  					galleries[34006] = new gallery(34006,'428987,425429','Colour','gallery',[428987,425429,425459],0, 0, '33806', '																																																																																																							gallery_34006.html',0,0);
				  					galleries[33847] = new gallery(33847,'425427,423057,423056,423055,423054,423052,423049,423048','Contemporary Classics','section457077',[423044,423048,423049,423052,423054,423055,423056,423057,423042,425427,423043,461594,423045,461595,423053,437532,423046,425430,437534,425463],0, 0, '', '																																																																																																																																	section457077.html',0,1);
				  					galleries[33855] = new gallery(33855,'423767,423763,423762','Cornwall','gallery',[423762,423763,423764,423767],0, 0, '33798', '																																																																																																							gallery_33855.html',0,0);
				  					galleries[36521] = new gallery(36521,'461629,461628,461627','Farnboro Airshow 2006','gallery',[461625,504272,461626,461863,504274,461627,461864,461628,461629,461598],0, 0, '33804', '																																																																																																							gallery_36521.html',0,0);
				  					galleries[44970] = new gallery(44970,'584851,584850,584849','French Riviera','gallery',[584851,584850,584849,589643,589641,589642,589682,589644],0, 0, '33798', '																																																																																																							gallery_44970.html',0,0);
				  					galleries[34007] = new gallery(34007,'425428','Goodwood Revival','gallery',[2990235,425428],0, 0, '33804', '																																																																																																							gallery_34007.html',0,0);
				  					galleries[33851] = new gallery(33851,'424228','Immigration protest rally','gallery',[424228,424230],0, 0, '33804', '																																																																																																							gallery_33851.html',0,0);
				  					galleries[33872] = new gallery(33872,'423770','London','gallery',[423769,423770],0, 0, '33798', '																																																																																																							gallery_33872.html',0,0);
				  					galleries[33848] = new gallery(33848,'2995143,2995142,2995141,2995140,437539,427614,425462,423742,423740,423730','monochromes','gallery',[423730,423740,423742,2995140,2995143,427614,2995141,2995142,425462,437539],0, 0, '33806', '																																																																																																							gallery_33848.html',0,0);
				  					galleries[329709] = new gallery(329709,'5836754,423777','Old Market Exhibition ','gallery',[423777,5546610,5836754,5836760,5836762,5836763,5836788,5836865],0, 0, '', '																																																																																																							gallery_329709.html',0,0);
				  					galleries[33804] = new gallery(33804,'479012,461629,461628,461627,426571,426569,425428,424233,424228,423846,423845,423843','Photojournalism','gallery',[],0, 0, '', '																																																																																																							gallery_33804.html',0,0);
				  					galleries[33857] = new gallery(33857,'425212','Prague','gallery',[425212,425224],0, 0, '33798', '																																																																																																							gallery_33857.html',0,0);
				  					galleries[33856] = new gallery(33856,'423776,423771','Sorrento','gallery',[423771,423773,423776,426590,425449,426592,425461,426594],0, 0, '33798', '																																																																																																							gallery_33856.html',0,0);
				  					galleries[33805] = new gallery(33805,'424233','Street','gallery',[424233,426593],0, 0, '33804', '																																																																																																							gallery_33805.html',0,0);
				  					galleries[36879] = new gallery(36879,'479012','Thundercat racing','gallery',[479012],0, 0, '33804', '																																																																																																							gallery_36879.html',0,0);
				  					galleries[33858] = new gallery(33858,'848089,848088,424227','Washington','gallery',[424225,829971,848088,848089,830395,424227,848310],0, 0, '33798', '																																																																																																							gallery_33858.html',0,0);
				  					galleries[33798] = new gallery(33798,'848221,848089,848088,848060,848059,848058,848057,830007,584851,584850,584849,425442,425212,424227,424156,423776,423771,423770,423767,423763,423762,423758,423756','Travel','gallery',[],0, 0, '', '																																																																																																							gallery_33798.html',0,0);
				  					galleries[184538] = new gallery(184538,'2994882','    ','gallery',[2994882,2994786],0, 0, '', '																																																																																																							gallery_184538.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '5836754,848221,848089,848059,830007,428987,425429,425212,424233,424227,423764,423758,423756,423755,423056,423054,423049,423048';
imageSets[2] = '5836754,2994882,848221,848089,848088,848060,848059,848058,848057,830007,584851,584850,584849,479012,461629,461628,461627,428987,426571,426569,425442,425429,425428,425427,425212,424233,424228,424227,424156,423846,423845,423843,423777,423776,423771,423770,423767,423763,423762,423758,423756,423057,423056,423055,423054,423052,423049,423048';
imageSets[3] = '5836865,5836788,5836763,5836762,5836760,5836754,5546610,5546608,2995143,2995142,2995141,2995140,2994882,2994786,2990260,2990247,2990243,2990242,2990241,2990235,2990136,2990085,848310,848254,848253,848252,848251,848249,848246,848244,848243,848221,848220,848217,848176,848175,848158,848157,848118,848117,848114,848103,848100,848089,848088,848063,848062,848060,848059,848058';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://www.clikchurch.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/waynegrundy/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/waynegrundy/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 += '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:'',
                    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));		}, 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 = 'VisualArtPhotography.co.uk: ' + 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));    }        
    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 = 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>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				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>Buy now using PayPal:</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://www.paypal.com/cgi-bin/webscr" 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="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="wayne_grundy@yahoo.com">';
	temp = temp + '<input type="hidden" name="currency_code" value="GBP">';
	temp = temp + '<input type="hidden" name="add" value="1">';
					temp = temp + '<input type="hidden" name="amount" value="'+amount+'">';
	temp = temp + '<input type="hidden" name="item_number" value="'+ref+'">';
					temp = temp + '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
									temp = temp + '</form>';
								temp = temp + '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
	temp = temp + '<input type="hidden" name="cmd" value="_cart">';
	temp = temp + '<input type="hidden" name="business" value="wayne_grundy@yahoo.com">';
	temp = temp + '<input type="hidden" name="display" value="1">';
	temp = temp + '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
	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;
	}
}

		

