window.thumbnails = {};
															thumbnails[5423490] = clik.newPhoto({"id":5423490,"src":"fig_25_smaller1_thumb.jpg","galleries_id":254718,"server_id":15,"link":"photo_5423490.html","width":130,"caption":"Fig 25","height":95});
															thumbnails[5423492] = clik.newPhoto({"id":5423492,"src":"fig_07_cropped_and_smaller_thumb.jpg","galleries_id":254718,"server_id":15,"link":"photo_5423492.html","width":130,"caption":"Fig 07","height":97});
															thumbnails[6253299] = clik.newPhoto({"id":6253299,"src":"Lavender_Butterflies12_thumb.jpg","galleries_id":347735,"server_id":15,"link":"photo_6253299.html","width":130,"caption":"Lavender Butterflies","height":49});
															thumbnails[6253432] = clik.newPhoto({"id":6253432,"src":"Blossom1_thumb.jpg","galleries_id":347735,"server_id":15,"link":"photo_6253432.html","width":130,"caption":"Blossom 1","height":46});
															thumbnails[9060146] = clik.newPhoto({"id":9060146,"src":"Girl_with_Butterflies_thumb.jpg","galleries_id":470581,"server_id":15,"link":"photo_9060146.html","width":130,"caption":"Girl with butterflies","height":170});
															thumbnails[7314801] = clik.newPhoto({"id":7314801,"src":"25_-_Purple_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314801.html","width":130,"caption":"fig. 25 - Purple","height":97});
															thumbnails[7316993] = clik.newPhoto({"id":7316993,"src":"Golden_peacock_thumb_027C1988-24E8-5EC4-4F9184994ACA9FCD.jpg","galleries_id":250368,"server_id":15,"link":"photo_7316993.html","width":128,"caption":"Golden Peacock","height":283});
															thumbnails[7316996] = clik.newPhoto({"id":7316996,"src":"Tree_flowers_thumb.jpg","galleries_id":347735,"server_id":15,"link":"photo_7316996.html","width":130,"caption":"Tree Flowers","height":69});
															thumbnails[7314746] = clik.newPhoto({"id":7314746,"src":"Figure_25_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314746.html","width":130,"caption":"fig. 25 - Taupe","height":97});
															thumbnails[7316995] = clik.newPhoto({"id":7316995,"src":"Waiting_to_Fly_A80C1CE1-24E8-5EC4-4F9B379B17BCB1F9_thumb.jpg","galleries_id":250368,"server_id":15,"link":"photo_7316995.html","width":130,"caption":"Waiting to Fly - Cream and Taupe","height":67});
															thumbnails[7316997] = clik.newPhoto({"id":7316997,"src":"Flowers_thumb.jpg","galleries_id":347735,"server_id":15,"link":"photo_7316997.html","width":130,"caption":"Tree Flowers 1","height":69});
															thumbnails[9060165] = clik.newPhoto({"id":9060165,"src":"Girl_with_butterflies_-_T_thumb.jpg","galleries_id":470581,"server_id":15,"link":"photo_9060165.html","width":130,"caption":"Girl with Butterflies - Taupe","height":172});
															thumbnails[7314776] = clik.newPhoto({"id":7314776,"src":"Figure_59_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314776.html","width":130,"caption":"fig. 59 - Taupe","height":96});
															thumbnails[7314803] = clik.newPhoto({"id":7314803,"src":"59_purple_background_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314803.html","width":130,"caption":"fig. 59 - Purple","height":92});
															thumbnails[6253400] = clik.newPhoto({"id":6253400,"src":"Blossom_thumb.jpg","galleries_id":347735,"server_id":15,"link":"photo_6253400.html","width":130,"caption":"Blossom","height":46});
															thumbnails[7314772] = clik.newPhoto({"id":7314772,"src":"03_-_taupe_background_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314772.html","width":130,"caption":"fig.03 - Taupe","height":186});
															thumbnails[5423481] = clik.newPhoto({"id":5423481,"src":"03_-_purple_background_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_5423481.html","width":130,"caption":"fig. 03 - Purple","height":186});
															thumbnails[7314818] = clik.newPhoto({"id":7314818,"src":"fig_29_-_P_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314818.html","width":130,"caption":"fig.29 - Purple","height":174});
															thumbnails[7314383] = clik.newPhoto({"id":7314383,"src":"fig.29_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314383.html","width":130,"caption":"fig. 29 - Taupe","height":174});
															thumbnails[4221667] = clik.newPhoto({"id":4221667,"src":"DSC_6331_smaller_591_thumb.jpg","galleries_id":254718,"server_id":15,"link":"photo_4221667.html","width":130,"caption":"fig 59","height":99});
															thumbnails[4221665] = clik.newPhoto({"id":4221665,"src":"DSC_6281_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_4221665.html","width":130,"caption":"fig 35 with daisies (pink)","height":179});
															thumbnails[6253745] = clik.newPhoto({"id":6253745,"src":"Blossom_Butterfies_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_6253745.html","width":130,"caption":"Fig 29 with Butterflies and Blossom","height":173});
															thumbnails[4221620] = clik.newPhoto({"id":4221620,"src":"DSC_6296_thumb.jpg","galleries_id":250368,"server_id":15,"link":"photo_4221620.html","width":130,"caption":"2 for joy","height":49});
															thumbnails[4221634] = clik.newPhoto({"id":4221634,"src":"DSC_6258_thumb.jpg","galleries_id":250363,"server_id":15,"link":"photo_4221634.html","width":130,"caption":"Cedar at Coombe Dingle","height":49});
															thumbnails[7314847] = clik.newPhoto({"id":7314847,"src":"fig_29_with_butterflies_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7314847.html","width":130,"caption":"fig. 29 with butterflies 3D","height":174});
															thumbnails[4269604] = clik.newPhoto({"id":4269604,"src":"DSC_6283_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_4269604.html","width":130,"caption":"fig. 35 with daisies (purple)","height":176});
															thumbnails[7315485] = clik.newPhoto({"id":7315485,"src":"Fig_45_with_a_daisy_-_purple_A4D3AC17-24E8-5EC4-4F04D83F5C811FE1_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_7315485.html","width":130,"caption":"fig. 45 with a Daisy","height":194});
															thumbnails[4221672] = clik.newPhoto({"id":4221672,"src":"DSC_6285_smaller_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_4221672.html","width":130,"caption":"View from the Edge 1","height":184});
															thumbnails[4389039] = clik.newPhoto({"id":4389039,"src":"DSC_6473-smaller-600_thumb.jpg","galleries_id":250368,"server_id":15,"link":"photo_4389039.html","width":130,"caption":"Dove Tales","height":52});
															thumbnails[4269585] = clik.newPhoto({"id":4269585,"src":"DSC_6287_small_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_4269585.html","width":130,"caption":"A View from the Edge 2","height":172});
															thumbnails[4221660] = clik.newPhoto({"id":4221660,"src":"45_-_purple_background_thumb.jpg","galleries_id":250364,"server_id":15,"link":"photo_4221660.html","width":130,"caption":"figure 45","height":184});
															thumbnails[4389041] = clik.newPhoto({"id":4389041,"src":"DSC_6471-smaller-600_thumb.jpg","galleries_id":250363,"server_id":15,"link":"photo_4389041.html","width":130,"caption":"Inky Cedar","height":52});
															thumbnails[4221637] = clik.newPhoto({"id":4221637,"src":"DSC_6269_thumb.jpg","galleries_id":250363,"server_id":15,"link":"photo_4221637.html","width":130,"caption":"3 Sisters","height":94});
															thumbnails[5423340] = clik.newPhoto({"id":5423340,"src":"swallows_small_thumb.jpg","galleries_id":250368,"server_id":15,"link":"photo_5423340.html","width":130,"caption":"Returning Home","height":47});
															thumbnails[4269588] = clik.newPhoto({"id":4269588,"src":"DSC_6261_thumb.jpg","galleries_id":250363,"server_id":15,"link":"photo_4269588.html","width":130,"caption":"3 Sisters (3 Colours)<br>\r\n","height":103});
															thumbnails[4320099] = clik.newPhoto({"id":4320099,"src":"DSC_6329_smaller_35_thumb.jpg","galleries_id":254718,"server_id":15,"link":"photo_4320099.html","width":130,"caption":"fig. 35","height":170});
															thumbnails[4389042] = clik.newPhoto({"id":4389042,"src":"DSC_6472-smaller-600_thumb.jpg","galleries_id":250368,"server_id":15,"link":"photo_4389042.html","width":130,"caption":"Waiting to Fly","height":45});
															thumbnails[4269561] = clik.newPhoto({"id":4269561,"src":"DSC_6330_smaller_45_thumb.jpg","galleries_id":254718,"server_id":15,"link":"photo_4269561.html","width":130,"caption":"fig 45","height":173});
															thumbnails[4391640] = clik.newPhoto({"id":4391640,"src":"DSC_6410-fig-03-at-400_thumb.jpg","galleries_id":254718,"server_id":15,"link":"photo_4391640.html","width":130,"caption":"figure 03","height":174});
															thumbnails[4269334] = clik.newPhoto({"id":4269334,"src":"DSC_6266_thumb.jpg","galleries_id":250368,"server_id":15,"link":"photo_4269334.html","width":130,"caption":"Waiting to Fly (1)","height":45});
															thumbnails[5358215] = clik.newPhoto({"id":5358215,"src":"2_for_Joy1_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_5358215.html","width":130,"caption":"2 for Joy -  Code M1","height":49});
															thumbnails[6253577] = clik.newPhoto({"id":6253577,"src":"Blossom2_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_6253577.html","width":130,"caption":"Blossom - Code B1","height":46});
															thumbnails[5358454] = clik.newPhoto({"id":5358454,"src":"DSC_6296_cropped_for_card_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_5358454.html","width":130,"caption":"2 for Joy (Code - M2)","height":84});
															thumbnails[6253579] = clik.newPhoto({"id":6253579,"src":"Blossom11_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_6253579.html","width":130,"caption":"Blossom 1 - Code BL1","height":46});
															thumbnails[7318481] = clik.newPhoto({"id":7318481,"src":"Card_-_fig_29T__thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_7318481.html","width":130,"caption":"fig.29 Taupe - Code 3 29 - T","height":194});
															thumbnails[9061464] = clik.newPhoto({"id":9061464,"src":"Chocolate_Blossom_Code_-_CB1_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_9061464.html","width":130,"caption":"Chocolate Blossom - Code -CB1","height":45});
															thumbnails[7318520] = clik.newPhoto({"id":7318520,"src":"Card_-__fig_29_with_w_butterflies_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_7318520.html","width":130,"caption":"fig.29 with Butterflies - Code 3 29WB","height":194});
															thumbnails[5358374] = clik.newPhoto({"id":5358374,"src":"DSC_6473-smaller-6001_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_5358374.html","width":130,"caption":"Dove Tales - Code DT 1","height":52});
															thumbnails[4221649] = clik.newPhoto({"id":4221649,"src":"DSC_6268_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_4221649.html","width":130,"caption":"Dove tales 1 -  Code D1","height":49});
															thumbnails[9060376] = clik.newPhoto({"id":9060376,"src":"Blossom_Code_-_B2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060376.html","width":130,"caption":"Blossom (Code B2)","height":97});
															thumbnails[9061753] = clik.newPhoto({"id":9061753,"src":"fig.29_with_butterflies_and_blossom_329BB_copy_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_9061753.html","width":130,"caption":"fig. 29 with butterflies and blossom - code 3 29BB","height":182});
															thumbnails[5366294] = clik.newPhoto({"id":5366294,"src":"Fig_45_with_a_daisy_-_purple_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_5366294.html","width":130,"caption":"Figure 45D- Purple. Code 345D - PL","height":195});
															thumbnails[7316938] = clik.newPhoto({"id":7316938,"src":"Blossom_2_-__Grey_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316938.html","width":130,"caption":"Grey blossom - Code GB1","height":47});
															thumbnails[6253635] = clik.newPhoto({"id":6253635,"src":"Lavender_Butterflies123_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_6253635.html","width":130,"caption":"Lavender Butterflies - Code LB1","height":49});
															thumbnails[9060382] = clik.newPhoto({"id":9060382,"src":"Blossom_1_Code_B12_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060382.html","width":130,"caption":"Blossom 1 (Code B12)","height":97});
															thumbnails[5366291] = clik.newPhoto({"id":5366291,"src":"Fig_35_with_daisies_-_pink_copy1_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_5366291.html","width":130,"caption":"Figure 35 with Daisies - Pink. Code 3 35D - P","height":195});
															thumbnails[7316977] = clik.newPhoto({"id":7316977,"src":"Tree_Flowers_-_Grey_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316977.html","width":130,"caption":"Tree Flowers - Grey - Code TF - G","height":47});
															thumbnails[9061533] = clik.newPhoto({"id":9061533,"src":"Magnolia_Code__-_MA1__thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_9061533.html","width":130,"caption":"Magnolia Code MA1","height":45});
															thumbnails[5366292] = clik.newPhoto({"id":5366292,"src":"Fig_35_with_daisies_-_purple_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_5366292.html","width":130,"caption":"Figure 35D - Purple. Code 3 35D - PL","height":195});
															thumbnails[7316980] = clik.newPhoto({"id":7316980,"src":"Tree_Flowers_-_Purple_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316980.html","width":130,"caption":"Tree Flowers - Purple - Code - TF1 - P","height":47});
															thumbnails[7316981] = clik.newPhoto({"id":7316981,"src":"Tree_Flowers_-_Red_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316981.html","width":130,"caption":"Tree Flowers - Red - Code TF1 - R","height":47});
															thumbnails[5358367] = clik.newPhoto({"id":5358367,"src":"Waiting_to_Fly_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_5358367.html","width":130,"caption":"Waiting to Fly - W1","height":45});
															thumbnails[9060278] = clik.newPhoto({"id":9060278,"src":"Chocolate_Blossom_Code_-_CB2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060278.html","width":130,"caption":"Chocolate Blossom (Code CB2)","height":97});
															thumbnails[5358387] = clik.newPhoto({"id":5358387,"src":"DSC_62661_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_5358387.html","width":130,"caption":"Waiting to Fly 1 - Code WB1","height":45});
															thumbnails[9061786] = clik.newPhoto({"id":9061786,"src":"Boy_with_Shark_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_9061786.html","width":130,"caption":"Boy with Shark - Code 3 BS","height":199});
															thumbnails[7317038] = clik.newPhoto({"id":7317038,"src":"Card_-_Doves_Tales_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7317038.html","width":130,"caption":"Dove Tales (Code - D2)","height":92});
															thumbnails[9061537] = clik.newPhoto({"id":9061537,"src":"Pink_Blossom_Code_-_PB1_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_9061537.html","width":130,"caption":"Pink Blossom - Code PB1","height":45});
															thumbnails[9061764] = clik.newPhoto({"id":9061764,"src":"Girl_with_butterflies_3GB_-_P_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_9061764.html","width":130,"caption":"Girl with butterflies 3 GB","height":174});
															thumbnails[7316973] = clik.newPhoto({"id":7316973,"src":"Blossom_2_-_Purple_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316973.html","width":130,"caption":"Purple Blossom - Code PLB1","height":47});
															thumbnails[7316991] = clik.newPhoto({"id":7316991,"src":"Returning_Home_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316991.html","width":130,"caption":"Returning Home - Code - RH1","height":46});
															thumbnails[7317023] = clik.newPhoto({"id":7317023,"src":"Card_-Dove_Tales_2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7317023.html","width":130,"caption":"Dove Tales 2 (Code - DT2 GR)","height":92});
															thumbnails[9060388] = clik.newPhoto({"id":9060388,"src":"Grey_Blossom_Code_-_GB2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060388.html","width":130,"caption":"Grey Blossom (Code- GB2)","height":97});
															thumbnails[9061550] = clik.newPhoto({"id":9061550,"src":"Tree_Flowers_Code_-_TF1_-_T_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_9061550.html","width":130,"caption":"Tree Flowers - Code TF1","height":46});
															thumbnails[5366288] = clik.newPhoto({"id":5366288,"src":"Fig_03_with_Daisies_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_5366288.html","width":130,"caption":"Figure 03 with Daisies. Code 3 03D","height":195});
															thumbnails[7317040] = clik.newPhoto({"id":7317040,"src":"Card_-_LButterflies_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7317040.html","width":130,"caption":"Lavender Butterflies (Code - LB2)","height":92});
															thumbnails[7318453] = clik.newPhoto({"id":7318453,"src":"Card_-03_-_taupe12_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_7318453.html","width":130,"caption":"fig. 03 Taupe - Code 3 03-T","height":186});
															thumbnails[9060282] = clik.newPhoto({"id":9060282,"src":"Magnolia__Code_MA2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060282.html","width":130,"caption":"Magnolia (Code MA2)","height":97});
															thumbnails[5366286] = clik.newPhoto({"id":5366286,"src":"fig_03_-_blue1_thumb.jpg","galleries_id":302442,"server_id":15,"link":"photo_5366286.html","width":130,"caption":"Figure 03 Blue - Code3 03-B","height":195});
															thumbnails[9060398] = clik.newPhoto({"id":9060398,"src":"White_blossom2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060398.html","width":130,"caption":"Pink Blossom (Code PB2)","height":97});
															thumbnails[9060393] = clik.newPhoto({"id":9060393,"src":"Purple_Blossom__Code_PB2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060393.html","width":130,"caption":"Purple Blossom (Code PLB2)","height":97});
															thumbnails[9060394] = clik.newPhoto({"id":9060394,"src":"Returning_Home_Code_RH2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060394.html","width":130,"caption":"Returning Home (Code RH2)","height":97});
															thumbnails[7317021] = clik.newPhoto({"id":7317021,"src":"_Card_-_TFlowers_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7317021.html","width":130,"caption":"Tree Flowers (Code - TF2)","height":69});
															thumbnails[7316987] = clik.newPhoto({"id":7316987,"src":"Waiting_to_Fly_-_Cream_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316987.html","width":130,"caption":"Waiting to Fly - Cream - Code WC1 ","height":44});
															thumbnails[7317022] = clik.newPhoto({"id":7317022,"src":"Card_-_Purple_Tree_Flowers_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7317022.html","width":130,"caption":"Tree Flowers - Purple (Code TF2 - P)","height":92});
															thumbnails[9060395] = clik.newPhoto({"id":9060395,"src":"Tree_Flowers_-_Red_Code_TF2_-_R_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060395.html","width":130,"caption":"Tree Flowers - Red (Code TF2 - R)","height":97});
															thumbnails[6253664] = clik.newPhoto({"id":6253664,"src":"DSC_6258_88811010-1EC9-D45B-1C69A2AA9B3217B1_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_6253664.html","width":130,"caption":"Cedar - Code CB1","height":49});
															thumbnails[9060281] = clik.newPhoto({"id":9060281,"src":"Pink_Blossom_2_Code_PB2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060281.html","width":130,"caption":"White blossom (Code WB2)","height":97});
															thumbnails[5358340] = clik.newPhoto({"id":5358340,"src":"inky_cedar_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_5358340.html","width":130,"caption":"Inky Cedar - Code IC1","height":50});
															thumbnails[5358463] = clik.newPhoto({"id":5358463,"src":"DSC_6472_cropped_for_card12_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_5358463.html","width":130,"caption":"Waiting to Fly (Code WF2)","height":84});
															thumbnails[7316990] = clik.newPhoto({"id":7316990,"src":"HHT_-_Black_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316990.html","width":130,"caption":"Hill Top Trees - Code - HTT1 - B","height":46});
															thumbnails[9060401] = clik.newPhoto({"id":9060401,"src":"Waiting_to_Fly_-_grey_WF2_-_G_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060401.html","width":130,"caption":"Waiting to Fly - Grey (Code WF2 - G) ","height":97});
															thumbnails[7317041] = clik.newPhoto({"id":7317041,"src":"Card_-_Waiting_Cream_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7317041.html","width":130,"caption":"Waiting to Fly - Cream and Taupe (Code WF2- C)","height":92});
															thumbnails[7316983] = clik.newPhoto({"id":7316983,"src":"Hill_Top_Trees_-_White_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316983.html","width":130,"caption":"Hill Top Trees - White - Code - HTT1 - W","height":45});
															thumbnails[5358467] = clik.newPhoto({"id":5358467,"src":"DSC_6269_smaller_for_card_page_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_5358467.html","width":130,"caption":"3 Sisters (Code S2)","height":94});
															thumbnails[7316984] = clik.newPhoto({"id":7316984,"src":"Hill_Top_Trees_with_Birds_thumb.jpg","galleries_id":301831,"server_id":15,"link":"photo_7316984.html","width":130,"caption":"Hill Top Trees with Birds - Code - HTTB1","height":45});
															thumbnails[9060249] = clik.newPhoto({"id":9060249,"src":"3_Sisters_Grey_3S_-_G_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060249.html","width":130,"caption":"3 Sisters Grey (Code - S2 - G)","height":97});
															thumbnails[9060259] = clik.newPhoto({"id":9060259,"src":"3_Sisters_White_Code_S2-_W_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060259.html","width":130,"caption":"3 Sisters -Taupe (Code S2 - T)","height":97});
															thumbnails[9060275] = clik.newPhoto({"id":9060275,"src":"Inky_Sisters_Code_IS2_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060275.html","width":130,"caption":"Inky Sisters (Code IS2)","height":97});
															thumbnails[9060405] = clik.newPhoto({"id":9060405,"src":"Hill_Top_Trees_-_Taupe_Code_HTT_-_T_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060405.html","width":130,"caption":"Hill Top Trees - Taupe (Code HTT2 - T)","height":97});
															thumbnails[9060412] = clik.newPhoto({"id":9060412,"src":"Hill_top_Trees_-_white_code_HTT2_-_W_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9060412.html","width":130,"caption":"Hill Top Trees - White (HTT2 - W)","height":97});
															thumbnails[9061581] = clik.newPhoto({"id":9061581,"src":"fig.55_with_doves_Code_-_255D_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_9061581.html","width":130,"caption":"fig. 55 with doves (Code -55D2)","height":97});
															thumbnails[5366289] = clik.newPhoto({"id":5366289,"src":"Fig_25_-_blue_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_5366289.html","width":130,"caption":"Figure 25 - Blue. Code 252 - B","height":86});
															thumbnails[7318463] = clik.newPhoto({"id":7318463,"src":"Card_-_fig_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7318463.html","width":130,"caption":"fig. 25 Taupe - Code 252 - T","height":87});
															thumbnails[7318378] = clik.newPhoto({"id":7318378,"src":"Card_-_Figure_5912_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_7318378.html","width":130,"caption":"fig. 59 Taupe - Code 592 - T","height":96});
															thumbnails[5366295] = clik.newPhoto({"id":5366295,"src":"Fig_59_-_blue_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_5366295.html","width":130,"caption":"Figure 59 Blue -  Code 592 - B","height":86});
															thumbnails[5366273] = clik.newPhoto({"id":5366273,"src":"Fig_59_with_daisies_-blue_copy123_thumb.jpg","galleries_id":301841,"server_id":15,"link":"photo_5366273.html","width":130,"caption":"Figure 59 with daisies - Code 59D2","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[250368] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Birds","link":"gallery_250368.html","maxRecords":0.0,"photoIDs":[7316993.0,7316995.0,4221620.0,4389039.0,5423340.0,4389042.0,4269334.0],"skipIndex":0,"section_code":"gallery","featured_images":"7316995,7316993,5423340,4389042,4389039,4269334,4221620","id":250368,"singleSection":false});				  						galleries[347735] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Butterflies, Blossom and Flowers","link":"gallery_347735.html","maxRecords":0.0,"photoIDs":[6253299.0,6253432.0,7316996.0,7316997.0,6253400.0],"skipIndex":0,"section_code":"gallery","featured_images":"7316997,7316996,6253432,6253400,6253299","id":347735,"singleSection":false});				  						galleries[250363] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Trees","link":"gallery_250363.html","maxRecords":0.0,"photoIDs":[4221634.0,4389041.0,4221637.0,4269588.0],"skipIndex":0,"section_code":"gallery","featured_images":"4389041,4269588,4221637,4221634","id":250363,"singleSection":false});				  						galleries[250364] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Figures","link":"gallery_250364.html","maxRecords":0.0,"photoIDs":[7314801.0,7314746.0,7314776.0,7314803.0,7314772.0,5423481.0,7314818.0,7314383.0,4221665.0,6253745.0,7314847.0,4269604.0,7315485.0,4221672.0,4269585.0,4221660.0],"skipIndex":0,"section_code":"gallery","featured_images":"7315485,7314847,7314818,7314803,7314801,7314776,7314772,7314746,7314383,6253745","id":250364,"singleSection":false});				  						galleries[254718] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Embossed Figures","link":"gallery_254718.html","maxRecords":0.0,"photoIDs":[5423490.0,5423492.0,4221667.0,4320099.0,4269561.0,4391640.0],"skipIndex":0,"section_code":"gallery","featured_images":"5423492,5423490,4391640,4320099,4269561,4221667","id":254718,"singleSection":false});				  						galleries[470581] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Children","link":"gallery_470581.html","maxRecords":0.0,"photoIDs":[9060146.0,9060165.0],"skipIndex":0,"section_code":"gallery","featured_images":"9060165,9060146","id":470581,"singleSection":false});				  						galleries[301831] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Card Size 1 -  7.3cm by 20.3cm","link":"section361057_301831.html","maxRecords":0.0,"photoIDs":[5358215.0,6253577.0,6253579.0,9061464.0,5358374.0,4221649.0,7316938.0,6253635.0,7316977.0,9061533.0,7316980.0,7316981.0,5358367.0,5358387.0,9061537.0,7316973.0,7316991.0,9061550.0,7316987.0,6253664.0,5358340.0,7316990.0,7316983.0,7316984.0],"skipIndex":0,"section_code":"section361057","featured_images":"9061550,9061537,9061533,9061464,7316991,7316990,7316987,7316984,7316983,7316981","id":301831,"singleSection":false});				  						galleries[301841] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Card Size 2  - 15.2 cm by 10.2 cm","link":"section361057_301841.html","maxRecords":0.0,"photoIDs":[5358454.0,9060376.0,9060382.0,9060278.0,7317038.0,7317023.0,9060388.0,7317040.0,9060282.0,9060398.0,9060393.0,9060394.0,7317021.0,7317022.0,9060395.0,9060281.0,5358463.0,9060401.0,7317041.0,5358467.0,9060249.0,9060259.0,9060275.0,9060405.0,9060412.0,9061581.0,5366289.0,7318463.0,7318378.0,5366295.0,5366273.0],"skipIndex":0,"section_code":"section361057","featured_images":"9061581,9060412,9060405,9060401,9060398,9060395,9060394,9060393,9060388,9060382","id":301841,"singleSection":false});				  						galleries[302442] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Card size 3 10.2cm by 15.2cm","link":"section361057_302442.html","maxRecords":0.0,"photoIDs":[7318481.0,7318520.0,9061753.0,5366294.0,5366291.0,5366292.0,9061786.0,9061764.0,5366288.0,7318453.0,5366286.0],"skipIndex":0,"section_code":"section361057","featured_images":"9061786,9061764,9061753,7318520,7318481,7318453,5366294,5366292,5366291,5366288","id":302442,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4221620';
imageSets[3] = '9061786,9061764,9061753,9061581,9061550,9061537,9061533,9061464,9060412,9060405,9060401,9060398,9060395,9060394,9060393,9060388,9060382,9060376,9060282,9060281,9060278,9060275,9060259,9060249,9060165,9060146,7318520,7318481,7318463,7318453,7318378,7317041,7317040,7317038,7317023,7317022,7317021,7316997,7316996,7316995,7316993,7316991,7316990,7316987,7316984,7316983,7316981,7316980,7316977,7316973';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/cuttsy/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/cuttsy/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 || photos || {})[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 = 'Clare Cutts - Printmaker: ' + 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>Copyright © 2009 Clare Cutts </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>Printmaker </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

