window.thumbnails = new Object();
												thumbnails[1096686] = new thumbnail(1096686,'','','IMG_0717six_thumb.jpg',130, 98,1,'#');
												thumbnails[1096689] = new thumbnail(1096689,'','','IMG_0726six_thumb.jpg',130, 98,1,'#');
												thumbnails[1096692] = new thumbnail(1096692,'','','IMG_0730six_thumb.jpg',130, 98,1,'#');
												thumbnails[1096693] = new thumbnail(1096693,'','','IMG_8492six_thumb.jpg',130, 173,1,'#');
												thumbnails[1096697] = new thumbnail(1096697,'','','IMG_8494six_thumb.jpg',130, 174,1,'#');
												thumbnails[1096699] = new thumbnail(1096699,'','','IMG_8498six_thumb.jpg',130, 173,1,'#');
												thumbnails[1096702] = new thumbnail(1096702,'','','IMG_8499six_thumb.jpg',130, 173,1,'#');
												thumbnails[1096703] = new thumbnail(1096703,'','','IMG_8500six_thumb.jpg',130, 173,1,'#');
												thumbnails[1096704] = new thumbnail(1096704,'','','IMG_8502six_thumb.jpg',130, 173,1,'#');
												thumbnails[1096711] = new thumbnail(1096711,'','','IMG_8516six_thumb.jpg',130, 97,1,'#');
												thumbnails[1096712] = new thumbnail(1096712,'','','IMG_8519six_thumb.jpg',130, 98,1,'#');
												thumbnails[1096715] = new thumbnail(1096715,'','','IMG_8522six_thumb.jpg',130, 98,1,'#');
												thumbnails[1096718] = new thumbnail(1096718,'','','IMG_8523six_thumb.jpg',130, 98,1,'#');
												thumbnails[1096720] = new thumbnail(1096720,'','','IMG_8527six_thumb.jpg',130, 98,1,'#');
												thumbnails[1114808] = new thumbnail(1114808,'','','IMG_8554_thumb.jpg',130, 87,1,'#');
												thumbnails[1114810] = new thumbnail(1114810,'','','IMG_8555_thumb.jpg',130, 87,1,'#');
												thumbnails[1114811] = new thumbnail(1114811,'','','IMG_8565_thumb.jpg',130, 98,1,'#');
												thumbnails[1114813] = new thumbnail(1114813,'','','IMG_8569_thumb.jpg',130, 97,1,'#');
												thumbnails[1114814] = new thumbnail(1114814,'','','IMG_8671_thumb.jpg',130, 98,1,'#');
												thumbnails[1114816] = new thumbnail(1114816,'','','IMG_8681_thumb.jpg',130, 173,1,'#');
												thumbnails[1114817] = new thumbnail(1114817,'','','IMG_8688_thumb.jpg',130, 98,1,'#');
												thumbnails[1114818] = new thumbnail(1114818,'','','IMG_8694_thumb.jpg',130, 195,1,'#');
												thumbnails[1114824] = new thumbnail(1114824,'','','IMG_8698_thumb.jpg',130, 98,1,'#');
												thumbnails[1114825] = new thumbnail(1114825,'','','IMG_8702_thumb.jpg',130, 98,1,'#');
												thumbnails[1114826] = new thumbnail(1114826,'','','IMG_8718_thumb.jpg',130, 87,1,'#');
												thumbnails[1114827] = new thumbnail(1114827,'','','IMG_8720_thumb.jpg',130, 87,1,'#');
												thumbnails[1114828] = new thumbnail(1114828,'','','IMG_8732_thumb.jpg',130, 87,1,'#');
												thumbnails[253096] = new thumbnail(253096,'22335','','osmdv1-web_thumb.jpg',130, 242,1,'photo_253096.html');
												thumbnails[253097] = new thumbnail(253097,'22335','','osmdvc-web_thumb.jpg',130, 98,1,'photo_253097.html');
												thumbnails[253098] = new thumbnail(253098,'22335','','osmdvp-web_thumb.jpg',130, 197,1,'photo_253098.html');
												thumbnails[253099] = new thumbnail(253099,'22335','','osmdv-web_thumb.jpg',130, 177,1,'photo_253099.html');
												thumbnails[268986] = new thumbnail(268986,'23926','','photographer_thumb.jpg',130, 173,1,'photo_268986.html');
												thumbnails[787524] = new thumbnail(787524,'23924','','img_6782-web_thumb.jpg',130, 195,1,'photo_787524.html');
												thumbnails[787532] = new thumbnail(787532,'23924','','img_6869-web_thumb.jpg',130, 195,1,'photo_787532.html');
												thumbnails[787536] = new thumbnail(787536,'23924','','img_6876-web_thumb.jpg',130, 195,1,'photo_787536.html');
												thumbnails[983331] = new thumbnail(983331,'22335','','SWPPlogo_thumb.jpg',130, 54,1,'photo_983331.html');
												thumbnails[983338] = new thumbnail(983338,'23926','','SWPPlogo1_thumb.jpg',130, 54,1,'photo_983338.html');
												thumbnails[1035568] = new thumbnail(1035568,'77231','','IMG_8275sixeight_thumb.jpg',130, 173,1,'photo_1035568.html');
												thumbnails[1035569] = new thumbnail(1035569,'77231','','IMG_8279sixeight_thumb.jpg',130, 173,1,'photo_1035569.html');
												thumbnails[1035571] = new thumbnail(1035571,'77231','','IMG_8318sixeight_thumb.jpg',130, 173,1,'photo_1035571.html');
												thumbnails[1035572] = new thumbnail(1035572,'77231','','IMG_8322sixeight_thumb.jpg',130, 173,1,'photo_1035572.html');
												thumbnails[1036243] = new thumbnail(1036243,'77231','','IMG_8260sixeight_thumb.jpg',130, 174,1,'photo_1036243.html');
												thumbnails[1036244] = new thumbnail(1036244,'77231','','IMG_8265sixeight_thumb.jpg',130, 173,1,'photo_1036244.html');
												thumbnails[1036245] = new thumbnail(1036245,'77231','','IMG_8269sixeight_thumb.jpg',130, 173,1,'photo_1036245.html');
												thumbnails[1036246] = new thumbnail(1036246,'77231','','IMG_8284sixeight_thumb.jpg',130, 98,1,'photo_1036246.html');
												thumbnails[1036247] = new thumbnail(1036247,'77231','','IMG_8285sixeight_thumb.jpg',130, 98,1,'photo_1036247.html');
												thumbnails[1036248] = new thumbnail(1036248,'77231','','IMG_8320sixeight_thumb.jpg',130, 173,1,'photo_1036248.html');
												thumbnails[1036249] = new thumbnail(1036249,'77231','','IMG_8321sixeight_thumb.jpg',130, 174,1,'photo_1036249.html');
												thumbnails[1036250] = new thumbnail(1036250,'77231','','IMG_8325sixeight_thumb.jpg',130, 173,1,'photo_1036250.html');
												thumbnails[1036251] = new thumbnail(1036251,'77231','','IMG_8327sixeight_thumb.jpg',130, 174,1,'photo_1036251.html');
												thumbnails[1036252] = new thumbnail(1036252,'77231','','IMG_8329sixeight_thumb.jpg',130, 173,1,'photo_1036252.html');
												thumbnails[1036535] = new thumbnail(1036535,'77231','','IMG_8263sixeight_thumb.jpg',130, 173,1,'photo_1036535.html');
												thumbnails[1036537] = new thumbnail(1036537,'77231','','IMG_8278sixeight_thumb.jpg',130, 98,1,'photo_1036537.html');
												thumbnails[1036539] = new thumbnail(1036539,'77231','','IMG_8282sixeight_thumb.jpg',130, 97,1,'photo_1036539.html');
												thumbnails[1036541] = new thumbnail(1036541,'77231','','IMG_8288sixeight_thumb.jpg',130, 98,1,'photo_1036541.html');
												thumbnails[1036545] = new thumbnail(1036545,'77231','','IMG_8291sixeight_thumb.jpg',130, 97,1,'photo_1036545.html');
												thumbnails[1036548] = new thumbnail(1036548,'77231','','IMG_8306sixeight_thumb.jpg',130, 98,1,'photo_1036548.html');
												thumbnails[1036549] = new thumbnail(1036549,'77231','','IMG_8308sixeight_thumb.jpg',130, 98,1,'photo_1036549.html');
												thumbnails[1036551] = new thumbnail(1036551,'77231','','IMG_8330sixeight_thumb.jpg',130, 173,1,'photo_1036551.html');
												thumbnails[1036552] = new thumbnail(1036552,'77231','','IMG_8335sixeight_thumb.jpg',130, 173,1,'photo_1036552.html');
												thumbnails[1054116] = new thumbnail(1054116,'77231','','IMG_8338sixeight_thumb.jpg',130, 98,1,'photo_1054116.html');
												thumbnails[1054117] = new thumbnail(1054117,'77231','','IMG_8340new_thumb.jpg',130, 195,1,'photo_1054117.html');
												thumbnails[1054119] = new thumbnail(1054119,'77231','','IMG_8342sixeight_thumb.jpg',130, 98,1,'photo_1054119.html');
												thumbnails[1054120] = new thumbnail(1054120,'77231','','IMG_8343sixeight_thumb.jpg',130, 98,1,'photo_1054120.html');
												thumbnails[1054122] = new thumbnail(1054122,'77231','','IMG_8352sixeight_thumb.jpg',130, 174,1,'photo_1054122.html');
												thumbnails[1054123] = new thumbnail(1054123,'77231','','IMG_8355sixeight_thumb.jpg',130, 172,1,'photo_1054123.html');
												thumbnails[1054124] = new thumbnail(1054124,'77231','','IMG_8358sixeight_thumb.jpg',130, 97,1,'photo_1054124.html');
												thumbnails[1054125] = new thumbnail(1054125,'77231','','IMG_8359sixeight_thumb.jpg',130, 174,1,'photo_1054125.html');
												thumbnails[1054126] = new thumbnail(1054126,'77231','','IMG_8361sixeight_thumb.jpg',130, 173,1,'photo_1054126.html');
												thumbnails[1054127] = new thumbnail(1054127,'77231','','IMG_8365sixeight_thumb.jpg',130, 173,1,'photo_1054127.html');
												thumbnails[1054128] = new thumbnail(1054128,'77231','','IMG_8366sixeight_thumb.jpg',130, 173,1,'photo_1054128.html');
												thumbnails[1054129] = new thumbnail(1054129,'77231','','IMG_8367sixeight_thumb.jpg',130, 172,1,'photo_1054129.html');
												thumbnails[1054131] = new thumbnail(1054131,'77231','','IMG_8372sixeight_thumb.jpg',130, 98,1,'photo_1054131.html');
												thumbnails[1084590] = new thumbnail(1084590,'77231','','IMG_8262crop1_thumb.jpg',130, 163,1,'photo_1084590.html');
												thumbnails[1084591] = new thumbnail(1084591,'77231','','IMG_8271six_thumb.jpg',130, 173,1,'photo_1084591.html');
												thumbnails[1084592] = new thumbnail(1084592,'77231','','IMG_8296sixeight_thumb.jpg',130, 173,1,'photo_1084592.html');
												thumbnails[1084601] = new thumbnail(1084601,'77231','','IMG_8300six_thumb.jpg',130, 173,1,'photo_1084601.html');
												thumbnails[1084647] = new thumbnail(1084647,'77231','','IMG_8301sixeight_thumb.jpg',130, 173,1,'photo_1084647.html');
												thumbnails[1084664] = new thumbnail(1084664,'77231','','IMG_8315six_thumb.jpg',130, 173,1,'photo_1084664.html');
												thumbnails[1084678] = new thumbnail(1084678,'77231','','IMG_8324six_thumb.jpg',130, 173,1,'photo_1084678.html');
												thumbnails[1084696] = new thumbnail(1084696,'77231','','IMG_8380six_thumb.jpg',130, 172,1,'photo_1084696.html');
												thumbnails[1084698] = new thumbnail(1084698,'77231','','IMG_8381six_thumb.jpg',130, 174,1,'photo_1084698.html');
												thumbnails[1084702] = new thumbnail(1084702,'77231','','IMG_8384six_thumb.jpg',130, 97,1,'photo_1084702.html');
												thumbnails[1084703] = new thumbnail(1084703,'77231','','IMG_8389_thumb.jpg',130, 87,1,'photo_1084703.html');
												thumbnails[1084706] = new thumbnail(1084706,'77231','','IMG_8390_thumb.jpg',130, 87,1,'photo_1084706.html');
												thumbnails[1084786] = new thumbnail(1084786,'77231','','IMG_8394six1_thumb.jpg',130, 98,1,'photo_1084786.html');
												thumbnails[1084792] = new thumbnail(1084792,'77231','','IMG_8401six_thumb.jpg',130, 98,1,'photo_1084792.html');
												thumbnails[1084793] = new thumbnail(1084793,'77231','','IMG_8410six_thumb.jpg',130, 174,1,'photo_1084793.html');
												thumbnails[1090429] = new thumbnail(1090429,'77231','','IMG_8156six_thumb.jpg',130, 174,1,'photo_1090429.html');
												thumbnails[1090430] = new thumbnail(1090430,'77231','','IMG_8159six_thumb.jpg',130, 173,1,'photo_1090430.html');
												thumbnails[1090431] = new thumbnail(1090431,'77231','','IMG_8166six_thumb.jpg',130, 173,1,'photo_1090431.html');
												thumbnails[1090447] = new thumbnail(1090447,'77231','','IMG_8167six_thumb.jpg',130, 173,1,'photo_1090447.html');
												thumbnails[1090453] = new thumbnail(1090453,'77231','','IMG_8169six_thumb.jpg',130, 173,1,'photo_1090453.html');
												thumbnails[1090635] = new thumbnail(1090635,'77231','','IMG_8171six_thumb.jpg',130, 173,1,'photo_1090635.html');
												thumbnails[1090639] = new thumbnail(1090639,'77231','','IMG_8172six_thumb.jpg',130, 173,1,'photo_1090639.html');
												thumbnails[1090643] = new thumbnail(1090643,'77231','','IMG_8177six_thumb.jpg',130, 173,1,'photo_1090643.html');
												thumbnails[1090646] = new thumbnail(1090646,'77231','','IMG_8180six_thumb.jpg',130, 174,1,'photo_1090646.html');
												thumbnails[1090648] = new thumbnail(1090648,'77231','','IMG_8181six_thumb.jpg',130, 174,1,'photo_1090648.html');
												thumbnails[1090652] = new thumbnail(1090652,'77231','','IMG_8182six_thumb.jpg',130, 98,1,'photo_1090652.html');
												thumbnails[1090654] = new thumbnail(1090654,'77231','','IMG_8183six_thumb.jpg',130, 98,1,'photo_1090654.html');
												thumbnails[1090656] = new thumbnail(1090656,'77231','','IMG_8184six_thumb.jpg',130, 98,1,'photo_1090656.html');
												thumbnails[1090658] = new thumbnail(1090658,'77231','','IMG_8190six_thumb.jpg',130, 98,1,'photo_1090658.html');
												thumbnails[1090661] = new thumbnail(1090661,'77231','','IMG_8194six_thumb.jpg',130, 98,1,'photo_1090661.html');
												thumbnails[1090663] = new thumbnail(1090663,'77231','','IMG_8203six_thumb.jpg',130, 173,1,'photo_1090663.html');
												thumbnails[1090664] = new thumbnail(1090664,'77231','','IMG_8205six_thumb.jpg',130, 174,1,'photo_1090664.html');
												thumbnails[1090672] = new thumbnail(1090672,'77231','','IMG_8211six_thumb.jpg',130, 173,1,'photo_1090672.html');
												thumbnails[1090673] = new thumbnail(1090673,'77231','','IMG_8234six_thumb.jpg',130, 173,1,'photo_1090673.html');
												thumbnails[1090676] = new thumbnail(1090676,'77231','','IMG_8235six_thumb.jpg',130, 173,1,'photo_1090676.html');
												thumbnails[1090688] = new thumbnail(1090688,'77231','','IMG_8242six_thumb.jpg',130, 173,1,'photo_1090688.html');
												thumbnails[1090694] = new thumbnail(1090694,'77231','','IMG_8243six_thumb.jpg',130, 172,1,'photo_1090694.html');
												thumbnails[1090703] = new thumbnail(1090703,'77231','','IMG_8246six_thumb.jpg',130, 98,1,'photo_1090703.html');
												thumbnails[1090714] = new thumbnail(1090714,'77231','','IMG_8251six_thumb.jpg',130, 173,1,'photo_1090714.html');
												thumbnails[1090725] = new thumbnail(1090725,'77231','','IMG_8250six_thumb.jpg',130, 98,1,'photo_1090725.html');
												thumbnails[1090750] = new thumbnail(1090750,'77231','','IMG_8247six_thumb.jpg',130, 173,1,'photo_1090750.html');
												thumbnails[1090751] = new thumbnail(1090751,'77231','','IMG_8248six_thumb.jpg',130, 173,1,'photo_1090751.html');
												thumbnails[1114961] = new thumbnail(1114961,'77231','','IMG_8385_thumb.jpg',130, 174,1,'photo_1114961.html');
												thumbnails[1114967] = new thumbnail(1114967,'77231','','IMG_8386-1_thumb.jpg',130, 173,1,'photo_1114967.html');
												thumbnails[1114969] = new thumbnail(1114969,'77231','','IMG_8387_thumb.jpg',130, 173,1,'photo_1114969.html');
												thumbnails[1114970] = new thumbnail(1114970,'77231','','IMG_8388_thumb.jpg',130, 173,1,'photo_1114970.html');
												thumbnails[1114971] = new thumbnail(1114971,'77231','','IMG_8406_thumb.jpg',130, 173,1,'photo_1114971.html');
												thumbnails[1114973] = new thumbnail(1114973,'77231','','IMG_8411_thumb.jpg',130, 173,1,'photo_1114973.html');
												thumbnails[1114974] = new thumbnail(1114974,'77231','','IMG_8429_thumb.jpg',130, 173,1,'photo_1114974.html');
												thumbnails[1114976] = new thumbnail(1114976,'77231','','IMG_8441_thumb.jpg',130, 174,1,'photo_1114976.html');
												thumbnails[1114978] = new thumbnail(1114978,'77231','','IMG_8445_thumb.jpg',130, 172,1,'photo_1114978.html');
												thumbnails[1114980] = new thumbnail(1114980,'77231','','IMG_8446_thumb.jpg',130, 173,1,'photo_1114980.html');
												thumbnails[1114981] = new thumbnail(1114981,'77231','','IMG_8447_thumb.jpg',130, 172,1,'photo_1114981.html');
												thumbnails[1114982] = new thumbnail(1114982,'77231','','IMG_8448_thumb.jpg',130, 173,1,'photo_1114982.html');
												thumbnails[1114984] = new thumbnail(1114984,'77231','','IMG_8457_thumb.jpg',130, 173,1,'photo_1114984.html');
												thumbnails[1114985] = new thumbnail(1114985,'77231','','IMG_8458_thumb.jpg',130, 173,1,'photo_1114985.html');
												thumbnails[1114987] = new thumbnail(1114987,'77231','','IMG_8463_thumb.jpg',130, 173,1,'photo_1114987.html');
												thumbnails[1114988] = new thumbnail(1114988,'77231','','IMG_8464_thumb.jpg',130, 173,1,'photo_1114988.html');
												thumbnails[1114991] = new thumbnail(1114991,'77231','','IMG_8465_thumb.jpg',130, 173,1,'photo_1114991.html');
												thumbnails[1114992] = new thumbnail(1114992,'77231','','IMG_8469_thumb.jpg',130, 98,1,'photo_1114992.html');
												thumbnails[1114993] = new thumbnail(1114993,'77231','','IMG_8471_thumb.jpg',130, 173,1,'photo_1114993.html');
												thumbnails[1114995] = new thumbnail(1114995,'77231','','IMG_8474_thumb.jpg',130, 98,1,'photo_1114995.html');
												thumbnails[1114997] = new thumbnail(1114997,'77231','','IMG_8477-1_thumb.jpg',130, 98,1,'photo_1114997.html');
												thumbnails[1114999] = new thumbnail(1114999,'77231','','IMG_8478_thumb.jpg',130, 173,1,'photo_1114999.html');
												thumbnails[1115000] = new thumbnail(1115000,'77231','','IMG_8479_thumb.jpg',130, 173,1,'photo_1115000.html');
												thumbnails[1115001] = new thumbnail(1115001,'77231','','IMG_8482_thumb.jpg',130, 174,1,'photo_1115001.html');
												thumbnails[1115003] = new thumbnail(1115003,'77231','','IMG_8483_thumb.jpg',130, 174,1,'photo_1115003.html');
												thumbnails[1115004] = new thumbnail(1115004,'77231','','IMG_8485_thumb.jpg',130, 173,1,'photo_1115004.html');
												thumbnails[1159076] = new thumbnail(1159076,'77231','','IMG_8192six_thumb.jpg',130, 173,1,'photo_1159076.html');
												thumbnails[1159081] = new thumbnail(1159081,'77231','','IMG_8201six_thumb.jpg',130, 172,1,'photo_1159081.html');
												thumbnails[1159083] = new thumbnail(1159083,'77231','','IMG_8202six_thumb.jpg',130, 174,1,'photo_1159083.html');
												thumbnails[1165732] = new thumbnail(1165732,'77231','','IMG_8210six_thumb.jpg',130, 98,1,'photo_1165732.html');
												thumbnails[1165733] = new thumbnail(1165733,'77231','','IMG_8213six_thumb.jpg',130, 174,1,'photo_1165733.html');
												thumbnails[1165734] = new thumbnail(1165734,'77231','','IMG_8216six_thumb.jpg',130, 98,1,'photo_1165734.html');
												thumbnails[1165735] = new thumbnail(1165735,'77231','','IMG_8225six_thumb.jpg',130, 98,1,'photo_1165735.html');
												thumbnails[1165736] = new thumbnail(1165736,'77231','','IMG_8228six_thumb.jpg',130, 98,1,'photo_1165736.html');
												thumbnails[1165739] = new thumbnail(1165739,'77231','','IMG_8232six_thumb.jpg',130, 98,1,'photo_1165739.html');
												thumbnails[1165740] = new thumbnail(1165740,'77231','','IMG_8236six_thumb.jpg',130, 173,1,'photo_1165740.html');
												thumbnails[1165741] = new thumbnail(1165741,'77231','','IMG_8237six_thumb.jpg',130, 173,1,'photo_1165741.html');
												thumbnails[1165743] = new thumbnail(1165743,'77231','','IMG_8238six_thumb.jpg',130, 173,1,'photo_1165743.html');
												thumbnails[1165745] = new thumbnail(1165745,'77231','','IMG_8244six_thumb.jpg',130, 97,1,'photo_1165745.html');
												thumbnails[1165747] = new thumbnail(1165747,'77231','','IMG_8259six_thumb.jpg',130, 173,1,'photo_1165747.html');
												thumbnails[1165748] = new thumbnail(1165748,'77231','','IMG_8261six_thumb.jpg',130, 97,1,'photo_1165748.html');
												thumbnails[1165749] = new thumbnail(1165749,'77231','','IMG_8292six_thumb.jpg',130, 98,1,'photo_1165749.html');
												thumbnails[1165751] = new thumbnail(1165751,'77231','','IMG_8295six_thumb.jpg',130, 97,1,'photo_1165751.html');
												thumbnails[1165752] = new thumbnail(1165752,'77231','','IMG_8319six_thumb.jpg',130, 173,1,'photo_1165752.html');
												thumbnails[1165753] = new thumbnail(1165753,'77231','','IMG_8336six_thumb.jpg',130, 173,1,'photo_1165753.html');
												thumbnails[1165754] = new thumbnail(1165754,'77231','','IMG_8404six_thumb.jpg',130, 97,1,'photo_1165754.html');
												thumbnails[1165755] = new thumbnail(1165755,'77231','','IMG_8424six_thumb.jpg',130, 98,1,'photo_1165755.html');
												thumbnails[1165756] = new thumbnail(1165756,'77231','','IMG_84291_thumb.jpg',130, 173,1,'photo_1165756.html');
												thumbnails[1165757] = new thumbnail(1165757,'77231','','IMG_8455six_thumb.jpg',130, 98,1,'photo_1165757.html');
												thumbnails[1165758] = new thumbnail(1165758,'77231','','IMG_8459six_thumb.jpg',130, 174,1,'photo_1165758.html');
												thumbnails[1165760] = new thumbnail(1165760,'77231','','IMG_8461six_thumb.jpg',130, 174,1,'photo_1165760.html');
												thumbnails[1165761] = new thumbnail(1165761,'77231','','IMG_8468six_thumb.jpg',130, 98,1,'photo_1165761.html');
												thumbnails[1297423] = new thumbnail(1297423,'23921','','IMG_8894six_thumb.jpg',130, 98,1,'photo_1297423.html');
												thumbnails[1297428] = new thumbnail(1297428,'23924','','IMG_8675six_thumb.jpg',130, 173,1,'photo_1297428.html');
												thumbnails[1297431] = new thumbnail(1297431,'23924','','IMG_8721six_thumb.jpg',130, 173,1,'photo_1297431.html');
												thumbnails[1557827] = new thumbnail(1557827,'23926','','IMG_1831_thumb.jpg',130, 98,1,'photo_1557827.html');
												thumbnails[1930004] = new thumbnail(1930004,'23921','','IMG_8229_thumb.jpg',130, 195,1,'photo_1930004.html');
												thumbnails[3159281] = new thumbnail(3159281,'23925','','IMG_2090HSP_thumb.jpg',130, 174,1,'photo_3159281.html');
												thumbnails[3159949] = new thumbnail(3159949,'23925','','IMG_2124_thumb.jpg',130, 130,1,'photo_3159949.html');
												thumbnails[3159951] = new thumbnail(3159951,'23925','','IMG_2617HSP_thumb.jpg',130, 174,1,'photo_3159951.html');
												thumbnails[4798314] = new thumbnail(4798314,'23925','','IMG_5721_thumb.JPG',130, 195,1,'photo_4798314.html');
												thumbnails[4798632] = new thumbnail(4798632,'23925','','IMG_5731c_thumb.jpg',130, 163,1,'photo_4798632.html');
												thumbnails[5189986] = new thumbnail(5189986,'23926','','IMG_17571_thumb.jpg',130, 195,1,'photo_5189986.html');
												thumbnails[7457358] = new thumbnail(7457358,'23920','','IMG_8761_thumb.jpg',130, 87,1,'photo_7457358.html');
												thumbnails[7457366] = new thumbnail(7457366,'23920','','IMG_8884p6x8cHSP_thumb.jpg',130, 104,1,'photo_7457366.html');
												thumbnails[253123] = new thumbnail(253123,'23922','','dylan-web_thumb.jpg',130, 183,1,'photo_253123.html');
												thumbnails[253124] = new thumbnail(253124,'23925','','img_4625-web_thumb.jpg',130, 87,1,'photo_253124.html');
												thumbnails[752208] = new thumbnail(752208,'23922','','img_6776-web_thumb.jpg',130, 195,1,'photo_752208.html');
												thumbnails[752213] = new thumbnail(752213,'23924','','img_6865-web_thumb.jpg',130, 195,1,'photo_752213.html');
												thumbnails[752217] = new thumbnail(752217,'23925','','img_6890-web_thumb.jpg',130, 195,1,'photo_752217.html');
												thumbnails[787526] = new thumbnail(787526,'23924','','img_6820-web_thumb.jpg',130, 195,1,'photo_787526.html');
												thumbnails[1259965] = new thumbnail(1259965,'23921','','IMG_7977six_thumb.jpg',130, 98,1,'photo_1259965.html');
												thumbnails[1731645] = new thumbnail(1731645,'23924','','IMG_0177e1_thumb.jpg',130, 163,1,'photo_1731645.html');
												thumbnails[1731651] = new thumbnail(1731651,'23921','','IMG_0063ee1_thumb.jpg',130, 130,1,'photo_1731651.html');
												thumbnails[1929941] = new thumbnail(1929941,'23925','','IMG_0618c2_thumb.jpg',130, 174,1,'photo_1929941.html');
												thumbnails[1929972] = new thumbnail(1929972,'23925','author of The Lady of the Manor - chris marr','IMG_9187_thumb.jpg',130, 195,1,'photo_1929972.html');
												thumbnails[1930059] = new thumbnail(1930059,'23925','','DODDS 078e_thumb.jpg',130, 162,1,'photo_1930059.html');
												thumbnails[2256973] = new thumbnail(2256973,'23921','','IMG_0667E_thumb.jpg',130, 162,1,'photo_2256973.html');
												thumbnails[3266275] = new thumbnail(3266275,'23920','','IMG_3076st002_thumb.jpg',130, 87,1,'photo_3266275.html');
												thumbnails[4798312] = new thumbnail(4798312,'23924','','IMG_5774c_thumb.jpg',130, 73,1,'photo_4798312.html');
												thumbnails[4798396] = new thumbnail(4798396,'23924','','IMG_5763c_thumb.jpg',130, 105,1,'photo_4798396.html');
												thumbnails[4798634] = new thumbnail(4798634,'23924','','IMG_5803c_thumb.jpg',130, 182,1,'photo_4798634.html');
												thumbnails[5189966] = new thumbnail(5189966,'23922','','7586p6x6bw1-1_thumb.jpg',130, 130,1,'photo_5189966.html');
												thumbnails[5598438] = new thumbnail(5598438,'23920','!st place UK winner in National Photo Contest November 2009','Yammas4_thumb.jpg',130, 194,1,'photo_5598438.html');
												thumbnails[253055] = new thumbnail(253055,'23925','','img_4543-web_thumb.jpg',130, 195,1,'photo_253055.html');
												thumbnails[253125] = new thumbnail(253125,'23921','','img_4894-web_thumb.jpg',130, 195,1,'photo_253125.html');
												thumbnails[604118] = new thumbnail(604118,'23925','','wendyandy 001-web_thumb.jpg',130, 195,1,'photo_604118.html');
												thumbnails[724405] = new thumbnail(724405,'23924','','dodds 003-web_thumb.jpg',130, 195,1,'photo_724405.html');
												thumbnails[724407] = new thumbnail(724407,'23922','','dodds 016-web_thumb.jpg',130, 195,1,'photo_724407.html');
												thumbnails[1090448] = new thumbnail(1090448,'77231','','IMG_8168six_thumb.jpg',130, 174,1,'photo_1090448.html');
												thumbnails[1732443] = new thumbnail(1732443,'23921','','IMG_0312e_thumb.jpg',130, 104,1,'photo_1732443.html');
												thumbnails[2256982] = new thumbnail(2256982,'23921','','IMG_0751EE_thumb.jpg',130, 74,1,'photo_2256982.html');
												thumbnails[3266362] = new thumbnail(3266362,'23920','','IMG_3051se1_thumb.jpg',130, 98,1,'photo_3266362.html');
												thumbnails[253053] = new thumbnail(253053,'23925','','img_4241-web_thumb.jpg',130, 195,1,'photo_253053.html');
												thumbnails[253094] = new thumbnail(253094,'23924','','img_5029-web_thumb.jpg',130, 87,1,'photo_253094.html');
												thumbnails[268980] = new thumbnail(268980,'23922','','img_5771_thumb.jpg',130, 195,1,'photo_268980.html');
												thumbnails[1929944] = new thumbnail(1929944,'23925','','IMG_0633c_thumb.jpg',130, 162,1,'photo_1929944.html');
												thumbnails[1930040] = new thumbnail(1930040,'23921','','IMG_9728dunns_thumb.jpg',130, 102,1,'photo_1930040.html');
												thumbnails[7457365] = new thumbnail(7457365,'23920','','Harv_-_2011-01-30_at_21-31-17_thumb.jpg',130, 104,1,'photo_7457365.html');
												thumbnails[253056] = new thumbnail(253056,'23925','','img_4782-web_thumb.jpg',130, 195,1,'photo_253056.html');
												thumbnails[604057] = new thumbnail(604057,'23925','','wendyandy 010-web_thumb.jpg',130, 195,1,'photo_604057.html');
												thumbnails[752201] = new thumbnail(752201,'23924','','img_6736-web_thumb.jpg',130, 195,1,'photo_752201.html');
												thumbnails[787529] = new thumbnail(787529,'23924','','img_6843-web_thumb.jpg',130, 195,1,'photo_787529.html');
												thumbnails[1201531] = new thumbnail(1201531,'23924','','IMG_8598six_thumb.jpg',130, 174,1,'photo_1201531.html');
												thumbnails[1557820] = new thumbnail(1557820,'23925','','IMG_8999_thumb.jpg',130, 195,1,'photo_1557820.html');
												thumbnails[2257346] = new thumbnail(2257346,'23925','','IMG_0933e_thumb.jpg',130, 195,1,'photo_2257346.html');
												thumbnails[2257360] = new thumbnail(2257360,'23922','','IMG_0721ee_thumb.jpg',130, 162,1,'photo_2257360.html');
												thumbnails[4560844] = new thumbnail(4560844,'23920','','IMG_5290p6x8_thumb.jpg',130, 173,1,'photo_4560844.html');
												thumbnails[5598530] = new thumbnail(5598530,'23920','','Yammas6_thumb.jpg',130, 182,1,'photo_5598530.html');
												thumbnails[253092] = new thumbnail(253092,'23924','','img_5021-web_thumb.jpg',130, 87,1,'photo_253092.html');
												thumbnails[724413] = new thumbnail(724413,'23925','','dodds 044-web_thumb.jpg',130, 87,1,'photo_724413.html');
												thumbnails[1557821] = new thumbnail(1557821,'23925','','IMG_9005_thumb.jpg',130, 195,1,'photo_1557821.html');
												thumbnails[1731648] = new thumbnail(1731648,'23922','','IMG_0095e1_thumb.jpg',130, 104,1,'photo_1731648.html');
												thumbnails[2256976] = new thumbnail(2256976,'23922','','IMG_0710EE_thumb.jpg',130, 163,1,'photo_2256976.html');
												thumbnails[2256992] = new thumbnail(2256992,'23921','','IMG_0845E_thumb.jpg',130, 162,1,'photo_2256992.html');
												thumbnails[2257342] = new thumbnail(2257342,'23922','','IMG_0884e_thumb.jpg',130, 163,1,'photo_2257342.html');
												thumbnails[2586482] = new thumbnail(2586482,'23920','','IMG_1084w_thumb.jpg',130, 104,1,'photo_2586482.html');
												thumbnails[4443421] = new thumbnail(4443421,'23922','','IMG_52201_thumb.JPG',130, 195,1,'photo_4443421.html');
												thumbnails[253049] = new thumbnail(253049,'23925','','bwlucy-web_thumb.jpg',130, 99,1,'photo_253049.html');
												thumbnails[253089] = new thumbnail(253089,'23921','','img_4914-web_thumb.jpg',130, 87,1,'photo_253089.html');
												thumbnails[268984] = new thumbnail(268984,'23922','','img_5826_thumb.jpg',130, 195,1,'photo_268984.html');
												thumbnails[268987] = new thumbnail(268987,'23922','','play_thumb.jpg',130, 196,1,'photo_268987.html');
												thumbnails[724406] = new thumbnail(724406,'23924','','dodds 012-web_thumb.jpg',130, 195,1,'photo_724406.html');
												thumbnails[962524] = new thumbnail(962524,'23922','','IMG_0351_thumb.jpg',130, 173,1,'photo_962524.html');
												thumbnails[1297422] = new thumbnail(1297422,'23924','','IMG_8760six_thumb.jpg',130, 173,1,'photo_1297422.html');
												thumbnails[1557823] = new thumbnail(1557823,'23925','','IMG_9019p_thumb.jpg',130, 174,1,'photo_1557823.html');
												thumbnails[1929977] = new thumbnail(1929977,'23920','','IMG_9153e_thumb.jpg',130, 162,1,'photo_1929977.html');
												thumbnails[2256980] = new thumbnail(2256980,'23921','','IMG_0738E_thumb.jpg',130, 104,1,'photo_2256980.html');
												thumbnails[2256988] = new thumbnail(2256988,'23922','','IMG_0794E_thumb.jpg',130, 162,1,'photo_2256988.html');
												thumbnails[2257343] = new thumbnail(2257343,'23921','','IMG_0891e_thumb.jpg',130, 104,1,'photo_2257343.html');
												thumbnails[7457362] = new thumbnail(7457362,'23920','','IMG_8867colbw_p-1_thumb.jpg',130, 87,1,'photo_7457362.html');
												thumbnails[268978] = new thumbnail(268978,'23921','','img_5745_thumb.jpg',130, 195,1,'photo_268978.html');
												thumbnails[268981] = new thumbnail(268981,'23922','','img_5796_thumb.jpg',130, 195,1,'photo_268981.html');
												thumbnails[965813] = new thumbnail(965813,'23922','','img_3830ellweb_thumb.jpg',130, 207,1,'photo_965813.html');
												thumbnails[1297433] = new thumbnail(1297433,'23924','','IMG_8810six_thumb.jpg',130, 173,1,'photo_1297433.html');
												thumbnails[1929978] = new thumbnail(1929978,'23922','','IMG_0558sq_thumb.jpg',130, 130,1,'photo_1929978.html');
												thumbnails[2256978] = new thumbnail(2256978,'23921','','IMG_0735E_thumb.jpg',130, 104,1,'photo_2256978.html');
												thumbnails[2257344] = new thumbnail(2257344,'23921','','IMG_0895e_thumb.jpg',130, 104,1,'photo_2257344.html');
												thumbnails[3266336] = new thumbnail(3266336,'23920','','IMG_2774st11_thumb.jpg',130, 163,1,'photo_3266336.html');
												thumbnails[4443216] = new thumbnail(4443216,'23922','','IMG_5240_thumb.JPG',130, 87,1,'photo_4443216.html');
												thumbnails[4798527] = new thumbnail(4798527,'23924','','IMG_5771c_thumb.jpg',130, 162,1,'photo_4798527.html');
												thumbnails[253058] = new thumbnail(253058,'23921','','img_4909-web_thumb.jpg',130, 195,1,'photo_253058.html');
												thumbnails[269471] = new thumbnail(269471,'23921','','sophie21may06 1851_thumb.jpg',130, 195,1,'photo_269471.html');
												thumbnails[724410] = new thumbnail(724410,'23924','','dodds 030-web_thumb.jpg',130, 195,1,'photo_724410.html');
												thumbnails[752206] = new thumbnail(752206,'23922','','img_6771-web_thumb.jpg',130, 195,1,'photo_752206.html');
												thumbnails[752215] = new thumbnail(752215,'23925','','img_6884-web_thumb.jpg',130, 195,1,'photo_752215.html');
												thumbnails[787523] = new thumbnail(787523,'23924','','img_6777-web_thumb.jpg',130, 195,1,'photo_787523.html');
												thumbnails[1557819] = new thumbnail(1557819,'23925','','IMG_8995p_thumb.jpg',130, 173,1,'photo_1557819.html');
												thumbnails[1731996] = new thumbnail(1731996,'23925','','IMG_0271e_thumb.jpg',130, 163,1,'photo_1731996.html');
												thumbnails[1747424] = new thumbnail(1747424,'23921','','IMG_0079e_thumb.jpg',130, 162,1,'photo_1747424.html');
												thumbnails[1930069] = new thumbnail(1930069,'23921','','DODDS 041e_thumb.jpg',130, 163,1,'photo_1930069.html');
												thumbnails[2256975] = new thumbnail(2256975,'23921','','IMG_0693E_thumb.jpg',130, 130,1,'photo_2256975.html');
												thumbnails[2586479] = new thumbnail(2586479,'23920','','IMG_0956w_thumb.jpg',130, 130,1,'photo_2586479.html');
												thumbnails[268983] = new thumbnail(268983,'23922','','img_58061_thumb.jpg',130, 87,1,'photo_268983.html');
												thumbnails[269470] = new thumbnail(269470,'23922','','sophie21may06 1421_thumb.jpg',130, 195,1,'photo_269470.html');
												thumbnails[724408] = new thumbnail(724408,'23922','','dodds 019-web_thumb.jpg',130, 195,1,'photo_724408.html');
												thumbnails[787530] = new thumbnail(787530,'23924','','img_6867-web_thumb.jpg',130, 195,1,'photo_787530.html');
												thumbnails[787535] = new thumbnail(787535,'23924','','img_6875-web_thumb.jpg',130, 195,1,'photo_787535.html');
												thumbnails[1201514] = new thumbnail(1201514,'23922','','IMG_8661six_thumb.jpg',130, 173,1,'photo_1201514.html');
												thumbnails[1201525] = new thumbnail(1201525,'23922','','IMG_8511six_thumb.jpg',130, 174,1,'photo_1201525.html');
												thumbnails[1259843] = new thumbnail(1259843,'23924','','IMG_8455six-1_thumb.jpg',130, 98,1,'photo_1259843.html');
												thumbnails[1929973] = new thumbnail(1929973,'23925','','IMG_9145_thumb.jpg',130, 195,1,'photo_1929973.html');
												thumbnails[1929979] = new thumbnail(1929979,'23921','','IMG_0598e_thumb.jpg',130, 162,1,'photo_1929979.html');
												thumbnails[1929983] = new thumbnail(1929983,'23922','','IMG_9419e_thumb.jpg',130, 162,1,'photo_1929983.html');
												thumbnails[1930043] = new thumbnail(1930043,'23921','','IMG_0360ee_thumb.jpg',130, 163,1,'photo_1930043.html');
												thumbnails[2256987] = new thumbnail(2256987,'23922','','IMG_0793E_thumb.jpg',130, 162,1,'photo_2256987.html');
												thumbnails[2256989] = new thumbnail(2256989,'23922','','IMG_0798E_thumb.jpg',130, 162,1,'photo_2256989.html');
												thumbnails[4560845] = new thumbnail(4560845,'23920','','IMG_5321canvas16x20Dunns_thumb.jpg',130, 109,1,'photo_4560845.html');
												thumbnails[253045] = new thumbnail(253045,'23922','','bwdylbaby-web_thumb.jpg',130, 95,1,'photo_253045.html');
												thumbnails[268975] = new thumbnail(268975,'23920','','catportrait_thumb.jpg',130, 195,1,'photo_268975.html');
												thumbnails[1201518] = new thumbnail(1201518,'23924','','IMG_8629six_thumb.jpg',130, 174,1,'photo_1201518.html');
												thumbnails[1259845] = new thumbnail(1259845,'23924','','IMG_8603six_thumb.jpg',130, 173,1,'photo_1259845.html');
												thumbnails[1731647] = new thumbnail(1731647,'23921','','IMG_0132e1_thumb.jpg',130, 163,1,'photo_1731647.html');
												thumbnails[2257347] = new thumbnail(2257347,'23925','','IMG_0934e_thumb.jpg',130, 163,1,'photo_2257347.html');
												thumbnails[268977] = new thumbnail(268977,'23922','','img_5711_thumb.jpg',130, 87,1,'photo_268977.html');
												thumbnails[962544] = new thumbnail(962544,'23922','','IMG_8062new_thumb.jpg',130, 195,1,'photo_962544.html');
												thumbnails[2257348] = new thumbnail(2257348,'23925','','IMG_0940e_thumb.jpg',130, 162,1,'photo_2257348.html');
												thumbnails[253046] = new thumbnail(253046,'23921','','09750006-web_thumb.jpg',130, 195,1,'photo_253046.html');
												thumbnails[1085013] = new thumbnail(1085013,'23920','','IMG_8435sixeight_thumb.jpg',130, 173,1,'photo_1085013.html');
												thumbnails[1260019] = new thumbnail(1260019,'23924','','IMG_8483six-1_thumb.jpg',130, 173,1,'photo_1260019.html');
												thumbnails[2256985] = new thumbnail(2256985,'23921','','IMG_0754E_thumb.jpg',130, 104,1,'photo_2256985.html');
												thumbnails[1260016] = new thumbnail(1260016,'23922','','IMG_8509six_thumb.jpg',130, 172,1,'photo_1260016.html');
												thumbnails[1731994] = new thumbnail(1731994,'23925','','IMG_0261e_thumb.jpg',130, 163,1,'photo_1731994.html');
												thumbnails[1732444] = new thumbnail(1732444,'23925','','IMG_0338e_thumb.jpg',130, 163,1,'photo_1732444.html');
												thumbnails[269462] = new thumbnail(269462,'23921','','sophie21may06 119_thumb.jpg',130, 87,1,'photo_269462.html');
												thumbnails[960628] = new thumbnail(960628,'23922','','IMG_0330new_thumb.jpg',130, 198,1,'photo_960628.html');
												thumbnails[4443200] = new thumbnail(4443200,'23922','','IMG_5213_thumb.JPG',130, 195,1,'photo_4443200.html');
												thumbnails[752203] = new thumbnail(752203,'23922','','img_6757-web_thumb.jpg',130, 195,1,'photo_752203.html');
												thumbnails[2257171] = new thumbnail(2257171,'23922','','IMG_4429e_thumb.jpg',130, 173,1,'photo_2257171.html');
												thumbnails[2256991] = new thumbnail(2256991,'23921','','IMG_0822E_thumb.jpg',130, 104,1,'photo_2256991.html');
												thumbnails[4436660] = new thumbnail(4436660,'23922','','IMG_5229-1_thumb.JPG',130, 216,1,'photo_4436660.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[23922] = new gallery(23922,'4443216,1929978,268980,253123','babies & toddlers','gallery',[253123,752208,5189966,724407,268980,2257360,1731648,2256976,2257342,4443421,268984,268987,962524,2256988,268981,965813,1929978,4443216,752206,268983,269470,724408,1201514,1201525,1929983,2256987,2256989,253045,268977,962544,1260016,960628,4443200,752203,2257171,4436660],0, 0, '', 'gallery_23922.html',0,0);
				  					galleries[23924] = new gallery(23924,'4798634,4798527,4798396,4798312,1731645,1297428,787526,787524,752213','up to teens','gallery',[787524,787532,787536,1297428,1297431,752213,787526,1731645,4798312,4798396,4798634,724405,253094,752201,787529,1201531,253092,724406,1297422,1297433,4798527,724410,787523,787530,787535,1259843,1201518,1259845,1260019],0, 0, '', 'gallery_23924.html',0,0);
				  					galleries[23925] = new gallery(23925,'4798314,3159281,2257347,2257346,752217,253124,253055','adults','gallery',[3159281,3159949,3159951,4798314,4798632,253124,752217,1929941,1929972,1930059,253055,604118,253053,1929944,253056,604057,1557820,2257346,724413,1557821,253049,1557823,752215,1557819,1731996,1929973,2257347,2257348,1731994,1732444],0, 0, '', 'gallery_23925.html',0,0);
				  					galleries[23920] = new gallery(23920,'5598530,5598438,3266275,2586479','pets','gallery',[7457358,7457366,3266275,5598438,3266362,7457365,4560844,5598530,2586482,1929977,7457362,3266336,2586479,4560845,268975,1085013],0, 0, '', 'gallery_23920.html',0,0);
				  					galleries[23921] = new gallery(23921,'2256991,2256982,2256973,1732443,1297423','family','gallery',[1297423,1930004,1259965,1731651,2256973,253125,1732443,2256982,1930040,2256992,253089,2256980,2257343,268978,2256978,2257344,253058,269471,1747424,1930069,2256975,1929979,1930043,1731647,253046,2256985,269462,2256991],0, 0, '', 'gallery_23921.html',0,0);
				  					galleries[77231] = new gallery(77231,'1036247,1036246,1035571','Sandra & Dave\'s 25th Wedding Anniversary','gallery',[1035568,1035569,1035571,1035572,1036243,1036244,1036245,1036246,1036247,1036248,1036249,1036250,1036251,1036252,1036535,1036537,1036539,1036541,1036545,1036548,1036549,1036551,1036552,1054116,1054117,1054119,1054120,1054122,1054123,1054124,1054125,1054126,1054127,1054128,1054129,1054131,1084590,1084591,1084592,1084601,1084647,1084664,1084678,1084696,1084698,1084702,1084703,1084706,1084786,1084792,1084793,1090429,1090430,1090431,1090447,1090453,1090635,1090639,1090643,1090646,1090648,1090652,1090654,1090656,1090658,1090661,1090663,1090664,1090672,1090673,1090676,1090688,1090694,1090703,1090714,1090725,1090750,1090751,1114961,1114967,1114969,1114970,1114971,1114973,1114974,1114976,1114978,1114980,1114981,1114982,1114984,1114985,1114987,1114988,1114991,1114992,1114993,1114995,1114997,1114999,1115000,1115001,1115003,1115004,1159076,1159081,1159083,1165732,1165733,1165734,1165735,1165736,1165739,1165740,1165741,1165743,1165745,1165747,1165748,1165749,1165751,1165752,1165753,1165754,1165755,1165756,1165757,1165758,1165760,1165761,1090448],0, 0, '', 'gallery_77231.html',0,0);
				  					galleries[22335] = new gallery(22335,'253099,253098,253097,253096','Gallery ','gallery',[253096,253097,253098,253099,983331],0, 0, '', 'gallery_22335.html',0,0);
				  					galleries[23926] = new gallery(23926,'268986','photographer','gallery',[268986,983338,1557827,5189986],0, 0, '', 'gallery_23926.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '5189966,4798396,4798312,3266275,787526,253124';
imageSets[2] = '5598530,5598438,4798634,4798527,4798396,4798314,4798312,4443216,3266275,3159281,2586479,2257347,2257346,2256991,2256982,2256973,1929978,1732443,1731645,1297428,1297423,1096697,1036247,1036246,1035571,787526,787524,752217,752213,268986,268980,253124,253123,253099,253098,253097,253096,253055';
imageSets[3] = '5189966';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/judingley/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/judingley/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/judingley/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/judingley/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/judingley/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/judingley/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {

	imageID = randomListVal('');
		if (!basic) {
	img.src = photos[imageID].src;
	img.width = photos[imageID].width;
	img.height = photos[imageID].height;
  img.parentNode.title = img.alt = photos[imageID].caption;
	}
	else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
				
	}
			}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}
