window.thumbnails = new Object();
												thumbnails[1709475] = new thumbnail(1709475,'','Bridal make up Kate','Kate Adams 2_thumb.jpg',130, 88,1,'#');
												thumbnails[1709476] = new thumbnail(1709476,'','Bridal make up Kate','Kate Adams 3_thumb.jpg',130, 195,1,'#');
												thumbnails[6883359] = new thumbnail(6883359,'373633','Bethany\'s wedding make up','017RussellLewisPhotography_thumb.jpg',130, 87,1,'photo_6883359.html');
												thumbnails[6883363] = new thumbnail(6883363,'373633','Bethany\'s wedding make up Dumbleton Hall','025RussellLewisPhotography_thumb.jpg',130, 87,1,'photo_6883363.html');
												thumbnails[6883351] = new thumbnail(6883351,'373634','Sarah\'s wedding make up','007RussellLewisPhotography_thumb.jpg',130, 87,1,'photo_6883351.html');
												thumbnails[6883355] = new thumbnail(6883355,'373634','Sarah\'s wedding make up','014RussellLewisPhotography_thumb.jpg',130, 195,1,'photo_6883355.html');
												thumbnails[6855463] = new thumbnail(6855463,'372132','Zoe\'s Wedding Make Up','0008_ZC__2_thumb.jpg',130, 195,1,'photo_6855463.html');
												thumbnails[6855469] = new thumbnail(6855469,'372132','Zoe\'s wedding make up','0039_ZC__2_thumb.jpg',130, 195,1,'photo_6855469.html');
												thumbnails[6855492] = new thumbnail(6855492,'372132','Zoe\'s make up','zoe_thumb.jpg',130, 195,1,'photo_6855492.html');
												thumbnails[6855682] = new thumbnail(6855682,'372132','Zoe\'s bridesmaid wedding make up','0091_ZC__2_thumb.jpg',130, 195,1,'photo_6855682.html');
												thumbnails[6855536] = new thumbnail(6855536,'372150','Wyvern Radio Run Away Bride Competition Winner 2009','Hannah_Wyvern_thumb.jpg',130, 196,1,'photo_6855536.html');
												thumbnails[6855542] = new thumbnail(6855542,'372150','Wyvern Radio Run Away Bride Competition Winner 2009','Hannah_Wyvern_2_thumb.jpg',130, 196,1,'photo_6855542.html');
												thumbnails[6855547] = new thumbnail(6855547,'372150','Wyvern Radio Run Away Bride Competition Winner 2009','Hannah_Wyvern_3_thumb.jpg',130, 196,1,'photo_6855547.html');
												thumbnails[5876244] = new thumbnail(5876244,'332029','Clare\'s wedding make up','Clare_3_thumb.jpg',130, 196,1,'photo_5876244.html');
												thumbnails[5876272] = new thumbnail(5876272,'332029','Clare\'s wedding make up','Clare11_thumb.jpg',130, 196,1,'photo_5876272.html');
												thumbnails[5876282] = new thumbnail(5876282,'332029','','Clare_41_thumb.jpg',130, 196,1,'photo_5876282.html');
												thumbnails[4167064] = new thumbnail(4167064,'248549','Lisa Copper\'s Wedding Make Up','Lisa_1_thumb.jpg',130, 201,1,'photo_4167064.html');
												thumbnails[4167078] = new thumbnail(4167078,'248549','Lisa Cooper\'s Wedding Make Up','Lisa_6_thumb.jpg',130, 139,1,'photo_4167078.html');
												thumbnails[4167081] = new thumbnail(4167081,'248549','Lisa Cooper\'s Wedding Make Up','Lisa_8_thumb.jpg',130, 195,1,'photo_4167081.html');
												thumbnails[3836244] = new thumbnail(3836244,'233465','Kerstin\'s wedding make up','Kerstin7_thumb.jpg',130, 86,1,'photo_3836244.html');
												thumbnails[3836245] = new thumbnail(3836245,'233465','Kerstin\'s wedding make up','Kerstin_2_thumb.jpg',130, 86,1,'photo_3836245.html');
												thumbnails[3836246] = new thumbnail(3836246,'233465','Kerstin\'s wedding make up','Kerstin_6_thumb.jpg',130, 86,1,'photo_3836246.html');
												thumbnails[3836239] = new thumbnail(3836239,'233469','Anjas wedding make up','Anja_1_thumb.jpg',130, 86,1,'photo_3836239.html');
												thumbnails[3836241] = new thumbnail(3836241,'233469','Anjas wedding make up','Anja_2_thumb.jpg',130, 180,1,'photo_3836241.html');
												thumbnails[3836242] = new thumbnail(3836242,'233469','Anjas wedding make up','Anja_3_thumb.jpg',130, 86,1,'photo_3836242.html');
												thumbnails[3836196] = new thumbnail(3836196,'233467','Melanies wedding make up','Melanie_6_thumb.jpg',130, 87,1,'photo_3836196.html');
												thumbnails[3836200] = new thumbnail(3836200,'233467','Melanies wedding make up','Melanie_4_thumb.jpg',130, 87,1,'photo_3836200.html');
												thumbnails[3836202] = new thumbnail(3836202,'233467','Melanies wedding make up','Melanie_3_thumb.jpg',130, 195,1,'photo_3836202.html');
												thumbnails[3836205] = new thumbnail(3836205,'233467','Melanies wedding make up','Melanie_2_thumb.jpg',130, 87,1,'photo_3836205.html');
												thumbnails[3836207] = new thumbnail(3836207,'233467','Melanies wedding make up','Melanie_1_thumb.jpg',130, 87,1,'photo_3836207.html');
												thumbnails[3284458] = new thumbnail(3284458,'200275','Group Photo with Mum and Bridesmaids ','Maddie6_thumb.jpg',130, 87,1,'photo_3284458.html');
												thumbnails[3284463] = new thumbnail(3284463,'200275','Maddie ready for the wedding','Maddie10_thumb.jpg',130, 195,1,'photo_3284463.html');
												thumbnails[3284470] = new thumbnail(3284470,'200275','','Maddie11_thumb.jpg',130, 87,1,'photo_3284470.html');
												thumbnails[3284475] = new thumbnail(3284475,'200275','Wedding couple','Maddie 3_thumb.jpg',130, 87,1,'photo_3284475.html');
												thumbnails[3284479] = new thumbnail(3284479,'200275','','Maddie 5_thumb.jpg',130, 87,1,'photo_3284479.html');
												thumbnails[3284482] = new thumbnail(3284482,'200275','Hayley in action','Maddie 8_thumb.jpg',130, 87,1,'photo_3284482.html');
												thumbnails[3284485] = new thumbnail(3284485,'200275','Bride and bridesmaids make up done','Maddie 2_thumb.jpg',130, 87,1,'photo_3284485.html');
												thumbnails[3284512] = new thumbnail(3284512,'200275','getting ready ','Maddie7_thumb.jpg',130, 87,1,'photo_3284512.html');
												thumbnails[3284520] = new thumbnail(3284520,'200284','Joanne\'s wedding make up','JJ7996c_thumb.jpg',130, 87,1,'photo_3284520.html');
												thumbnails[3284565] = new thumbnail(3284565,'200284','','JJ8101c_thumb.jpg',130, 195,1,'photo_3284565.html');
												thumbnails[3284567] = new thumbnail(3284567,'200284','','JJ8105c_thumb.jpg',130, 195,1,'photo_3284567.html');
												thumbnails[2508996] = new thumbnail(2508996,'160845','Bryony\'s wedding make up','Bryony12_thumb.JPG',130, 202,1,'photo_2508996.html');
												thumbnails[2509010] = new thumbnail(2509010,'160845','Bryony\'s wedding make up','Bryony71_thumb.JPG',130, 202,1,'photo_2509010.html');
												thumbnails[2509020] = new thumbnail(2509020,'160845','Bryony\'s wedding make up','Bryony8_thumb.JPG',130, 84,1,'photo_2509020.html');
												thumbnails[2509256] = new thumbnail(2509256,'160859','Prom make up','Prom make up 2008 2_thumb.JPG',130, 174,1,'photo_2509256.html');
												thumbnails[2509267] = new thumbnail(2509267,'160859','Prom make up','Prom make up 2008 3_thumb.jpg',130, 98,1,'photo_2509267.html');
												thumbnails[2509270] = new thumbnail(2509270,'160859','Prom make up','Prom make up 2008 4_thumb.JPG',130, 174,1,'photo_2509270.html');
												thumbnails[2509272] = new thumbnail(2509272,'160859','Prom make up','Prom make up 2008 5_thumb.jpg',130, 98,1,'photo_2509272.html');
												thumbnails[2509275] = new thumbnail(2509275,'160859','Prom make up','Prom make up 2008 6_thumb.jpg',130, 173,1,'photo_2509275.html');
												thumbnails[2509280] = new thumbnail(2509280,'160859','Prom make up','Prom make up 2008 9_thumb.JPG',130, 174,1,'photo_2509280.html');
												thumbnails[2509285] = new thumbnail(2509285,'160859','Prom make up','Prom make up 2008 11_thumb.JPG',130, 174,1,'photo_2509285.html');
												thumbnails[2509287] = new thumbnail(2509287,'160859','Prom make up','Prom make up 2008 13_thumb.JPG',130, 174,1,'photo_2509287.html');
												thumbnails[2509290] = new thumbnail(2509290,'160859','Prom make up','Prom make up 2008 14_thumb.JPG',130, 174,1,'photo_2509290.html');
												thumbnails[2509315] = new thumbnail(2509315,'160859','Prom make up','Prom make up 2008 15_thumb.JPG',130, 174,1,'photo_2509315.html');
												thumbnails[2509321] = new thumbnail(2509321,'160859','Prom make up','Prom make up june 2008 1_thumb.JPG',130, 174,1,'photo_2509321.html');
												thumbnails[2509332] = new thumbnail(2509332,'160859','Prom make up','Prom make up 2008 7_thumb.JPG',130, 97,1,'photo_2509332.html');
												thumbnails[3836210] = new thumbnail(3836210,'233468','Kays wedding make up','_1003_2_thumb.jpg',130, 195,1,'photo_3836210.html');
												thumbnails[3836213] = new thumbnail(3836213,'233468','Kays wedding make up','_1005_2_thumb.jpg',130, 87,1,'photo_3836213.html');
												thumbnails[3836231] = new thumbnail(3836231,'233468','Kays wedding make up','_1008_2_thumb.jpg',130, 87,1,'photo_3836231.html');
												thumbnails[3836234] = new thumbnail(3836234,'233468','Kays wedding make up','_1138_2_thumb.jpg',130, 195,1,'photo_3836234.html');
												thumbnails[3836235] = new thumbnail(3836235,'233468','Kays wedding make up','_1150_2_thumb.jpg',130, 195,1,'photo_3836235.html');
												thumbnails[3836237] = new thumbnail(3836237,'233468','Kays wedding make up','_1152_2_thumb.jpg',130, 195,1,'photo_3836237.html');
												thumbnails[2048348] = new thumbnail(2048348,'136909','Wedding Fair Model Make Up','3 counties 4_thumb.jpg',130, 173,1,'photo_2048348.html');
												thumbnails[2048351] = new thumbnail(2048351,'136909','Wedding Fair Model Make Up','3 counties 5_thumb.jpg',130, 98,1,'photo_2048351.html');
												thumbnails[2048365] = new thumbnail(2048365,'136913','Hagley Hall Wedding Photo Shoot','Michelle4_thumb.jpg',130, 87,1,'photo_2048365.html');
												thumbnails[2116567] = new thumbnail(2116567,'136913','Wedding make up Hagley Hall','MorrisTombs1_thumb.jpg',130, 196,1,'photo_2116567.html');
												thumbnails[2116570] = new thumbnail(2116570,'136913','wedding make up Hagley Hall','MorrisTombs2_thumb.jpg',130, 130,1,'photo_2116570.html');
												thumbnails[2116572] = new thumbnail(2116572,'136913','wedding make up Hagley Hall','MorrisTombs3_thumb.jpg',130, 100,1,'photo_2116572.html');
												thumbnails[2116579] = new thumbnail(2116579,'136913','wedding make up Hagley Hall','MorrisTombs4_thumb.jpg',130, 87,1,'photo_2116579.html');
												thumbnails[2116585] = new thumbnail(2116585,'136913','wedding make up Hagley Hall','MorrisTombs6_thumb.jpg',130, 86,1,'photo_2116585.html');
												thumbnails[2116588] = new thumbnail(2116588,'136913','wedding make up Hagley Hall','MorrisTombs7_thumb.jpg',130, 196,1,'photo_2116588.html');
												thumbnails[2116590] = new thumbnail(2116590,'136913','wedding make up Hagley Hall','MorrisTombs8_thumb.jpg',130, 86,1,'photo_2116590.html');
												thumbnails[2116592] = new thumbnail(2116592,'136913','wedding make up Hagley Hall','MorrisTombs9_thumb.jpg',130, 196,1,'photo_2116592.html');
												thumbnails[2116596] = new thumbnail(2116596,'136913','wedding make up Hagley Hall','MorrisTombs10_thumb.jpg',130, 86,1,'photo_2116596.html');
												thumbnails[1896947] = new thumbnail(1896947,'127133','Laura\'s wedding make up','laura&sam 003 (2)_thumb.jpg',130, 195,1,'photo_1896947.html');
												thumbnails[1896950] = new thumbnail(1896950,'127133','Laura\'s wedding make up','laura&sam 005 (2)_thumb.jpg',130, 87,1,'photo_1896950.html');
												thumbnails[1896953] = new thumbnail(1896953,'127133','Laura\'s wedding make up','laura&sam 018 (2)_thumb.jpg',130, 195,1,'photo_1896953.html');
												thumbnails[1896955] = new thumbnail(1896955,'127133','Laura\'s wedding make up','laura&sam 282 (2)_thumb.jpg',130, 87,1,'photo_1896955.html');
												thumbnails[2116581] = new thumbnail(2116581,'136913','wedding make up Hagley Hall','MorrisTombs5_thumb.jpg',130, 87,1,'photo_2116581.html');
												thumbnails[1787227] = new thumbnail(1787227,'120203','Kim\'s Bridal Make over','boyle-082_thumb.jpg',130, 98,1,'photo_1787227.html');
												thumbnails[1787345] = new thumbnail(1787345,'120203','Kim\'s bridal make over','boyle-2221_thumb.jpg',130, 173,1,'photo_1787345.html');
												thumbnails[1787347] = new thumbnail(1787347,'120203','Kim\'s bridal make over','boyle-1251_thumb.jpg',130, 173,1,'photo_1787347.html');
												thumbnails[1709443] = new thumbnail(1709443,'114903','Bridal make up Gemma','Gemma Phillips-1_thumb.jpg',130, 195,1,'photo_1709443.html');
												thumbnails[1709450] = new thumbnail(1709450,'114903','Bridal make up Gemma','Gemma 1_thumb.jpg',130, 87,1,'photo_1709450.html');
												thumbnails[1709455] = new thumbnail(1709455,'114904','Bridal make up Lisa','Lisa Spencer-dress 2_thumb.jpg',130, 163,1,'photo_1709455.html');
												thumbnails[1709458] = new thumbnail(1709458,'114904','Bridal make up Lisa','Lisa 3_thumb.jpg',130, 195,1,'photo_1709458.html');
												thumbnails[1709459] = new thumbnail(1709459,'114904','Bridal make up Lisa','Lisa 4_thumb.jpg',130, 195,1,'photo_1709459.html');
												thumbnails[1709460] = new thumbnail(1709460,'114904','Bridal make up Lisa','Lisa  1_thumb.jpg',130, 195,1,'photo_1709460.html');
												thumbnails[1709461] = new thumbnail(1709461,'114905','Bridal make up martha','Martha_thumb.jpg',130, 87,1,'photo_1709461.html');
												thumbnails[1709466] = new thumbnail(1709466,'114906','Bridal make up Abigail','Abigail 1_thumb.jpg',130, 87,1,'photo_1709466.html');
												thumbnails[1709467] = new thumbnail(1709467,'114906','Bridal make up Abigail','Abigail 2_thumb.jpg',130, 87,1,'photo_1709467.html');
												thumbnails[1709468] = new thumbnail(1709468,'114906','Bridal make up Abigail','Abigail 3_thumb.jpg',130, 195,1,'photo_1709468.html');
												thumbnails[1709470] = new thumbnail(1709470,'114907','Bridal make up Pippa','Pippa  1_thumb.jpg',130, 98,1,'photo_1709470.html');
												thumbnails[1709472] = new thumbnail(1709472,'114909','Bridal make up Alice','Alice 1_thumb.jpg',130, 183,1,'photo_1709472.html');
												thumbnails[1709473] = new thumbnail(1709473,'114909','Bridal make up Alice','Alice 2_thumb.jpg',130, 159,1,'photo_1709473.html');
												thumbnails[1709477] = new thumbnail(1709477,'114910','Bridal make up Becky','Becky_thumb.JPG',130, 98,1,'photo_1709477.html');
												thumbnails[1768251] = new thumbnail(1768251,'114904','Caroline','Lisa  2_thumb.jpg',130, 163,1,'photo_1768251.html');
												thumbnails[1832221] = new thumbnail(1832221,'114380','Claire\'s wedding make up','A2474L_thumb.jpg',130, 195,1,'photo_1832221.html');
												thumbnails[1832224] = new thumbnail(1832224,'114380','Claire\'s wedding make up','A2484L_thumb.jpg',130, 195,1,'photo_1832224.html');
												thumbnails[1832229] = new thumbnail(1832229,'114380','Claire\'s wedding make up','A2486L_thumb.jpg',130, 195,1,'photo_1832229.html');
												thumbnails[1832233] = new thumbnail(1832233,'114380','Claire\'s wedding make up','A2489l_thumb.jpg',130, 87,1,'photo_1832233.html');
												thumbnails[1832238] = new thumbnail(1832238,'114380','Claire\'s wedding make up','A2495l_thumb.jpg',130, 195,1,'photo_1832238.html');
												thumbnails[1832242] = new thumbnail(1832242,'114380','Claire\'s wedding make up','A2508l_thumb.jpg',130, 195,1,'photo_1832242.html');
												thumbnails[1832246] = new thumbnail(1832246,'114380','Claire\'s wedding make up','A2521l_thumb.jpg',130, 87,1,'photo_1832246.html');
												thumbnails[1832248] = new thumbnail(1832248,'114380','Claire\'s wedding make up','A2627l_thumb.jpg',130, 195,1,'photo_1832248.html');
												thumbnails[1832250] = new thumbnail(1832250,'114380','Claire\'s wedding make up','A2649l_thumb.jpg',130, 195,1,'photo_1832250.html');
												thumbnails[1832255] = new thumbnail(1832255,'114380','Claire\'s wedding make up','A2659l_thumb.jpg',130, 87,1,'photo_1832255.html');
												thumbnails[1832256] = new thumbnail(1832256,'114380','Claire\'s wedding make up','A2795l_thumb.jpg',130, 195,1,'photo_1832256.html');
												thumbnails[1832258] = new thumbnail(1832258,'114380','Claire\'s wedding make up','A2798l_thumb.jpg',130, 195,1,'photo_1832258.html');
												thumbnails[1832259] = new thumbnail(1832259,'114380','Claire\'s wedding make up','A2905l_thumb.jpg',130, 87,1,'photo_1832259.html');
												thumbnails[3836247] = new thumbnail(3836247,'200275','Maddie\'s wedding make up','Maddie_31_thumb.jpg',130, 195,1,'photo_3836247.html');
												thumbnails[6855598] = new thumbnail(6855598,'372151','Hannah\'s wedding make up','Hannah4_thumb.jpg',130, 265,1,'photo_6855598.html');
												thumbnails[6855631] = new thumbnail(6855631,'372151','Hannah\'s wedding make up','Hannah_2_thumb.jpg',130, 195,1,'photo_6855631.html');
												thumbnails[6855638] = new thumbnail(6855638,'372151','Bridesmaid make up at Hannah\'s wedding','hannah5_thumb.jpg',130, 87,1,'photo_6855638.html');
												thumbnails[6855698] = new thumbnail(6855698,'372153','Felicity\'s wedding make up','felicity_thumb.jpg',130, 173,1,'photo_6855698.html');
												thumbnails[6855703] = new thumbnail(6855703,'372153','Felicity\'s wedding make up','felicity_2_thumb.jpg',130, 114,1,'photo_6855703.html');
												thumbnails[6855718] = new thumbnail(6855718,'372155','Lucy\'s wedding make up','Lucy_thumb.jpg',130, 195,1,'photo_6855718.html');
												thumbnails[6855721] = new thumbnail(6855721,'372155','Lucy\'s Bridesmaid wedding make up','Lucy2_thumb.jpg',130, 195,1,'photo_6855721.html');
												thumbnails[6855725] = new thumbnail(6855725,'372155','Lucy\'s Bridesmaid wedding make up','Lucy_3_thumb.jpg',130, 195,1,'photo_6855725.html');
												thumbnails[4166884] = new thumbnail(4166884,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola1_thumb.jpg',130, 195,1,'photo_4166884.html');
												thumbnails[4166902] = new thumbnail(4166902,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola2_thumb.jpg',130, 195,1,'photo_4166902.html');
												thumbnails[4166908] = new thumbnail(4166908,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola3_thumb.jpg',130, 86,1,'photo_4166908.html');
												thumbnails[4166916] = new thumbnail(4166916,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola_5_thumb.jpg',130, 76,1,'photo_4166916.html');
												thumbnails[4166924] = new thumbnail(4166924,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola_8_thumb.jpg',130, 87,1,'photo_4166924.html');
												thumbnails[4166933] = new thumbnail(4166933,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola_12_thumb.jpg',130, 74,1,'photo_4166933.html');
												thumbnails[4166948] = new thumbnail(4166948,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicola_9_thumb.jpg',130, 195,1,'photo_4166948.html');
												thumbnails[4166962] = new thumbnail(4166962,'238211','Nicola Boudoir Photography and Make Up','Boudoir_Nicoal_13_thumb.jpg',130, 87,1,'photo_4166962.html');
												thumbnails[3925943] = new thumbnail(3925943,'238211','Emma\'s Boudoir Make Up and Photography','Boudoir_emma_1_thumb.jpg',130, 195,1,'photo_3925943.html');
												thumbnails[3925963] = new thumbnail(3925963,'238211','Emma\'s Boudoir Make Up and Photography','Boudoir_emma_6_thumb.jpg',130, 195,1,'photo_3925963.html');
												thumbnails[3925965] = new thumbnail(3925965,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir5_thumb.jpg',130, 195,1,'photo_3925965.html');
												thumbnails[3925970] = new thumbnail(3925970,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_1_thumb.jpg',130, 195,1,'photo_3925970.html');
												thumbnails[3925973] = new thumbnail(3925973,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_2_thumb.jpg',130, 195,1,'photo_3925973.html');
												thumbnails[3925975] = new thumbnail(3925975,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_3_thumb.jpg',130, 87,1,'photo_3925975.html');
												thumbnails[3925988] = new thumbnail(3925988,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_4_thumb.jpg',130, 195,1,'photo_3925988.html');
												thumbnails[3926009] = new thumbnail(3926009,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_6_thumb.jpg',130, 195,1,'photo_3926009.html');
												thumbnails[3926014] = new thumbnail(3926014,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_7_thumb.jpg',130, 195,1,'photo_3926014.html');
												thumbnails[3926017] = new thumbnail(3926017,'238211','Emma\'s Boudoir Make Up and Photography','Emma_boudoir_8_thumb.jpg',130, 195,1,'photo_3926017.html');
												thumbnails[5869327] = new thumbnail(5869327,'331646','Hayley Wilson model fashion photography <br>\r\n','Haley_W612_thumb.jpg',130, 195,1,'photo_5869327.html');
												thumbnails[5869458] = new thumbnail(5869458,'331646','fashion make up','Haley_W8_thumb.jpg',130, 87,1,'photo_5869458.html');
												thumbnails[5869483] = new thumbnail(5869483,'331646','fashion make up','Haley_W_with_Haley_Van_-_April_10_6376_thumb.JPG',130, 195,1,'photo_5869483.html');
												thumbnails[5876090] = new thumbnail(5876090,'331646','','Haley_W17_thumb.jpg',130, 195,1,'photo_5876090.html');
												thumbnails[5876100] = new thumbnail(5876100,'331646','','Haley_W_20_thumb.jpg',130, 182,1,'photo_5876100.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[332029] = new gallery(332029,'5876282,5876272,5876244','2009 Clare','gallery',[5876244,5876272,5876282],0, 0, '', 'gallery_332029.html',0,0);
				  					galleries[372153] = new gallery(372153,'6855703,6855698','2009 Felicity ','gallery',[6855698,6855703],0, 0, '', 'gallery_372153.html',0,0);
				  					galleries[372151] = new gallery(372151,'6855638,6855631,6855598','2009 Hannah ','gallery',[6855598,6855631,6855638],0, 0, '', 'gallery_372151.html',0,0);
				  					galleries[372150] = new gallery(372150,'6855547,6855542,6855536','2009 Hannah Wyvern Runaway Bride Winner','gallery',[6855536,6855542,6855547],0, 0, '', 'gallery_372150.html',0,0);
				  					galleries[372155] = new gallery(372155,'6855725,6855721,6855718','2009 Lucy ','gallery',[6855718,6855721,6855725],0, 0, '', 'gallery_372155.html',0,0);
				  					galleries[372132] = new gallery(372132,'6855682,6855492,6855469,6855463','2009 Zoe ','gallery',[6855463,6855469,6855492,6855682],0, 0, '', 'gallery_372132.html',0,0);
				  					galleries[373633] = new gallery(373633,'6883363,6883359','2010 Bethany','gallery',[6883359,6883363],0, 0, '', 'gallery_373633.html',0,0);
				  					galleries[373634] = new gallery(373634,'6883355,6883351','2010 Sarah','gallery',[6883351,6883355],0, 0, '', 'gallery_373634.html',0,0);
				  					galleries[136909] = new gallery(136909,'2048351,2048348','3 Counties Wedding Fair','gallery',[2048348,2048351],0, 0, '', 'gallery_136909.html',0,0);
				  					galleries[114906] = new gallery(114906,'1709466','Abigail','gallery',[1709466,1709467,1709468],0, 0, '', 'gallery_114906.html',0,0);
				  					galleries[114909] = new gallery(114909,'1709472','Alice','gallery',[1709472,1709473],0, 0, '', 'gallery_114909.html',0,0);
				  					galleries[233469] = new gallery(233469,'3836242,3836241,3836239','Anja','gallery',[3836239,3836241,3836242],0, 0, '', 'gallery_233469.html',0,0);
				  					galleries[114910] = new gallery(114910,'1709477','Becky','gallery',[1709477],0, 0, '', 'gallery_114910.html',0,0);
				  					galleries[238211] = new gallery(238211,'4166884,3925963,3925943','Boudoir MakeUp and Photography','section290115',[4166884,4166902,4166908,4166916,4166924,4166933,4166948,4166962,3925943,3925963,3925965,3925970,3925973,3925975,3925988,3926009,3926014,3926017],0, 0, '', 'section290115.html',0,1);
				  					galleries[160845] = new gallery(160845,'2509020,2509010,2508996','Bryony','gallery',[2508996,2509010,2509020],0, 0, '', 'gallery_160845.html',0,0);
				  					galleries[331646] = new gallery(331646,'5876100,5876090,5869483,5869458,5869327','Fashion','section397462',[5869327,5869458,5869483,5876090,5876100],0, 0, '', 'section397462.html',0,1);
				  					galleries[114903] = new gallery(114903,'1709450','Gemma','gallery',[1709443,1709450],0, 0, '', 'gallery_114903.html',0,0);
				  					galleries[136913] = new gallery(136913,'2116596,2116592,2116590,2116588,2116585,2116581,2116579,2116572,2116570,2116567','Hagley Hall Wedding Photo Shoot','gallery',[2048365,2116567,2116570,2116572,2116579,2116585,2116588,2116590,2116592,2116596,2116581],0, 0, '', 'gallery_136913.html',0,0);
				  					galleries[200284] = new gallery(200284,'3284567','Joanne','gallery',[3284520,3284565,3284567],0, 0, '', 'gallery_200284.html',0,0);
				  					galleries[233468] = new gallery(233468,'3836237,3836235,3836234,3836231,3836213,3836210','Kay','gallery',[3836210,3836213,3836231,3836234,3836235,3836237],0, 0, '', 'gallery_233468.html',0,0);
				  					galleries[233465] = new gallery(233465,'3836246,3836245,3836244','Kerstin','gallery',[3836244,3836245,3836246],0, 0, '', 'gallery_233465.html',0,0);
				  					galleries[120203] = new gallery(120203,'1787347,1787345,1787227','Kim','gallery',[1787227,1787345,1787347],0, 0, '', 'gallery_120203.html',0,0);
				  					galleries[127133] = new gallery(127133,'1896953','Laura ','gallery',[1896947,1896950,1896953,1896955],0, 0, '', 'gallery_127133.html',0,0);
				  					galleries[114904] = new gallery(114904,'1709455','Lisa','gallery',[1709455,1709458,1709459,1709460,1768251],0, 0, '', 'gallery_114904.html',0,0);
				  					galleries[248549] = new gallery(248549,'4167081,4167078,4167064','Lisa Cooper','gallery',[4167064,4167078,4167081],0, 0, '', 'gallery_248549.html',0,0);
				  					galleries[200275] = new gallery(200275,'3836247,3284463','Maddie','gallery',[3284458,3284463,3284470,3284475,3284479,3284482,3284485,3284512,3836247],0, 0, '', 'gallery_200275.html',0,0);
				  					galleries[114905] = new gallery(114905,'1709461','Martha','gallery',[1709461],0, 0, '', 'gallery_114905.html',0,0);
				  					galleries[233467] = new gallery(233467,'3836202','Melanie','gallery',[3836196,3836200,3836202,3836205,3836207],0, 0, '', 'gallery_233467.html',0,0);
				  					galleries[114907] = new gallery(114907,'1709470','Pippa','gallery',[1709470],0, 0, '', 'gallery_114907.html',0,0);
				  					galleries[160859] = new gallery(160859,'2509256','Prom Make Up','gallery',[2509256,2509267,2509270,2509272,2509275,2509280,2509285,2509287,2509290,2509315,2509321,2509332],0, 0, '', 'gallery_160859.html',0,0);
				  					galleries[114380] = new gallery(114380,'1832255','Claire','gallery',[1832221,1832224,1832229,1832233,1832238,1832242,1832246,1832248,1832250,1832255,1832256,1832258,1832259],0, 0, '', 'gallery_114380.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '4166884,3836247,1709468';
imageSets[2] = '4166884,3925963,3925943,3836247,3836202,3284567,3284463,2509256,1896953,1832255,1709475,1709472,1709466,1709455,1709450';
imageSets[3] = '6883363,6883359,6883355,6883351,6855725,6855721,6855718,6855703,6855698,6855682,6855638,6855631,6855598,6855547,6855542,6855536,6855492,6855469,6855463,5876282,5876272,5876244,5876100,5876090,5869483,5869458,5869327,4167081,4167078,4167064,4166962,4166948,4166933,4166924,4166916,4166908,4166902,4166884,3926017,3926014,3926009,3925988,3925975,3925973,3925970,3925965,3925963,3925943,3836247,3836246';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Freeklein/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Freeklein/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 = 'Wedding Bridal MakeUp: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
				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>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (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="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
				
		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 + '<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;
	}
}

			

