window.thumbnails = new Object();
												thumbnails[4885460] = new thumbnail(4885460,'','Mathematical Bridge and President\'s Lodge. ','QueensbTIFFcFEcccccFLTcccPRINTTTw1_thumb.jpg',130, 92,1,'															#');
												thumbnails[158676] = new thumbnail(158676,'14765','Snowdonia','snowdonia_thumb.jpg',130, 87,1,'																			photo_158676.html');
												thumbnails[158684] = new thumbnail(158684,'14781','Autumn memories','autumnmemories_thumb.jpg',130, 170,1,'																			photo_158684.html');
												thumbnails[158685] = new thumbnail(158685,'14781','Back to nature','backtonature_thumb.jpg',130, 238,1,'																			photo_158685.html');
												thumbnails[158691] = new thumbnail(158691,'14784','Birmingham Wheel','birmingham_thumb.jpg',130, 248,1,'																			photo_158691.html');
												thumbnails[158698] = new thumbnail(158698,'14765','Blea Tarn, Cumbria','bleatarn_thumb.jpg',130, 85,1,'																			photo_158698.html');
												thumbnails[158704] = new thumbnail(158704,'14781','Calm','calm_thumb.jpg',130, 238,1,'																			photo_158704.html');
												thumbnails[158711] = new thumbnail(158711,'14783','Charlie\'s eye','charlie_thumb.jpg',130, 92,1,'																			photo_158711.html');
												thumbnails[158717] = new thumbnail(158717,'14782','Together forever','chat1_thumb.jpg',130, 87,1,'																			photo_158717.html');
												thumbnails[158726] = new thumbnail(158726,'14781','Gallery 5 - Surrealism','gallery5_thumb.jpg',130, 114,1,'																			photo_158726.html');
												thumbnails[158732] = new thumbnail(158732,'14777','Velvet Iris','iris_thumb.jpg',130, 105,1,'																			photo_158732.html');
												thumbnails[158933] = new thumbnail(158933,'14765','Barricane sunset','barricane003 copy 2_thumb.jpg',130, 193,1,'																			photo_158933.html');
												thumbnails[158936] = new thumbnail(158936,'14784','Worcester Cathedral','BEVERESOARING copy_thumb.jpg',130, 343,1,'																			photo_158936.html');
												thumbnails[158948] = new thumbnail(158948,'14777','Bluebell bud','bluebell bud_thumb.jpg',130, 334,1,'																			photo_158948.html');
												thumbnails[158959] = new thumbnail(158959,'14782','Cheeky','CHATSW059 copy_thumb.jpg',130, 307,1,'																			photo_158959.html');
												thumbnails[158967] = new thumbnail(158967,'14781','Cleopatra','Cleopatra_thumb.jpg',130, 81,1,'																			photo_158967.html');
												thumbnails[158974] = new thumbnail(158974,'14783','Duck','ML004_thumb.jpg',130, 148,1,'																			photo_158974.html');
												thumbnails[158981] = new thumbnail(158981,'14777','Yellow tulip','Oct04 007 copy3_thumb.jpg',130, 193,1,'																			photo_158981.html');
												thumbnails[158985] = new thumbnail(158985,'14765','Severn dawn','Oct04 019 copy_thumb.jpg',130, 167,1,'																			photo_158985.html');
												thumbnails[158987] = new thumbnail(158987,'14765','Stream reflection','oldslides005 copy2printed_thumb.jpg',130, 182,1,'																			photo_158987.html');
												thumbnails[158997] = new thumbnail(158997,'14765','Out of warranty','outofwarranty5_thumb.jpg',130, 87,1,'																			photo_158997.html');
												thumbnails[158999] = new thumbnail(158999,'14765','Forest light','sbXML003large_thumb.jpg',130, 54,1,'																			photo_158999.html');
												thumbnails[159003] = new thumbnail(159003,'14765','Mystic sea','Xbarricane004mysticseaflt_thumb.jpg',130, 69,1,'																			photo_159003.html');
												thumbnails[159124] = new thumbnail(159124,'14777','Apples','1slidesnov032copy_thumb.jpg',130, 191,1,'																			photo_159124.html');
												thumbnails[160053] = new thumbnail(160053,'14765','Forest fire','oldslides121 copy5 web_thumb.jpg',130, 200,1,'																			photo_160053.html');
												thumbnails[160218] = new thumbnail(160218,'14783','Socks','1slidesnov023drawov copy_thumb.jpg',130, 88,1,'																			photo_160218.html');
												thumbnails[160245] = new thumbnail(160245,'14781','Rhiannon','acompseagull107 copy2 flat copy2 copy_thumb.jpg',130, 202,1,'																			photo_160245.html');
												thumbnails[160337] = new thumbnail(160337,'14777','Chrysanthemum','lanefloral002 copy2 copyweb_thumb.jpg',130, 171,1,'																			photo_160337.html');
												thumbnails[161694] = new thumbnail(161694,'14781','Summer memories','summermemories_thumb.jpg',130, 184,1,'																			photo_161694.html');
												thumbnails[163547] = new thumbnail(163547,'14781','Muse','violin12x8 copyweb_thumb.jpg',130, 192,1,'																			photo_163547.html');
												thumbnails[163563] = new thumbnail(163563,'14784','Cathedral light','webWCATH032 copy 4_thumb.jpg',130, 183,1,'																			photo_163563.html');
												thumbnails[163575] = new thumbnail(163575,'14777','Rodgersia blue','weboldslides030 copy3 copy_thumb.jpg',130, 191,1,'																			photo_163575.html');
												thumbnails[163577] = new thumbnail(163577,'14782','Serenity','webWCATH009 copy4 copy_thumb.jpg',130, 227,1,'																			photo_163577.html');
												thumbnails[172239] = new thumbnail(172239,'14781','In a world of their own...','world_thumb.jpg',130, 246,1,'																			photo_172239.html');
												thumbnails[172244] = new thumbnail(172244,'14781','Spirit of the dance','dancer_thumb.jpg',130, 228,1,'																			photo_172244.html');
												thumbnails[192973] = new thumbnail(192973,'17604','Kidderminster 2006','X4_thumb.jpg',130, 97,1,'																			photo_192973.html');
												thumbnails[193370] = new thumbnail(193370,'14765','Wyre autumn','XX6_thumb.jpg',130, 86,1,'																			photo_193370.html');
												thumbnails[193374] = new thumbnail(193374,'14765','Watlendath rowing boat','XX7_thumb.jpg',130, 87,1,'																			photo_193374.html');
												thumbnails[193376] = new thumbnail(193376,'14765','Snowdonia II','XX5_thumb.jpg',130, 90,1,'																			photo_193376.html');
												thumbnails[193383] = new thumbnail(193383,'14782','Chatsworth lion','XX16_thumb.jpg',130, 187,1,'																			photo_193383.html');
												thumbnails[193387] = new thumbnail(193387,'14765','Dorset fields','XX4_thumb.jpg',130, 35,1,'																			photo_193387.html');
												thumbnails[193396] = new thumbnail(193396,'14784','Clock, Worcester Cathedral','XX14_thumb.jpg',130, 234,1,'																			photo_193396.html');
												thumbnails[193402] = new thumbnail(193402,'14784','Pulpit detail','XX13_thumb.jpg',130, 199,1,'																			photo_193402.html');
												thumbnails[193407] = new thumbnail(193407,'14777','Polyanthus glow','XX22_thumb.jpg',130, 130,1,'																			photo_193407.html');
												thumbnails[204531] = new thumbnail(204531,'14777','Tears of joy','lanefloral022 copy3 web_thumb.jpg',130, 175,1,'																			photo_204531.html');
												thumbnails[291062] = new thumbnail(291062,'14777','Blue Iris','bod 026c12x8s10y5newweb_thumb.jpg',130, 198,1,'																			photo_291062.html');
												thumbnails[291066] = new thumbnail(291066,'14783','Dandy','bod 044c2web_thumb.jpg',130, 215,1,'																			photo_291066.html');
												thumbnails[450712] = new thumbnail(450712,'17604','Pandy Mill Gallery','zpan3_thumb.jpg',130, 78,1,'																			photo_450712.html');
												thumbnails[450714] = new thumbnail(450714,'17604','Pandy Mill Gallery','zpan1_thumb.jpg',130, 85,1,'																			photo_450714.html');
												thumbnails[450758] = new thumbnail(450758,'14782','21st Century Bust','zwebbust_thumb.jpg',130, 188,1,'																			photo_450758.html');
												thumbnails[450770] = new thumbnail(450770,'14765','Morning dew cobweb','zwebcob_thumb.jpg',130, 90,1,'																			photo_450770.html');
												thumbnails[450777] = new thumbnail(450777,'14777','Ligularia leaves','zweblig_thumb.jpg',130, 193,1,'																			photo_450777.html');
												thumbnails[450790] = new thumbnail(450790,'14765','Ullswater dawn.','zwebullsw_thumb.jpg',130, 190,1,'																			photo_450790.html');
												thumbnails[812840] = new thumbnail(812840,'14781','Mirrors of the Soul','canstockphoto0137084mirrorred2conweb_thumb.jpg',130, 88,1,'																			photo_812840.html');
												thumbnails[812847] = new thumbnail(812847,'14765','Ullswater calm','Ullswater Nov06002cweb_thumb.jpg',130, 75,1,'																			photo_812847.html');
												thumbnails[812848] = new thumbnail(812848,'14765','Buttermere','Ullswater Nov06016sq web_thumb.jpg',130, 129,1,'																			photo_812848.html');
												thumbnails[812860] = new thumbnail(812860,'14765','Ullswater Tree','Lakes06004cweb_thumb.jpg',130, 190,1,'																			photo_812860.html');
												thumbnails[813702] = new thumbnail(813702,'14765','Ullswater reflection','Lakes06002c web_thumb.jpg',130, 64,1,'																			photo_813702.html');
												thumbnails[813709] = new thumbnail(813709,'14765','Hurcott Mist','Oct04 015 copy12x8 web_thumb.jpg',130, 86,1,'																			photo_813709.html');
												thumbnails[813723] = new thumbnail(813723,'14765','How small we are','WalesWyre002sdraw2PRINTweb_thumb.jpg',130, 174,1,'																			photo_813723.html');
												thumbnails[813729] = new thumbnail(813729,'14783','Two pals','bodWyreoct06007c web_thumb.jpg',130, 130,1,'																			photo_813729.html');
												thumbnails[813735] = new thumbnail(813735,'14765','Wyre Dawn','Oct04 02912x8web_thumb.jpg',130, 183,1,'																			photo_813735.html');
												thumbnails[813763] = new thumbnail(813763,'14765','Wyre Sunburst','eastcote9web_thumb.jpg',130, 94,1,'																			photo_813763.html');
												thumbnails[813777] = new thumbnail(813777,'14783','Cockadoodledoo','bod-051cpeweb_thumb.jpg',130, 135,1,'																			photo_813777.html');
												thumbnails[1628730] = new thumbnail(1628730,'14777','Iris','irisbdrweb_thumb.jpg',130, 241,1,'																			photo_1628730.html');
												thumbnails[1688110] = new thumbnail(1688110,'14781','Enigma','canstockphoto0874718layfltprnt8x8web_thumb.jpg',130, 131,1,'																			photo_1688110.html');
												thumbnails[1688112] = new thumbnail(1688112,'121882','King\'s College, Cambridge: <p><b>*SOLD*','fz7 023c2aprnt525x825webN_thumb.jpg',130, 83,1,'																			photo_1688112.html');
												thumbnails[1688127] = new thumbnail(1688127,'14765','MISTY MORNING WALK','Oct04 01420x34ovly17x10web_thumb.jpg',130, 76,1,'																			photo_1688127.html');
												thumbnails[1688131] = new thumbnail(1688131,'14782','Chatsworth lion','CHATSW087 copy5cresiz3web_thumb.jpg',130, 202,1,'																			photo_1688131.html');
												thumbnails[1689944] = new thumbnail(1689944,'17604','Kidderminster 2007','kidd2007 003web_thumb.jpg',130, 98,1,'																			photo_1689944.html');
												thumbnails[1689945] = new thumbnail(1689945,'17604','Kidderminster 2007','kidd2007 004w_thumb.jpg',130, 98,1,'																			photo_1689945.html');
												thumbnails[1689962] = new thumbnail(1689962,'17604','Kidderminster 2007','kidd2007 015w_thumb.jpg',130, 173,1,'																			photo_1689962.html');
												thumbnails[1689964] = new thumbnail(1689964,'17604','Kidderminster 2007','kidd2007 018w_thumb.jpg',130, 151,1,'																			photo_1689964.html');
												thumbnails[1689966] = new thumbnail(1689966,'17604','Kidderminster 2007','kidd2007 019w_thumb.jpg',130, 167,1,'																			photo_1689966.html');
												thumbnails[1689969] = new thumbnail(1689969,'17604','Kidderminster 2007','kidd2007 021w_thumb.jpg',130, 212,1,'																			photo_1689969.html');
												thumbnails[1689973] = new thumbnail(1689973,'17604','Kidderminster 2007','kidd2007 026w_thumb.jpg',130, 172,1,'																			photo_1689973.html');
												thumbnails[1689981] = new thumbnail(1689981,'17604','Kidderminster 2007','kidd2007 038w_thumb.jpg',130, 288,1,'																			photo_1689981.html');
												thumbnails[1689989] = new thumbnail(1689989,'17604','Kidderminster 2007','kidd2007 042w_thumb.jpg',130, 279,1,'																			photo_1689989.html');
												thumbnails[1689991] = new thumbnail(1689991,'17604','Kidderminster 2007','kidd2007 043w_thumb.jpg',130, 171,1,'																			photo_1689991.html');
												thumbnails[1689992] = new thumbnail(1689992,'17604','Kidderminster 2007','kidd2007 044w_thumb.jpg',130, 154,1,'																			photo_1689992.html');
												thumbnails[1814167] = new thumbnail(1814167,'121882','Screen and Gatehouse of King\'s College, Cambridge. <p><b>*SOLD*','fz7 023c2c2c3printWN_thumb.jpg',130, 68,1,'																			photo_1814167.html');
												thumbnails[1814171] = new thumbnail(1814171,'121882','Cambridge Boardwalk <p><b>*SOLD*','oldslides13622y2cccc8WN_thumb.jpg',130, 223,1,'																			photo_1814171.html');
												thumbnails[1814174] = new thumbnail(1814174,'121882','Trinity Lane Lamp','cambridge07001c3c2ctWN_thumb.jpg',130, 208,1,'																			photo_1814174.html');
												thumbnails[1814183] = new thumbnail(1814183,'121882','Trinity Lane Chimneys','cambridgedec2007 007fltc2b3cb8x5p2cWN_thumb.jpg',130, 205,1,'																			photo_1814183.html');
												thumbnails[1814189] = new thumbnail(1814189,'121882','Cambridge Backs : <p><b>*SOLD*','cambridgedec2007 0122c2cn2cprint2bWN_thumb.jpg',130, 83,1,'																			photo_1814189.html');
												thumbnails[1816606] = new thumbnail(1816606,'121882','Waiting for Bumps','camBUMPS05009c7WN_thumb.jpg',130, 89,1,'																			photo_1816606.html');
												thumbnails[1894344] = new thumbnail(1894344,'121882','Drifting Punt:<p><b>*SOLD*','cambridgedrifting punt PRNT2WN_thumb.jpg',130, 88,1,'																			photo_1894344.html');
												thumbnails[1894370] = new thumbnail(1894370,'121882','Senate House Passage: <p><b>*SOLD*','cambridgeJAN2008 020c2NFPRNT3SAWN_thumb.jpg',130, 192,1,'																			photo_1894370.html');
												thumbnails[1894382] = new thumbnail(1894382,'121882','Clare College Gate','cambridgeJAN2008 026c4f3f2PRNTWN_thumb.jpg',130, 206,1,'																			photo_1894382.html');
												thumbnails[1894387] = new thumbnail(1894387,'121882','King\'s Parade','cambridgeJAN2008 036P4c8nf1PRINT2W_thumb.jpg',130, 87,1,'																			photo_1894387.html');
												thumbnails[1894391] = new thumbnail(1894391,'121882','Hold Mommy\'s Hand.','cambridgeJAN2008 038c5RScrPRNT2WN_thumb.jpg',130, 206,1,'																			photo_1894391.html');
												thumbnails[1894395] = new thumbnail(1894395,'121882','The Thinker. <p><b>*SOLD*','cambridgeold003cshlessPRNTWN_thumb.jpg',130, 90,1,'																			photo_1894395.html');
												thumbnails[1894403] = new thumbnail(1894403,'121882','Bumps <p><b>*SOLD*','camBUMPS05011 copy2PRINTWN_thumb.jpg',130, 80,1,'																			photo_1894403.html');
												thumbnails[1894418] = new thumbnail(1894418,'121882','The Great Gate: <p><b>*SOLD*','cambridgeJAN2008 013c4NF3c2flPRNTX2WN_thumb.jpg',130, 194,1,'																			photo_1894418.html');
												thumbnails[2055931] = new thumbnail(2055931,'121882','Punting on the Cam','Cam0308 169c3c2web_thumb.jpg',130, 199,1,'																			photo_2055931.html');
												thumbnails[2055955] = new thumbnail(2055955,'121882','Trinity Street','Cam0308 003c5Printedweb_thumb.jpg',130, 189,1,'																			photo_2055955.html');
												thumbnails[2055960] = new thumbnail(2055960,'121882','Senate House and Waterhouse Building','Cam0308 059c2cc2web copy_thumb.jpg',130, 198,1,'																			photo_2055960.html');
												thumbnails[2140638] = new thumbnail(2140638,'121882','Cambridge Market:<p><b>*SOLD*','ACam0308 072c2PRNTweb_thumb.jpg',130, 62,1,'																			photo_2140638.html');
												thumbnails[2140658] = new thumbnail(2140658,'121882','Graduation Day <b>*SOLD*','ACam0308 095c2cfltweb_thumb.jpg',130, 186,1,'																			photo_2140658.html');
												thumbnails[2140659] = new thumbnail(2140659,'121882','St John\'s, New Court ','ACam0308 165c4crybsrpbpweb_thumb.jpg',130, 70,1,'																			photo_2140659.html');
												thumbnails[2140676] = new thumbnail(2140676,'121882','Seat of learning<p><b>*SOLD*','AcamElyCam0408 153c3nf2cweb_thumb.jpg',130, 194,1,'																			photo_2140676.html');
												thumbnails[2140677] = new thumbnail(2140677,'121882','Ely Cathedral II','AElyCam0408 030cc2cnfweb_thumb.jpg',130, 214,1,'																			photo_2140677.html');
												thumbnails[2140680] = new thumbnail(2140680,'121882','Ely Sundial. <p><b>*SOLD*','AElyCam0408 051ccnfprntweb_thumb.jpg',130, 83,1,'																			photo_2140680.html');
												thumbnails[2140683] = new thumbnail(2140683,'121882','Ely Cathedral<p><b>*SOLD*','AElyCam0408 073c3nfbdrPRNT2web_thumb.jpg',130, 215,1,'																			photo_2140683.html');
												thumbnails[2140684] = new thumbnail(2140684,'121882','Ely, mare and foal. <br>\r\n','AElyCam0408 105c5nffltweb_thumb.jpg',130, 189,1,'																			photo_2140684.html');
												thumbnails[2140693] = new thumbnail(2140693,'121882','Quayside, Cambridge ','Acambridgeold003cc4excPRNTweb_thumb.jpg',130, 76,1,'																			photo_2140693.html');
												thumbnails[3136335] = new thumbnail(3136335,'192356','Galloping Horse<br>\r\n','webgallopinghorse_thumb.jpg',130, 88,1,'																			photo_3136335.html');
												thumbnails[3136490] = new thumbnail(3136490,'192356','After the Gallop','webaftergallop_thumb.jpg',130, 83,1,'																			photo_3136490.html');
												thumbnails[3136500] = new thumbnail(3136500,'192356','And... Relax','webandrelax_thumb.jpg',130, 88,1,'																			photo_3136500.html');
												thumbnails[3136509] = new thumbnail(3136509,'192356','Breathe on<p><b>*SOLD*','webbreatheon_thumb.jpg',130, 205,1,'																			photo_3136509.html');
												thumbnails[3136520] = new thumbnail(3136520,'192356','Hot jacket, cold morning','webhotjacket_thumb.jpg',130, 187,1,'																			photo_3136520.html');
												thumbnails[3136529] = new thumbnail(3136529,'192356','Looking back. <p><b>*SOLD*','weblookingback_thumb.jpg',130, 87,1,'																			photo_3136529.html');
												thumbnails[3136555] = new thumbnail(3136555,'192356','Out of the trees','weboutoftrees_thumb.jpg',130, 190,1,'																			photo_3136555.html');
												thumbnails[3136576] = new thumbnail(3136576,'192356','Three Horses','webthreehorses_thumb.jpg',130, 192,1,'																			photo_3136576.html');
												thumbnails[3166902] = new thumbnail(3166902,'193885','Worcester Guild Hall entrance','ZWwebXW091008K 274cfltPrnt_thumb.jpg',130, 130,1,'																			photo_3166902.html');
												thumbnails[3166924] = new thumbnail(3166924,'193885','Friar Street, Worcester','ZWwebXW091008K 159cccfriarstfP_thumb.jpg',130, 87,1,'																			photo_3166924.html');
												thumbnails[3166926] = new thumbnail(3166926,'193885','Friar Street, Worcester','ZWwebXW091008K 173cccccfPRNT_thumb.jpg',130, 194,1,'																			photo_3166926.html');
												thumbnails[3439601] = new thumbnail(3439601,'121882','Bodies and Soul Triptych (side 1)','xmaswhitleytriptych 084web_thumb.jpg',130, 68,1,'																			photo_3439601.html');
												thumbnails[3439628] = new thumbnail(3439628,'121882','Bodies and Soul Triptych (side 2)','xmaswhitleytriptych 077web_thumb.jpg',130, 70,1,'																			photo_3439628.html');
												thumbnails[4359583] = new thumbnail(4359583,'256204','MALVERN PRIORY GOLDEN GLOW','Wmalvern0509_006cccccccQQQPRINT17x32P_thumb.jpg',130, 241,1,'																			photo_4359583.html');
												thumbnails[4359625] = new thumbnail(4359625,'256204','MALVERN PRIORY','Wmalvern0509_013cccccePRINT12x85c_thumb.jpg',130, 89,1,'																			photo_4359625.html');
												thumbnails[4359639] = new thumbnail(4359639,'256204','PRIORY DARK','Wmalvern0509_013ccdddPRINT8x125_thumb.jpg',130, 88,1,'																			photo_4359639.html');
												thumbnails[4359643] = new thumbnail(4359643,'256204','PRIORY DOOR','Wmalvern0509_029ccccccclevyb8x8_thumb.jpg',130, 131,1,'																			photo_4359643.html');
												thumbnails[4359653] = new thumbnail(4359653,'256204','PRIORY LAMP','Wmalvern0509_066cccccPRINT8x12_thumb.jpg',130, 195,1,'																			photo_4359653.html');
												thumbnails[4359656] = new thumbnail(4359656,'256204','ABBEY HOTEL','Wmalvern0509_073ccc5x8a_thumb.jpg',130, 83,1,'																			photo_4359656.html');
												thumbnails[4359662] = new thumbnail(4359662,'14781','SALOME','WTZ5july09_041_copy_thumb.jpg',130, 165,1,'																			photo_4359662.html');
												thumbnails[4359688] = new thumbnail(4359688,'14781','MIRROR,MIRROR ON THE WALL','WTZ5july09_043_thumb.jpg',130, 130,1,'																			photo_4359688.html');
												thumbnails[5564565] = new thumbnail(5564565,'121882','After the Storm ','ZZcambridgeJAN2008_030PPcccpweb_thumb.jpg',130, 92,1,'																			photo_5564565.html');
												thumbnails[5564568] = new thumbnail(5564568,'121882','Summer punting on the Cam','ZZZCam0508_181prinnweb_thumb.jpg',130, 190,1,'																			photo_5564568.html');
												thumbnails[5564569] = new thumbnail(5564569,'121882','King\'s College Chapel','ZZZZCam0308_227c2ccXfPRweb_thumb.jpg',130, 87,1,'																			photo_5564569.html');
												thumbnails[5564576] = new thumbnail(5564576,'121882','Market View','ZZZZcamSBMARKETweb_thumb.jpg',130, 87,1,'																			photo_5564576.html');
												thumbnails[5564597] = new thumbnail(5564597,'121882','Merton Hall','ZZzzMalcolmLane01MertonHweb_thumb.jpg',130, 87,1,'																			photo_5564597.html');
												thumbnails[5564608] = new thumbnail(5564608,'121882','Dream River <p><b>*SOLD*','zzZZZCam0508_241cccPrxweb_thumb.jpg',130, 194,1,'																			photo_5564608.html');
												thumbnails[6114637] = new thumbnail(6114637,'121882','Trinity Street Bikes','ZZCAM0210_043cbGBlur2colshtuPPPRINTTTFweb_thumb.jpg',130, 196,1,'																			photo_6114637.html');
												thumbnails[6114645] = new thumbnail(6114645,'121882','Mathematical Bridge','ZZQueensbTIFFcFEcccccFLTcccPRINnnPRINTweb_thumb.jpg',130, 89,1,'																			photo_6114645.html');
												thumbnails[6114834] = new thumbnail(6114834,'14783','You lookin\' at me?','ZZPEAKS1209_055ccPRintweb_thumb.jpg',130, 199,1,'																			photo_6114834.html');
												thumbnails[6114884] = new thumbnail(6114884,'14783','Roger the Meerkat','ZZSckszoosoxforddams0909_216cccPrisFcPRINweb_thumb.jpg',130, 197,1,'																			photo_6114884.html');
												thumbnails[6606938] = new thumbnail(6606938,'121882','Punts and Bridges','PZcam061008_061PriinW_thumb.jpg',130, 201,1,'																			photo_6606938.html');
												thumbnails[6606943] = new thumbnail(6606943,'121882','St John\'s Hall and Chapel','PZZZCam0508_117ccPrinnncPRINT2W_thumb.jpg',130, 219,1,'																			photo_6606943.html');
												thumbnails[6606945] = new thumbnail(6606945,'121882','Choral Jewel','PZZZKingsPRINtW_thumb.jpg',130, 191,1,'																			photo_6606945.html');
												thumbnails[6606948] = new thumbnail(6606948,'121882','Early morning market','PzzZZCAM0210_203ccccc12x8PRINT3W_thumb.jpg',130, 88,1,'																			photo_6606948.html');
												thumbnails[7325582] = new thumbnail(7325582,'121882','Gothic View','Cam0508_025cccccp18x12liPPPPw_thumb.jpg',130, 87,1,'																			photo_7325582.html');
												thumbnails[7325611] = new thumbnail(7325611,'121882','King\'s College Chapel','Cam0508_162ccPRinPw_thumb.jpg',130, 205,1,'																			photo_7325611.html');
												thumbnails[7325628] = new thumbnail(7325628,'121882','Enchanted forest','oldnegs029ccPPPpw_thumb.jpg',130, 86,1,'																			photo_7325628.html');
												thumbnails[1689947] = new thumbnail(1689947,'17604','Kidderminster 2007','kidd2007 005w_thumb.jpg',130, 98,1,'																			photo_1689947.html');
												thumbnails[1628719] = new thumbnail(1628719,'14784','St Paul\'s Cathedral','canstockphoto0549856stp3web2_thumb.jpg',130, 196,1,'																			photo_1628719.html');
												thumbnails[1628724] = new thumbnail(1628724,'14783','Tropical butterfly','bttrflyweb_thumb.jpg',130, 88,1,'																			photo_1628724.html');
												thumbnails[4360491] = new thumbnail(4360491,'256270','Autumn, Pandy Cottage','ZKPandyAut_008ccPRINT4128_thumb.jpg',130, 192,1,'																			photo_4360491.html');
												thumbnails[1689961] = new thumbnail(1689961,'17604','Kidderminster 2007','kidd2007 014w_thumb.jpg',130, 119,1,'																			photo_1689961.html');
												thumbnails[4360507] = new thumbnail(4360507,'256270','Winter, Pandy Snow','ZPandywinter_239ccPRINT_thumb.jpg',130, 88,1,'																			photo_4360507.html');
												thumbnails[4360517] = new thumbnail(4360517,'256270','Spring, River Ceiriog','ZPandyK10dsum08_021ccPRINT_thumb.jpg',130, 191,1,'																			photo_4360517.html');
												thumbnails[4360526] = new thumbnail(4360526,'256270','Summer, Pandy Village','ZTZ5May09_190S1PRINT300bpcF_thumb.jpg',130, 89,1,'																			photo_4360526.html');
												thumbnails[4360766] = new thumbnail(4360766,'256270','Glyn Ceiriog Houses','YZzzAug08_064ccPRINT_thumb.jpg',130, 90,1,'																			photo_4360766.html');
												thumbnails[4360802] = new thumbnail(4360802,'256270','Ceiriog Valley Cow','YzPandyAut3_009PRI2N_thumb.jpg',130, 127,1,'																			photo_4360802.html');
												thumbnails[4360841] = new thumbnail(4360841,'256270','The Hand at Llanarmon D.C.','XTZ5May09_122cccPRINT_thumb.jpg',130, 86,1,'																			photo_4360841.html');
												thumbnails[4360823] = new thumbnail(4360823,'256270','The West Arms at LLanarmon D.C.','XZKPandyAut_264gledcPRINT2_thumb.jpg',130, 195,1,'																			photo_4360823.html');
												thumbnails[4360733] = new thumbnail(4360733,'256270','Ceiriog Valley View','YZZZZZZZKPandyAut_100PR1_thumb.jpg',130, 118,1,'																			photo_4360733.html');
												thumbnails[4360763] = new thumbnail(4360763,'256270','Across the Ceiriog Valley','YZZZKPandyAut_100PRINT1_thumb.jpg',130, 129,1,'																			photo_4360763.html');
												thumbnails[4360851] = new thumbnail(4360851,'256270','Llangollen Canal','WWWZZZZzzzzzZPandyAut2_045PRI_thumb.jpg',130, 129,1,'																			photo_4360851.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[14765] = new gallery(14765,'1688127,813763,813735,813723,813709,813702,812860,812848,812847,193376,193374,193370,160053,158987,158985,158933,158698,158676','LANDSCAPES','gallery',[158676,158698,158933,158985,158987,158997,158999,159003,160053,193370,193374,193376,193387,450770,450790,812847,812848,812860,813702,813709,813723,813735,813763,1688127],0, 0, '', '																																																																																																							gallery_14765.html',0,0);
				  					galleries[14777] = new gallery(14777,'1628730,291062,163575,160337,159124,158981,158948,158732','PLANTS AND FLOWERS','gallery',[158732,158948,158981,159124,160337,163575,193407,204531,291062,450777,1628730],0, 0, '', '																																																																																																							gallery_14777.html',0,0);
				  					galleries[14781] = new gallery(14781,'1688110,172244,161694,158726,158684','MONTAGES','gallery',[158684,158685,158704,158726,158967,160245,161694,163547,172239,172244,812840,1688110,4359662,4359688],0, 0, '', '																																																																																																							gallery_14781.html',0,0);
				  					galleries[14782] = new gallery(14782,'1688131,193383,158959','SCULPTURE','gallery',[158717,158959,163577,193383,450758,1688131],0, 0, '', '																																																																																																							gallery_14782.html',0,0);
				  					galleries[14784] = new gallery(14784,'193402,193396,163563,158936,158691','ARCHITECTURE','gallery',[158691,158936,163563,193396,193402,1628719],0, 0, '', '																																																																																																							gallery_14784.html',0,0);
				  					galleries[14783] = new gallery(14783,'6114884,6114834,1628724,813777,813729,291066,160218,158974,158711','ANIMALS AND BIRDS','gallery',[158711,158974,160218,291066,813729,813777,6114834,6114884,1628724],0, 0, '', '																																																																																																							gallery_14783.html',0,0);
				  					galleries[121882] = new gallery(121882,'7325611,7325582,6606948,6606945,6606943,6606938,6114645,6114637,5564608,5564597,5564576,5564569,5564568,5564565,3439628,3439601,2140693,2140684,2140683,2140680,2140677,2140676,2140659,2140638,2055960,2055931,1894395,1894382,1814174,1814171,1814167,1688112','Cambridge Series','gallery',[1688112,1814167,1814171,1814174,1814183,1814189,1816606,1894344,1894370,1894382,1894387,1894391,1894395,1894403,1894418,2055931,2055955,2055960,2140638,2140658,2140659,2140676,2140677,2140680,2140683,2140684,2140693,3439601,3439628,5564565,5564568,5564569,5564576,5564597,5564608,6114637,6114645,6606938,6606943,6606945,6606948,7325582,7325611,7325628],0, 0, '', '																																																																																																							gallery_121882.html',0,0);
				  					galleries[192356] = new gallery(192356,'3136576,3136555,3136529,3136509,3136500,3136490,3136335','Newmarket Horses','gallery',[3136335,3136490,3136500,3136509,3136520,3136529,3136555,3136576],0, 0, '', '																																																																																																							gallery_192356.html',0,0);
				  					galleries[256204] = new gallery(256204,'4359656,4359653,4359625,4359583','Malvern Series','gallery',[4359583,4359625,4359639,4359643,4359653,4359656],0, 0, '', '																																																																																																							gallery_256204.html',0,0);
				  					galleries[256270] = new gallery(256270,'4360841,4360766,4360507,4360491','Ceiriog Valley Series','gallery',[4360491,4360507,4360517,4360526,4360766,4360802,4360841,4360823,4360733,4360763,4360851],0, 0, '', '																																																																																																							gallery_256270.html',0,0);
				  					galleries[193885] = new gallery(193885,'3166924,3166902','Worcester Series','gallery',[3166902,3166924,3166926],0, 0, '', '																																																																																																							gallery_193885.html',0,0);
				  					galleries[17604] = new gallery(17604,'1689991,1689962,1689947,450714,450712','Exhibitions & Shows','gallery',[192973,450712,450714,1689944,1689945,1689962,1689964,1689966,1689969,1689973,1689981,1689989,1689991,1689992,1689947,1689961],0, 0, '', '																																																																																																							gallery_17604.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7325628,7325582,6606948,6606945,6606943,6606938,6114884,6114834,6114645,6114637,5564608,5564597,5564576,5564569,5564565,4360507,4359625,4359583,3439628,3439601,3166924,3166902,3136576,3136529,3136509,3136500,3136490,3136335,2140677,2140659,2055960,1814167,1689991,1689962,1688131,1688127,1688112,1688110,1628730,1628724,813735,813723,813709,813702,812860,812848,812847,291062,193383,193374,193370,172244,163563,161694,160337,160053,159124,158987,158985,158981,158974,158948,158936,158933,158726,158711,158698,158691,158684,158676';
imageSets[2] = '7325611,7325582,6606948,6606945,6606943,6606938,6114884,6114834,6114645,6114637,5564608,5564597,5564576,5564569,5564568,5564565,4360841,4360766,4360507,4360491,4359656,4359653,4359625,4359583,3439628,3439601,3166924,3166902,3136576,3136555,3136529,3136509,3136500,3136490,3136335,2140693,2140684,2140683,2140680,2140677,2140676,2140659,2140638,2055960,2055931,1894395,1894382,1814174,1814171,1814167,1689991,1689962,1689947,1688131,1688127,1688112,1688110,1628730,1628724,813777,813763,813735,813729,813723,813709,813702,812860,812848,812847,450714,450712,291066,291062,193402,193396,193383,193376,193374,193370,172244,163575,163563,161694,160337,160218,160053,159124,158987,158985,158981,158974,158959,158948,158936,158933,158732,158726,158711,158698,158691,158684,158676';
imageSets[3] = '5564565';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/malcolml/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/malcolml/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/malcolml/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/malcolml/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/malcolml/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/malcolml/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 = 'Malcolm Lane Images: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {photoinfominwidth:200};	    		options.photoinfoadjacent = true;			      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));    }        
    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>';
	}
					
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp = temp + '<p>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> 							' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

