window.thumbnails = {};
															thumbnails[7282163] = clik.newPhoto({"id":7282163,"src":"Hamilton_Family00699_copy_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282163.html","width":130,"caption":"","height":195});
															thumbnails[7282166] = clik.newPhoto({"id":7282166,"src":"Andy_Murphy004641_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282166.html","width":130,"caption":"","height":145});
															thumbnails[7282177] = clik.newPhoto({"id":7282177,"src":"Allan_Family00372_31_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282177.html","width":130,"caption":"","height":100});
															thumbnails[7282179] = clik.newPhoto({"id":7282179,"src":"Milne_Family00058_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282179.html","width":130,"caption":"","height":170});
															thumbnails[7282180] = clik.newPhoto({"id":7282180,"src":"Howat_Family001931_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282180.html","width":130,"caption":"","height":82});
															thumbnails[7282184] = clik.newPhoto({"id":7282184,"src":"Nathan00058_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282184.html","width":130,"caption":"","height":96});
															thumbnails[7282187] = clik.newPhoto({"id":7282187,"src":"Bratby_Family00465_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282187.html","width":130,"caption":"","height":180});
															thumbnails[7282190] = clik.newPhoto({"id":7282190,"src":"Aidan_200117_New1234_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282190.html","width":130,"caption":"","height":130});
															thumbnails[7282191] = clik.newPhoto({"id":7282191,"src":"Barbara_Hamilton00120_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282191.html","width":130,"caption":"","height":137});
															thumbnails[7282192] = clik.newPhoto({"id":7282192,"src":"Griffiths_Family002741_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282192.html","width":130,"caption":"","height":195});
															thumbnails[7282195] = clik.newPhoto({"id":7282195,"src":"Charlotte_Nicholl00416_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282195.html","width":130,"caption":"","height":98});
															thumbnails[7282197] = clik.newPhoto({"id":7282197,"src":"Abby002341_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282197.html","width":130,"caption":"","height":94});
															thumbnails[7282199] = clik.newPhoto({"id":7282199,"src":"Aidan_4_007181_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282199.html","width":130,"caption":"","height":105});
															thumbnails[7282200] = clik.newPhoto({"id":7282200,"src":"Milne_Family00250_2_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282200.html","width":130,"caption":"","height":99});
															thumbnails[7282205] = clik.newPhoto({"id":7282205,"src":"Abby002401_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282205.html","width":130,"caption":"","height":72});
															thumbnails[7282206] = clik.newPhoto({"id":7282206,"src":"Hamilton_Family00248_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282206.html","width":130,"caption":"","height":159});
															thumbnails[8271744] = clik.newPhoto({"id":8271744,"src":"Leo433_thumb.jpg","galleries_id":246970,"server_id":19,"link":"photo_8271744.html","width":130,"caption":"","height":130});
															thumbnails[7282242] = clik.newPhoto({"id":7282242,"src":"Imogen00069_2_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282242.html","width":130,"caption":"","height":104});
															thumbnails[7307207] = clik.newPhoto({"id":7307207,"src":"Isla00238_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307207.html","width":130,"caption":"","height":117});
															thumbnails[7282246] = clik.newPhoto({"id":7282246,"src":"Waugh_Family006231_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282246.html","width":130,"caption":"","height":87});
															thumbnails[7282248] = clik.newPhoto({"id":7282248,"src":"Karolina_Hayward00010_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282248.html","width":130,"caption":"","height":164});
															thumbnails[7282249] = clik.newPhoto({"id":7282249,"src":"Howat_Family00003_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282249.html","width":130,"caption":"","height":103});
															thumbnails[7282252] = clik.newPhoto({"id":7282252,"src":"Imogen00015_2_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282252.html","width":130,"caption":"","height":84});
															thumbnails[7282253] = clik.newPhoto({"id":7282253,"src":"Allan_Family00151_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282253.html","width":130,"caption":"","height":159});
															thumbnails[7282257] = clik.newPhoto({"id":7282257,"src":"Mackenzie_Family00111_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282257.html","width":130,"caption":"","height":104});
															thumbnails[7282259] = clik.newPhoto({"id":7282259,"src":"Weller_Family00561_pp12_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282259.html","width":130,"caption":"","height":78});
															thumbnails[7307196] = clik.newPhoto({"id":7307196,"src":"Christian00107_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307196.html","width":130,"caption":"","height":81});
															thumbnails[7307187] = clik.newPhoto({"id":7307187,"src":"Barbara_Hamilton00238_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307187.html","width":130,"caption":"","height":93});
															thumbnails[7282277] = clik.newPhoto({"id":7282277,"src":"Hamilton_Family007141_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282277.html","width":130,"caption":"","height":120});
															thumbnails[7282286] = clik.newPhoto({"id":7282286,"src":"Howat_Family003991_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282286.html","width":130,"caption":"","height":110});
															thumbnails[7282287] = clik.newPhoto({"id":7282287,"src":"Karolina_Hayward0005012_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282287.html","width":130,"caption":"","height":130});
															thumbnails[7282289] = clik.newPhoto({"id":7282289,"src":"Master_Family00252_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282289.html","width":130,"caption":"","height":157});
															thumbnails[7282291] = clik.newPhoto({"id":7282291,"src":"Reed_Family00088_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282291.html","width":130,"caption":"","height":97});
															thumbnails[7282293] = clik.newPhoto({"id":7282293,"src":"Abby004252_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282293.html","width":130,"caption":"","height":64});
															thumbnails[7282295] = clik.newPhoto({"id":7282295,"src":"Charlotte_Nicholl00675_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282295.html","width":130,"caption":"","height":149});
															thumbnails[7282298] = clik.newPhoto({"id":7282298,"src":"Imogen00184_2_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282298.html","width":130,"caption":"","height":80});
															thumbnails[7282301] = clik.newPhoto({"id":7282301,"src":"Niamh00026crop_copy_LS21_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282301.html","width":130,"caption":"","height":130});
															thumbnails[7282303] = clik.newPhoto({"id":7282303,"src":"Milne_Family00572_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282303.html","width":130,"caption":"","height":103});
															thumbnails[7307199] = clik.newPhoto({"id":7307199,"src":"Weller_Family00530_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307199.html","width":130,"caption":"","height":170});
															thumbnails[7307197] = clik.newPhoto({"id":7307197,"src":"Jacquie00321_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307197.html","width":130,"caption":"","height":130});
															thumbnails[7282309] = clik.newPhoto({"id":7282309,"src":"Marianne00218_crop1_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282309.html","width":130,"caption":"","height":130});
															thumbnails[7282310] = clik.newPhoto({"id":7282310,"src":"Procter_Family00309_crop1_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282310.html","width":130,"caption":"","height":101});
															thumbnails[7282311] = clik.newPhoto({"id":7282311,"src":"Waugh_Family00209_pp1.tiff_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282311.html","width":130,"caption":"","height":195});
															thumbnails[8271701] = clik.newPhoto({"id":8271701,"src":"Leo060_thumb.jpg","galleries_id":246970,"server_id":19,"link":"photo_8271701.html","width":130,"caption":"","height":130});
															thumbnails[7307201] = clik.newPhoto({"id":7307201,"src":"Stacey00747_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307201.html","width":130,"caption":"","height":60});
															thumbnails[7307198] = clik.newPhoto({"id":7307198,"src":"Nathan00099sq_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307198.html","width":130,"caption":"","height":130});
															thumbnails[7282413] = clik.newPhoto({"id":7282413,"src":"Naylor_Family006251_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282413.html","width":130,"caption":"","height":137});
															thumbnails[7282414] = clik.newPhoto({"id":7282414,"src":"Allan_Family0044912_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282414.html","width":130,"caption":"","height":56});
															thumbnails[7282416] = clik.newPhoto({"id":7282416,"src":"Scott_Family00461_2_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282416.html","width":130,"caption":"","height":78});
															thumbnails[7282417] = clik.newPhoto({"id":7282417,"src":"Weller_Family00376_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282417.html","width":130,"caption":"","height":172});
															thumbnails[7307195] = clik.newPhoto({"id":7307195,"src":"Ryan000101_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307195.html","width":130,"caption":"","height":95});
															thumbnails[7282423] = clik.newPhoto({"id":7282423,"src":"Jacquie00349_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282423.html","width":130,"caption":"","height":212});
															thumbnails[7282425] = clik.newPhoto({"id":7282425,"src":"Karolina_Hayward00339_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282425.html","width":130,"caption":"","height":176});
															thumbnails[7282456] = clik.newPhoto({"id":7282456,"src":"Niamh200066_22_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282456.html","width":130,"caption":"","height":101});
															thumbnails[7307204] = clik.newPhoto({"id":7307204,"src":"Paula00085_New_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7307204.html","width":130,"caption":"","height":99});
															thumbnails[7282467] = clik.newPhoto({"id":7282467,"src":"Rocco_And_Nico002111_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282467.html","width":130,"caption":"","height":169});
															thumbnails[7282469] = clik.newPhoto({"id":7282469,"src":"Ryan00153_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282469.html","width":130,"caption":"","height":79});
															thumbnails[7282471] = clik.newPhoto({"id":7282471,"src":"Weller_Family00068_pp_thumb.jpg","galleries_id":246970,"server_id":15,"link":"photo_7282471.html","width":130,"caption":"","height":153});
															thumbnails[7284644] = clik.newPhoto({"id":7284644,"src":"_MG_4636_Cyan_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284644.html","width":130,"caption":"","height":84});
															thumbnails[7284652] = clik.newPhoto({"id":7284652,"src":"Pritchard_Wedding007461_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284652.html","width":130,"caption":"","height":87});
															thumbnails[7284655] = clik.newPhoto({"id":7284655,"src":"Bamford_Wedding01189_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284655.html","width":130,"caption":"","height":195});
															thumbnails[7284654] = clik.newPhoto({"id":7284654,"src":"Boyd_Mitchell_Wedding009231_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284654.html","width":130,"caption":"","height":87});
															thumbnails[7284656] = clik.newPhoto({"id":7284656,"src":"Experience00062_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284656.html","width":130,"caption":"","height":80});
															thumbnails[7284658] = clik.newPhoto({"id":7284658,"src":"_MG_4667_2_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284658.html","width":130,"caption":"","height":96});
															thumbnails[7284682] = clik.newPhoto({"id":7284682,"src":"Lauren_And_John025841_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284682.html","width":130,"caption":"","height":87});
															thumbnails[7284688] = clik.newPhoto({"id":7284688,"src":"Hutton_Wedding00882_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284688.html","width":130,"caption":"","height":87});
															thumbnails[7284694] = clik.newPhoto({"id":7284694,"src":"Bamford_Wedding00399_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284694.html","width":130,"caption":"","height":87});
															thumbnails[7284698] = clik.newPhoto({"id":7284698,"src":"Boyd_Mitchell_Wedding0100712_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284698.html","width":130,"caption":"","height":87});
															thumbnails[7284700] = clik.newPhoto({"id":7284700,"src":"Bamford_Wedding00901_212_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284700.html","width":130,"caption":"","height":87});
															thumbnails[7284702] = clik.newPhoto({"id":7284702,"src":"Max_And_Lucy00027_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284702.html","width":130,"caption":"","height":95});
															thumbnails[7284706] = clik.newPhoto({"id":7284706,"src":"Lauren_And_John00046_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284706.html","width":130,"caption":"","height":87});
															thumbnails[7284709] = clik.newPhoto({"id":7284709,"src":"Matt_And_Linda00287_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284709.html","width":130,"caption":"","height":87});
															thumbnails[7284710] = clik.newPhoto({"id":7284710,"src":"Wedel_Wedding00208_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284710.html","width":130,"caption":"","height":87});
															thumbnails[7284716] = clik.newPhoto({"id":7284716,"src":"Experience00467_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284716.html","width":130,"caption":"","height":90});
															thumbnails[7839085] = clik.newPhoto({"id":7839085,"src":"Weddings00035_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839085.html","width":130,"caption":"","height":87});
															thumbnails[7839089] = clik.newPhoto({"id":7839089,"src":"Weddings00006_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839089.html","width":130,"caption":"","height":195});
															thumbnails[7839093] = clik.newPhoto({"id":7839093,"src":"Weddings00010_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839093.html","width":130,"caption":"","height":87});
															thumbnails[7284724] = clik.newPhoto({"id":7284724,"src":"MacLeod_Wedding00326_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284724.html","width":130,"caption":"","height":87});
															thumbnails[7284725] = clik.newPhoto({"id":7284725,"src":"Wedel_Wedding00072_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284725.html","width":130,"caption":"","height":87});
															thumbnails[7839099] = clik.newPhoto({"id":7839099,"src":"Weddings00042_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839099.html","width":130,"caption":"","height":87});
															thumbnails[7839102] = clik.newPhoto({"id":7839102,"src":"Weddings00054_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839102.html","width":130,"caption":"","height":87});
															thumbnails[7839103] = clik.newPhoto({"id":7839103,"src":"Weddings00081_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839103.html","width":130,"caption":"","height":195});
															thumbnails[7284746] = clik.newPhoto({"id":7284746,"src":"Pritchard_Wedding00268_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284746.html","width":130,"caption":"","height":87});
															thumbnails[7839108] = clik.newPhoto({"id":7839108,"src":"Weddings00115_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839108.html","width":130,"caption":"","height":87});
															thumbnails[7839146] = clik.newPhoto({"id":7839146,"src":"Weddings00167_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839146.html","width":130,"caption":"","height":195});
															thumbnails[7839109] = clik.newPhoto({"id":7839109,"src":"Weddings00116_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839109.html","width":130,"caption":"","height":87});
															thumbnails[7284753] = clik.newPhoto({"id":7284753,"src":"McGinness_Wedding00804_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284753.html","width":130,"caption":"","height":112});
															thumbnails[7284754] = clik.newPhoto({"id":7284754,"src":"McGinness_Wedding00487_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284754.html","width":130,"caption":"","height":87});
															thumbnails[7284751] = clik.newPhoto({"id":7284751,"src":"McGinness_Wedding00857_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284751.html","width":130,"caption":"","height":78});
															thumbnails[7839110] = clik.newPhoto({"id":7839110,"src":"Weddings00120_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839110.html","width":130,"caption":"","height":87});
															thumbnails[7284756] = clik.newPhoto({"id":7284756,"src":"Matt_And_Linda00999_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284756.html","width":130,"caption":"","height":55});
															thumbnails[7284757] = clik.newPhoto({"id":7284757,"src":"MacLeod_Wedding00857_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284757.html","width":130,"caption":"","height":87});
															thumbnails[7284760] = clik.newPhoto({"id":7284760,"src":"Boyd_Mitchell_Wedding000021_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284760.html","width":130,"caption":"","height":87});
															thumbnails[7839129] = clik.newPhoto({"id":7839129,"src":"Weddings00141_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839129.html","width":130,"caption":"","height":130});
															thumbnails[7839132] = clik.newPhoto({"id":7839132,"src":"Weddings00147_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7839132.html","width":130,"caption":"","height":87});
															thumbnails[7284764] = clik.newPhoto({"id":7284764,"src":"Lauren_And_John02655_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284764.html","width":130,"caption":"","height":87});
															thumbnails[7284765] = clik.newPhoto({"id":7284765,"src":"Jones_Wedding00259_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284765.html","width":130,"caption":"","height":87});
															thumbnails[7284766] = clik.newPhoto({"id":7284766,"src":"Hutton_Wedding00946_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284766.html","width":130,"caption":"","height":87});
															thumbnails[7284722] = clik.newPhoto({"id":7284722,"src":"McGinness_Wedding00009_crop_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284722.html","width":130,"caption":"","height":93});
															thumbnails[7284768] = clik.newPhoto({"id":7284768,"src":"Fitzgerald_Wedding014451_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284768.html","width":130,"caption":"","height":195});
															thumbnails[7284769] = clik.newPhoto({"id":7284769,"src":"McGinness_Wedding00559_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284769.html","width":130,"caption":"","height":170});
															thumbnails[7284770] = clik.newPhoto({"id":7284770,"src":"Field_Wedding00897_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284770.html","width":130,"caption":"","height":87});
															thumbnails[7839096] = clik.newPhoto({"id":7839096,"src":"Weddings00013_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7839096.html","width":130,"caption":"","height":87});
															thumbnails[7284726] = clik.newPhoto({"id":7284726,"src":"Bamford_Wedding01143_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284726.html","width":130,"caption":"","height":87});
															thumbnails[7284775] = clik.newPhoto({"id":7284775,"src":"Angela_And_Jazz01218_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284775.html","width":130,"caption":"","height":160});
															thumbnails[7284777] = clik.newPhoto({"id":7284777,"src":"Angela_And_Jazz01115_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284777.html","width":130,"caption":"","height":95});
															thumbnails[7284778] = clik.newPhoto({"id":7284778,"src":"Field_Wedding00223_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284778.html","width":130,"caption":"","height":195});
															thumbnails[7839104] = clik.newPhoto({"id":7839104,"src":"Weddings00094_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7839104.html","width":130,"caption":"","height":87});
															thumbnails[7284780] = clik.newPhoto({"id":7284780,"src":"Field_Wedding00194_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284780.html","width":130,"caption":"","height":87});
															thumbnails[7284748] = clik.newPhoto({"id":7284748,"src":"Pritchard_Wedding00072_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284748.html","width":130,"caption":"","height":87});
															thumbnails[7284782] = clik.newPhoto({"id":7284782,"src":"Experience00205_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7284782.html","width":130,"caption":"","height":173});
															thumbnails[7284783] = clik.newPhoto({"id":7284783,"src":"Bamford_Wedding00880_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284783.html","width":130,"caption":"","height":87});
															thumbnails[7839135] = clik.newPhoto({"id":7839135,"src":"Weddings00152_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7839135.html","width":130,"caption":"","height":87});
															thumbnails[7284785] = clik.newPhoto({"id":7284785,"src":"11_09_Wedding00310_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284785.html","width":130,"caption":"","height":87});
															thumbnails[7284776] = clik.newPhoto({"id":7284776,"src":"Field_Wedding00259_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284776.html","width":130,"caption":"","height":87});
															thumbnails[7284763] = clik.newPhoto({"id":7284763,"src":"Angela_And_Jazz01435_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284763.html","width":130,"caption":"","height":130});
															thumbnails[7284745] = clik.newPhoto({"id":7284745,"src":"Field_Wedding01066_thumb.JPG","galleries_id":247309,"server_id":15,"link":"photo_7284745.html","width":130,"caption":"","height":195});
															thumbnails[7839181] = clik.newPhoto({"id":7839181,"src":"McGinness_Wedding00433_thumb.jpg","galleries_id":247309,"server_id":15,"link":"photo_7839181.html","width":130,"caption":"","height":91});
															thumbnails[7292884] = clik.newPhoto({"id":7292884,"src":"Archie00202_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7292884.html","width":130,"caption":"","height":87});
															thumbnails[7292886] = clik.newPhoto({"id":7292886,"src":"Speckle_And_Schoolie00095_3a_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7292886.html","width":130,"caption":"","height":166});
															thumbnails[7293096] = clik.newPhoto({"id":7293096,"src":"Paterson_Family00482_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293096.html","width":130,"caption":"","height":87});
															thumbnails[7293100] = clik.newPhoto({"id":7293100,"src":"Bill_Ben__Ivory00269_2_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293100.html","width":130,"caption":"","height":80});
															thumbnails[7293103] = clik.newPhoto({"id":7293103,"src":"Archie00157_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293103.html","width":130,"caption":"","height":166});
															thumbnails[7293104] = clik.newPhoto({"id":7293104,"src":"Max_And_Mushi00160_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293104.html","width":130,"caption":"","height":83});
															thumbnails[7293107] = clik.newPhoto({"id":7293107,"src":"Archie00167_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293107.html","width":130,"caption":"","height":98});
															thumbnails[7293109] = clik.newPhoto({"id":7293109,"src":"Bill_Ben__Ivory00097_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293109.html","width":130,"caption":"","height":152});
															thumbnails[7293111] = clik.newPhoto({"id":7293111,"src":"Bill_Ben__Ivory00246_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293111.html","width":130,"caption":"","height":119});
															thumbnails[7293114] = clik.newPhoto({"id":7293114,"src":"Ben_And_Mia00050_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293114.html","width":130,"caption":"","height":83});
															thumbnails[7293116] = clik.newPhoto({"id":7293116,"src":"Morse00115_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293116.html","width":130,"caption":"","height":80});
															thumbnails[7293117] = clik.newPhoto({"id":7293117,"src":"Marley00113_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293117.html","width":130,"caption":"","height":157});
															thumbnails[7293120] = clik.newPhoto({"id":7293120,"src":"Speckle_And_Schoolie00226_2_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293120.html","width":130,"caption":"","height":79});
															thumbnails[7293121] = clik.newPhoto({"id":7293121,"src":"Bella00077_New12_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293121.html","width":130,"caption":"","height":104});
															thumbnails[7293123] = clik.newPhoto({"id":7293123,"src":"Ben_And_Mia00022_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293123.html","width":130,"caption":"","height":143});
															thumbnails[7293128] = clik.newPhoto({"id":7293128,"src":"Bruno_And_Lennox00115_crop2_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293128.html","width":130,"caption":"","height":130});
															thumbnails[7293131] = clik.newPhoto({"id":7293131,"src":"Bella00287_New_thumb.jpg","galleries_id":247310,"server_id":15,"link":"photo_7293131.html","width":130,"caption":"","height":109});
															thumbnails[7291491] = clik.newPhoto({"id":7291491,"src":"Israel00715_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291491.html","width":130,"caption":"","height":87});
															thumbnails[7291493] = clik.newPhoto({"id":7291493,"src":"Holland00208a_copy_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291493.html","width":130,"caption":"","height":86});
															thumbnails[7291495] = clik.newPhoto({"id":7291495,"src":"RGA_13017_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291495.html","width":130,"caption":"","height":141});
															thumbnails[7291497] = clik.newPhoto({"id":7291497,"src":"Just_Dogs00064_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291497.html","width":130,"caption":"","height":98});
															thumbnails[7291499] = clik.newPhoto({"id":7291499,"src":"Nusi_300724_crop4_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291499.html","width":130,"caption":"","height":106});
															thumbnails[7291500] = clik.newPhoto({"id":7291500,"src":"IMG_6999_Dupe_Crop_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291500.html","width":130,"caption":"","height":130});
															thumbnails[7291503] = clik.newPhoto({"id":7291503,"src":"Chile00411_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291503.html","width":130,"caption":"","height":87});
															thumbnails[7291504] = clik.newPhoto({"id":7291504,"src":"EA_Ball00596bw_thumb.JPG","galleries_id":283919,"server_id":15,"link":"photo_7291504.html","width":130,"caption":"","height":130});
															thumbnails[7291507] = clik.newPhoto({"id":7291507,"src":"Glasgow00015_copy_exhibition_fix_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291507.html","width":130,"caption":"","height":92});
															thumbnails[7291508] = clik.newPhoto({"id":7291508,"src":"Edinburgh00110_copy_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291508.html","width":130,"caption":"","height":130});
															thumbnails[7291509] = clik.newPhoto({"id":7291509,"src":"UV4007_pp.tiff_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291509.html","width":130,"caption":"","height":193});
															thumbnails[7291512] = clik.newPhoto({"id":7291512,"src":"Lisbon00062_copy_2_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291512.html","width":130,"caption":"","height":174});
															thumbnails[7291513] = clik.newPhoto({"id":7291513,"src":"Nusi_300088_crop_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291513.html","width":130,"caption":"","height":178});
															thumbnails[7291515] = clik.newPhoto({"id":7291515,"src":"St_Margarets00308_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291515.html","width":130,"caption":"","height":195});
															thumbnails[7291517] = clik.newPhoto({"id":7291517,"src":"UV5012_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291517.html","width":130,"caption":"","height":161});
															thumbnails[7291510] = clik.newPhoto({"id":7291510,"src":"Law_Society00382_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291510.html","width":130,"caption":"","height":98});
															thumbnails[7291514] = clik.newPhoto({"id":7291514,"src":"RGA_09040_thumb.jpg","galleries_id":283919,"server_id":15,"link":"photo_7291514.html","width":130,"caption":"","height":120});
															thumbnails[7290980] = clik.newPhoto({"id":7290980,"src":"Danni00029_pp_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290980.html","width":130,"caption":"","height":94});
															thumbnails[7290981] = clik.newPhoto({"id":7290981,"src":"Ngoni00055_pp_2_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290981.html","width":130,"caption":"","height":119});
															thumbnails[7290982] = clik.newPhoto({"id":7290982,"src":"Rona_Leslie00077_3_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290982.html","width":130,"caption":"","height":111});
															thumbnails[7290983] = clik.newPhoto({"id":7290983,"src":"Cerise30013cropcolour2_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290983.html","width":130,"caption":"","height":101});
															thumbnails[7290984] = clik.newPhoto({"id":7290984,"src":"Filo00614_2_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290984.html","width":130,"caption":"","height":89});
															thumbnails[7290985] = clik.newPhoto({"id":7290985,"src":"Marcelle00265_pp_crop2_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290985.html","width":130,"caption":"","height":130});
															thumbnails[7290986] = clik.newPhoto({"id":7290986,"src":"Abby00491_pp_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290986.html","width":130,"caption":"","height":89});
															thumbnails[7290987] = clik.newPhoto({"id":7290987,"src":"Emily00558_pp_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290987.html","width":130,"caption":"","height":158});
															thumbnails[7290988] = clik.newPhoto({"id":7290988,"src":"Nusi00076_FTBW_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290988.html","width":130,"caption":"","height":130});
															thumbnails[7290989] = clik.newPhoto({"id":7290989,"src":"Claire00199_pp_full_border_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290989.html","width":130,"caption":"","height":172});
															thumbnails[7290990] = clik.newPhoto({"id":7290990,"src":"Busisa00078_1_border_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290990.html","width":130,"caption":"","height":94});
															thumbnails[7290991] = clik.newPhoto({"id":7290991,"src":"Nicole00878_pp2_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290991.html","width":130,"caption":"","height":153});
															thumbnails[7290992] = clik.newPhoto({"id":7290992,"src":"Cerise00104crop_pp_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290992.html","width":130,"caption":"","height":86});
															thumbnails[7290993] = clik.newPhoto({"id":7290993,"src":"Sarah20033_bw_crop_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290993.html","width":130,"caption":"","height":115});
															thumbnails[7290994] = clik.newPhoto({"id":7290994,"src":"Cerise20214_crop_pp_flat_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290994.html","width":130,"caption":"","height":114});
															thumbnails[7290995] = clik.newPhoto({"id":7290995,"src":"Danni00038_2_pp_crop1_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290995.html","width":130,"caption":"","height":115});
															thumbnails[7290996] = clik.newPhoto({"id":7290996,"src":"Radhika00058_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290996.html","width":130,"caption":"","height":150});
															thumbnails[7290997] = clik.newPhoto({"id":7290997,"src":"Sinothile00528_crop_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290997.html","width":130,"caption":"","height":175});
															thumbnails[7290998] = clik.newPhoto({"id":7290998,"src":"Virginia00015border_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290998.html","width":130,"caption":"","height":81});
															thumbnails[7290999] = clik.newPhoto({"id":7290999,"src":"Weller_Family00530_pp212_thumb.jpg","galleries_id":246969,"server_id":15,"link":"photo_7290999.html","width":130,"caption":"","height":174});
															thumbnails[7290894] = clik.newPhoto({"id":7290894,"src":"Danielle_2_00421cyan_soft1_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290894.html","width":130,"caption":"","height":173});
															thumbnails[7290896] = clik.newPhoto({"id":7290896,"src":"Danielle_2_00097_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290896.html","width":130,"caption":"","height":87});
															thumbnails[7290897] = clik.newPhoto({"id":7290897,"src":"AJ200348crop_2_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290897.html","width":130,"caption":"","height":188});
															thumbnails[7290898] = clik.newPhoto({"id":7290898,"src":"Cerise30442_cyan_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290898.html","width":130,"caption":"","height":105});
															thumbnails[7290899] = clik.newPhoto({"id":7290899,"src":"Kirsten00234_pp3_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290899.html","width":130,"caption":"","height":92});
															thumbnails[7290900] = clik.newPhoto({"id":7290900,"src":"Danielle_2_00356_3_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290900.html","width":130,"caption":"","height":182});
															thumbnails[7290902] = clik.newPhoto({"id":7290902,"src":"Georgie00274alt_crop_copy_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290902.html","width":130,"caption":"","height":103});
															thumbnails[7290903] = clik.newPhoto({"id":7290903,"src":"Georgie00052bw_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290903.html","width":130,"caption":"","height":194});
															thumbnails[7290904] = clik.newPhoto({"id":7290904,"src":"Cerise30098_2_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290904.html","width":130,"caption":"","height":190});
															thumbnails[7290905] = clik.newPhoto({"id":7290905,"src":"Danielle_2_00068_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290905.html","width":130,"caption":"","height":87});
															thumbnails[7290906] = clik.newPhoto({"id":7290906,"src":"Nusi_400177_cyan_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290906.html","width":130,"caption":"","height":130});
															thumbnails[7290907] = clik.newPhoto({"id":7290907,"src":"Georgie00229_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290907.html","width":130,"caption":"","height":74});
															thumbnails[7290909] = clik.newPhoto({"id":7290909,"src":"Danielle_2_00238_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290909.html","width":130,"caption":"","height":195});
															thumbnails[7290910] = clik.newPhoto({"id":7290910,"src":"Kirsten00201_pp_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290910.html","width":130,"caption":"","height":176});
															thumbnails[7290912] = clik.newPhoto({"id":7290912,"src":"Danielle_2_00300_2_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290912.html","width":130,"caption":"","height":87});
															thumbnails[7290913] = clik.newPhoto({"id":7290913,"src":"Nusi_400135_a_copy1_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290913.html","width":130,"caption":"","height":94});
															thumbnails[7290914] = clik.newPhoto({"id":7290914,"src":"Sinothile300875_thumb.jpg","galleries_id":253052,"server_id":15,"link":"photo_7290914.html","width":130,"caption":"","height":91});
															thumbnails[7292552] = clik.newPhoto({"id":7292552,"src":"Cerise00325crop_FTBW_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292552.html","width":130,"caption":"","height":130});
															thumbnails[7292553] = clik.newPhoto({"id":7292553,"src":"Busisa_2_00338_copy_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292553.html","width":130,"caption":"","height":167});
															thumbnails[7292555] = clik.newPhoto({"id":7292555,"src":"Billie00314_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292555.html","width":130,"caption":"","height":171});
															thumbnails[7292558] = clik.newPhoto({"id":7292558,"src":"Danni00375_rotate_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292558.html","width":130,"caption":"","height":118});
															thumbnails[7292560] = clik.newPhoto({"id":7292560,"src":"Florence00435_2_pp_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292560.html","width":130,"caption":"","height":189});
															thumbnails[7292562] = clik.newPhoto({"id":7292562,"src":"Nusi_300370_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292562.html","width":130,"caption":"","height":156});
															thumbnails[7292563] = clik.newPhoto({"id":7292563,"src":"IMG_7527_bw_crop2_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292563.html","width":130,"caption":"","height":130});
															thumbnails[7292565] = clik.newPhoto({"id":7292565,"src":"Busisa_3_00043_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292565.html","width":130,"caption":"","height":166});
															thumbnails[7292566] = clik.newPhoto({"id":7292566,"src":"Nusi_300794_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292566.html","width":130,"caption":"","height":95});
															thumbnails[7292567] = clik.newPhoto({"id":7292567,"src":"Suma200393_border_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292567.html","width":130,"caption":"","height":130});
															thumbnails[7292569] = clik.newPhoto({"id":7292569,"src":"Sarah30282_thumb.jpg","galleries_id":247308,"server_id":15,"link":"photo_7292569.html","width":130,"caption":"","height":189});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[247309] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings","link":"section301191.html","maxRecords":0.0,"photoIDs":[7284644.0,7284652.0,7284655.0,7284654.0,7284656.0,7284658.0,7284682.0,7284688.0,7284694.0,7284698.0,7284700.0,7284702.0,7284706.0,7284709.0,7284710.0,7284716.0,7839085.0,7839089.0,7839093.0,7284724.0,7284725.0,7839099.0,7839102.0,7839103.0,7284746.0,7839108.0,7839146.0,7839109.0,7284753.0,7284754.0,7284751.0,7839110.0,7284756.0,7284757.0,7284760.0,7839129.0,7839132.0,7284764.0,7284765.0,7284766.0,7284722.0,7284768.0,7284769.0,7284770.0,7839096.0,7284726.0,7284775.0,7284777.0,7284778.0,7839104.0,7284780.0,7284748.0,7284782.0,7284783.0,7839135.0,7284785.0,7284776.0,7284763.0,7284745.0,7839181.0],"skipIndex":0,"section_code":"section301191","featured_images":"7839181,7839146,7839135,7839132,7839129,7839110,7839109,7839108,7839104,7839103","id":247309,"singleSection":true});				  						galleries[246970] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Family","link":"gallery.html","maxRecords":0.0,"photoIDs":[7282163.0,7282166.0,7282177.0,7282179.0,7282180.0,7282184.0,7282187.0,7282190.0,7282191.0,7282192.0,7282195.0,7282197.0,7282199.0,7282200.0,7282205.0,7282206.0,8271744.0,7282242.0,7307207.0,7282246.0,7282248.0,7282249.0,7282252.0,7282253.0,7282257.0,7282259.0,7307196.0,7307187.0,7282277.0,7282286.0,7282287.0,7282289.0,7282291.0,7282293.0,7282295.0,7282298.0,7282301.0,7282303.0,7307199.0,7307197.0,7282309.0,7282310.0,7282311.0,8271701.0,7307201.0,7307198.0,7282413.0,7282414.0,7282416.0,7282417.0,7307195.0,7282423.0,7282425.0,7282456.0,7307204.0,7282467.0,7282469.0,7282471.0],"skipIndex":0,"section_code":"gallery","featured_images":"8271744,8271701,7307207,7307204,7307201,7307199,7307198,7307197,7307196,7307195","id":246970,"singleSection":true});				  						galleries[246969] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Beauty","link":"section305862.html","maxRecords":0.0,"photoIDs":[7290980.0,7290981.0,7290982.0,7290983.0,7290984.0,7290985.0,7290986.0,7290987.0,7290988.0,7290989.0,7290990.0,7290991.0,7290992.0,7290993.0,7290994.0,7290995.0,7290996.0,7290997.0,7290998.0,7290999.0],"skipIndex":0,"section_code":"section305862","featured_images":"7290999,7290998,7290997,7290996,7290995,7290994,7290993,7290992,7290991,7290990","id":246969,"singleSection":true});				  						galleries[283919] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commercial","link":"section340537.html","maxRecords":0.0,"photoIDs":[7291491.0,7291493.0,7291495.0,7291497.0,7291499.0,7291500.0,7291503.0,7291504.0,7291507.0,7291508.0,7291509.0,7291512.0,7291513.0,7291515.0,7291517.0,7291510.0,7291514.0],"skipIndex":0,"section_code":"section340537","featured_images":"7291517,7291515,7291514,7291513,7291512,7291510,7291509,7291508,7291507,7291504","id":283919,"singleSection":true});				  						galleries[247308] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fashion","link":"section305863.html","maxRecords":0.0,"photoIDs":[7292552.0,7292553.0,7292555.0,7292558.0,7292560.0,7292562.0,7292563.0,7292565.0,7292566.0,7292567.0,7292569.0],"skipIndex":0,"section_code":"section305863","featured_images":"7292569,7292567,7292566,7292565,7292563,7292562,7292560,7292558,7292555,7292553","id":247308,"singleSection":true});				  						galleries[247310] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pets","link":"section305853.html","maxRecords":0.0,"photoIDs":[7292884.0,7292886.0,7293096.0,7293100.0,7293103.0,7293104.0,7293107.0,7293109.0,7293111.0,7293114.0,7293116.0,7293117.0,7293120.0,7293121.0,7293123.0,7293128.0,7293131.0],"skipIndex":0,"section_code":"section305853","featured_images":"7293131,7293128,7293123,7293121,7293120,7293117,7293116,7293114,7293111,7293109","id":247310,"singleSection":true});				  						galleries[253052] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Boudoir","link":"section306021.html","maxRecords":0.0,"photoIDs":[7290894.0,7290896.0,7290897.0,7290898.0,7290899.0,7290900.0,7290902.0,7290903.0,7290904.0,7290905.0,7290906.0,7290907.0,7290909.0,7290910.0,7290912.0,7290913.0,7290914.0],"skipIndex":0,"section_code":"section306021","featured_images":"7290914,7290913,7290912,7290910,7290909,7290907,7290906,7290905,7290904,7290903","id":253052,"singleSection":true});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8271701,7839135,7839103,7839089,7839085,7307207,7307204,7307201,7307198,7307197,7307196,7307195,7307187,7293104,7293103,7293096,7292886,7292884,7292566,7292563,7292558,7292552,7291507,7291503,7291500,7291499,7291495,7291493,7291491,7290990,7290988,7290986,7290985,7290984,7290983,7290982,7290981,7290980,7290914,7290910,7290907,7290905,7290898,7290897,7290896,7290894,7284745,7284726,7284725,7284724,7284722,7284716,7284709,7284706,7284702,7284700,7284698,7284694,7284688,7284682,7284658,7284656,7284655,7284654,7284652,7284644,7282469,7282467,7282456,7282425,7282423,7282417,7282416,7282414,7282413,7282311,7282310,7282303,7282301,7282298,7282295,7282293,7282291,7282289,7282287,7282286,7282277,7282259,7282257,7282252,7282249,7282242,7282206,7282205,7282200,7282199,7282197,7282195,7282192,7282191,7282190,7282187,7282184,7282180,7282179,7282177,7282166,7282163';
imageSets[3] = '8271744,8271701,7839181,7839146,7839135,7839132,7839129,7839110,7839109,7839108,7839104,7839103,7839102,7839099,7839096,7839093,7839089,7839085,7307207,7307204,7307201,7307199,7307198,7307197,7307196,7307195,7307187,7293131,7293128,7293123,7293121,7293120,7293117,7293116,7293114,7293111,7293109,7293107,7293104,7293103,7293100,7293096,7292886,7292884,7292569,7292567,7292566,7292565,7292563,7292562';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/rodirvine/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/rodirvine/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'ROD IRVINE PHOTOGRAPHY                          : ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
																		temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					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 += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

