window.thumbnails = {};
															thumbnails[4767411] = clik.newPhoto({"id":4767411,"src":"12_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876197] = clik.newPhoto({"id":4876197,"src":"IMG_0092_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Family Portrait by Paul Mason Wedding and Portrait Photography, Studio at Middleton Hall, Near Drayton Manor Park. ","height":130});
															thumbnails[4876200] = clik.newPhoto({"id":4876200,"src":"IMG_0101_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Paul Mason Wedding and Portrait photography based in Tamworth, Staffordshire, Near Drayton Manor Park - Lifestyle Shoot.","height":130});
															thumbnails[4876202] = clik.newPhoto({"id":4876202,"src":"IMG_0104_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876204] = clik.newPhoto({"id":4876204,"src":"IMG_0113_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876224] = clik.newPhoto({"id":4876224,"src":"IMG_0122_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876465] = clik.newPhoto({"id":4876465,"src":"81_IMG_0502-1_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Wedding at Moor Hall Hotel ","height":130});
															thumbnails[4876491] = clik.newPhoto({"id":4876491,"src":"109_IMG_0531_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"Weddings at Moor Hall Hotel Sutton Coldfield","height":130});
															thumbnails[4876496] = clik.newPhoto({"id":4876496,"src":"15_IMG_0139_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876520] = clik.newPhoto({"id":4876520,"src":"19_IMG_0154_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876524] = clik.newPhoto({"id":4876524,"src":"36_IMG_0025_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876525] = clik.newPhoto({"id":4876525,"src":"153_IMG_0631_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876528] = clik.newPhoto({"id":4876528,"src":"57_IMG_0342_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876530] = clik.newPhoto({"id":4876530,"src":"65_IMG_8482_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4876534] = clik.newPhoto({"id":4876534,"src":"107_IMG_0559_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4702106] = clik.newPhoto({"id":4702106,"src":"studio_thumb.jpg","galleries_id":278218,"server_id":18,"link":"photo_4702106.html","width":130,"caption":"A sitting in our fully equiped studio will be LOTS OF FUN for FAMILIES of all ages.","height":130});
															thumbnails[4701881] = clik.newPhoto({"id":4701881,"src":"bouquet_thumb.jpg","galleries_id":273082,"server_id":18,"link":"photo_4701881.html","width":130,"caption":"","height":130});
															thumbnails[4701970] = clik.newPhoto({"id":4701970,"src":"SHOES_thumb.jpg","galleries_id":270298,"server_id":18,"link":"photo_4701970.html","width":130,"caption":"","height":130});
															thumbnails[4767362] = clik.newPhoto({"id":4767362,"src":"1_107_thumb.jpg","galleries_id":273082,"server_id":18,"link":"photo_4767362.html","width":130,"caption":"","height":130});
															thumbnails[4767379] = clik.newPhoto({"id":4767379,"src":"8_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_4767379.html","width":130,"caption":"","height":130});
															thumbnails[4770404] = clik.newPhoto({"id":4770404,"src":"01_thumb.JPG","galleries_id":270298,"server_id":18,"link":"photo_4770404.html","width":130,"caption":"","height":130});
															thumbnails[4770407] = clik.newPhoto({"id":4770407,"src":"33_thumb.jpg","galleries_id":270298,"server_id":18,"link":"photo_4770407.html","width":130,"caption":"","height":130});
															thumbnails[4770417] = clik.newPhoto({"id":4770417,"src":"38_thumb.JPG","galleries_id":270298,"server_id":18,"link":"photo_4770417.html","width":130,"caption":"","height":130});
															thumbnails[4770428] = clik.newPhoto({"id":4770428,"src":"16_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_4770428.html","width":130,"caption":"","height":130});
															thumbnails[4776820] = clik.newPhoto({"id":4776820,"src":"1_71_thumb.JPG","galleries_id":273082,"server_id":18,"link":"photo_4776820.html","width":130,"caption":"","height":130});
															thumbnails[4776824] = clik.newPhoto({"id":4776824,"src":"1_123_thumb.JPG","galleries_id":273082,"server_id":18,"link":"photo_4776824.html","width":130,"caption":"","height":130});
															thumbnails[4776880] = clik.newPhoto({"id":4776880,"src":"1_7_thumb.JPG","galleries_id":273082,"server_id":18,"link":"photo_4776880.html","width":130,"caption":"","height":130});
															thumbnails[4776975] = clik.newPhoto({"id":4776975,"src":"1_133_thumb.JPG","galleries_id":273082,"server_id":18,"link":"photo_4776975.html","width":130,"caption":"","height":130});
															thumbnails[4776991] = clik.newPhoto({"id":4776991,"src":"1_106_thumb.JPG","galleries_id":273082,"server_id":18,"link":"photo_4776991.html","width":130,"caption":"","height":130});
															thumbnails[4777484] = clik.newPhoto({"id":4777484,"src":"IMG_7990_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_4777484.html","width":130,"caption":"","height":130});
															thumbnails[4777783] = clik.newPhoto({"id":4777783,"src":"Forest_of_Arden_Marriot_Hotel_Meriden_1259_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777783.html","width":130,"caption":"","height":130});
															thumbnails[4777784] = clik.newPhoto({"id":4777784,"src":"Forest_of_Arden_Marriot_Hotel_Meriden_1276_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777784.html","width":130,"caption":"","height":130});
															thumbnails[4777785] = clik.newPhoto({"id":4777785,"src":"IMG_1302_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777785.html","width":130,"caption":"","height":130});
															thumbnails[4777846] = clik.newPhoto({"id":4777846,"src":"52_IMG_7860_7x5_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777846.html","width":130,"caption":"","height":130});
															thumbnails[4777849] = clik.newPhoto({"id":4777849,"src":"IMG_5126_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777849.html","width":130,"caption":"","height":130});
															thumbnails[4777853] = clik.newPhoto({"id":4777853,"src":"IMG_7043_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777853.html","width":130,"caption":"","height":130});
															thumbnails[4777856] = clik.newPhoto({"id":4777856,"src":"IMG_7060_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4777856.html","width":130,"caption":"","height":130});
															thumbnails[4777878] = clik.newPhoto({"id":4777878,"src":"28_IMG_4619_thumb.JPG","galleries_id":273518,"server_id":18,"link":"photo_4777878.html","width":130,"caption":"","height":130});
															thumbnails[4777882] = clik.newPhoto({"id":4777882,"src":"IMG_1018_thumb.JPG","galleries_id":273518,"server_id":18,"link":"photo_4777882.html","width":130,"caption":"","height":130});
															thumbnails[4876494] = clik.newPhoto({"id":4876494,"src":"113_IMG_0564_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4876494.html","width":130,"caption":"","height":130});
															thumbnails[4876514] = clik.newPhoto({"id":4876514,"src":"16_IMG_0143_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4876514.html","width":130,"caption":"","height":130});
															thumbnails[4876515] = clik.newPhoto({"id":4876515,"src":"17_IMG_0145_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4876515.html","width":130,"caption":"","height":130});
															thumbnails[4876518] = clik.newPhoto({"id":4876518,"src":"18_IMG_0148_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4876518.html","width":130,"caption":"","height":130});
															thumbnails[4876523] = clik.newPhoto({"id":4876523,"src":"24_IMG_0226_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4876523.html","width":130,"caption":"","height":130});
															thumbnails[4876526] = clik.newPhoto({"id":4876526,"src":"118_IMG_0612_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_4876526.html","width":130,"caption":"","height":130});
															thumbnails[7312043] = clik.newPhoto({"id":7312043,"src":"22_duke_54X35_thumb.jpg","galleries_id":273513,"server_id":18,"link":"photo_7312043.html","width":130,"caption":"","height":130});
															thumbnails[7312044] = clik.newPhoto({"id":7312044,"src":"IMG_1191_5_x_4_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_7312044.html","width":130,"caption":"","height":130});
															thumbnails[7312045] = clik.newPhoto({"id":7312045,"src":"IMG_4809_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_7312045.html","width":130,"caption":"","height":130});
															thumbnails[7312046] = clik.newPhoto({"id":7312046,"src":"IMG_4908_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_7312046.html","width":130,"caption":"","height":130});
															thumbnails[7312047] = clik.newPhoto({"id":7312047,"src":"IMG_4953_7x5_thumb.jpg","galleries_id":273513,"server_id":18,"link":"photo_7312047.html","width":130,"caption":"","height":130});
															thumbnails[7312048] = clik.newPhoto({"id":7312048,"src":"IMG_9508_9x6_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_7312048.html","width":130,"caption":"","height":130});
															thumbnails[7312049] = clik.newPhoto({"id":7312049,"src":"IMG_9514_9X6_thumb.JPG","galleries_id":273513,"server_id":18,"link":"photo_7312049.html","width":130,"caption":"","height":130});
															thumbnails[7313827] = clik.newPhoto({"id":7313827,"src":"IMG_9260_10X7_thumb.JPG","galleries_id":273518,"server_id":18,"link":"photo_7313827.html","width":130,"caption":"","height":130});
															thumbnails[7313828] = clik.newPhoto({"id":7313828,"src":"IMG_4513_5x4_thumb.jpg","galleries_id":273082,"server_id":18,"link":"photo_7313828.html","width":130,"caption":"","height":130});
															thumbnails[7313834] = clik.newPhoto({"id":7313834,"src":"IMG_4515bw_54x35_thumb.jpg","galleries_id":273082,"server_id":18,"link":"photo_7313834.html","width":130,"caption":"","height":130});
															thumbnails[7313835] = clik.newPhoto({"id":7313835,"src":"IMG_5004bw_thumb.jpg","galleries_id":273082,"server_id":18,"link":"photo_7313835.html","width":130,"caption":"","height":130});
															thumbnails[7314234] = clik.newPhoto({"id":7314234,"src":"IMG_8931_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_7314234.html","width":130,"caption":"","height":130});
															thumbnails[7314235] = clik.newPhoto({"id":7314235,"src":"IMG_8958_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_7314235.html","width":130,"caption":"","height":130});
															thumbnails[7330104] = clik.newPhoto({"id":7330104,"src":"andy_and_lu_01_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330104.html","width":130,"caption":"","height":130});
															thumbnails[7330110] = clik.newPhoto({"id":7330110,"src":"andy_and_lu_02_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330110.html","width":130,"caption":"","height":130});
															thumbnails[7330112] = clik.newPhoto({"id":7330112,"src":"andy_and_lu_03_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330112.html","width":130,"caption":"","height":130});
															thumbnails[7330124] = clik.newPhoto({"id":7330124,"src":"percival_01_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330124.html","width":130,"caption":"","height":130});
															thumbnails[7330126] = clik.newPhoto({"id":7330126,"src":"percival_02_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330126.html","width":130,"caption":"","height":130});
															thumbnails[7330127] = clik.newPhoto({"id":7330127,"src":"percival_03_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330127.html","width":130,"caption":"","height":130});
															thumbnails[7330128] = clik.newPhoto({"id":7330128,"src":"low_01_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_7330128.html","width":130,"caption":"","height":130});
															thumbnails[7330131] = clik.newPhoto({"id":7330131,"src":"low_02_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_7330131.html","width":130,"caption":"","height":130});
															thumbnails[7330134] = clik.newPhoto({"id":7330134,"src":"low_03_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_7330134.html","width":130,"caption":"","height":130});
															thumbnails[7330137] = clik.newPhoto({"id":7330137,"src":"low_05_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_7330137.html","width":130,"caption":"","height":130});
															thumbnails[7330140] = clik.newPhoto({"id":7330140,"src":"neal_01_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330140.html","width":130,"caption":"","height":130});
															thumbnails[7330142] = clik.newPhoto({"id":7330142,"src":"neal_02_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330142.html","width":130,"caption":"","height":130});
															thumbnails[7330143] = clik.newPhoto({"id":7330143,"src":"neal_03_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330143.html","width":130,"caption":"","height":130});
															thumbnails[7330146] = clik.newPhoto({"id":7330146,"src":"neal_04_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330146.html","width":130,"caption":"","height":130});
															thumbnails[7330148] = clik.newPhoto({"id":7330148,"src":"neal_05_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330148.html","width":130,"caption":"","height":130});
															thumbnails[7330152] = clik.newPhoto({"id":7330152,"src":"neal_06_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330152.html","width":130,"caption":"","height":130});
															thumbnails[7330154] = clik.newPhoto({"id":7330154,"src":"neal_07_thumb.jpg","galleries_id":270456,"server_id":18,"link":"photo_7330154.html","width":130,"caption":"","height":130});
															thumbnails[8239871] = clik.newPhoto({"id":8239871,"src":"Paul_Mason_Photography_-_Wedding_packages_1_thumb.jpg","galleries_id":423108,"server_id":18,"link":"photo_8239871.html","width":130,"caption":"The \"Classic Wedding Album\" Package","height":130});
															thumbnails[8239874] = clik.newPhoto({"id":8239874,"src":"Paul_Mason_Photography_-_Wedding_packages_2_thumb.jpg","galleries_id":423108,"server_id":18,"link":"photo_8239874.html","width":130,"caption":"The \"Contemporary Digital Story Book Package\" ","height":130});
															thumbnails[8239878] = clik.newPhoto({"id":8239878,"src":"Paul_Mason_Photography_-_Wedding_packages_3_thumb.jpg","galleries_id":423108,"server_id":18,"link":"photo_8239878.html","width":130,"caption":"The \"Totally Digital Package\"  ","height":130});
															thumbnails[8239881] = clik.newPhoto({"id":8239881,"src":"Paul_Mason_Photography_-_Wedding_packages_4_thumb.jpg","galleries_id":423108,"server_id":18,"link":"photo_8239881.html","width":130,"caption":"The \"Ultimate Wedding Package\" ","height":130});
															thumbnails[8443135] = clik.newPhoto({"id":8443135,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_1_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443135.html","width":130,"caption":"","height":130});
															thumbnails[8443137] = clik.newPhoto({"id":8443137,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_2_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443137.html","width":130,"caption":"","height":130});
															thumbnails[8443140] = clik.newPhoto({"id":8443140,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_3_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443140.html","width":130,"caption":"","height":130});
															thumbnails[8443141] = clik.newPhoto({"id":8443141,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_4_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443141.html","width":130,"caption":"","height":130});
															thumbnails[8443143] = clik.newPhoto({"id":8443143,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_5_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443143.html","width":130,"caption":"","height":130});
															thumbnails[8443146] = clik.newPhoto({"id":8443146,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_6_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443146.html","width":130,"caption":"","height":130});
															thumbnails[8443148] = clik.newPhoto({"id":8443148,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_7_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443148.html","width":130,"caption":"","height":130});
															thumbnails[8443150] = clik.newPhoto({"id":8443150,"src":"Paul_Mason_photography_-_Pre_wedding_shoot_for_Miss_Jenny_Hampton_and_Mr_Jamie_Brooks_8_thumb.JPG","galleries_id":270456,"server_id":18,"link":"photo_8443150.html","width":130,"caption":"","height":130});
															thumbnails[8457972] = clik.newPhoto({"id":8457972,"src":"Paul_Mason_Photography_-_THE_CLASSIC_STORY_BOOK_ALBUM_thumb.JPG","galleries_id":423108,"server_id":18,"link":"photo_8457972.html","width":130,"caption":"The Classic Wedding Story Book Album","height":130});
															thumbnails[8458090] = clik.newPhoto({"id":8458090,"src":"Paul_Mason_Photography_-_THE_CONTEMPORARY_DIGITAL_STORY_BOOK_ALBUM_thumb.JPG","galleries_id":423108,"server_id":18,"link":"photo_8458090.html","width":130,"caption":"The Contemporary Digital StoryBook Album","height":130});
															thumbnails[8458100] = clik.newPhoto({"id":8458100,"src":"Paul_Mason_Photography_-_THE_PANORAMIC_STORY_BOOK_ALBUM_thumb.JPG","galleries_id":423108,"server_id":18,"link":"photo_8458100.html","width":130,"caption":"The Panoramic StoryBook Album","height":130});
															thumbnails[8738071] = clik.newPhoto({"id":8738071,"src":"Paul_Mason_Photography_in_Tamworth_Wedding_Packages_Classic_PLUS_thumb.jpg","galleries_id":423108,"server_id":18,"link":"photo_8738071.html","width":130,"caption":"The \"Classic PLUS Package\"","height":130});
															thumbnails[8199798] = clik.newPhoto({"id":8199798,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_1_thumb.jpg","galleries_id":273129,"server_id":18,"link":"photo_8199798.html","width":130,"caption":"Paul Mason Wedding and Portrait photography based in Tamworth, Staffordshire, Near Drayton Manor Park - Lifestyle Shoot for Mrs T Darrah. ","height":130});
															thumbnails[8199801] = clik.newPhoto({"id":8199801,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_2_thumb.jpg","galleries_id":273129,"server_id":18,"link":"photo_8199801.html","width":130,"caption":"Paul Mason Wedding and Portrait photography based in Tamworth, Staffordshire, Near Drayton Manor Park - Lifestyle Shoot for Mrs T Darrah. ","height":130});
															thumbnails[8199903] = clik.newPhoto({"id":8199903,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_13_thumb.JPG","galleries_id":273129,"server_id":18,"link":"photo_8199903.html","width":130,"caption":"Paul Mason Wedding and Portrait photography based in Tamworth, Staffordshire, Near Drayton Manor Park - Lifestyle Shoot for Mrs T Darrah. ","height":130});
															thumbnails[8199907] = clik.newPhoto({"id":8199907,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_14_thumb.jpg","galleries_id":273129,"server_id":18,"link":"photo_8199907.html","width":130,"caption":"Paul Mason Wedding and Portrait photography based in Tamworth, Staffordshire, Near Drayton Manor Park - Lifestyle Shoot for Mrs T Darrah. ","height":130});
															thumbnails[4702022] = clik.newPhoto({"id":4702022,"src":"Lyingonthefloor_thumb.jpg","galleries_id":273131,"server_id":18,"link":"photo_4702022.html","width":130,"caption":"","height":130});
															thumbnails[4770028] = clik.newPhoto({"id":4770028,"src":"10_SINGLE_IMAGE_12X8_thumb.jpg","galleries_id":273131,"server_id":18,"link":"photo_4770028.html","width":130,"caption":"","height":130});
															thumbnails[4770117] = clik.newPhoto({"id":4770117,"src":"IMG_1057_bw_thumb.jpg","galleries_id":273131,"server_id":18,"link":"photo_4770117.html","width":130,"caption":"","height":130});
															thumbnails[4770128] = clik.newPhoto({"id":4770128,"src":"IMG_2680_thumb.JPG","galleries_id":273131,"server_id":18,"link":"photo_4770128.html","width":130,"caption":"","height":130});
															thumbnails[4770160] = clik.newPhoto({"id":4770160,"src":"IMG_2354bw_proof_thumb.jpg","galleries_id":273131,"server_id":18,"link":"photo_4770160.html","width":130,"caption":"","height":130});
															thumbnails[4770320] = clik.newPhoto({"id":4770320,"src":"IMG_6186_bw_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_4770320.html","width":130,"caption":"","height":130});
															thumbnails[4770332] = clik.newPhoto({"id":4770332,"src":"IMG_1382_bw_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_4770332.html","width":130,"caption":"","height":130});
															thumbnails[4770344] = clik.newPhoto({"id":4770344,"src":"IMG_1460_18x12_bw_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_4770344.html","width":130,"caption":"","height":130});
															thumbnails[4770390] = clik.newPhoto({"id":4770390,"src":"IMG_6752_thumb.JPG","galleries_id":273129,"server_id":18,"link":"photo_4770390.html","width":130,"caption":"","height":130});
															thumbnails[4770399] = clik.newPhoto({"id":4770399,"src":"IMG_6754_thumb.JPG","galleries_id":273129,"server_id":18,"link":"photo_4770399.html","width":130,"caption":"","height":130});
															thumbnails[4770461] = clik.newPhoto({"id":4770461,"src":"IMG_1391a_thumb.jpg","galleries_id":273131,"server_id":18,"link":"photo_4770461.html","width":130,"caption":"","height":130});
															thumbnails[4788507] = clik.newPhoto({"id":4788507,"src":"3_image_collection_2_-_1-6x4_2-3x3_at_10x12_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_4788507.html","width":130,"caption":"3 IMAGE COLLECTIONS - FRAMED & MOUNTED TO SUIT YOUR HOME","height":130});
															thumbnails[4788509] = clik.newPhoto({"id":4788509,"src":"4_COLLECTION_12X12_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_4788509.html","width":130,"caption":"4 IMAGE COLLECTIONS - FRAMED & MOUNTED TO SUIT YOUR HOME","height":130});
															thumbnails[4788512] = clik.newPhoto({"id":4788512,"src":"021_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_4788512.html","width":130,"caption":"7 IMAGE COLLECTIONS - FRAMED & MOUNTED TO SUIT YOUR HOME","height":130});
															thumbnails[4788513] = clik.newPhoto({"id":4788513,"src":"1_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_4788513.html","width":130,"caption":"9 IMAGE COLLECTIONS - FRAMED AND MOUNTED TO SUIT YOUR HOME","height":130});
															thumbnails[4788557] = clik.newPhoto({"id":4788557,"src":"05_panoramic_thumb.jpg","galleries_id":273996,"server_id":18,"link":"photo_4788557.html","width":130,"caption":"","height":130});
															thumbnails[4788569] = clik.newPhoto({"id":4788569,"src":"06_panoramic_thumb.jpg","galleries_id":273996,"server_id":18,"link":"photo_4788569.html","width":130,"caption":"","height":130});
															thumbnails[4788571] = clik.newPhoto({"id":4788571,"src":"IMG_2369bw_merge_18x12_thumb.jpg","galleries_id":273996,"server_id":18,"link":"photo_4788571.html","width":130,"caption":"","height":130});
															thumbnails[4788572] = clik.newPhoto({"id":4788572,"src":"IMG_2931_24x12_thumb.jpg","galleries_id":273996,"server_id":18,"link":"photo_4788572.html","width":130,"caption":"","height":130});
															thumbnails[7309418] = clik.newPhoto({"id":7309418,"src":"IMG_4007a_thumb.jpg","galleries_id":273131,"server_id":18,"link":"photo_7309418.html","width":130,"caption":"","height":130});
															thumbnails[7311732] = clik.newPhoto({"id":7311732,"src":"IMG_3497a_5x5_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_7311732.html","width":130,"caption":"","height":130});
															thumbnails[7311743] = clik.newPhoto({"id":7311743,"src":"IMG_3519_5x5_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_7311743.html","width":130,"caption":"","height":130});
															thumbnails[7311744] = clik.newPhoto({"id":7311744,"src":"IMG_3528A5x5_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_7311744.html","width":130,"caption":"","height":130});
															thumbnails[7311746] = clik.newPhoto({"id":7311746,"src":"IMG_3543a_5x5_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_7311746.html","width":130,"caption":"","height":130});
															thumbnails[7311747] = clik.newPhoto({"id":7311747,"src":"IMG_3550_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311747.html","width":130,"caption":"","height":130});
															thumbnails[7311802] = clik.newPhoto({"id":7311802,"src":"IMG_3555a_thumb.jpg","galleries_id":273114,"server_id":18,"link":"photo_7311802.html","width":130,"caption":"","height":130});
															thumbnails[7311803] = clik.newPhoto({"id":7311803,"src":"IMG_3635_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311803.html","width":130,"caption":"","height":130});
															thumbnails[7311804] = clik.newPhoto({"id":7311804,"src":"IMG_3666_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311804.html","width":130,"caption":"","height":130});
															thumbnails[7311807] = clik.newPhoto({"id":7311807,"src":"IMG_3722_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311807.html","width":130,"caption":"","height":130});
															thumbnails[7311809] = clik.newPhoto({"id":7311809,"src":"IMG_3748_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311809.html","width":130,"caption":"","height":130});
															thumbnails[7311813] = clik.newPhoto({"id":7311813,"src":"IMG_3756_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311813.html","width":130,"caption":"","height":130});
															thumbnails[7311815] = clik.newPhoto({"id":7311815,"src":"IMG_3761_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7311815.html","width":130,"caption":"","height":130});
															thumbnails[7312003] = clik.newPhoto({"id":7312003,"src":"IMG_3780_thumb.JPG","galleries_id":273114,"server_id":18,"link":"photo_7312003.html","width":130,"caption":"","height":130});
															thumbnails[7313811] = clik.newPhoto({"id":7313811,"src":"3image_collection1_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313811.html","width":130,"caption":"","height":130});
															thumbnails[7313812] = clik.newPhoto({"id":7313812,"src":"7_image_collage_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313812.html","width":130,"caption":"","height":130});
															thumbnails[7313814] = clik.newPhoto({"id":7313814,"src":"9_image_collage1_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313814.html","width":130,"caption":"","height":130});
															thumbnails[7313815] = clik.newPhoto({"id":7313815,"src":"16_grid_design_for_stuart_fisher_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313815.html","width":130,"caption":"","height":130});
															thumbnails[7313816] = clik.newPhoto({"id":7313816,"src":"16x16_grid_design_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313816.html","width":130,"caption":"","height":130});
															thumbnails[7313818] = clik.newPhoto({"id":7313818,"src":"Tracey_Hughes_-_7_image_collage1_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313818.html","width":130,"caption":"","height":130});
															thumbnails[7313819] = clik.newPhoto({"id":7313819,"src":"Tracey_Hughes_-_9_image_collage1_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313819.html","width":130,"caption":"","height":130});
															thumbnails[7313820] = clik.newPhoto({"id":7313820,"src":"Tracey_Hughes_-_9_image_collage2_thumb.jpg","galleries_id":273994,"server_id":18,"link":"photo_7313820.html","width":130,"caption":"","height":130});
															thumbnails[7313824] = clik.newPhoto({"id":7313824,"src":"montage_24x12_thumb.jpg","galleries_id":273996,"server_id":18,"link":"photo_7313824.html","width":130,"caption":"","height":130});
															thumbnails[8445034] = clik.newPhoto({"id":8445034,"src":"Paul_Mason_Photography-Portrait_sittings_thumb.jpg","galleries_id":447046,"server_id":18,"link":"photo_8445034.html","width":130,"caption":"","height":130});
															thumbnails[8199803] = clik.newPhoto({"id":8199803,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_3_thumb.JPG","galleries_id":398350,"server_id":18,"link":"photo_8199803.html","width":130,"caption":"","height":130});
															thumbnails[8199805] = clik.newPhoto({"id":8199805,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_4_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199805.html","width":130,"caption":"","height":130});
															thumbnails[8199861] = clik.newPhoto({"id":8199861,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_5_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199861.html","width":130,"caption":"","height":130});
															thumbnails[8199871] = clik.newPhoto({"id":8199871,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_6_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199871.html","width":130,"caption":"","height":130});
															thumbnails[8199877] = clik.newPhoto({"id":8199877,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_7_thumb.JPG","galleries_id":398350,"server_id":18,"link":"photo_8199877.html","width":130,"caption":"","height":130});
															thumbnails[8199880] = clik.newPhoto({"id":8199880,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_8_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199880.html","width":130,"caption":"","height":130});
															thumbnails[8199886] = clik.newPhoto({"id":8199886,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_9_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199886.html","width":130,"caption":"","height":130});
															thumbnails[8199894] = clik.newPhoto({"id":8199894,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_11_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199894.html","width":130,"caption":"","height":130});
															thumbnails[8199898] = clik.newPhoto({"id":8199898,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_12_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_8199898.html","width":130,"caption":"","height":130});
															thumbnails[4701990] = clik.newPhoto({"id":4701990,"src":"ANNIE_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_4701990.html","width":130,"caption":"","height":130});
															thumbnails[4770436] = clik.newPhoto({"id":4770436,"src":"IMG_1005A_thumb.jpg","galleries_id":273132,"server_id":18,"link":"photo_4770436.html","width":130,"caption":"","height":130});
															thumbnails[4770446] = clik.newPhoto({"id":4770446,"src":"IMG_9203_thumb.JPG","galleries_id":273132,"server_id":18,"link":"photo_4770446.html","width":130,"caption":"","height":130});
															thumbnails[4770455] = clik.newPhoto({"id":4770455,"src":"IMG_1243_thumb.JPG","galleries_id":273085,"server_id":18,"link":"photo_4770455.html","width":130,"caption":"","height":130});
															thumbnails[4770457] = clik.newPhoto({"id":4770457,"src":"IMG_9822_bw_thumb.JPG","galleries_id":273085,"server_id":18,"link":"photo_4770457.html","width":130,"caption":"","height":130});
															thumbnails[4770486] = clik.newPhoto({"id":4770486,"src":"IMG_9529BW_thumb.JPG","galleries_id":273161,"server_id":18,"link":"photo_4770486.html","width":130,"caption":"","height":130});
															thumbnails[7290149] = clik.newPhoto({"id":7290149,"src":"IMG_5638a_thumb.JPG","galleries_id":273086,"server_id":18,"link":"photo_7290149.html","width":130,"caption":"","height":130});
															thumbnails[7290152] = clik.newPhoto({"id":7290152,"src":"IMG_5647b_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7290152.html","width":130,"caption":"","height":130});
															thumbnails[7291488] = clik.newPhoto({"id":7291488,"src":"IMG_4743_bw_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291488.html","width":130,"caption":"","height":130});
															thumbnails[7291494] = clik.newPhoto({"id":7291494,"src":"IMG_4749bw_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291494.html","width":130,"caption":"","height":130});
															thumbnails[7291496] = clik.newPhoto({"id":7291496,"src":"IMG_4801_5x5_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291496.html","width":130,"caption":"","height":130});
															thumbnails[7291498] = clik.newPhoto({"id":7291498,"src":"IMG_5312_7x5a_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291498.html","width":130,"caption":"","height":130});
															thumbnails[7291501] = clik.newPhoto({"id":7291501,"src":"IMG_5466_5x5_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291501.html","width":130,"caption":"","height":130});
															thumbnails[7291505] = clik.newPhoto({"id":7291505,"src":"IMG_5491_10-5x10-5_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291505.html","width":130,"caption":"","height":130});
															thumbnails[7291511] = clik.newPhoto({"id":7291511,"src":"IMG_5582_5x5_thumb.jpg","galleries_id":273086,"server_id":18,"link":"photo_7291511.html","width":130,"caption":"","height":130});
															thumbnails[7309436] = clik.newPhoto({"id":7309436,"src":"IMG_4020_thumb.JPG","galleries_id":273132,"server_id":18,"link":"photo_7309436.html","width":130,"caption":"","height":130});
															thumbnails[7309437] = clik.newPhoto({"id":7309437,"src":"IMG_4061b_thumb.jpg","galleries_id":273132,"server_id":18,"link":"photo_7309437.html","width":130,"caption":"","height":130});
															thumbnails[7309445] = clik.newPhoto({"id":7309445,"src":"9_COLLECTION_18X18_WHITE_GRID_1_thumb.jpg","galleries_id":395390,"server_id":18,"link":"photo_7309445.html","width":130,"caption":"","height":130});
															thumbnails[7309447] = clik.newPhoto({"id":7309447,"src":"9_COLLECTION_18X18_WHITE_GRID_2_thumb.jpg","galleries_id":395390,"server_id":18,"link":"photo_7309447.html","width":130,"caption":"","height":130});
															thumbnails[7309450] = clik.newPhoto({"id":7309450,"src":"9_COLLECTION_18X18_WHITE_GRID_3_thumb.jpg","galleries_id":395390,"server_id":18,"link":"photo_7309450.html","width":130,"caption":"","height":130});
															thumbnails[7309451] = clik.newPhoto({"id":7309451,"src":"9_COLLECTION_ALEX_thumb.jpg","galleries_id":395390,"server_id":18,"link":"photo_7309451.html","width":130,"caption":"","height":130});
															thumbnails[7309482] = clik.newPhoto({"id":7309482,"src":"IMG_8900_thumb.JPG","galleries_id":395391,"server_id":18,"link":"photo_7309482.html","width":130,"caption":"Family Portrait by Paul Mason Wedding and Portrait Photography, Studio at Middleton Hall, Near Drayton Manor Park. ","height":130});
															thumbnails[7361612] = clik.newPhoto({"id":7361612,"src":"IMG_1508_8x8_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361612.html","width":130,"caption":"","height":130});
															thumbnails[7361617] = clik.newPhoto({"id":7361617,"src":"IMG_1536_8x8_at_72dpi_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361617.html","width":130,"caption":"","height":130});
															thumbnails[7361620] = clik.newPhoto({"id":7361620,"src":"IMG_1556_8x8_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361620.html","width":130,"caption":"","height":130});
															thumbnails[7361624] = clik.newPhoto({"id":7361624,"src":"IMG_1556_8x81_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361624.html","width":130,"caption":"","height":130});
															thumbnails[7361626] = clik.newPhoto({"id":7361626,"src":"IMG_1593_8x8_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361626.html","width":130,"caption":"","height":130});
															thumbnails[7361630] = clik.newPhoto({"id":7361630,"src":"IMG_1607_8x8_at_72dpi_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361630.html","width":130,"caption":"","height":130});
															thumbnails[7361642] = clik.newPhoto({"id":7361642,"src":"IMG_1419_10X10_AT_72DPI_thumb.jpg","galleries_id":398350,"server_id":18,"link":"photo_7361642.html","width":130,"caption":"","height":130});
															thumbnails[8199890] = clik.newPhoto({"id":8199890,"src":"Paul_Mason_Wedding_and_Portrait_Photography_in_Tamworth_Staffs_near_Drayton_Manor_Park_-_Lifestyle_Shoot_for_Mrs_T_Darrah_10_thumb.JPG","galleries_id":398350,"server_id":18,"link":"photo_8199890.html","width":130,"caption":"","height":130});
															thumbnails[8738116] = clik.newPhoto({"id":8738116,"src":"Paul_Mason_Photography_in_Tamworth_and_Sutton_Coldfield_LifeStyle_PORTRAITS_thumb.jpg","galleries_id":460472,"server_id":18,"link":"photo_8738116.html","width":130,"caption":"Life Style PORTRAIT SESSIONS","height":130});
															thumbnails[8766004] = clik.newPhoto({"id":8766004,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_1_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766004.html","width":130,"caption":"","height":130});
															thumbnails[8766006] = clik.newPhoto({"id":8766006,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_2_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766006.html","width":130,"caption":"","height":130});
															thumbnails[8766010] = clik.newPhoto({"id":8766010,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_3_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766010.html","width":130,"caption":"","height":130});
															thumbnails[8766012] = clik.newPhoto({"id":8766012,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_4_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766012.html","width":130,"caption":"","height":130});
															thumbnails[8766014] = clik.newPhoto({"id":8766014,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_5_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766014.html","width":130,"caption":"","height":130});
															thumbnails[8766016] = clik.newPhoto({"id":8766016,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_6_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766016.html","width":130,"caption":"","height":130});
															thumbnails[8766060] = clik.newPhoto({"id":8766060,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_7_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766060.html","width":130,"caption":"","height":130});
															thumbnails[8766066] = clik.newPhoto({"id":8766066,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_8_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766066.html","width":130,"caption":"","height":130});
															thumbnails[8766071] = clik.newPhoto({"id":8766071,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_9_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766071.html","width":130,"caption":"","height":130});
															thumbnails[8766079] = clik.newPhoto({"id":8766079,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_10_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766079.html","width":130,"caption":"","height":130});
															thumbnails[8766083] = clik.newPhoto({"id":8766083,"src":"Paul_Mason_Photography_Tamworth_Staffordshire_LIFE_PORTRAITS_AUTUMN_11_thumb.jpg","galleries_id":461608,"server_id":18,"link":"photo_8766083.html","width":130,"caption":"","height":130});
															thumbnails[4770702] = clik.newPhoto({"id":4770702,"src":"17_thumb.JPG","galleries_id":273465,"server_id":18,"link":"photo_4770702.html","width":130,"caption":"Drayton Manor Park","height":130});
															thumbnails[4776231] = clik.newPhoto({"id":4776231,"src":"20_thumb.JPG","galleries_id":273465,"server_id":18,"link":"photo_4776231.html","width":130,"caption":"Drayton Manor Park","height":130});
															thumbnails[4776298] = clik.newPhoto({"id":4776298,"src":"03_thumb.JPG","galleries_id":273465,"server_id":18,"link":"photo_4776298.html","width":130,"caption":"Childrens Magician","height":130});
															thumbnails[4776300] = clik.newPhoto({"id":4776300,"src":"27_thumb.JPG","galleries_id":273465,"server_id":18,"link":"photo_4776300.html","width":130,"caption":"A Level Results","height":130});
															thumbnails[4776311] = clik.newPhoto({"id":4776311,"src":"34_thumb.JPG","galleries_id":273465,"server_id":18,"link":"photo_4776311.html","width":130,"caption":"Ex Status Quo Drummer ","height":130});
															thumbnails[4770526] = clik.newPhoto({"id":4770526,"src":"011_thumb.jpg","galleries_id":273470,"server_id":18,"link":"photo_4770526.html","width":130,"caption":"Custard Factory, Digbeth, Birmingham","height":130});
															thumbnails[4776318] = clik.newPhoto({"id":4776318,"src":"02_thumb.jpg","galleries_id":273470,"server_id":18,"link":"photo_4776318.html","width":130,"caption":"Custard Factory, Digbeth, Birmingham","height":130});
															thumbnails[4776382] = clik.newPhoto({"id":4776382,"src":"031_thumb.jpg","galleries_id":273470,"server_id":18,"link":"photo_4776382.html","width":130,"caption":"Custard Factory, Digbeth, Birmingham","height":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[273086] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Babies","link":"section328198_273086.html","maxRecords":0.0,"photoIDs":[4701990.0,7290149.0,7290152.0,7291488.0,7291494.0,7291496.0,7291498.0,7291501.0,7291505.0,7291511.0],"skipIndex":0,"section_code":"section328198","featured_images":"7291511,7291505,7291501,7291498,7291496,7291494,7291488,7290152,7290149,4701990","id":273086,"singleSection":false});				  						galleries[273114] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Babies","link":"section325167_273114.html","maxRecords":0.0,"photoIDs":[4770320.0,4770332.0,4770344.0,7311732.0,7311743.0,7311744.0,7311746.0,7311747.0,7311802.0,7311803.0,7311804.0,7311807.0,7311809.0,7311813.0,7311815.0,7312003.0],"skipIndex":0,"section_code":"section325167","featured_images":"7312003,7311815,7311813,7311809,7311807,7311804,7311803,7311802,7311747,7311746","id":273114,"singleSection":false});				  						galleries[273131] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Children","link":"section325167_273131.html","maxRecords":0.0,"photoIDs":[4702022.0,4770028.0,4770117.0,4770128.0,4770160.0,4770461.0,7309418.0],"skipIndex":0,"section_code":"section325167","featured_images":"7309418,4770461,4770160,4770128,4770117,4770028,4702022","id":273131,"singleSection":false});				  						galleries[273132] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Children","link":"section328198_273132.html","maxRecords":0.0,"photoIDs":[4770436.0,4770446.0,7309436.0,7309437.0],"skipIndex":0,"section_code":"section328198","featured_images":"7309437,7309436,4770446,4770436","id":273132,"singleSection":false});				  						galleries[395390] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Collections","link":"section328198_395390.html","maxRecords":0.0,"photoIDs":[7309445.0,7309447.0,7309450.0,7309451.0],"skipIndex":0,"section_code":"section328198","featured_images":"7309451,7309450,7309447,7309445","id":395390,"singleSection":false});				  						galleries[395391] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Families","link":"section328198_395391.html","maxRecords":0.0,"photoIDs":[7309482.0],"skipIndex":0,"section_code":"section328198","featured_images":7309482.0,"id":395391,"singleSection":false});				  						galleries[273085] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"GrandParents","link":"section328198_273085.html","maxRecords":0.0,"photoIDs":[4770455.0,4770457.0],"skipIndex":0,"section_code":"section328198","featured_images":"4770457,4770455","id":273085,"singleSection":false});				  						galleries[273465] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"journalism","link":"section325208.html","maxRecords":0.0,"photoIDs":[4770702.0,4776231.0,4776298.0,4776300.0,4776311.0],"skipIndex":0,"section_code":"section325208","featured_images":"4776311,4776300,4776298,4776231,4770702","id":273465,"singleSection":true});				  						galleries[460472] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Life Style SESSIONS","link":"section328198_460472.html","maxRecords":0.0,"photoIDs":[8738116.0],"skipIndex":0,"section_code":"section328198","featured_images":8738116.0,"id":460472,"singleSection":false});				  						galleries[273470] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"music","link":"section328546.html","maxRecords":0.0,"photoIDs":[4770526.0,4776318.0,4776382.0],"skipIndex":0,"section_code":"section328546","featured_images":"4776382,4776318,4770526","id":273470,"singleSection":true});				  						galleries[278218] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Paul Mason Studio","link":"gallery_278218.html","maxRecords":0.0,"photoIDs":[4702106.0],"skipIndex":0,"section_code":"gallery","featured_images":4702106.0,"id":278218,"singleSection":false});				  						galleries[273161] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Pets","link":"section328198_273161.html","maxRecords":0.0,"photoIDs":[4770486.0],"skipIndex":0,"section_code":"section328198","featured_images":4770486.0,"id":273161,"singleSection":false});				  						galleries[447046] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Portrait SESSIONS","link":"section325167_447046.html","maxRecords":0.0,"photoIDs":[8445034.0],"skipIndex":0,"section_code":"section325167","featured_images":8445034.0,"id":447046,"singleSection":false});				  						galleries[270456] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Pre WEDDING SHOOT","link":"section325056_270456.html","maxRecords":0.0,"photoIDs":[4767379.0,4770428.0,4777484.0,7314234.0,7314235.0,7330104.0,7330110.0,7330112.0,7330124.0,7330126.0,7330127.0,7330128.0,7330131.0,7330134.0,7330137.0,7330140.0,7330142.0,7330143.0,7330146.0,7330148.0,7330152.0,7330154.0,8443135.0,8443137.0,8443140.0,8443141.0,8443143.0,8443146.0,8443148.0,8443150.0],"skipIndex":0,"section_code":"section325056","featured_images":"8443150,8443148,8443146,8443143,8443141,8443140,8443137,8443135,7330154,7330152","id":270456,"singleSection":false});				  						galleries[270107] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Studio at Middleton Hall","link":"gallery_270107.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":270107,"singleSection":false});				  						galleries[273994] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"studio COLLECTIONS","link":"section325167_273994.html","maxRecords":0.0,"photoIDs":[4788507.0,4788509.0,4788512.0,4788513.0,7313811.0,7313812.0,7313814.0,7313815.0,7313816.0,7313818.0,7313819.0,7313820.0],"skipIndex":0,"section_code":"section325167","featured_images":"7313820,7313819,7313818,7313816,7313815,7313814,7313812,7313811,4788513,4788512","id":273994,"singleSection":false});				  						galleries[273996] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"studio MONTAGES ","link":"section325167_273996.html","maxRecords":0.0,"photoIDs":[4788557.0,4788569.0,4788571.0,4788572.0,7313824.0],"skipIndex":0,"section_code":"section325167","featured_images":"7313824,4788572,4788571,4788569,4788557","id":273996,"singleSection":false});				  						galleries[273129] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Teenagers","link":"section325167_273129.html","maxRecords":0.0,"photoIDs":[8199798.0,8199801.0,8199903.0,8199907.0,4770390.0,4770399.0],"skipIndex":0,"section_code":"section325167","featured_images":"8199907,8199903,8199801,8199798,4770399,4770390","id":273129,"singleSection":false});				  						galleries[398350] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"TEENAGERS","link":"section328198_398350.html","maxRecords":0.0,"photoIDs":[8199803.0,8199805.0,8199861.0,8199871.0,8199877.0,8199880.0,8199886.0,8199894.0,8199898.0,7361612.0,7361617.0,7361620.0,7361624.0,7361626.0,7361630.0,7361642.0,8199890.0],"skipIndex":0,"section_code":"section328198","featured_images":"8199898,8199894,8199890,8199886,8199880,8199877,8199871,8199861,8199805,8199803","id":398350,"singleSection":false});				  						galleries[461608] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Toddlers","link":"section328198_461608.html","maxRecords":0.0,"photoIDs":[8766004.0,8766006.0,8766010.0,8766012.0,8766014.0,8766016.0,8766060.0,8766066.0,8766071.0,8766079.0,8766083.0],"skipIndex":0,"section_code":"section328198","featured_images":"8766083,8766079,8766071,8766066,8766060,8766016,8766014,8766012,8766010,8766006","id":461608,"singleSection":false});				  						galleries[270298] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Wedding ART","link":"section325056_270298.html","maxRecords":0.0,"photoIDs":[4701970.0,4770404.0,4770407.0,4770417.0],"skipIndex":0,"section_code":"section325056","featured_images":"4770417,4770407,4770404,4701970","id":270298,"singleSection":false});				  						galleries[273518] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"wedding CONFETTI","link":"section325056_273518.html","maxRecords":0.0,"photoIDs":[4777878.0,4777882.0,7313827.0],"skipIndex":0,"section_code":"section325056","featured_images":"7313827,4777882,4777878","id":273518,"singleSection":false});				  						galleries[273082] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"wedding DETAILS","link":"section325056_273082.html","maxRecords":0.0,"photoIDs":[4701881.0,4767362.0,4776820.0,4776824.0,4776880.0,4776975.0,4776991.0,7313828.0,7313834.0,7313835.0],"skipIndex":0,"section_code":"section325056","featured_images":"7313835,7313834,7313828,4776991,4776975,4776880,4776824,4776820,4767362,4701881","id":273082,"singleSection":false});				  						galleries[423108] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"Wedding Packages","link":"section470832.html","maxRecords":0.0,"photoIDs":[8239871.0,8239874.0,8239878.0,8239881.0,8457972.0,8458090.0,8458100.0,8738071.0],"skipIndex":0,"section_code":"section470832","featured_images":"8738071,8458100,8458090,8457972,8239881,8239878,8239874,8239871","id":423108,"singleSection":true});				  						galleries[273513] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"wedding PORTRAITS","link":"section325056_273513.html","maxRecords":0.0,"photoIDs":[4777783.0,4777784.0,4777785.0,4777846.0,4777849.0,4777853.0,4777856.0,4876494.0,4876514.0,4876515.0,4876518.0,4876523.0,4876526.0,7312043.0,7312044.0,7312045.0,7312046.0,7312047.0,7312048.0,7312049.0],"skipIndex":0,"section_code":"section325056","featured_images":"7312049,7312048,7312047,7312046,7312045,7312044,7312043,4876526,4876523,4876518","id":273513,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8766083,8766079,8766071,8766066,8766060,8766016,8766014,8766012,8766010,8766006,8766004,8738116,8738071,8458100,8458090,8457972,8445034,8443150,8443148,8443146,8443143,8443141,8443140,8443137,8443135,8239881,8239878,8239874,8239871,8199907,8199903,8199898,8199894,8199890,8199886,8199880,8199877,8199871,8199861,8199805,8199803,8199801,8199798,7361642,7361630,7361626,7361624,7361620,7361617,7361612';
imageSets[3] = '8766083,8766079,8766071,8766066,8766060,8766016,8766014,8766012,8766010,8766006,8766004,8738116,8738071,8458100,8458090,8457972,8445034,8443150,8443148,8443146,8443143,8443141,8443140,8443137,8443135,8239881,8239878,8239874,8239871,8199907,8199903,8199898,8199894,8199890,8199886,8199880,8199877,8199871,8199861,8199805,8199803,8199801,8199798,7361642,7361630,7361626,7361624,7361620,7361617,7361612';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/p4u12506/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/p4u12506/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:'',$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 = 'Paul Mason 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>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			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;
	}
}

			

