window.thumbnails = new Object();
												thumbnails[2719340] = new thumbnail(2719340,'','','pic-for-web-site-(pic-of-we_thumb.jpg',130, 93,32,'#');
												thumbnails[2727167] = new thumbnail(2727167,'','','album1_thumb.jpg',130, 92,32,'#');
												thumbnails[2727175] = new thumbnail(2727175,'','','album25_thumb.jpg',130, 92,32,'#');
												thumbnails[2727221] = new thumbnail(2727221,'','','story-book-1_thumb.jpg',130, 156,32,'#');
												thumbnails[2727222] = new thumbnail(2727222,'','','story-book-2_thumb.jpg',130, 156,32,'#');
												thumbnails[2727230] = new thumbnail(2727230,'','','story-book-4_thumb.jpg',130, 156,32,'#');
												thumbnails[2727232] = new thumbnail(2727232,'','','story-book-51_thumb.jpg',130, 156,32,'#');
												thumbnails[2727368] = new thumbnail(2727368,'','','story-book-25_thumb.jpg',130, 156,32,'#');
												thumbnails[2728838] = new thumbnail(2728838,'','','story-book-9_thumb.jpg',130, 156,32,'#');
												thumbnails[2728848] = new thumbnail(2728848,'','','story-book-22_thumb.jpg',130, 156,32,'#');
												thumbnails[5046386] = new thumbnail(5046386,'','','Ainscough_5_a_side_010_thumb.jpg',130, 195,32,'#');
												thumbnails[5046388] = new thumbnail(5046388,'','','Gurdys_photos_029_thumb.jpg',130, 195,32,'#');
												thumbnails[5046389] = new thumbnail(5046389,'','','Ian_Ashcroft_078_thumb.jpg',130, 195,32,'#');
												thumbnails[5046391] = new thumbnail(5046391,'','','Ian_Ashcroft_082_AA_thumb.jpg',130, 195,32,'#');
												thumbnails[5046394] = new thumbnail(5046394,'','','IMG_2342_thumb.JPG',130, 195,32,'#');
												thumbnails[5046395] = new thumbnail(5046395,'','','IMG_3329__aaa_thumb.jpg',130, 195,32,'#');
												thumbnails[5046399] = new thumbnail(5046399,'','','tony-lavin-d_thumb.jpg',130, 87,32,'#');
												thumbnails[5046401] = new thumbnail(5046401,'','','Untitled-1_thumb.jpg',130, 195,32,'#');
												thumbnails[5046403] = new thumbnail(5046403,'','','Untitled-2_thumb.jpg',130, 193,32,'#');
												thumbnails[5046404] = new thumbnail(5046404,'','','Untitled-3_thumb.jpg',130, 87,32,'#');
												thumbnails[5046407] = new thumbnail(5046407,'','','Untitled-4_thumb.jpg',130, 173,32,'#');
												thumbnails[5046410] = new thumbnail(5046410,'','','Untitled-5pg_thumb.jpg',130, 87,32,'#');
												thumbnails[7549554] = new thumbnail(7549554,'','untitled 092','untitled_092_4C837EF0-1EC9-DFB6-09725C45D37A63C3_thumb.jpg',130, 195,32,'#');
												thumbnails[7549560] = new thumbnail(7549560,'','untitled 097','untitled_097_4C83F7F9-1EC9-DFB6-093510DF76BD7549_thumb.jpg',130, 195,32,'#');
												thumbnails[7549563] = new thumbnail(7549563,'','untitled 100','untitled_100_4C843A10-1EC9-DFB6-0958E6159A940887_thumb.jpg',130, 195,32,'#');
												thumbnails[2683254] = new thumbnail(2683254,'169275','','16th september 2007 david and julie 353 black and white_thumb.jpg',130, 98,32,'photo_2683254.html');
												thumbnails[2683311] = new thumbnail(2683311,'169274','','Gary and Ruth wedding Photos RAW 0171_thumb.jpg',130, 173,32,'photo_2683311.html');
												thumbnails[2683330] = new thumbnail(2683330,'169274','','Gary and Ruth wedding Photos RAW 073_thumb.jpg',130, 173,32,'photo_2683330.html');
												thumbnails[2683334] = new thumbnail(2683334,'169274','','heide   1831_thumb.jpg',130, 173,32,'photo_2683334.html');
												thumbnails[2683340] = new thumbnail(2683340,'169274','','IMG_1926_thumb.jpg',130, 98,32,'photo_2683340.html');
												thumbnails[2683346] = new thumbnail(2683346,'169274','','IMG_1937_thumb.jpg',130, 173,32,'photo_2683346.html');
												thumbnails[2683356] = new thumbnail(2683356,'169274','','IMG_1960 copy_thumb.jpg',130, 173,32,'photo_2683356.html');
												thumbnails[2683364] = new thumbnail(2683364,'169274','','IMG_1961_thumb.jpg',130, 173,32,'photo_2683364.html');
												thumbnails[2683366] = new thumbnail(2683366,'169274','','our david and lara 016_thumb.jpg',130, 195,32,'photo_2683366.html');
												thumbnails[2683374] = new thumbnail(2683374,'169274','','our david and lara 025_thumb.jpg',130, 195,32,'photo_2683374.html');
												thumbnails[2683515] = new thumbnail(2683515,'169274','','our david and lara 031_thumb.jpg',130, 205,32,'photo_2683515.html');
												thumbnails[2683517] = new thumbnail(2683517,'169274','','our david and lara 270_thumb.jpg',130, 87,32,'photo_2683517.html');
												thumbnails[2683521] = new thumbnail(2683521,'169274','','our david and lara 034_thumb.jpg',130, 151,32,'photo_2683521.html');
												thumbnails[2683719] = new thumbnail(2683719,'169274','','our david and lara 046_thumb.jpg',130, 87,32,'photo_2683719.html');
												thumbnails[2683734] = new thumbnail(2683734,'169274','','our david and lara 057_thumb.jpg',130, 174,32,'photo_2683734.html');
												thumbnails[2683738] = new thumbnail(2683738,'169274','','our david and lara 080_thumb.jpg',130, 194,32,'photo_2683738.html');
												thumbnails[2683756] = new thumbnail(2683756,'169274','','our david and lara 100_thumb.jpg',130, 143,32,'photo_2683756.html');
												thumbnails[2683758] = new thumbnail(2683758,'169274','','our david and lara 157_thumb.jpg',130, 87,32,'photo_2683758.html');
												thumbnails[2683797] = new thumbnail(2683797,'169274','','our david and lara 197_thumb.jpg',130, 110,32,'photo_2683797.html');
												thumbnails[2683805] = new thumbnail(2683805,'169274','','our david and lara 293_thumb.jpg',130, 87,32,'photo_2683805.html');
												thumbnails[2683824] = new thumbnail(2683824,'169274','','our david and lara 327_thumb.jpg',130, 138,32,'photo_2683824.html');
												thumbnails[2683835] = new thumbnail(2683835,'169274','','our david and lara 0161_thumb.jpg',130, 195,32,'photo_2683835.html');
												thumbnails[2683842] = new thumbnail(2683842,'169274','','our david and lara 416_thumb.jpg',130, 173,32,'photo_2683842.html');
												thumbnails[2683844] = new thumbnail(2683844,'169275','','our david and lara 438_thumb.jpg',130, 87,32,'photo_2683844.html');
												thumbnails[2683849] = new thumbnail(2683849,'169275','','our david and lara 468_thumb.jpg',130, 107,32,'photo_2683849.html');
												thumbnails[2683853] = new thumbnail(2683853,'169275','','our david and lara 591_thumb.jpg',130, 113,32,'photo_2683853.html');
												thumbnails[2683858] = new thumbnail(2683858,'169275','','our david and lara 598_thumb.jpg',130, 116,32,'photo_2683858.html');
												thumbnails[2708019] = new thumbnail(2708019,'169275','','our david and lara 017_thumb.jpg',130, 87,32,'photo_2708019.html');
												thumbnails[2708656] = new thumbnail(2708656,'169275','','heide  2092_thumb.jpg',130, 173,32,'photo_2708656.html');
												thumbnails[2708662] = new thumbnail(2708662,'169275','','heide 0081_thumb.jpg',130, 173,32,'photo_2708662.html');
												thumbnails[2708667] = new thumbnail(2708667,'169275','','heide 0078_thumb.jpg',130, 98,32,'photo_2708667.html');
												thumbnails[2708669] = new thumbnail(2708669,'169275','','heide 70_thumb.jpg',130, 98,32,'photo_2708669.html');
												thumbnails[2708672] = new thumbnail(2708672,'169275','','heide 38_thumb.jpg',130, 98,32,'photo_2708672.html');
												thumbnails[2717451] = new thumbnail(2717451,'169275','','our david and lara 7001_thumb.jpg',130, 195,32,'photo_2717451.html');
												thumbnails[2717453] = new thumbnail(2717453,'169275','','our david and lara 762_thumb.jpg',130, 195,32,'photo_2717453.html');
												thumbnails[2717543] = new thumbnail(2717543,'169275','','wedding photos for Zoe Bamber 0411_thumb.jpg',130, 97,32,'photo_2717543.html');
												thumbnails[2717590] = new thumbnail(2717590,'169275','','wedding photos for Zoe Bamber 050_thumb.jpg',130, 87,32,'photo_2717590.html');
												thumbnails[2717591] = new thumbnail(2717591,'169275','','wedding photos for Zoe Bamber 069_thumb.jpg',130, 195,32,'photo_2717591.html');
												thumbnails[2717593] = new thumbnail(2717593,'169275','','wedding photos for Zoe Bamber 074_thumb.jpg',130, 87,32,'photo_2717593.html');
												thumbnails[2720434] = new thumbnail(2720434,'169275','','bride-14_thumb.jpg',130, 73,32,'photo_2720434.html');
												thumbnails[2720440] = new thumbnail(2720440,'169275','','bride-16_thumb.jpg',130, 73,32,'photo_2720440.html');
												thumbnails[2720444] = new thumbnail(2720444,'169275','','bride--1_thumb.jpg',130, 73,32,'photo_2720444.html');
												thumbnails[2720449] = new thumbnail(2720449,'169275','','bride-and-groom-with-brides_thumb.jpg',130, 73,32,'photo_2720449.html');
												thumbnails[2720451] = new thumbnail(2720451,'169274','','Grabbed-Frame-3_thumb.jpg',130, 73,32,'photo_2720451.html');
												thumbnails[2720456] = new thumbnail(2720456,'169274','','Grabbed-Frame-7_thumb.jpg',130, 73,32,'photo_2720456.html');
												thumbnails[2720458] = new thumbnail(2720458,'169274','','Grabbed-Frame-17_thumb.jpg',130, 73,32,'photo_2720458.html');
												thumbnails[2720462] = new thumbnail(2720462,'169274','','Grabbed-Frame-18_thumb.jpg',130, 73,32,'photo_2720462.html');
												thumbnails[2728880] = new thumbnail(2728880,'169274','','zoe-b-1_thumb.jpg',130, 195,32,'photo_2728880.html');
												thumbnails[7608151] = new thumbnail(7608151,'412613',' MG 7716','_MG_7716_thumb.jpg',130, 112,32,'photo_7608151.html');
												thumbnails[7610953] = new thumbnail(7610953,'412613',' MG 8126','_MG_8126_47B4689E-1EC9-DFB6-09FC53A95C9E8D5E_thumb.jpg',130, 87,32,'photo_7610953.html');
												thumbnails[7610984] = new thumbnail(7610984,'412613',' MG 8151','_MG_8151_thumb.jpg',130, 197,32,'photo_7610984.html');
												thumbnails[7611019] = new thumbnail(7611019,'412613',' MG 8156','_MG_8156_thumb.jpg',130, 186,32,'photo_7611019.html');
												thumbnails[7611070] = new thumbnail(7611070,'412613',' MG 8186','_MG_8186_thumb.jpg',130, 104,32,'photo_7611070.html');
												thumbnails[7611123] = new thumbnail(7611123,'412613',' MG 8211','_MG_8211_thumb.jpg',130, 195,32,'photo_7611123.html');
												thumbnails[7611179] = new thumbnail(7611179,'412844',' MG 8256','_MG_8256_thumb.jpg',130, 195,32,'photo_7611179.html');
												thumbnails[7611225] = new thumbnail(7611225,'412844',' MG 8286','_MG_8286_thumb.jpg',130, 104,32,'photo_7611225.html');
												thumbnails[7611271] = new thumbnail(7611271,'412844',' MG 8301','_MG_8301_thumb.jpg',130, 87,32,'photo_7611271.html');
												thumbnails[7611307] = new thumbnail(7611307,'412844',' MG 8320 2 ','_MG_8320_2__thumb.jpg',130, 87,32,'photo_7611307.html');
												thumbnails[7611697] = new thumbnail(7611697,'412844',' MG 8222','_MG_8222_thumb.jpg',130, 97,32,'photo_7611697.html');
												thumbnails[7611752] = new thumbnail(7611752,'412844',' MG 8227','_MG_8227_thumb.jpg',130, 153,32,'photo_7611752.html');
												thumbnails[7896011] = new thumbnail(7896011,'409373',' MG 8766','_MG_8766_thumb.JPG',130, 87,32,'photo_7896011.html');
												thumbnails[7608137] = new thumbnail(7608137,'412613',' MG 7702','_MG_7702_thumb.jpg',130, 209,32,'photo_7608137.html');
												thumbnails[7608152] = new thumbnail(7608152,'412613',' MG 7717','_MG_7717_thumb.jpg',130, 195,32,'photo_7608152.html');
												thumbnails[7608318] = new thumbnail(7608318,'412613',' MG 7728','_MG_7728_thumb.jpg',130, 87,32,'photo_7608318.html');
												thumbnails[7610954] = new thumbnail(7610954,'412613',' MG 8127','_MG_8127_thumb.jpg',130, 87,32,'photo_7610954.html');
												thumbnails[7610985] = new thumbnail(7610985,'412613',' MG 8152','_MG_8152_thumb.jpg',130, 217,32,'photo_7610985.html');
												thumbnails[7611020] = new thumbnail(7611020,'412613',' MG 8157','_MG_8157_thumb.jpg',130, 87,32,'photo_7611020.html');
												thumbnails[7611071] = new thumbnail(7611071,'412613',' MG 8187','_MG_8187_thumb.jpg',130, 104,32,'photo_7611071.html');
												thumbnails[7611124] = new thumbnail(7611124,'412613',' MG 8212','_MG_8212_thumb.jpg',130, 92,32,'photo_7611124.html');
												thumbnails[7611180] = new thumbnail(7611180,'412844',' MG 8257','_MG_8257_thumb.jpg',130, 195,32,'photo_7611180.html');
												thumbnails[7611226] = new thumbnail(7611226,'412844',' MG 8287','_MG_8287_thumb.jpg',130, 177,32,'photo_7611226.html');
												thumbnails[7611272] = new thumbnail(7611272,'412844',' MG 8302','_MG_8302_thumb.jpg',130, 87,32,'photo_7611272.html');
												thumbnails[7611698] = new thumbnail(7611698,'412844',' MG 8223','_MG_8223_thumb.jpg',130, 96,32,'photo_7611698.html');
												thumbnails[7611753] = new thumbnail(7611753,'412844',' MG 8235','_MG_8235_thumb.jpg',130, 110,32,'photo_7611753.html');
												thumbnails[7896012] = new thumbnail(7896012,'409373',' MG 8767','_MG_8767_thumb.JPG',130, 87,32,'photo_7896012.html');
												thumbnails[7608153] = new thumbnail(7608153,'412613',' MG 7718','_MG_7718_thumb.jpg',130, 87,32,'photo_7608153.html');
												thumbnails[7608319] = new thumbnail(7608319,'412613',' MG 7729','_MG_7729_thumb.jpg',130, 87,32,'photo_7608319.html');
												thumbnails[7610955] = new thumbnail(7610955,'412613',' MG 8128','_MG_8128_thumb.jpg',130, 87,32,'photo_7610955.html');
												thumbnails[7611021] = new thumbnail(7611021,'412613',' MG 8158','_MG_8158_thumb.jpg',130, 87,32,'photo_7611021.html');
												thumbnails[7611072] = new thumbnail(7611072,'412613',' MG 8188','_MG_8188_thumb.jpg',130, 189,32,'photo_7611072.html');
												thumbnails[7611125] = new thumbnail(7611125,'412613',' MG 8213','_MG_8213_thumb.jpg',130, 87,32,'photo_7611125.html');
												thumbnails[7611150] = new thumbnail(7611150,'412844',' MG 8243','_MG_8243_thumb.jpg',130, 202,32,'photo_7611150.html');
												thumbnails[7611227] = new thumbnail(7611227,'412844',' MG 8288','_MG_8288_thumb.jpg',130, 195,32,'photo_7611227.html');
												thumbnails[7611699] = new thumbnail(7611699,'412844',' MG 8225','_MG_8225_thumb.jpg',130, 98,32,'photo_7611699.html');
												thumbnails[7896013] = new thumbnail(7896013,'409373',' MG 8768','_MG_8768_thumb.JPG',130, 87,32,'photo_7896013.html');
												thumbnails[7608154] = new thumbnail(7608154,'412613',' MG 7719','_MG_7719_thumb.jpg',130, 97,32,'photo_7608154.html');
												thumbnails[7610956] = new thumbnail(7610956,'412613',' MG 8129','_MG_8129_thumb.jpg',130, 195,32,'photo_7610956.html');
												thumbnails[7610986] = new thumbnail(7610986,'412613',' MG 8154','_MG_8154_thumb.jpg',130, 195,32,'photo_7610986.html');
												thumbnails[7611022] = new thumbnail(7611022,'412613',' MG 8159','_MG_8159_thumb.jpg',130, 90,32,'photo_7611022.html');
												thumbnails[7611073] = new thumbnail(7611073,'412613',' MG 8189','_MG_8189_thumb.jpg',130, 186,32,'photo_7611073.html');
												thumbnails[7611126] = new thumbnail(7611126,'412613',' MG 8214','_MG_8214_thumb.jpg',130, 87,32,'photo_7611126.html');
												thumbnails[7611273] = new thumbnail(7611273,'412844',' MG 8304','_MG_8304_thumb.jpg',130, 195,32,'photo_7611273.html');
												thumbnails[7611309] = new thumbnail(7611309,'412844',' MG 8323','_MG_8323_thumb.jpg',130, 195,32,'photo_7611309.html');
												thumbnails[7611754] = new thumbnail(7611754,'412844',' MG 8280','_MG_8280_thumb.jpg',130, 124,32,'photo_7611754.html');
												thumbnails[7896014] = new thumbnail(7896014,'409373',' MG 8773','_MG_8773_thumb.JPG',130, 87,32,'photo_7896014.html');
												thumbnails[7608155] = new thumbnail(7608155,'412613',' MG 7720','_MG_7720_thumb.jpg',130, 195,32,'photo_7608155.html');
												thumbnails[7608321] = new thumbnail(7608321,'412613',' MG 7731','_MG_7731_thumb.jpg',130, 113,32,'photo_7608321.html');
												thumbnails[7610957] = new thumbnail(7610957,'412613',' MG 8130','_MG_8130_thumb.jpg',130, 84,32,'photo_7610957.html');
												thumbnails[7610987] = new thumbnail(7610987,'412613',' MG 8155','_MG_8155_thumb.jpg',130, 87,32,'photo_7610987.html');
												thumbnails[7611023] = new thumbnail(7611023,'412613',' MG 8160','_MG_8160_thumb.jpg',130, 87,32,'photo_7611023.html');
												thumbnails[7611074] = new thumbnail(7611074,'412613',' MG 8190','_MG_8190_thumb.jpg',130, 103,32,'photo_7611074.html');
												thumbnails[7611127] = new thumbnail(7611127,'412613',' MG 8215','_MG_8215_thumb.jpg',130, 87,32,'photo_7611127.html');
												thumbnails[7611151] = new thumbnail(7611151,'412844',' MG 8245','_MG_8245_thumb.jpg',130, 102,32,'photo_7611151.html');
												thumbnails[7611228] = new thumbnail(7611228,'412844',' MG 8290','_MG_8290_thumb.jpg',130, 97,32,'photo_7611228.html');
												thumbnails[7611274] = new thumbnail(7611274,'412844',' MG 8305','_MG_8305_thumb.jpg',130, 195,32,'photo_7611274.html');
												thumbnails[7611310] = new thumbnail(7611310,'412844',' MG 8324','_MG_8324_thumb.jpg',130, 87,32,'photo_7611310.html');
												thumbnails[7611700] = new thumbnail(7611700,'412844',' MG 8234','_MG_8234_thumb.jpg',130, 97,32,'photo_7611700.html');
												thumbnails[7896015] = new thumbnail(7896015,'409373',' MG 8774','_MG_8774_thumb.JPG',130, 87,32,'photo_7896015.html');
												thumbnails[7608138] = new thumbnail(7608138,'412613',' MG 7706','_MG_7706_thumb.jpg',130, 213,32,'photo_7608138.html');
												thumbnails[7608156] = new thumbnail(7608156,'412613',' MG 7721','_MG_7721_thumb.jpg',130, 87,32,'photo_7608156.html');
												thumbnails[7608322] = new thumbnail(7608322,'412613',' MG 7732','_MG_7732_thumb.jpg',130, 87,32,'photo_7608322.html');
												thumbnails[7610958] = new thumbnail(7610958,'412613',' MG 8131','_MG_8131_thumb.jpg',130, 184,32,'photo_7610958.html');
												thumbnails[7611024] = new thumbnail(7611024,'412613',' MG 8161','_MG_8161_thumb.jpg',130, 87,32,'photo_7611024.html');
												thumbnails[7611075] = new thumbnail(7611075,'412613',' MG 8191','_MG_8191_thumb.jpg',130, 206,32,'photo_7611075.html');
												thumbnails[7611128] = new thumbnail(7611128,'412613',' MG 8216','_MG_8216_thumb.jpg',130, 195,32,'photo_7611128.html');
												thumbnails[7611152] = new thumbnail(7611152,'412844',' MG 8247','_MG_8247_thumb.jpg',130, 155,32,'photo_7611152.html');
												thumbnails[7611229] = new thumbnail(7611229,'412844',' MG 8291','_MG_8291_thumb.jpg',130, 100,32,'photo_7611229.html');
												thumbnails[7611275] = new thumbnail(7611275,'412844',' MG 8306','_MG_8306_thumb.jpg',130, 93,32,'photo_7611275.html');
												thumbnails[7611311] = new thumbnail(7611311,'412844',' MG 8325','_MG_8325_thumb.jpg',130, 95,32,'photo_7611311.html');
												thumbnails[7608157] = new thumbnail(7608157,'412613',' MG 7722','_MG_7722_thumb.jpg',130, 116,32,'photo_7608157.html');
												thumbnails[7610959] = new thumbnail(7610959,'412613',' MG 8132','_MG_8132_thumb.jpg',130, 100,32,'photo_7610959.html');
												thumbnails[7611025] = new thumbnail(7611025,'412613',' MG 8162','_MG_8162_thumb.jpg',130, 195,32,'photo_7611025.html');
												thumbnails[7611076] = new thumbnail(7611076,'412613',' MG 8192','_MG_8192_thumb.jpg',130, 191,32,'photo_7611076.html');
												thumbnails[7611129] = new thumbnail(7611129,'412613',' MG 8217','_MG_8217_thumb.jpg',130, 195,32,'photo_7611129.html');
												thumbnails[7611153] = new thumbnail(7611153,'412844',' MG 8248','_MG_8248_thumb.jpg',130, 170,32,'photo_7611153.html');
												thumbnails[7611181] = new thumbnail(7611181,'412844',' MG 8262','_MG_8262_thumb.jpg',130, 96,32,'photo_7611181.html');
												thumbnails[7611230] = new thumbnail(7611230,'412844',' MG 8293','_MG_8293_thumb.jpg',130, 98,32,'photo_7611230.html');
												thumbnails[7611276] = new thumbnail(7611276,'412844',' MG 8307','_MG_8307_thumb.jpg',130, 195,32,'photo_7611276.html');
												thumbnails[7611312] = new thumbnail(7611312,'412844',' MG 8328','_MG_8328_thumb.jpg',130, 195,32,'photo_7611312.html');
												thumbnails[7611701] = new thumbnail(7611701,'412844',' MG 8242','_MG_8242_thumb.jpg',130, 113,32,'photo_7611701.html');
												thumbnails[7610960] = new thumbnail(7610960,'412613',' MG 8133','_MG_8133_thumb.jpg',130, 211,32,'photo_7610960.html');
												thumbnails[7611026] = new thumbnail(7611026,'412613',' MG 8163','_MG_8163_thumb.jpg',130, 83,32,'photo_7611026.html');
												thumbnails[7611077] = new thumbnail(7611077,'412613',' MG 8193','_MG_8193_thumb.jpg',130, 91,32,'photo_7611077.html');
												thumbnails[7611130] = new thumbnail(7611130,'412613',' MG 8217A','_MG_8217A_thumb.jpg',130, 195,32,'photo_7611130.html');
												thumbnails[7611154] = new thumbnail(7611154,'412844',' MG 8248A','_MG_8248A_thumb.jpg',130, 170,32,'photo_7611154.html');
												thumbnails[7611182] = new thumbnail(7611182,'412844',' MG 8263','_MG_8263_thumb.jpg',130, 98,32,'photo_7611182.html');
												thumbnails[7611206] = new thumbnail(7611206,'412844',' MG 8278','_MG_8278_thumb.jpg',130, 193,32,'photo_7611206.html');
												thumbnails[7611232] = new thumbnail(7611232,'412844',' MG 8294','_MG_8294_thumb.jpg',130, 87,32,'photo_7611232.html');
												thumbnails[7611277] = new thumbnail(7611277,'412844',' MG 8308','_MG_8308_thumb.jpg',130, 195,32,'photo_7611277.html');
												thumbnails[7611313] = new thumbnail(7611313,'412844',' MG 8329','_MG_8329_thumb.jpg',130, 101,32,'photo_7611313.html');
												thumbnails[7611702] = new thumbnail(7611702,'412844',' MG 8244','_MG_8244_thumb.jpg',130, 160,32,'photo_7611702.html');
												thumbnails[7608139] = new thumbnail(7608139,'412613',' MG 7709','_MG_7709_thumb.jpg',130, 87,32,'photo_7608139.html');
												thumbnails[7610961] = new thumbnail(7610961,'412613',' MG 8134','_MG_8134_thumb.jpg',130, 185,32,'photo_7610961.html');
												thumbnails[7611027] = new thumbnail(7611027,'412613',' MG 8164','_MG_8164_thumb.jpg',130, 195,32,'photo_7611027.html');
												thumbnails[7611078] = new thumbnail(7611078,'412613',' MG 8194','_MG_8194_thumb.jpg',130, 105,32,'photo_7611078.html');
												thumbnails[7611131] = new thumbnail(7611131,'412613',' MG 8218','_MG_8218_thumb.jpg',130, 87,32,'photo_7611131.html');
												thumbnails[7611155] = new thumbnail(7611155,'412844',' MG 8249','_MG_8249_thumb.jpg',130, 90,32,'photo_7611155.html');
												thumbnails[7611183] = new thumbnail(7611183,'412844',' MG 8264','_MG_8264_thumb.jpg',130, 98,32,'photo_7611183.html');
												thumbnails[7611233] = new thumbnail(7611233,'412844',' MG 8295','_MG_8295_thumb.jpg',130, 98,32,'photo_7611233.html');
												thumbnails[7611314] = new thumbnail(7611314,'412844',' MG 8330','_MG_8330_thumb.jpg',130, 195,32,'photo_7611314.html');
												thumbnails[7611703] = new thumbnail(7611703,'412844',' MG 8253','_MG_8253_thumb.jpg',130, 115,32,'photo_7611703.html');
												thumbnails[7608140] = new thumbnail(7608140,'412613',' MG 7711','_MG_7711_thumb.jpg',130, 195,32,'photo_7608140.html');
												thumbnails[7608542] = new thumbnail(7608542,'412613',' MG 7811','_MG_7811_thumb.jpg',130, 195,32,'photo_7608542.html');
												thumbnails[7610962] = new thumbnail(7610962,'412613',' MG 8135','_MG_8135_thumb.jpg',130, 195,32,'photo_7610962.html');
												thumbnails[7611028] = new thumbnail(7611028,'412613',' MG 8165','_MG_8165_thumb.jpg',130, 85,32,'photo_7611028.html');
												thumbnails[7611079] = new thumbnail(7611079,'412613',' MG 8195','_MG_8195_thumb.jpg',130, 87,32,'photo_7611079.html');
												thumbnails[7611132] = new thumbnail(7611132,'412613',' MG 8221','_MG_8221_thumb.jpg',130, 87,32,'photo_7611132.html');
												thumbnails[7611156] = new thumbnail(7611156,'412844',' MG 8250','_MG_8250_thumb.jpg',130, 158,32,'photo_7611156.html');
												thumbnails[7611315] = new thumbnail(7611315,'412844',' MG 8331','_MG_8331_thumb.jpg',130, 110,32,'photo_7611315.html');
												thumbnails[7611704] = new thumbnail(7611704,'412844',' MG 8254','_MG_8254_thumb.jpg',130, 108,32,'photo_7611704.html');
												thumbnails[7608141] = new thumbnail(7608141,'412613',' MG 7712','_MG_7712_thumb.jpg',130, 195,32,'photo_7608141.html');
												thumbnails[7608466] = new thumbnail(7608466,'412613',' MG 7786','_MG_7786_thumb.jpg',130, 251,32,'photo_7608466.html');
												thumbnails[7610963] = new thumbnail(7610963,'412613',' MG 8136','_MG_8136_thumb.jpg',130, 87,32,'photo_7610963.html');
												thumbnails[7611080] = new thumbnail(7611080,'412613',' MG 8196','_MG_8196_thumb.jpg',130, 89,32,'photo_7611080.html');
												thumbnails[7611157] = new thumbnail(7611157,'412613',' MG 8251','_MG_8251_thumb.jpg',130, 195,32,'photo_7611157.html');
												thumbnails[7611207] = new thumbnail(7611207,'412613',' MG 8281','_MG_8281_thumb.jpg',130, 195,32,'photo_7611207.html');
												thumbnails[7611234] = new thumbnail(7611234,'412613',' MG 8297','_MG_8297_thumb.jpg',130, 87,32,'photo_7611234.html');
												thumbnails[7611278] = new thumbnail(7611278,'412613',' MG 8311','_MG_8311_thumb.jpg',130, 89,32,'photo_7611278.html');
												thumbnails[7608143] = new thumbnail(7608143,'412613',' MG 7713','_MG_7713_thumb.jpg',130, 87,32,'photo_7608143.html');
												thumbnails[7608467] = new thumbnail(7608467,'412613',' MG 7788','_MG_7788_thumb.jpg',130, 223,32,'photo_7608467.html');
												thumbnails[7610964] = new thumbnail(7610964,'412613',' MG 8137','_MG_8137_thumb.jpg',130, 87,32,'photo_7610964.html');
												thumbnails[7611029] = new thumbnail(7611029,'412613',' MG 8167','_MG_8167_thumb.jpg',130, 113,32,'photo_7611029.html');
												thumbnails[7611081] = new thumbnail(7611081,'412613',' MG 8197','_MG_8197_thumb.jpg',130, 90,32,'photo_7611081.html');
												thumbnails[7611208] = new thumbnail(7611208,'412613',' MG 8282','_MG_8282_thumb.jpg',130, 195,32,'photo_7611208.html');
												thumbnails[7611235] = new thumbnail(7611235,'412613',' MG 8298','_MG_8298_thumb.jpg',130, 87,32,'photo_7611235.html');
												thumbnails[7611279] = new thumbnail(7611279,'412613',' MG 8312','_MG_8312_thumb.jpg',130, 212,32,'photo_7611279.html');
												thumbnails[7611705] = new thumbnail(7611705,'412613',' MG 8260','_MG_8260_thumb.jpg',130, 95,32,'photo_7611705.html');
												thumbnails[7608469] = new thumbnail(7608469,'412613',' MG 7789','_MG_7789_thumb.jpg',130, 87,32,'photo_7608469.html');
												thumbnails[7608545] = new thumbnail(7608545,'412613',' MG 8119','_MG_8119_thumb.jpg',130, 87,32,'photo_7608545.html');
												thumbnails[7610965] = new thumbnail(7610965,'412613',' MG 8138','_MG_8138_thumb.jpg',130, 181,32,'photo_7610965.html');
												thumbnails[7611030] = new thumbnail(7611030,'412613',' MG 8168','_MG_8168_thumb.jpg',130, 100,32,'photo_7611030.html');
												thumbnails[7611082] = new thumbnail(7611082,'412613',' MG 8198','_MG_8198_thumb.jpg',130, 91,32,'photo_7611082.html');
												thumbnails[7611133] = new thumbnail(7611133,'412613',' MG 8224','_MG_8224_thumb.jpg',130, 87,32,'photo_7611133.html');
												thumbnails[7611184] = new thumbnail(7611184,'412613',' MG 8269','_MG_8269_thumb.jpg',130, 98,32,'photo_7611184.html');
												thumbnails[7611209] = new thumbnail(7611209,'412613',' MG 8283','_MG_8283_thumb.jpg',130, 195,32,'photo_7611209.html');
												thumbnails[7611236] = new thumbnail(7611236,'412613',' MG 8299','_MG_8299_thumb.jpg',130, 87,32,'photo_7611236.html');
												thumbnails[7611280] = new thumbnail(7611280,'412613',' MG 8313','_MG_8313_thumb.jpg',130, 195,32,'photo_7611280.html');
												thumbnails[7611706] = new thumbnail(7611706,'412613',' MG 8261','_MG_8261_thumb.jpg',130, 94,32,'photo_7611706.html');
												thumbnails[7551068] = new thumbnail(7551068,'409373','untitled 7911','untitled_7911_53B1748E-1EC9-DFB6-0913C63C483B7A04_thumb.jpg',130, 195,32,'photo_7551068.html');
												thumbnails[7608546] = new thumbnail(7608546,'412613',' MG 8120','_MG_8120_thumb.jpg',130, 180,32,'photo_7608546.html');
												thumbnails[7610966] = new thumbnail(7610966,'412613',' MG 8139','_MG_8139_thumb.jpg',130, 89,32,'photo_7610966.html');
												thumbnails[7611031] = new thumbnail(7611031,'412613',' MG 8169','_MG_8169_thumb.jpg',130, 96,32,'photo_7611031.html');
												thumbnails[7611185] = new thumbnail(7611185,'412613',' MG 8270','_MG_8270_thumb.jpg',130, 87,32,'photo_7611185.html');
												thumbnails[7611210] = new thumbnail(7611210,'412613',' MG 8284','_MG_8284_thumb.jpg',130, 195,32,'photo_7611210.html');
												thumbnails[7611237] = new thumbnail(7611237,'412613',' MG 8300','_MG_8300_thumb.jpg',130, 195,32,'photo_7611237.html');
												thumbnails[7611282] = new thumbnail(7611282,'412613',' MG 8314','_MG_8314_thumb.jpg',130, 195,32,'photo_7611282.html');
												thumbnails[7611707] = new thumbnail(7611707,'412613',' MG 8265','_MG_8265_thumb.jpg',130, 104,32,'photo_7611707.html');
												thumbnails[7608547] = new thumbnail(7608547,'412613',' MG 8121','_MG_8121_thumb.jpg',130, 195,32,'photo_7608547.html');
												thumbnails[7610967] = new thumbnail(7610967,'412613',' MG 8140','_MG_8140_thumb.jpg',130, 87,32,'photo_7610967.html');
												thumbnails[7611032] = new thumbnail(7611032,'412613',' MG 8170','_MG_8170_thumb.jpg',130, 95,32,'photo_7611032.html');
												thumbnails[7611083] = new thumbnail(7611083,'412613',' MG 8200','_MG_8200_thumb.jpg',130, 89,32,'photo_7611083.html');
												thumbnails[7611134] = new thumbnail(7611134,'412613',' MG 8226','_MG_8226_thumb.jpg',130, 87,32,'photo_7611134.html');
												thumbnails[7611211] = new thumbnail(7611211,'412613',' MG 8285','_MG_8285_thumb.jpg',130, 195,32,'photo_7611211.html');
												thumbnails[7611283] = new thumbnail(7611283,'412613',' MG 8315','_MG_8315_thumb.jpg',130, 195,32,'photo_7611283.html');
												thumbnails[7611708] = new thumbnail(7611708,'412613',' MG 8266','_MG_8266_thumb.jpg',130, 104,32,'photo_7611708.html');
												thumbnails[7608548] = new thumbnail(7608548,'412613',' MG 8122','_MG_8122_thumb.jpg',130, 195,32,'photo_7608548.html');
												thumbnails[7610969] = new thumbnail(7610969,'412613',' MG 8141','_MG_8141_thumb.jpg',130, 86,32,'photo_7610969.html');
												thumbnails[7611033] = new thumbnail(7611033,'412613',' MG 8171','_MG_8171_thumb.jpg',130, 87,32,'photo_7611033.html');
												thumbnails[7611084] = new thumbnail(7611084,'412613',' MG 8201','_MG_8201_thumb.jpg',130, 215,32,'photo_7611084.html');
												thumbnails[7611284] = new thumbnail(7611284,'412613',' MG 8316','_MG_8316_thumb.jpg',130, 195,32,'photo_7611284.html');
												thumbnails[7611709] = new thumbnail(7611709,'412613',' MG 8268','_MG_8268_thumb.jpg',130, 99,32,'photo_7611709.html');
												thumbnails[7551186] = new thumbnail(7551186,'409373','untitled 7958','untitled_7958_541E4DDC-1EC9-DFB6-0927C3592D8315E1_thumb.jpg',130, 195,32,'photo_7551186.html');
												thumbnails[7608549] = new thumbnail(7608549,'412613',' MG 8123','_MG_8123_thumb.jpg',130, 195,32,'photo_7608549.html');
												thumbnails[7611034] = new thumbnail(7611034,'412613',' MG 8172','_MG_8172_thumb.jpg',130, 87,32,'photo_7611034.html');
												thumbnails[7611085] = new thumbnail(7611085,'412613',' MG 8202','_MG_8202_thumb.jpg',130, 237,32,'photo_7611085.html');
												thumbnails[7611135] = new thumbnail(7611135,'412613',' MG 8228','_MG_8228_thumb.jpg',130, 88,32,'photo_7611135.html');
												thumbnails[7611285] = new thumbnail(7611285,'412613',' MG 8317','_MG_8317_thumb.jpg',130, 195,32,'photo_7611285.html');
												thumbnails[7611710] = new thumbnail(7611710,'412613',' MG 8273','_MG_8273_thumb.jpg',130, 110,32,'photo_7611710.html');
												thumbnails[7608550] = new thumbnail(7608550,'412613',' MG 8124','_MG_8124_thumb.jpg',130, 195,32,'photo_7608550.html');
												thumbnails[7610970] = new thumbnail(7610970,'412613',' MG 8143','_MG_8143_thumb.jpg',130, 95,32,'photo_7610970.html');
												thumbnails[7611035] = new thumbnail(7611035,'412613',' MG 8173','_MG_8173_thumb.jpg',130, 99,32,'photo_7611035.html');
												thumbnails[7611086] = new thumbnail(7611086,'412613',' MG 8203','_MG_8203_thumb.jpg',130, 95,32,'photo_7611086.html');
												thumbnails[7611136] = new thumbnail(7611136,'412613',' MG 8229','_MG_8229_thumb.jpg',130, 87,32,'photo_7611136.html');
												thumbnails[7611287] = new thumbnail(7611287,'412613',' MG 8318','_MG_8318_thumb.jpg',130, 195,32,'photo_7611287.html');
												thumbnails[7611711] = new thumbnail(7611711,'412613',' MG 8274','_MG_8274_thumb.jpg',130, 96,32,'photo_7611711.html');
												thumbnails[7608551] = new thumbnail(7608551,'412613',' MG 8125','_MG_8125_thumb.jpg',130, 195,32,'photo_7608551.html');
												thumbnails[7610971] = new thumbnail(7610971,'412613',' MG 8144','_MG_8144_thumb.jpg',130, 195,32,'photo_7610971.html');
												thumbnails[7611036] = new thumbnail(7611036,'412613',' MG 8174','_MG_8174_thumb.jpg',130, 87,32,'photo_7611036.html');
												thumbnails[7611087] = new thumbnail(7611087,'412613',' MG 8204','_MG_8204_thumb.jpg',130, 87,32,'photo_7611087.html');
												thumbnails[7611137] = new thumbnail(7611137,'412613',' MG 8230','_MG_8230_thumb.jpg',130, 87,32,'photo_7611137.html');
												thumbnails[7611288] = new thumbnail(7611288,'412613',' MG 8319','_MG_8319_thumb.jpg',130, 99,32,'photo_7611288.html');
												thumbnails[7611712] = new thumbnail(7611712,'412613',' MG 8275','_MG_8275_thumb.jpg',130, 110,32,'photo_7611712.html');
												thumbnails[7610972] = new thumbnail(7610972,'412613',' MG 8145','_MG_8145_thumb.jpg',130, 92,32,'photo_7610972.html');
												thumbnails[7611088] = new thumbnail(7611088,'412613',' MG 8205','_MG_8205_thumb.jpg',130, 87,32,'photo_7611088.html');
												thumbnails[7611138] = new thumbnail(7611138,'412613',' MG 8231','_MG_8231_thumb.jpg',130, 195,32,'photo_7611138.html');
												thumbnails[7611289] = new thumbnail(7611289,'412613',' MG 8320','_MG_8320_thumb.jpg',130, 98,32,'photo_7611289.html');
												thumbnails[7611713] = new thumbnail(7611713,'412613',' MG 8276','_MG_8276_thumb.jpg',130, 171,32,'photo_7611713.html');
												thumbnails[7610973] = new thumbnail(7610973,'412613',' MG 8146','_MG_8146_thumb.jpg',130, 188,32,'photo_7610973.html');
												thumbnails[7611037] = new thumbnail(7611037,'412613',' MG 8176','_MG_8176_thumb.jpg',130, 100,32,'photo_7611037.html');
												thumbnails[7611089] = new thumbnail(7611089,'412613',' MG 8206','_MG_8206_thumb.jpg',130, 195,32,'photo_7611089.html');
												thumbnails[7611139] = new thumbnail(7611139,'412613',' MG 8232','_MG_8232_thumb.jpg',130, 195,32,'photo_7611139.html');
												thumbnails[7611714] = new thumbnail(7611714,'412613',' MG 8277','_MG_8277_thumb.jpg',130, 101,32,'photo_7611714.html');
												thumbnails[7608338] = new thumbnail(7608338,'412613',' MG 7749','_MG_7749_thumb.jpg',130, 117,32,'photo_7608338.html');
												thumbnails[7608391] = new thumbnail(7608391,'412613',' MG 7774','_MG_7774_thumb.jpg',130, 213,32,'photo_7608391.html');
												thumbnails[7610974] = new thumbnail(7610974,'412613',' MG 8147','_MG_8147_thumb.jpg',130, 98,32,'photo_7610974.html');
												thumbnails[7611039] = new thumbnail(7611039,'412613',' MG 8182','_MG_8182_thumb.jpg',130, 87,32,'photo_7611039.html');
												thumbnails[7611090] = new thumbnail(7611090,'412613',' MG 8207','_MG_8207_thumb.jpg',130, 195,32,'photo_7611090.html');
												thumbnails[7611140] = new thumbnail(7611140,'412613',' MG 8233','_MG_8233_thumb.jpg',130, 93,32,'photo_7611140.html');
												thumbnails[7611715] = new thumbnail(7611715,'412613',' MG 8279','_MG_8279_thumb.jpg',130, 165,32,'photo_7611715.html');
												thumbnails[7608339] = new thumbnail(7608339,'412613',' MG 7750','_MG_7750_thumb.jpg',130, 87,32,'photo_7608339.html');
												thumbnails[7608392] = new thumbnail(7608392,'412613',' MG 7775','_MG_7775_thumb.jpg',130, 195,32,'photo_7608392.html');
												thumbnails[7610975] = new thumbnail(7610975,'412613',' MG 8148','_MG_8148_thumb.jpg',130, 271,32,'photo_7610975.html');
												thumbnails[7611040] = new thumbnail(7611040,'412613',' MG 8183','_MG_8183_thumb.jpg',130, 195,32,'photo_7611040.html');
												thumbnails[7611091] = new thumbnail(7611091,'412613',' MG 8208','_MG_8208_thumb.jpg',130, 96,32,'photo_7611091.html');
												thumbnails[7608340] = new thumbnail(7608340,'412613',' MG 8126','_MG_8126_thumb.jpg',130, 87,32,'photo_7608340.html');
												thumbnails[7610976] = new thumbnail(7610976,'412613',' MG 8149','_MG_8149_thumb.jpg',130, 87,32,'photo_7610976.html');
												thumbnails[7611041] = new thumbnail(7611041,'412613',' MG 8184','_MG_8184_thumb.jpg',130, 195,32,'photo_7611041.html');
												thumbnails[7611092] = new thumbnail(7611092,'412613',' MG 8209','_MG_8209_thumb.jpg',130, 104,32,'photo_7611092.html');
												thumbnails[7611716] = new thumbnail(7611716,'412613',' MG 8289','_MG_8289_thumb.jpg',130, 105,32,'photo_7611716.html');
												thumbnails[7610977] = new thumbnail(7610977,'412613',' MG 8150','_MG_8150_thumb.jpg',130, 87,32,'photo_7610977.html');
												thumbnails[7611042] = new thumbnail(7611042,'412613',' MG 8185','_MG_8185_thumb.jpg',130, 195,32,'photo_7611042.html');
												thumbnails[7611093] = new thumbnail(7611093,'412613',' MG 8210','_MG_8210_thumb.jpg',130, 195,32,'photo_7611093.html');
												thumbnails[7611141] = new thumbnail(7611141,'412613',' MG 8236','_MG_8236_thumb.jpg',130, 87,32,'photo_7611141.html');
												thumbnails[7611717] = new thumbnail(7611717,'412613',' MG 8296','_MG_8296_thumb.jpg',130, 100,32,'photo_7611717.html');
												thumbnails[7551195] = new thumbnail(7551195,'409373','untitled 7970','untitled_7970_541F1E0D-1EC9-DFB6-095B99E623774A37_thumb.jpg',130, 87,32,'photo_7551195.html');
												thumbnails[7611142] = new thumbnail(7611142,'412613',' MG 8237','_MG_8237_thumb.jpg',130, 195,32,'photo_7611142.html');
												thumbnails[7611719] = new thumbnail(7611719,'412613',' MG 8303','_MG_8303_thumb.jpg',130, 195,32,'photo_7611719.html');
												thumbnails[7611143] = new thumbnail(7611143,'412613',' MG 8239','_MG_8239_thumb.jpg',130, 103,32,'photo_7611143.html');
												thumbnails[7611720] = new thumbnail(7611720,'412613',' MG 8309','_MG_8309_thumb.jpg',130, 95,32,'photo_7611720.html');
												thumbnails[7611144] = new thumbnail(7611144,'412613',' MG 8240','_MG_8240_thumb.jpg',130, 95,32,'photo_7611144.html');
												thumbnails[7611721] = new thumbnail(7611721,'412613',' MG 8310','_MG_8310_thumb.jpg',130, 96,32,'photo_7611721.html');
												thumbnails[7551205] = new thumbnail(7551205,'409373','untitled 7985','untitled_7985_54200432-1EC9-DFB6-090A5900D05935B7_thumb.jpg',130, 87,32,'photo_7551205.html');
												thumbnails[7551207] = new thumbnail(7551207,'409373','untitled 7991','untitled_7991_5420311E-1EC9-DFB6-09750BA6FC854855_thumb.jpg',130, 87,32,'photo_7551207.html');
												thumbnails[7551208] = new thumbnail(7551208,'409373','untitled 7993','untitled_7993_5420478D-1EC9-DFB6-09F7B2CAE3C97548_thumb.jpg',130, 87,32,'photo_7551208.html');
												thumbnails[7551215] = new thumbnail(7551215,'409373','untitled 8005','untitled_8005_5420E3CA-1EC9-DFB6-090AF2402D0A451F_thumb.jpg',130, 87,32,'photo_7551215.html');
												thumbnails[7551216] = new thumbnail(7551216,'409373','untitled 8007','untitled_8007_5420FA40-1EC9-DFB6-09F6F3994C21F37A_thumb.jpg',130, 87,32,'photo_7551216.html');
												thumbnails[7551219] = new thumbnail(7551219,'409373','untitled 8012','untitled_8012_54213CC8-1EC9-DFB6-093C71C2FBB78C13_thumb.jpg',130, 87,32,'photo_7551219.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[412844] = new gallery(412844,'7611754,7611753,7611752,7611704,7611703,7611702,7611701,7611700,7611699,7611698','Danial 2','section482357',[7611179,7611225,7611271,7611307,7611697,7611752,7611180,7611226,7611272,7611698,7611753,7611150,7611227,7611699,7611273,7611309,7611754,7611151,7611228,7611274,7611310,7611700,7611152,7611229,7611275,7611311,7611153,7611181,7611230,7611276,7611312,7611701,7611154,7611182,7611206,7611232,7611277,7611313,7611702,7611155,7611183,7611233,7611314,7611703,7611156,7611315,7611704],0, 0, '', 'section482357_412844.html',0,0);
				  					galleries[169274] = new gallery(169274,'2728880,2720462,2720458,2720456,2720451,2683842,2683835,2683824,2683805,2683797','Gallery 1','gallery',[2683311,2683330,2683334,2683340,2683346,2683356,2683364,2683366,2683374,2683515,2683517,2683521,2683719,2683734,2683738,2683756,2683758,2683797,2683805,2683824,2683835,2683842,2720451,2720456,2720458,2720462,2728880],0, 0, '', 'gallery_169274.html',0,0);
				  					galleries[169275] = new gallery(169275,'2720449,2720444,2720440,2720434,2717593,2717591,2717590,2717543,2717453,2717451','Gallery 2','gallery',[2683254,2683844,2683849,2683853,2683858,2708019,2708656,2708662,2708667,2708669,2708672,2717451,2717453,2717543,2717590,2717591,2717593,2720434,2720440,2720444,2720449],0, 0, '', 'gallery_169275.html',0,0);
				  					galleries[409373] = new gallery(409373,'7896015,7896014,7896013,7896012,7896011,7551219,7551216,7551215,7551208,7551207','Mr & Mrs Ward (bev)','section482357',[7896011,7896012,7896013,7896014,7896015,7551068,7551186,7551195,7551205,7551207,7551208,7551215,7551216,7551219],0, 0, '', 'section482357_409373.html',0,0);
				  					galleries[412613] = new gallery(412613,'7611721,7611720,7611719,7611717,7611716,7611715,7611714,7611713,7611712,7611711','Danial 21st','section482357',[7608151,7610953,7610984,7611019,7611070,7611123,7608137,7608152,7608318,7610954,7610985,7611020,7611071,7611124,7608153,7608319,7610955,7611021,7611072,7611125,7608154,7610956,7610986,7611022,7611073,7611126,7608155,7608321,7610957,7610987,7611023,7611074,7611127,7608138,7608156,7608322,7610958,7611024,7611075,7611128,7608157,7610959,7611025,7611076,7611129,7610960,7611026,7611077,7611130,7608139,7610961,7611027,7611078,7611131,7608140,7608542,7610962,7611028,7611079,7611132,7608141,7608466,7610963,7611080,7611157,7611207,7611234,7611278,7608143,7608467,7610964,7611029,7611081,7611208,7611235,7611279,7611705,7608469,7608545,7610965,7611030,7611082,7611133,7611184,7611209,7611236,7611280,7611706,7608546,7610966,7611031,7611185,7611210,7611237,7611282,7611707,7608547,7610967,7611032,7611083,7611134,7611211,7611283,7611708,7608548,7610969,7611033,7611084,7611284,7611709,7608549,7611034,7611085,7611135,7611285,7611710,7608550,7610970,7611035,7611086,7611136,7611287,7611711,7608551,7610971,7611036,7611087,7611137,7611288,7611712,7610972,7611088,7611138,7611289,7611713,7610973,7611037,7611089,7611139,7611714,7608338,7608391,7610974,7611039,7611090,7611140,7611715,7608339,7608392,7610975,7611040,7611091,7608340,7610976,7611041,7611092,7611716,7610977,7611042,7611093,7611141,7611717,7611142,7611719,7611143,7611720,7611144,7611721],0, 0, '', 'section482357_412613.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '2720456';
imageSets[3] = '7611754,7611753,7611752,7611699,7611698,7611697,7611309,7611307';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/jarmstrong/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/jarmstrong/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 = 'Armstrongs, wedding  photography & wedding video  : ' + 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 = 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="JARMSTRONG">';
		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;
	}
}

			