/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
  var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
		if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
    
  updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
  var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
      op = $.extend({},defaults,options),
      html = '', temp = '',
      photoId = op.nextPhoto.id,
      photoCaption = op.nextPhoto.caption,
      photoSrc = op.nextPhoto.src;
		
		if (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    if (op.$photo.length > 0) {
      html = $('<img/>',{
        'class': 'mainphoto photo',
        src: photoSrc,
        id: 'mainPic',
        name: 'mainPic',
        width: op.nextPhoto.width,
        height: op.nextPhoto.height,
        alt: photoCaption,
        css: op.css || {}
      });
      if (op.href) {
      	if (op.href.match(/<a/)) {
      	  html = $(op.href).append(html);
      	} else {
		  html = $('<a/>', {
			href: op.href,
			title: photoCaption
		  }).append(html);
	    }
      } else {
      	html = $('<a/>', {
			title: photoCaption
		  }).append(html);
      }
      if (op.speed == 0) {        op.$photo.html(html);        if (op.onBefore) {          op.onBefore.apply(op.$photo);        }        if (op.onAfter) {          op.onAfter.apply(op.$photo);        }      } else {        op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){            if (op.onAfter) {		    op.onAfter.apply(this);          }		  clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'home studio portraits: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp = temp + '<p>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = temp + '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
				
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
									temp = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
	temp = temp + '	<input type="hidden" name="item_option" value="' + item_option + '">';
	temp = temp + '	<input type="hidden" name="site" value="JUDINGLEY">';
		temp = temp + '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp = temp + '	<input type="hidden" name="quantity" value="1">';
								temp = temp + '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
			temp = temp + '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
	temp = temp + '</form>';
		temp = temp + '<div class="clearing">&nbsp;</div>';
	temp = temp + '<div id="confirmContainer">';
	temp = temp + '<div id="paymentConfirm">Item added to cart</div>';
	temp = temp + '</div>';
			temp = temp + '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
		
	if(img){
	      if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
        imageID = imageID[1];
      } else {
			  imageID = randomListVal(galleries[gallery_id].featured_images);
      }
							
			if (imageID != 0) {
				img.src = thumbnails[imageID].src;
				img.width = thumbnails[imageID].width;
				img.height = thumbnails[imageID].height;
				img.alt = galleries[gallery_id].title;
        if (updateLink) {
          $(img).parent().attr({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp = temp + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

