window.thumbnails = {};
															thumbnails[8886245] = clik.newPhoto({"id":8886245,"src":"IMG_1333_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886245.html","width":130,"caption":"3 Teenagers at sunset","height":87});
															thumbnails[8886258] = clik.newPhoto({"id":8886258,"src":"IMG_1356_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886258.html","width":130,"caption":"Outside shots of teenagers","height":87});
															thumbnails[8886363] = clik.newPhoto({"id":8886363,"src":"IMG_1427_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886363.html","width":130,"caption":"Indoors and on the stairs","height":195});
															thumbnails[8886367] = clik.newPhoto({"id":8886367,"src":"IMG_1767-bw_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886367.html","width":130,"caption":"Mother and daughter shots","height":87});
															thumbnails[8893764] = clik.newPhoto({"id":8893764,"src":"IMG_3714_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893764.html","width":130,"caption":"Mother and daughter against black background","height":195});
															thumbnails[8893769] = clik.newPhoto({"id":8893769,"src":"IMG_3739_reflection_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893769.html","width":130,"caption":"On reflection","height":166});
															thumbnails[8893772] = clik.newPhoto({"id":8893772,"src":"IMG_3774-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893772.html","width":130,"caption":"Denim","height":71});
															thumbnails[8893777] = clik.newPhoto({"id":8893777,"src":"IMG_3778_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893777.html","width":130,"caption":"Julie Ann, the smiler","height":87});
															thumbnails[8893780] = clik.newPhoto({"id":8893780,"src":"IMG_3803_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893780.html","width":130,"caption":"Four boys","height":84});
															thumbnails[8893796] = clik.newPhoto({"id":8893796,"src":"IMG_3865-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893796.html","width":130,"caption":"The Kiss with pink","height":71});
															thumbnails[8893830] = clik.newPhoto({"id":8893830,"src":"IMG_3875_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893830.html","width":130,"caption":"Cara profile","height":195});
															thumbnails[8893846] = clik.newPhoto({"id":8893846,"src":"IMG_3876_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893846.html","width":130,"caption":"Cara Edgy facing forward","height":75});
															thumbnails[8893869] = clik.newPhoto({"id":8893869,"src":"IMG_3895_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8893869.html","width":130,"caption":"Cara smiling","height":87});
															thumbnails[8940432] = clik.newPhoto({"id":8940432,"src":"IMG_3903-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940432.html","width":130,"caption":"Baby","height":87});
															thumbnails[8940434] = clik.newPhoto({"id":8940434,"src":"IMG_4006_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940434.html","width":130,"caption":"Jack","height":186});
															thumbnails[8940443] = clik.newPhoto({"id":8940443,"src":"IMG_4111_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940443.html","width":130,"caption":"Lydia","height":87});
															thumbnails[8940451] = clik.newPhoto({"id":8940451,"src":"IMG_4119-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940451.html","width":130,"caption":"Jack side shot","height":87});
															thumbnails[8940468] = clik.newPhoto({"id":8940468,"src":"IMG_4145-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940468.html","width":130,"caption":"Jay & Lisa","height":87});
															thumbnails[8940477] = clik.newPhoto({"id":8940477,"src":"IMG_4181-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940477.html","width":130,"caption":"Lydia and the red shoes","height":195});
															thumbnails[8940482] = clik.newPhoto({"id":8940482,"src":"IMG_4215-sepia_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940482.html","width":130,"caption":"Lydia dancing","height":87});
															thumbnails[8940488] = clik.newPhoto({"id":8940488,"src":"IMG_4272_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8940488.html","width":130,"caption":"Jack's back","height":77});
															thumbnails[8643774] = clik.newPhoto({"id":8643774,"src":"IMG_2214f_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_8643774.html","width":130,"caption":"Piston Heads in Scarborough, the other side","height":176});
															thumbnails[8643779] = clik.newPhoto({"id":8643779,"src":"IMG_2248f_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_8643779.html","width":130,"caption":"Three Ferrarris - Piston Heads trip","height":195});
															thumbnails[8401896] = clik.newPhoto({"id":8401896,"src":"IMG_9574_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8401896.html","width":130,"caption":"Sister Act","height":195});
															thumbnails[8428958] = clik.newPhoto({"id":8428958,"src":"Copy_of_IMG_0212-sepia_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_8428958.html","width":130,"caption":"Pickard's the Butchers Shopfront","height":76});
															thumbnails[8428961] = clik.newPhoto({"id":8428961,"src":"Copy_of_IMG_0245_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_8428961.html","width":130,"caption":"Pickard's Counter","height":79});
															thumbnails[8429025] = clik.newPhoto({"id":8429025,"src":"IMG_8122_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8429025.html","width":130,"caption":"Street Drummer","height":195});
															thumbnails[8429048] = clik.newPhoto({"id":8429048,"src":"IMG_8120-sat_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8429048.html","width":130,"caption":"Street Performer Portrait","height":193});
															thumbnails[8505948] = clik.newPhoto({"id":8505948,"src":"IMG_0827_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8505948.html","width":130,"caption":"Cara's Children","height":195});
															thumbnails[8505950] = clik.newPhoto({"id":8505950,"src":"IMG_0890-sat_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8505950.html","width":130,"caption":"Cara and her childen","height":87});
															thumbnails[8505991] = clik.newPhoto({"id":8505991,"src":"IMG_1060-sat_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8505991.html","width":130,"caption":"Cara and children photoshoot","height":87});
															thumbnails[8506016] = clik.newPhoto({"id":8506016,"src":"IMG_1111-sat_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8506016.html","width":130,"caption":"Cara's children","height":83});
															thumbnails[8196122] = clik.newPhoto({"id":8196122,"src":"IMG_8959_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8196122.html","width":130,"caption":"Ebony 1","height":195});
															thumbnails[8196138] = clik.newPhoto({"id":8196138,"src":"IMG_9189sat_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8196138.html","width":130,"caption":"Rio 3","height":87});
															thumbnails[8196141] = clik.newPhoto({"id":8196141,"src":"IMG_9203-sat_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8196141.html","width":130,"caption":"Rio 4","height":195});
															thumbnails[8196143] = clik.newPhoto({"id":8196143,"src":"IMG_9221_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8196143.html","width":130,"caption":"Sisters","height":195});
															thumbnails[8196145] = clik.newPhoto({"id":8196145,"src":"IMG_9223_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8196145.html","width":130,"caption":"Sisters 2","height":195});
															thumbnails[8196160] = clik.newPhoto({"id":8196160,"src":"IMG_9418-sepia_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8196160.html","width":130,"caption":"Sisters & Mum","height":195});
															thumbnails[7945004] = clik.newPhoto({"id":7945004,"src":"IMG_7421_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7945004.html","width":130,"caption":"Ryedale Folk Museum","height":161});
															thumbnails[7945009] = clik.newPhoto({"id":7945009,"src":"IMG_7476-sat_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7945009.html","width":130,"caption":"World War II re-enactment","height":195});
															thumbnails[7945011] = clik.newPhoto({"id":7945011,"src":"IMG_7661-sat_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7945011.html","width":130,"caption":"Russian soldier at The Ryedale Folk Museum","height":195});
															thumbnails[7945013] = clik.newPhoto({"id":7945013,"src":"IMG_7681_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7945013.html","width":130,"caption":"Ryedale Folk Museum WWII weekend","height":87});
															thumbnails[7987163] = clik.newPhoto({"id":7987163,"src":"Fib_Sequence_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7987163.html","width":130,"caption":"It all adds up. . . ","height":173});
															thumbnails[7903231] = clik.newPhoto({"id":7903231,"src":"IMG_6447-sep_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7903231.html","width":130,"caption":"Adam and Steven - ","height":87});
															thumbnails[7903286] = clik.newPhoto({"id":7903286,"src":"IMG_6508-sep_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7903286.html","width":130,"caption":"Adam and Becky","height":87});
															thumbnails[7846957] = clik.newPhoto({"id":7846957,"src":"IMG_3115_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_7846957.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 1","height":98});
															thumbnails[7847040] = clik.newPhoto({"id":7847040,"src":"IMG_6150Ken_Sepia_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7847040.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 5","height":87});
															thumbnails[7847060] = clik.newPhoto({"id":7847060,"src":"IMG_6157-bw_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_7847060.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 6","height":195});
															thumbnails[7847068] = clik.newPhoto({"id":7847068,"src":"IMG_6165_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_7847068.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 7","height":87});
															thumbnails[7847127] = clik.newPhoto({"id":7847127,"src":"IMG_6228_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_7847127.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 12","height":87});
															thumbnails[7847137] = clik.newPhoto({"id":7847137,"src":"IMG_6256_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7847137.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 17","height":195});
															thumbnails[7847145] = clik.newPhoto({"id":7847145,"src":"IMG_6267_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7847145.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 18","height":195});
															thumbnails[7852286] = clik.newPhoto({"id":7852286,"src":"SH100065_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7852286.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 14","height":80});
															thumbnails[7834891] = clik.newPhoto({"id":7834891,"src":"IMG_2945_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7834891.html","width":130,"caption":"Bridlington Beach","height":60});
															thumbnails[7834897] = clik.newPhoto({"id":7834897,"src":"IMG_5016-cropped_squared_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7834897.html","width":130,"caption":"Happy 80th!","height":75});
															thumbnails[7834900] = clik.newPhoto({"id":7834900,"src":"IMG_5015-cropped__squared_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7834900.html","width":130,"caption":"80th birthday with a twist","height":75});
															thumbnails[7834904] = clik.newPhoto({"id":7834904,"src":"IMG_5276-sat_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7834904.html","width":130,"caption":"Elements Jewellery photoshoot","height":109});
															thumbnails[7834914] = clik.newPhoto({"id":7834914,"src":"IMG_5468_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7834914.html","width":130,"caption":"Suzie & Jon","height":127});
															thumbnails[7834967] = clik.newPhoto({"id":7834967,"src":"IMG_5480-sepia_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7834967.html","width":130,"caption":"Jon","height":195});
															thumbnails[7834971] = clik.newPhoto({"id":7834971,"src":"IMG_6040_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7834971.html","width":130,"caption":"Gonna get you!","height":195});
															thumbnails[7411604] = clik.newPhoto({"id":7411604,"src":"IMG_0860_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7411604.html","width":130,"caption":"Redcliffe House Hotel 1","height":88});
															thumbnails[7411621] = clik.newPhoto({"id":7411621,"src":"IMG_0879_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7411621.html","width":130,"caption":"Redcliffe House Hotel","height":86});
															thumbnails[7411750] = clik.newPhoto({"id":7411750,"src":"IMG_0953_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7411750.html","width":130,"caption":"Redcliffe Hotel 3","height":90});
															thumbnails[7411886] = clik.newPhoto({"id":7411886,"src":"IMG_0981_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7411886.html","width":130,"caption":"Redcliffe House Hotel 5","height":88});
															thumbnails[7412152] = clik.newPhoto({"id":7412152,"src":"Crosiette_Sink_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7412152.html","width":130,"caption":"cann1","height":195});
															thumbnails[7412154] = clik.newPhoto({"id":7412154,"src":"Pecheur_Master_Double_1_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_7412154.html","width":130,"caption":"can2","height":89});
															thumbnails[7276489] = clik.newPhoto({"id":7276489,"src":"IMG_2514_thumb.JPG","galleries_id":214901,"server_id":1,"link":"photo_7276489.html","width":130,"caption":"Try hard","height":87});
															thumbnails[7276491] = clik.newPhoto({"id":7276491,"src":"IMG_2541_thumb.JPG","galleries_id":214901,"server_id":1,"link":"photo_7276491.html","width":130,"caption":"Hard game","height":179});
															thumbnails[6922833] = clik.newPhoto({"id":6922833,"src":"IMG_0235_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_6922833.html","width":130,"caption":"Lovell, the calm one","height":87});
															thumbnails[6922836] = clik.newPhoto({"id":6922836,"src":"IMG_0242_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_6922836.html","width":130,"caption":"","height":94});
															thumbnails[6922852] = clik.newPhoto({"id":6922852,"src":"IMG_0090-bwaaa_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_6922852.html","width":130,"caption":"Jake man, blow that crazy tune!","height":158});
															thumbnails[6922856] = clik.newPhoto({"id":6922856,"src":"IMG_0093-sat_aaa_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_6922856.html","width":130,"caption":"Thomas in a trunk","height":178});
															thumbnails[6188807] = clik.newPhoto({"id":6188807,"src":"IMG_1159-bw_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188807.html","width":130,"caption":"Zoe & James Wedding 22nd May 2010","height":173});
															thumbnails[6188810] = clik.newPhoto({"id":6188810,"src":"IMG_1201-bw_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188810.html","width":130,"caption":"Zoe & James Wedding 22nd May 2010","height":171});
															thumbnails[6188833] = clik.newPhoto({"id":6188833,"src":"IMG_5353-bw_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188833.html","width":130,"caption":"Zoe & James Wedding","height":74});
															thumbnails[6188847] = clik.newPhoto({"id":6188847,"src":"IMG_5369-scr_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188847.html","width":130,"caption":"James and the boys","height":186});
															thumbnails[6188868] = clik.newPhoto({"id":6188868,"src":"IMG_5632_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188868.html","width":130,"caption":"Zoe & James wedding day","height":184});
															thumbnails[6188875] = clik.newPhoto({"id":6188875,"src":"IMG_5725-s_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188875.html","width":130,"caption":"w7","height":195});
															thumbnails[6188881] = clik.newPhoto({"id":6188881,"src":"IMG_5731_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188881.html","width":130,"caption":"w8","height":195});
															thumbnails[6188911] = clik.newPhoto({"id":6188911,"src":"IMG_1062bwww_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188911.html","width":130,"caption":"w9","height":195});
															thumbnails[6188935] = clik.newPhoto({"id":6188935,"src":"IMG_5633_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6188935.html","width":130,"caption":"w10","height":195});
															thumbnails[6189217] = clik.newPhoto({"id":6189217,"src":"IMG_5689a_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6189217.html","width":130,"caption":"Zoe","height":173});
															thumbnails[6189362] = clik.newPhoto({"id":6189362,"src":"IMG_6447-sat_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6189362.html","width":130,"caption":"The wedding cake","height":173});
															thumbnails[5811932] = clik.newPhoto({"id":5811932,"src":"IMG_3472ss_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_5811932.html","width":130,"caption":"Laura & Adam wedding -06-03-10","height":87});
															thumbnails[5812040] = clik.newPhoto({"id":5812040,"src":"IMG_3539_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_5812040.html","width":130,"caption":"Laura & Adam wedding 06-03-10","height":195});
															thumbnails[5812045] = clik.newPhoto({"id":5812045,"src":"IMG_3568-sat_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_5812045.html","width":130,"caption":"Laura & Adam wedding 06-03-10","height":87});
															thumbnails[5812084] = clik.newPhoto({"id":5812084,"src":"IMG_3662-sat_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_5812084.html","width":130,"caption":"Laura & Adam wedding 06-03-10","height":87});
															thumbnails[5812211] = clik.newPhoto({"id":5812211,"src":"IMG_3784-ss_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_5812211.html","width":130,"caption":"Laura & Adam wedding 06-03-10","height":80});
															thumbnails[5812227] = clik.newPhoto({"id":5812227,"src":"IMG_0452crcr_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_5812227.html","width":130,"caption":"Laura & Adam wedding 06-03-10","height":139});
															thumbnails[5700180] = clik.newPhoto({"id":5700180,"src":"IMG_4445-ss_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_5700180.html","width":130,"caption":"Zoe & James Pre-wedding photos","height":87});
															thumbnails[5700200] = clik.newPhoto({"id":5700200,"src":"IMG_4354_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_5700200.html","width":130,"caption":"Zoe & James pre-wedding 02","height":195});
															thumbnails[5489966] = clik.newPhoto({"id":5489966,"src":"IMG_2099s_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_5489966.html","width":130,"caption":"Kerry & Jamie 02","height":195});
															thumbnails[5516922] = clik.newPhoto({"id":5516922,"src":"IMG_2125ss_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_5516922.html","width":130,"caption":"Kerry & Jamie 04","height":195});
															thumbnails[5516946] = clik.newPhoto({"id":5516946,"src":"IMG_2357_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_5516946.html","width":130,"caption":"Ripon Rally 2","height":87});
															thumbnails[5516991] = clik.newPhoto({"id":5516991,"src":"IMG_2686_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_5516991.html","width":130,"caption":"Ripon Rally 5","height":87});
															thumbnails[5541676] = clik.newPhoto({"id":5541676,"src":"IMG_2961ss_thumb.JPG","galleries_id":233212,"server_id":1,"link":"photo_5541676.html","width":130,"caption":"Fire Eater York","height":174});
															thumbnails[5541681] = clik.newPhoto({"id":5541681,"src":"IMG_3074_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_5541681.html","width":130,"caption":"Purple Statue Man on a Bike","height":195});
															thumbnails[5541686] = clik.newPhoto({"id":5541686,"src":"IMG_3090_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_5541686.html","width":130,"caption":"Purple Statue man 2","height":195});
															thumbnails[5555076] = clik.newPhoto({"id":5555076,"src":"IMG_1504_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_5555076.html","width":130,"caption":"English Cheesecake Company Strawberry + Fudge 02","height":87});
															thumbnails[5555093] = clik.newPhoto({"id":5555093,"src":"IMG_1542_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_5555093.html","width":130,"caption":"English Cheesecake Company Strawberry + Fudge 03","height":87});
															thumbnails[5229631] = clik.newPhoto({"id":5229631,"src":"Aubin__Wills_1_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_5229631.html","width":130,"caption":"Aubin & Wills 1","height":98});
															thumbnails[5234636] = clik.newPhoto({"id":5234636,"src":"Jack_Wills_1_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_5234636.html","width":130,"caption":"Jack Wills","height":98});
															thumbnails[5234645] = clik.newPhoto({"id":5234645,"src":"Medicis_Double_1_thumb.JPG","galleries_id":144104,"server_id":1,"link":"photo_5234645.html","width":130,"caption":"Medicis bedroom, Cannes Property Rental","height":98});
															thumbnails[5251718] = clik.newPhoto({"id":5251718,"src":"Sarah_1_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_5251718.html","width":130,"caption":"Sarah in retro shot","height":98});
															thumbnails[4913128] = clik.newPhoto({"id":4913128,"src":"03_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4913128.html","width":130,"caption":"Joel & Laura's wedding 01","height":98});
															thumbnails[4913129] = clik.newPhoto({"id":4913129,"src":"04_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4913129.html","width":130,"caption":"Joel & Laura's wedding 02","height":98});
															thumbnails[4805456] = clik.newPhoto({"id":4805456,"src":"Jason_Wakefield_02_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4805456.html","width":130,"caption":"Jason Wakefield 02","height":173});
															thumbnails[4814232] = clik.newPhoto({"id":4814232,"src":"selina_01_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4814232.html","width":130,"caption":"Selina & Indigo","height":173});
															thumbnails[4814234] = clik.newPhoto({"id":4814234,"src":"seina_02_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4814234.html","width":130,"caption":"Indigo and boa","height":173});
															thumbnails[4679458] = clik.newPhoto({"id":4679458,"src":"C_02_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4679458.html","width":130,"caption":"Naughty little girl posing and pulling a face!","height":98});
															thumbnails[4679468] = clik.newPhoto({"id":4679468,"src":"Neil_05_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4679468.html","width":130,"caption":"Neil relaxing with his bass","height":173});
															thumbnails[4715009] = clik.newPhoto({"id":4715009,"src":"Colin__Becky_Collage_V_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4715009.html","width":130,"caption":"Colin & Becky's Wedding Collage 01","height":173});
															thumbnails[4715011] = clik.newPhoto({"id":4715011,"src":"Colin__Becky_Collage_H_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4715011.html","width":130,"caption":"Colin & Becky's Wedding collage","height":98});
															thumbnails[4555651] = clik.newPhoto({"id":4555651,"src":"Charity_do_7_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4555651.html","width":130,"caption":6.0,"height":98});
															thumbnails[4555653] = clik.newPhoto({"id":4555653,"src":"Charity_do_9_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4555653.html","width":130,"caption":9.0,"height":98});
															thumbnails[4467402] = clik.newPhoto({"id":4467402,"src":"Colin__Beckys_wedding-02_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4467402.html","width":130,"caption":"Romantic Kiss","height":173});
															thumbnails[4467407] = clik.newPhoto({"id":4467407,"src":"Colin__Beckys_wedding-03_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4467407.html","width":130,"caption":"Colin & Rebecca wedding pose by the fireplace","height":173});
															thumbnails[4467413] = clik.newPhoto({"id":4467413,"src":"Colin__Beckys_wedding-04_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4467413.html","width":130,"caption":"Rebecca Brown","height":173});
															thumbnails[4467415] = clik.newPhoto({"id":4467415,"src":"Colin__Beckys_wedding-05_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4467415.html","width":130,"caption":"Colin & Rebecca's first dance 01","height":173});
															thumbnails[4467420] = clik.newPhoto({"id":4467420,"src":"Colin__Beckys_wedding-07_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4467420.html","width":130,"caption":"Colin, Rebecca and Ben the best man","height":98});
															thumbnails[4467424] = clik.newPhoto({"id":4467424,"src":"Colin__Beckys_wedding-08_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_4467424.html","width":130,"caption":"First dance with an audience!","height":98});
															thumbnails[4092703] = clik.newPhoto({"id":4092703,"src":"Jack__Lydia_01_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4092703.html","width":130,"caption":"Jack & Lydia 01","height":98});
															thumbnails[4092707] = clik.newPhoto({"id":4092707,"src":"Lydia_02_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_4092707.html","width":130,"caption":"Lydia 02","height":98});
															thumbnails[4230757] = clik.newPhoto({"id":4230757,"src":"Snail_shells_01_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_4230757.html","width":130,"caption":"Snail shells 01","height":98});
															thumbnails[4230763] = clik.newPhoto({"id":4230763,"src":"Snail_shells_02_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_4230763.html","width":130,"caption":"Snail sheel 02","height":98});
															thumbnails[4230781] = clik.newPhoto({"id":4230781,"src":"Spanish__motorbike_Santa_Pola_02_thumb.jpg","galleries_id":233212,"server_id":1,"link":"photo_4230781.html","width":130,"caption":"Coolest bike in Spain 01","height":98});
															thumbnails[4230794] = clik.newPhoto({"id":4230794,"src":"Spanish_crosses_Rojales_Spain_02_thumb.jpg","galleries_id":233212,"server_id":1,"link":"photo_4230794.html","width":130,"caption":"Crosses on a hill 02","height":98});
															thumbnails[4301661] = clik.newPhoto({"id":4301661,"src":"Spaniel_at_Goole_Dog_show_thumb.jpg","galleries_id":144110,"server_id":1,"link":"photo_4301661.html","width":130,"caption":"Spaniel at Goole Dog Show","height":98});
															thumbnails[4308286] = clik.newPhoto({"id":4308286,"src":"Cute_toy_dog_Goole_Dog_Show_thumb.jpg","galleries_id":144110,"server_id":1,"link":"photo_4308286.html","width":130,"caption":"Cute toy dog","height":98});
															thumbnails[3976689] = clik.newPhoto({"id":3976689,"src":"Fir_Tree__Dew_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_3976689.html","width":130,"caption":"Fir tree ","height":98});
															thumbnails[3955121] = clik.newPhoto({"id":3955121,"src":"Morning_Dew_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_3955121.html","width":130,"caption":"Pine Sapling, morning Dew","height":98});
															thumbnails[3955128] = clik.newPhoto({"id":3955128,"src":"Morning_Dew_2_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_3955128.html","width":130,"caption":"Pine Sapling, morning Dew","height":98});
															thumbnails[3829981] = clik.newPhoto({"id":3829981,"src":"Young_girl_blue_eyes_and_umbrellas_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3829981.html","width":130,"caption":"Young girl with blue eyes and umbrellas","height":98});
															thumbnails[3843753] = clik.newPhoto({"id":3843753,"src":"William_1_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3843753.html","width":130,"caption":"William 1","height":173});
															thumbnails[3398709] = clik.newPhoto({"id":3398709,"src":"112_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_3398709.html","width":130,"caption":"Autumn Leaves","height":173});
															thumbnails[3324126] = clik.newPhoto({"id":3324126,"src":"151_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3324126.html","width":130,"caption":"Old Tom smiling","height":173});
															thumbnails[3327919] = clik.newPhoto({"id":3327919,"src":"161_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3327919.html","width":130,"caption":"Little girl on a swing","height":173});
															thumbnails[3327923] = clik.newPhoto({"id":3327923,"src":"211_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3327923.html","width":130,"caption":"Charlie's Angels pose","height":173});
															thumbnails[3153834] = clik.newPhoto({"id":3153834,"src":"Chris Helme 7_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3153834.html","width":130,"caption":"Chris Helme at The Goods Office 02","height":195});
															thumbnails[3177812] = clik.newPhoto({"id":3177812,"src":"Ian Ashbee in the Westwood Kitchen 2_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_3177812.html","width":130,"caption":"Ian Ashbee in The Westwood Kitchen Beverley 2","height":90});
															thumbnails[2610248] = clik.newPhoto({"id":2610248,"src":"Emmerdale Nicky Pattinson_thumb.jpg","galleries_id":90863,"server_id":1,"link":"photo_2610248.html","width":130,"caption":"Emmerdale & Nicky Pattinson","height":188});
															thumbnails[2175663] = clik.newPhoto({"id":2175663,"src":"Dock Clock_thumb.jpg","galleries_id":90865,"server_id":1,"link":"photo_2175663.html","width":130,"caption":"Dock Clock","height":98});
															thumbnails[1861426] = clik.newPhoto({"id":1861426,"src":"Web02_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_1861426.html","width":130,"caption":"Jason Wakefield - Pianist, Leeds","height":90});
															thumbnails[2175650] = clik.newPhoto({"id":2175650,"src":"Travelodge_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_2175650.html","width":130,"caption":"Travelodge","height":98});
															thumbnails[2175656] = clik.newPhoto({"id":2175656,"src":"Rizla_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_2175656.html","width":130,"caption":"Rizla","height":98});
															thumbnails[2175661] = clik.newPhoto({"id":2175661,"src":"Warburtons_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_2175661.html","width":130,"caption":"Warburton's Case Study Picture","height":98});
															thumbnails[1386164] = clik.newPhoto({"id":1386164,"src":"DaBoyz_thumb.jpg","galleries_id":90859,"server_id":1,"link":"photo_1386164.html","width":130,"caption":"Da Boyz - Tilly & Richard","height":210});
															thumbnails[1315604] = clik.newPhoto({"id":1315604,"src":"Nicky015_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_1315604.html","width":130,"caption":"Nicky Pattinson","height":188});
															thumbnails[2175709] = clik.newPhoto({"id":2175709,"src":"John 01_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_2175709.html","width":130,"caption":"John - A Gentleman","height":173});
															thumbnails[6756406] = clik.newPhoto({"id":6756406,"src":"IMG-100_37_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6756406.html","width":130,"caption":"Susan and son arriving at church","height":87});
															thumbnails[6756408] = clik.newPhoto({"id":6756408,"src":"IMG-100_41_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6756408.html","width":130,"caption":"Arriving at church","height":87});
															thumbnails[6756423] = clik.newPhoto({"id":6756423,"src":"IMG-100_451_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6756423.html","width":130,"caption":"Nearly ready","height":183});
															thumbnails[6756426] = clik.newPhoto({"id":6756426,"src":"IMG-100_72_thumb.JPG","galleries_id":90859,"server_id":1,"link":"photo_6756426.html","width":130,"caption":"Arriving at church","height":173});
															thumbnails[7438204] = clik.newPhoto({"id":7438204,"src":"IMG_2751-bw1_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7438204.html","width":130,"caption":"The Levellers 1","height":173});
															thumbnails[7438209] = clik.newPhoto({"id":7438209,"src":"IMG_2777-bw_thumb.JPG","galleries_id":90863,"server_id":1,"link":"photo_7438209.html","width":130,"caption":"The Levellers 2","height":173});
															thumbnails[7438218] = clik.newPhoto({"id":7438218,"src":"IMG_4452-sat_thumb.JPG","galleries_id":214901,"server_id":1,"link":"photo_7438218.html","width":130,"caption":"Goole vs Baildon 1","height":176});
															thumbnails[7438276] = clik.newPhoto({"id":7438276,"src":"IMG_4458_thumb.JPG","galleries_id":214901,"server_id":1,"link":"photo_7438276.html","width":130,"caption":"Goole vs Baildon 2","height":83});
															thumbnails[7438288] = clik.newPhoto({"id":7438288,"src":"IMG_4728_thumb.JPG","galleries_id":214901,"server_id":1,"link":"photo_7438288.html","width":130,"caption":"","height":87});
															thumbnails[7438312] = clik.newPhoto({"id":7438312,"src":"IMG_4975-sepia_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_7438312.html","width":130,"caption":"Little girl in glasses","height":160});
															thumbnails[7847154] = clik.newPhoto({"id":7847154,"src":"IMG_6297_thumb.JPG","galleries_id":214910,"server_id":1,"link":"photo_7847154.html","width":130,"caption":"Ryedale Folk Museum Classic Car Rally 15","height":195});
															thumbnails[8401902] = clik.newPhoto({"id":8401902,"src":"IMG_9731-sat_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8401902.html","width":130,"caption":"Sleepy sisters","height":195});
															thumbnails[8401905] = clik.newPhoto({"id":8401905,"src":"IMG_9744-sat_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8401905.html","width":130,"caption":"Sleepy tiny sister 2","height":195});
															thumbnails[8428968] = clik.newPhoto({"id":8428968,"src":"Copy_of_IMG_0227B_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_8428968.html","width":130,"caption":"Pickard's Pie's","height":160});
															thumbnails[8428994] = clik.newPhoto({"id":8428994,"src":"Copy_of_IMG_0269_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_8428994.html","width":130,"caption":"Pickard's Butchers","height":175});
															thumbnails[8429003] = clik.newPhoto({"id":8429003,"src":"Copy_of_IMG_0337_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_8429003.html","width":130,"caption":"Pickard's Butchers","height":195});
															thumbnails[8429021] = clik.newPhoto({"id":8429021,"src":"Copy_of_IMG_0343_thumb.jpg","galleries_id":144104,"server_id":1,"link":"photo_8429021.html","width":130,"caption":"Pickard's Butchers","height":195});
															thumbnails[8429123] = clik.newPhoto({"id":8429123,"src":"IMG_0509-bw_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8429123.html","width":130,"caption":"Girl on a beach","height":219});
															thumbnails[8429143] = clik.newPhoto({"id":8429143,"src":"IMG_0524_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8429143.html","width":130,"caption":"Boy on a beach","height":87});
															thumbnails[8429149] = clik.newPhoto({"id":8429149,"src":"IMG_0623-bw-cropped_thumb.jpg","galleries_id":90866,"server_id":1,"link":"photo_8429149.html","width":130,"caption":"Boy with a boat","height":192});
															thumbnails[8886240] = clik.newPhoto({"id":8886240,"src":"IMG_0819_thumb.JPG","galleries_id":90866,"server_id":1,"link":"photo_8886240.html","width":130,"caption":"Julie Ann","height":87});
															thumbnails[8886276] = clik.newPhoto({"id":8886276,"src":"IMG_1373-bw_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886276.html","width":130,"caption":"3 teens 3","height":87});
															thumbnails[8886301] = clik.newPhoto({"id":8886301,"src":"IMG_1387_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886301.html","width":130,"caption":"3 teens 4","height":87});
															thumbnails[8886331] = clik.newPhoto({"id":8886331,"src":"IMG_1403_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886331.html","width":130,"caption":"3 teens 5","height":87});
															thumbnails[8886359] = clik.newPhoto({"id":8886359,"src":"IMG_1407_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886359.html","width":130,"caption":"3 teens 6","height":84});
															thumbnails[8886365] = clik.newPhoto({"id":8886365,"src":"IMG_1458-bw_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886365.html","width":130,"caption":"","height":195});
															thumbnails[8886386] = clik.newPhoto({"id":8886386,"src":"IMG_1856_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886386.html","width":130,"caption":"","height":90});
															thumbnails[8886411] = clik.newPhoto({"id":8886411,"src":"IMG_1864_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886411.html","width":130,"caption":"","height":87});
															thumbnails[8886431] = clik.newPhoto({"id":8886431,"src":"IMG_1880_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886431.html","width":130,"caption":"","height":195});
															thumbnails[8886453] = clik.newPhoto({"id":8886453,"src":"IMG_1904_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886453.html","width":130,"caption":"","height":87});
															thumbnails[8886482] = clik.newPhoto({"id":8886482,"src":"IMG_1905_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886482.html","width":130,"caption":"","height":87});
															thumbnails[8886546] = clik.newPhoto({"id":8886546,"src":"IMG_1991_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886546.html","width":130,"caption":"","height":87});
															thumbnails[8886550] = clik.newPhoto({"id":8886550,"src":"IMG_2003_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886550.html","width":130,"caption":"","height":73});
															thumbnails[8886575] = clik.newPhoto({"id":8886575,"src":"IMG_2028-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886575.html","width":130,"caption":"","height":190});
															thumbnails[8886579] = clik.newPhoto({"id":8886579,"src":"IMG_2116-crop_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886579.html","width":130,"caption":"","height":154});
															thumbnails[8886582] = clik.newPhoto({"id":8886582,"src":"IMG_2134_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886582.html","width":130,"caption":"","height":87});
															thumbnails[8886587] = clik.newPhoto({"id":8886587,"src":"IMG_2620_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886587.html","width":130,"caption":"","height":87});
															thumbnails[8886588] = clik.newPhoto({"id":8886588,"src":"IMG_2627-_mirror_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886588.html","width":130,"caption":"","height":173});
															thumbnails[8886592] = clik.newPhoto({"id":8886592,"src":"IMG_2629_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886592.html","width":130,"caption":"","height":87});
															thumbnails[8886595] = clik.newPhoto({"id":8886595,"src":"IMG_2668-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886595.html","width":130,"caption":"","height":87});
															thumbnails[8886596] = clik.newPhoto({"id":8886596,"src":"IMG_2676-sat-cropped_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886596.html","width":130,"caption":"","height":160});
															thumbnails[8886598] = clik.newPhoto({"id":8886598,"src":"IMG_2814_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886598.html","width":130,"caption":"","height":195});
															thumbnails[8886599] = clik.newPhoto({"id":8886599,"src":"IMG_2829_half_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886599.html","width":130,"caption":"","height":187});
															thumbnails[8886602] = clik.newPhoto({"id":8886602,"src":"IMG_2863-sepia_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886602.html","width":130,"caption":"","height":195});
															thumbnails[8886606] = clik.newPhoto({"id":8886606,"src":"IMG_2877_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886606.html","width":130,"caption":"","height":70});
															thumbnails[8886608] = clik.newPhoto({"id":8886608,"src":"IMG_2884_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886608.html","width":130,"caption":"","height":92});
															thumbnails[8886612] = clik.newPhoto({"id":8886612,"src":"IMG_2899_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886612.html","width":130,"caption":"","height":87});
															thumbnails[8886617] = clik.newPhoto({"id":8886617,"src":"IMG_2904_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886617.html","width":130,"caption":"","height":195});
															thumbnails[8886621] = clik.newPhoto({"id":8886621,"src":"IMG_2928_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886621.html","width":130,"caption":"","height":75});
															thumbnails[8886622] = clik.newPhoto({"id":8886622,"src":"IMG_2941_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886622.html","width":130,"caption":"","height":87});
															thumbnails[8886625] = clik.newPhoto({"id":8886625,"src":"IMG_3120-mirror_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886625.html","width":130,"caption":"","height":172});
															thumbnails[8886626] = clik.newPhoto({"id":8886626,"src":"IMG_3146-sepia_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886626.html","width":130,"caption":"","height":87});
															thumbnails[8886629] = clik.newPhoto({"id":8886629,"src":"IMG_3173-eyes_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886629.html","width":130,"caption":"","height":87});
															thumbnails[8886631] = clik.newPhoto({"id":8886631,"src":"IMG_3193-sepia_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886631.html","width":130,"caption":"","height":87});
															thumbnails[8886639] = clik.newPhoto({"id":8886639,"src":"IMG_3258_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886639.html","width":130,"caption":"","height":81});
															thumbnails[8886658] = clik.newPhoto({"id":8886658,"src":"IMG_3287_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886658.html","width":130,"caption":"","height":87});
															thumbnails[8886679] = clik.newPhoto({"id":8886679,"src":"IMG_3301_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886679.html","width":130,"caption":"","height":82});
															thumbnails[8886693] = clik.newPhoto({"id":8886693,"src":"IMG_3301-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886693.html","width":130,"caption":"","height":82});
															thumbnails[8886712] = clik.newPhoto({"id":8886712,"src":"IMG_3325_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886712.html","width":130,"caption":"","height":87});
															thumbnails[8886715] = clik.newPhoto({"id":8886715,"src":"IMG_33251_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886715.html","width":130,"caption":"","height":87});
															thumbnails[8886724] = clik.newPhoto({"id":8886724,"src":"IMG_3339_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886724.html","width":130,"caption":"","height":87});
															thumbnails[8886734] = clik.newPhoto({"id":8886734,"src":"IMG_3342_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886734.html","width":130,"caption":"","height":87});
															thumbnails[8886738] = clik.newPhoto({"id":8886738,"src":"IMG_3352_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886738.html","width":130,"caption":"","height":162});
															thumbnails[8886740] = clik.newPhoto({"id":8886740,"src":"IMG_3357-half_sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886740.html","width":130,"caption":"","height":70});
															thumbnails[8886745] = clik.newPhoto({"id":8886745,"src":"IMG_3433_reflection_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886745.html","width":130,"caption":"","height":188});
															thumbnails[8886748] = clik.newPhoto({"id":8886748,"src":"IMG_3460-sat_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886748.html","width":130,"caption":"","height":87});
															thumbnails[8886753] = clik.newPhoto({"id":8886753,"src":"IMG_3471_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886753.html","width":130,"caption":"","height":87});
															thumbnails[8886756] = clik.newPhoto({"id":8886756,"src":"IMG_3561-_pink_stripes_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886756.html","width":130,"caption":"","height":87});
															thumbnails[8886760] = clik.newPhoto({"id":8886760,"src":"IMG_3622-jack_thumb.JPG","galleries_id":196840,"server_id":1,"link":"photo_8886760.html","width":130,"caption":"","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[196840] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Latest Images","link":"gallery_196840.html","maxRecords":0.0,"photoIDs":[8886245.0,8886258.0,8886363.0,8886367.0,8893764.0,8893769.0,8893772.0,8893777.0,8893780.0,8893796.0,8893830.0,8893846.0,8893869.0,8940432.0,8940434.0,8940443.0,8940451.0,8940468.0,8940477.0,8940482.0,8940488.0,8886276.0,8886301.0,8886331.0,8886359.0,8886365.0,8886386.0,8886411.0,8886431.0,8886453.0,8886482.0,8886546.0,8886550.0,8886575.0,8886579.0,8886582.0,8886587.0,8886588.0,8886592.0,8886595.0,8886596.0,8886598.0,8886599.0,8886602.0,8886606.0,8886608.0,8886612.0,8886617.0,8886621.0,8886622.0,8886625.0,8886626.0,8886629.0,8886631.0,8886639.0,8886658.0,8886679.0,8886693.0,8886712.0,8886715.0,8886724.0,8886734.0,8886738.0,8886740.0,8886745.0,8886748.0,8886753.0,8886756.0,8886760.0],"skipIndex":0,"section_code":"gallery","featured_images":"8940488,8940482,8940477,8940468,8940451,8940443,8940434,8940432,8893869,8893846","id":196840,"singleSection":false});				  						galleries[233212] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Places","link":"gallery_233212.html","maxRecords":0.0,"photoIDs":[5541676.0,4230781.0,4230794.0],"skipIndex":0,"section_code":"gallery","featured_images":4230794.0,"id":233212,"singleSection":false});				  						galleries[214901] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Rugby","link":"gallery_214901.html","maxRecords":0.0,"photoIDs":[7276489.0,7276491.0,7438218.0,7438276.0,7438288.0],"skipIndex":0,"section_code":"gallery","featured_images":"7438288,7438276,7438218,7276491,7276489","id":214901,"singleSection":false});				  						galleries[214910] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Vehicles","link":"gallery_214910.html","maxRecords":0.0,"photoIDs":[8643774.0,8643779.0,7846957.0,7847060.0,7847068.0,7847127.0,5516946.0,5516991.0,7847154.0],"skipIndex":0,"section_code":"gallery","featured_images":"8643779,8643774,7847154,7847127,7847068,7847060,7846957,5516991,5516946","id":214910,"singleSection":false});				  						galleries[144104] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate Client Work","link":"gallery_144104.html","maxRecords":0.0,"photoIDs":[8428958.0,8428961.0,7834904.0,7834914.0,7411604.0,7411621.0,7411750.0,7411886.0,7412152.0,7412154.0,5555076.0,5555093.0,5229631.0,5234636.0,5234645.0,5251718.0,2175650.0,2175656.0,2175661.0,8428968.0,8428994.0,8429003.0,8429021.0],"skipIndex":0,"section_code":"gallery","featured_images":"8429021,8429003,8428994,8428968,8428961,8428958,7834914,7834904,7412154,7412152","id":144104,"singleSection":false});				  						galleries[90866] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"gallery_90866.html","maxRecords":0.0,"photoIDs":[8401896.0,8429025.0,8429048.0,8505948.0,8505950.0,8505991.0,8506016.0,8196122.0,8196138.0,8196141.0,8196143.0,8196145.0,8196160.0,7987163.0,7903231.0,7903286.0,7847137.0,7847145.0,7834891.0,7834897.0,7834900.0,7834967.0,7834971.0,6922833.0,6922836.0,6922852.0,6922856.0,5700180.0,5700200.0,5489966.0,5516922.0,5541681.0,5541686.0,4805456.0,4814232.0,4814234.0,4679458.0,4679468.0,4555651.0,4555653.0,4092703.0,4092707.0,3829981.0,3843753.0,3324126.0,3327919.0,3327923.0,3153834.0,3177812.0,1861426.0,1315604.0,2175709.0,7438312.0,8401902.0,8401905.0,8429123.0,8429143.0,8429149.0,8886240.0],"skipIndex":0,"section_code":"gallery","featured_images":3177812.0,"id":90866,"singleSection":false});				  						galleries[90859] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings","link":"gallery_90859.html","maxRecords":0.0,"photoIDs":[6188807.0,6188810.0,6188833.0,6188847.0,6188868.0,6188875.0,6188881.0,6188911.0,6188935.0,6189217.0,6189362.0,5811932.0,5812040.0,5812045.0,5812084.0,5812211.0,5812227.0,4913128.0,4913129.0,4715009.0,4715011.0,4467402.0,4467407.0,4467413.0,4467415.0,4467420.0,4467424.0,1386164.0,6756406.0,6756408.0,6756423.0,6756426.0],"skipIndex":0,"section_code":"gallery","featured_images":"6756426,6756423,6756408,6756406,6189362,6189217,6188935,6188911,6188881,6188875","id":90859,"singleSection":false});				  						galleries[90863] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Events - Theatre","link":"gallery_90863.html","maxRecords":0.0,"photoIDs":[7945004.0,7945009.0,7945011.0,7945013.0,7847040.0,7852286.0,2610248.0,7438204.0,7438209.0],"skipIndex":0,"section_code":"gallery","featured_images":"7945013,7945011,7945009,7945004,7852286,7847040,7438209,7438204,2610248","id":90863,"singleSection":false});				  						galleries[90864] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_90864.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":90864,"singleSection":false});				  						galleries[90865] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nature","link":"gallery_90865.html","maxRecords":0.0,"photoIDs":[4230757.0,4230763.0,3976689.0,3955121.0,3955128.0,3398709.0,2175663.0],"skipIndex":0,"section_code":"gallery","featured_images":"4230763,4230757,3976689,3955128,3955121,3398709,2175663","id":90865,"singleSection":false});				  						galleries[144110] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Animals","link":"gallery_144110.html","maxRecords":0.0,"photoIDs":[4301661.0,4308286.0],"skipIndex":0,"section_code":"gallery","featured_images":4301661.0,"id":144110,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5516946,5251718,5234636,4715011,4679458,4555653,4555651,4467424,4467420,4467413,4301661,4230794,4230757,4092707,4092703,3955128,3955121,3829981,3177812,2175709,2175663,2175656,1861426,1386164';
imageSets[2] = '4301661,4230794,3177812';
imageSets[3] = '5700180';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/MartinFrank/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/MartinFrank/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Martin Frank Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			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 += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="anna.miller@tiscali.co.uk">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="anna.miller@tiscali.co.uk">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

