window.thumbnails = {};
															thumbnails[6690266] = clik.newPhoto({"id":6690266,"src":"NEESAweb3_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[6690286] = clik.newPhoto({"id":6690286,"src":"NEESAweb4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[6690243] = clik.newPhoto({"id":6690243,"src":"NEESAweb_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[6690255] = clik.newPhoto({"id":6690255,"src":"NEESAweb2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[6690304] = clik.newPhoto({"id":6690304,"src":"NEESAweb6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[6690303] = clik.newPhoto({"id":6690303,"src":"NEESAweb5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5103367] = clik.newPhoto({"id":5103367,"src":"bafta1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":88});
															thumbnails[5103377] = clik.newPhoto({"id":5103377,"src":"bafta2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5103384] = clik.newPhoto({"id":5103384,"src":"bafta3_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5103613] = clik.newPhoto({"id":5103613,"src":"bafta4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5103614] = clik.newPhoto({"id":5103614,"src":"bafta6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":90});
															thumbnails[5103619] = clik.newPhoto({"id":5103619,"src":"bafta7_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5103622] = clik.newPhoto({"id":5103622,"src":"bafta8_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":94});
															thumbnails[5103628] = clik.newPhoto({"id":5103628,"src":"bafta9_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":200});
															thumbnails[5103634] = clik.newPhoto({"id":5103634,"src":"bafta10_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":88});
															thumbnails[5103640] = clik.newPhoto({"id":5103640,"src":"bafta11_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5132262] = clik.newPhoto({"id":5132262,"src":"creamfilm_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":92});
															thumbnails[5132265] = clik.newPhoto({"id":5132265,"src":"legbottles_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":81});
															thumbnails[5132269] = clik.newPhoto({"id":5132269,"src":"paintjamm_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":187});
															thumbnails[5712581] = clik.newPhoto({"id":5712581,"src":"wordsescapeme72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5466026] = clik.newPhoto({"id":5466026,"src":"pic172_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4818817] = clik.newPhoto({"id":4818817,"src":"Boy_throwing_seedbom_72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5127501] = clik.newPhoto({"id":5127501,"src":"dream1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4391401] = clik.newPhoto({"id":4391401,"src":"grizedalechair_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":196});
															thumbnails[4318683] = clik.newPhoto({"id":4318683,"src":"alicedraw_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":173});
															thumbnails[4318649] = clik.newPhoto({"id":4318649,"src":"hazelwood2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226113] = clik.newPhoto({"id":5226113,"src":"graham_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":177});
															thumbnails[4318403] = clik.newPhoto({"id":4318403,"src":"creamfields_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":104});
															thumbnails[5466028] = clik.newPhoto({"id":5466028,"src":"pic472_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4818815] = clik.newPhoto({"id":4818815,"src":"bomtable_72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4698388] = clik.newPhoto({"id":4698388,"src":"crete6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5127524] = clik.newPhoto({"id":5127524,"src":"dream8_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4391415] = clik.newPhoto({"id":4391415,"src":"grizedalestack_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":196});
															thumbnails[4318658] = clik.newPhoto({"id":4318658,"src":"hazelwood1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226115] = clik.newPhoto({"id":5226115,"src":"martin_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":96});
															thumbnails[4318611] = clik.newPhoto({"id":4318611,"src":"drum2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5466055] = clik.newPhoto({"id":5466055,"src":"closeupshadow72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5127514] = clik.newPhoto({"id":5127514,"src":"dream5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4391411] = clik.newPhoto({"id":4391411,"src":"grizedaleoil_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4319118] = clik.newPhoto({"id":4319118,"src":"plantroom5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":96});
															thumbnails[4318660] = clik.newPhoto({"id":4318660,"src":"hazelwood4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226116] = clik.newPhoto({"id":5226116,"src":"adam_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":160});
															thumbnails[4318616] = clik.newPhoto({"id":4318616,"src":"drum3_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":99});
															thumbnails[5227523] = clik.newPhoto({"id":5227523,"src":"ruthwed6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":97});
															thumbnails[4318421] = clik.newPhoto({"id":4318421,"src":"grizedale1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":133});
															thumbnails[5466031] = clik.newPhoto({"id":5466031,"src":"pic872_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4818826] = clik.newPhoto({"id":4818826,"src":"comcentre_272_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5127520] = clik.newPhoto({"id":5127520,"src":"dream7_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4391422] = clik.newPhoto({"id":4391422,"src":"grizedalewood_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":101});
															thumbnails[4318698] = clik.newPhoto({"id":4318698,"src":"found_smells_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":99});
															thumbnails[4318668] = clik.newPhoto({"id":4318668,"src":"hazelwood5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226119] = clik.newPhoto({"id":5226119,"src":"stephan_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":96});
															thumbnails[4318619] = clik.newPhoto({"id":4318619,"src":"drum4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226096] = clik.newPhoto({"id":5226096,"src":"ruthwed4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":177});
															thumbnails[5466037] = clik.newPhoto({"id":5466037,"src":"sparered72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":196});
															thumbnails[4818828] = clik.newPhoto({"id":4818828,"src":"Clover_Bank_Planting_Tree_72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5127503] = clik.newPhoto({"id":5127503,"src":"dream2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4391432] = clik.newPhoto({"id":4391432,"src":"grizedalepaper_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4318699] = clik.newPhoto({"id":4318699,"src":"Drummorepic_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[4391459] = clik.newPhoto({"id":4391459,"src":"touchplants33_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":173});
															thumbnails[4434583] = clik.newPhoto({"id":4434583,"src":"drummore5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[4319170] = clik.newPhoto({"id":4319170,"src":"plantroom8_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":93});
															thumbnails[4318672] = clik.newPhoto({"id":4318672,"src":"hazelwood6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[4318622] = clik.newPhoto({"id":4318622,"src":"drum5_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226133] = clik.newPhoto({"id":5226133,"src":"graham2_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":177});
															thumbnails[5226101] = clik.newPhoto({"id":5226101,"src":"ruthwed31_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":173});
															thumbnails[4318430] = clik.newPhoto({"id":4318430,"src":"VIP_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[5466040] = clik.newPhoto({"id":5466040,"src":"pic6721_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4818844] = clik.newPhoto({"id":4818844,"src":"Drummore_Throw_Seedbom_72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5127564] = clik.newPhoto({"id":5127564,"src":"Langfaulds_Make_Seedbom_72_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":88});
															thumbnails[5127519] = clik.newPhoto({"id":5127519,"src":"dream6_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4318747] = clik.newPhoto({"id":4318747,"src":"touchplantings_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[4319175] = clik.newPhoto({"id":4319175,"src":"plantroom7_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":96});
															thumbnails[4434586] = clik.newPhoto({"id":4434586,"src":"drummorebaskets_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":98});
															thumbnails[5226134] = clik.newPhoto({"id":5226134,"src":"grahamnstaff_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":96});
															thumbnails[4318437] = clik.newPhoto({"id":4318437,"src":"paintjam3_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":89});
															thumbnails[5466044] = clik.newPhoto({"id":5466044,"src":"pic1272_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5127512] = clik.newPhoto({"id":5127512,"src":"dream4_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[4318442] = clik.newPhoto({"id":4318442,"src":"paintjam8_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4319185] = clik.newPhoto({"id":4319185,"src":"apple_thumb.jpg","galleries_id":224398,"server_id":15,"link":"photo_4319185.html","width":130,"caption":"","height":107});
															thumbnails[4318824] = clik.newPhoto({"id":4318824,"src":"safe13_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318824.html","width":130,"caption":"","height":144});
															thumbnails[4319219] = clik.newPhoto({"id":4319219,"src":"onion3_thumb.jpg","galleries_id":224398,"server_id":15,"link":"photo_4319219.html","width":130,"caption":"","height":107});
															thumbnails[4318911] = clik.newPhoto({"id":4318911,"src":"agg1_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318911.html","width":130,"caption":"","height":135});
															thumbnails[4318470] = clik.newPhoto({"id":4318470,"src":"image3_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318470.html","width":130,"caption":"","height":108});
															thumbnails[4318486] = clik.newPhoto({"id":4318486,"src":"image1_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318486.html","width":130,"caption":"","height":94});
															thumbnails[4319226] = clik.newPhoto({"id":4319226,"src":"pineapple3_thumb.jpg","galleries_id":224398,"server_id":15,"link":"photo_4319226.html","width":130,"caption":"","height":104});
															thumbnails[4318916] = clik.newPhoto({"id":4318916,"src":"agg5_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318916.html","width":130,"caption":"","height":134});
															thumbnails[4319231] = clik.newPhoto({"id":4319231,"src":"redpepper_thumb.jpg","galleries_id":224398,"server_id":15,"link":"photo_4319231.html","width":130,"caption":"","height":107});
															thumbnails[4318917] = clik.newPhoto({"id":4318917,"src":"les2_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318917.html","width":130,"caption":"","height":121});
															thumbnails[4318502] = clik.newPhoto({"id":4318502,"src":"rug_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318502.html","width":130,"caption":"","height":95});
															thumbnails[5226141] = clik.newPhoto({"id":5226141,"src":"stringtheory_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_5226141.html","width":130,"caption":"","height":108});
															thumbnails[4318753] = clik.newPhoto({"id":4318753,"src":"legs_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318753.html","width":130,"caption":"","height":96});
															thumbnails[4319285] = clik.newPhoto({"id":4319285,"src":"stilllifebook_thumb.jpg","galleries_id":224398,"server_id":15,"link":"photo_4319285.html","width":130,"caption":"","height":98});
															thumbnails[4318959] = clik.newPhoto({"id":4318959,"src":"safe11_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318959.html","width":130,"caption":"","height":251});
															thumbnails[4318524] = clik.newPhoto({"id":4318524,"src":"webpage_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318524.html","width":130,"caption":"","height":132});
															thumbnails[4318546] = clik.newPhoto({"id":4318546,"src":"image4_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318546.html","width":130,"caption":"","height":96});
															thumbnails[4318960] = clik.newPhoto({"id":4318960,"src":"safe12_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318960.html","width":130,"caption":"","height":137});
															thumbnails[5226138] = clik.newPhoto({"id":5226138,"src":"rug1_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_5226138.html","width":130,"caption":"","height":96});
															thumbnails[4391478] = clik.newPhoto({"id":4391478,"src":"cardboard_bird_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4391478.html","width":130,"caption":"","height":96});
															thumbnails[4319288] = clik.newPhoto({"id":4319288,"src":"book5aday_thumb.jpg","galleries_id":224398,"server_id":15,"link":"photo_4319288.html","width":130,"caption":"","height":119});
															thumbnails[4318565] = clik.newPhoto({"id":4318565,"src":"handthread1_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318565.html","width":130,"caption":"","height":184});
															thumbnails[4318970] = clik.newPhoto({"id":4318970,"src":"fearbook_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318970.html","width":130,"caption":"","height":95});
															thumbnails[4318575] = clik.newPhoto({"id":4318575,"src":"handthread2_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318575.html","width":130,"caption":"","height":184});
															thumbnails[4318983] = clik.newPhoto({"id":4318983,"src":"bookcovers_thumb.jpg","galleries_id":226707,"server_id":15,"link":"photo_4318983.html","width":130,"caption":"","height":98});
															thumbnails[4318588] = clik.newPhoto({"id":4318588,"src":"image5_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_4318588.html","width":130,"caption":"","height":179});
															thumbnails[5226166] = clik.newPhoto({"id":5226166,"src":"sensory2_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_5226166.html","width":130,"caption":"","height":96});
															thumbnails[5226213] = clik.newPhoto({"id":5226213,"src":"sensory1_thumb.jpg","galleries_id":247635,"server_id":15,"link":"photo_5226213.html","width":130,"caption":"","height":96});
															thumbnails[5102574] = clik.newPhoto({"id":5102574,"src":"Drumdunk_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5102574.html","width":130,"caption":"","height":86});
															thumbnails[4885110] = clik.newPhoto({"id":4885110,"src":"cardonald15_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_4885110.html","width":130,"caption":"","height":86});
															thumbnails[4318355] = clik.newPhoto({"id":4318355,"src":"gg331_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318355.html","width":130,"caption":"","height":92});
															thumbnails[4319005] = clik.newPhoto({"id":4319005,"src":"plantroom1_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4319005.html","width":130,"caption":"","height":96});
															thumbnails[5102606] = clik.newPhoto({"id":5102606,"src":"drumdunk6_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5102606.html","width":130,"caption":"","height":86});
															thumbnails[4885125] = clik.newPhoto({"id":4885125,"src":"cardonald5_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_4885125.html","width":130,"caption":"","height":86});
															thumbnails[4318360] = clik.newPhoto({"id":4318360,"src":"GG311_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318360.html","width":130,"caption":"","height":115});
															thumbnails[5102610] = clik.newPhoto({"id":5102610,"src":"drumdunk7_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5102610.html","width":130,"caption":"","height":196});
															thumbnails[4885140] = clik.newPhoto({"id":4885140,"src":"cardonald8_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_4885140.html","width":130,"caption":"","height":90});
															thumbnails[4318361] = clik.newPhoto({"id":4318361,"src":"gg352_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318361.html","width":130,"caption":"","height":86});
															thumbnails[4318797] = clik.newPhoto({"id":4318797,"src":"guerrillpic4_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318797.html","width":130,"caption":"","height":98});
															thumbnails[4318801] = clik.newPhoto({"id":4318801,"src":"guerrillapic1_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318801.html","width":130,"caption":"","height":173});
															thumbnails[4318603] = clik.newPhoto({"id":4318603,"src":"Drum1_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_4318603.html","width":130,"caption":"","height":98});
															thumbnails[5126721] = clik.newPhoto({"id":5126721,"src":"christine3_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5126721.html","width":130,"caption":"","height":196});
															thumbnails[4318378] = clik.newPhoto({"id":4318378,"src":"Sitefinished1_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318378.html","width":130,"caption":"","height":86});
															thumbnails[5126725] = clik.newPhoto({"id":5126725,"src":"Christine4_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5126725.html","width":130,"caption":"","height":86});
															thumbnails[4885172] = clik.newPhoto({"id":4885172,"src":"cardonald21_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_4885172.html","width":130,"caption":"","height":86});
															thumbnails[4318386] = clik.newPhoto({"id":4318386,"src":"finalday1_thumb.jpg","galleries_id":253697,"server_id":15,"link":"photo_4318386.html","width":130,"caption":"","height":86});
															thumbnails[5126729] = clik.newPhoto({"id":5126729,"src":"christine6_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5126729.html","width":130,"caption":"","height":86});
															thumbnails[4885183] = clik.newPhoto({"id":4885183,"src":"cardonald22_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_4885183.html","width":130,"caption":"","height":91});
															thumbnails[5147105] = clik.newPhoto({"id":5147105,"src":"stonedyke2_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5147105.html","width":130,"caption":"","height":86});
															thumbnails[5146819] = clik.newPhoto({"id":5146819,"src":"cardonald4_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_5146819.html","width":130,"caption":"","height":204});
															thumbnails[5146825] = clik.newPhoto({"id":5146825,"src":"cardonald25_thumb.jpg","galleries_id":278604,"server_id":15,"link":"photo_5146825.html","width":130,"caption":"","height":86});
															thumbnails[5147119] = clik.newPhoto({"id":5147119,"src":"stonedykebottles_thumb.jpg","galleries_id":225938,"server_id":15,"link":"photo_5147119.html","width":130,"caption":"","height":86});
															thumbnails[6686358] = clik.newPhoto({"id":6686358,"src":"familiar20101_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686358.html","width":130,"caption":"","height":98});
															thumbnails[6686375] = clik.newPhoto({"id":6686375,"src":"familiar20109_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686375.html","width":130,"caption":"","height":98});
															thumbnails[6686396] = clik.newPhoto({"id":6686396,"src":"familiar20102_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686396.html","width":130,"caption":"","height":98});
															thumbnails[6686399] = clik.newPhoto({"id":6686399,"src":"familiar20104_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686399.html","width":130,"caption":"","height":98});
															thumbnails[8760659] = clik.newPhoto({"id":8760659,"src":"familiar_chairs_for_web_thumb.jpg","galleries_id":461366,"server_id":15,"link":"photo_8760659.html","width":130,"caption":"","height":98});
															thumbnails[4318625] = clik.newPhoto({"id":4318625,"src":"rugchair_thumb.jpg","galleries_id":226696,"server_id":15,"link":"photo_4318625.html","width":130,"caption":"","height":94});
															thumbnails[8760665] = clik.newPhoto({"id":8760665,"src":"familiar-series-2011-2fly_me_to_the_moon_thumb.jpg","galleries_id":461366,"server_id":15,"link":"photo_8760665.html","width":130,"caption":"","height":92});
															thumbnails[8760673] = clik.newPhoto({"id":8760673,"src":"familiar-series-2011-1_thumb.jpg","galleries_id":461366,"server_id":15,"link":"photo_8760673.html","width":130,"caption":"","height":95});
															thumbnails[4318634] = clik.newPhoto({"id":4318634,"src":"lizimage_thumb.jpg","galleries_id":226696,"server_id":15,"link":"photo_4318634.html","width":130,"caption":"","height":95});
															thumbnails[4318638] = clik.newPhoto({"id":4318638,"src":"fridge_thumb.jpg","galleries_id":226696,"server_id":15,"link":"photo_4318638.html","width":130,"caption":"","height":100});
															thumbnails[8760675] = clik.newPhoto({"id":8760675,"src":"familiar-series-2011-3_thumb.jpg","galleries_id":461366,"server_id":15,"link":"photo_8760675.html","width":130,"caption":"","height":96});
															thumbnails[5226243] = clik.newPhoto({"id":5226243,"src":"granhair_thumb.jpg","galleries_id":226696,"server_id":15,"link":"photo_5226243.html","width":130,"caption":"","height":177});
															thumbnails[8761072] = clik.newPhoto({"id":8761072,"src":"games_familiar_for_web_thumb.jpg","galleries_id":461366,"server_id":15,"link":"photo_8761072.html","width":130,"caption":"","height":94});
															thumbnails[6686402] = clik.newPhoto({"id":6686402,"src":"familiar20105_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686402.html","width":130,"caption":"","height":98});
															thumbnails[6686413] = clik.newPhoto({"id":6686413,"src":"familiar20106_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686413.html","width":130,"caption":"","height":98});
															thumbnails[6686416] = clik.newPhoto({"id":6686416,"src":"familiar20103_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686416.html","width":130,"caption":"","height":98});
															thumbnails[6686449] = clik.newPhoto({"id":6686449,"src":"familiar20108_thumb.jpg","galleries_id":365189,"server_id":15,"link":"photo_6686449.html","width":130,"caption":"","height":98});
															thumbnails[6686851] = clik.newPhoto({"id":6686851,"src":"albermaleweb1_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6686851.html","width":130,"caption":"","height":96});
															thumbnails[6686937] = clik.newPhoto({"id":6686937,"src":"albermaleweb31_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6686937.html","width":130,"caption":"","height":86});
															thumbnails[6686978] = clik.newPhoto({"id":6686978,"src":"bradleyfoldweb1_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6686978.html","width":130,"caption":"","height":86});
															thumbnails[6686989] = clik.newPhoto({"id":6686989,"src":"bradleyfoldweb2_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6686989.html","width":130,"caption":"","height":86});
															thumbnails[6687069] = clik.newPhoto({"id":6687069,"src":"garscubeweb_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687069.html","width":130,"caption":"","height":86});
															thumbnails[6687120] = clik.newPhoto({"id":6687120,"src":"garscubeweb2_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687120.html","width":130,"caption":"","height":86});
															thumbnails[6687186] = clik.newPhoto({"id":6687186,"src":"garscubeweb4_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687186.html","width":130,"caption":"","height":86});
															thumbnails[6687193] = clik.newPhoto({"id":6687193,"src":"garscubeweb7_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687193.html","width":130,"caption":"","height":86});
															thumbnails[6687198] = clik.newPhoto({"id":6687198,"src":"garscubweb3_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687198.html","width":130,"caption":"","height":86});
															thumbnails[6687206] = clik.newPhoto({"id":6687206,"src":"garscubeweb8_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687206.html","width":130,"caption":"","height":86});
															thumbnails[6687216] = clik.newPhoto({"id":6687216,"src":"riponweb2_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687216.html","width":130,"caption":"","height":86});
															thumbnails[6687223] = clik.newPhoto({"id":6687223,"src":"riponweb_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6687223.html","width":130,"caption":"","height":86});
															thumbnails[6686998] = clik.newPhoto({"id":6686998,"src":"fishergreenweb_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_6686998.html","width":130,"caption":"","height":86});
															thumbnails[8701838] = clik.newPhoto({"id":8701838,"src":"allotmentforweb4_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701838.html","width":130,"caption":"","height":104});
															thumbnails[8259042] = clik.newPhoto({"id":8259042,"src":"filmstillforweb2_thumb.jpg","galleries_id":439865,"server_id":15,"link":"photo_8259042.html","width":130,"caption":"","height":73});
															thumbnails[8412908] = clik.newPhoto({"id":8412908,"src":"shed_for_web_thumb.jpg","galleries_id":445741,"server_id":15,"link":"photo_8412908.html","width":130,"caption":"","height":102});
															thumbnails[8778484] = clik.newPhoto({"id":8778484,"src":"allotment_object_4_thumb.jpg","galleries_id":462248,"server_id":15,"link":"photo_8778484.html","width":130,"caption":"","height":87});
															thumbnails[4367768] = clik.newPhoto({"id":4367768,"src":"westhornportrait_thumb.jpg","galleries_id":256611,"server_id":15,"link":"photo_4367768.html","width":130,"caption":"","height":177});
															thumbnails[7720163] = clik.newPhoto({"id":7720163,"src":"Lottery-black-for-web_thumb.jpg","galleries_id":417891,"server_id":15,"link":"photo_7720163.html","width":130,"caption":"Arts Council England, Lottery grants for the arts logo. ","height":96});
															thumbnails[8259036] = clik.newPhoto({"id":8259036,"src":"filmstillforweb_thumb.jpg","galleries_id":439865,"server_id":15,"link":"photo_8259036.html","width":130,"caption":"","height":76});
															thumbnails[8412911] = clik.newPhoto({"id":8412911,"src":"shed_for_web1_thumb.jpg","galleries_id":445741,"server_id":15,"link":"photo_8412911.html","width":130,"caption":"","height":90});
															thumbnails[8701842] = clik.newPhoto({"id":8701842,"src":"allotmentforweb3_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701842.html","width":130,"caption":"","height":105});
															thumbnails[8778487] = clik.newPhoto({"id":8778487,"src":"allotment_object_1_thumb.jpg","galleries_id":462248,"server_id":15,"link":"photo_8778487.html","width":130,"caption":"","height":56});
															thumbnails[8994352] = clik.newPhoto({"id":8994352,"src":"-1_thumb.png","galleries_id":417891,"server_id":15,"link":"photo_8994352.html","width":130,"caption":"Design sponsor - Design by Daniel Teague","height":18});
															thumbnails[8259048] = clik.newPhoto({"id":8259048,"src":"filstillforweb3_thumb.jpg","galleries_id":439865,"server_id":15,"link":"photo_8259048.html","width":130,"caption":"","height":73});
															thumbnails[8778489] = clik.newPhoto({"id":8778489,"src":"allotment_object_2_thumb.jpg","galleries_id":462248,"server_id":15,"link":"photo_8778489.html","width":130,"caption":"","height":102});
															thumbnails[8412913] = clik.newPhoto({"id":8412913,"src":"shed_for_web2_thumb.jpg","galleries_id":445741,"server_id":15,"link":"photo_8412913.html","width":130,"caption":"","height":99});
															thumbnails[8701845] = clik.newPhoto({"id":8701845,"src":"allotmentforweb6_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701845.html","width":130,"caption":"","height":104});
															thumbnails[8761567] = clik.newPhoto({"id":8761567,"src":"residency_artist_for_web_thumb.jpg","galleries_id":445741,"server_id":15,"link":"photo_8761567.html","width":130,"caption":"","height":86});
															thumbnails[8259047] = clik.newPhoto({"id":8259047,"src":"filstillforweb4_thumb.jpg","galleries_id":439865,"server_id":15,"link":"photo_8259047.html","width":130,"caption":"","height":73});
															thumbnails[8701847] = clik.newPhoto({"id":8701847,"src":"allotmentforweb5_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701847.html","width":130,"caption":"","height":104});
															thumbnails[8778491] = clik.newPhoto({"id":8778491,"src":"allotment_object_3_thumb.jpg","galleries_id":462248,"server_id":15,"link":"photo_8778491.html","width":130,"caption":"","height":80});
															thumbnails[8736016] = clik.newPhoto({"id":8736016,"src":"interview_on_spot_thumb.jpg","galleries_id":439865,"server_id":15,"link":"photo_8736016.html","width":130,"caption":"","height":73});
															thumbnails[8701851] = clik.newPhoto({"id":8701851,"src":"allotmentforweb7_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701851.html","width":130,"caption":"","height":104});
															thumbnails[8778509] = clik.newPhoto({"id":8778509,"src":"allotment_doodle_thumb.jpg","galleries_id":462248,"server_id":15,"link":"photo_8778509.html","width":130,"caption":"","height":77});
															thumbnails[8778510] = clik.newPhoto({"id":8778510,"src":"allotment_collage1_thumb.jpg","galleries_id":462248,"server_id":15,"link":"photo_8778510.html","width":130,"caption":"","height":92});
															thumbnails[8701856] = clik.newPhoto({"id":8701856,"src":"allotmentforweb8_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701856.html","width":130,"caption":"","height":104});
															thumbnails[8701859] = clik.newPhoto({"id":8701859,"src":"allotmentforweb9_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701859.html","width":130,"caption":"","height":104});
															thumbnails[8701864] = clik.newPhoto({"id":8701864,"src":"allotmentforweb_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701864.html","width":130,"caption":"","height":104});
															thumbnails[8701865] = clik.newPhoto({"id":8701865,"src":"allotmentforweb2_thumb.jpg","galleries_id":459026,"server_id":15,"link":"photo_8701865.html","width":130,"caption":"","height":104});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[417891] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sponsors and Supporters","link":"section473591_417891.html","maxRecords":0.0,"photoIDs":[7720163.0,8994352.0],"skipIndex":0,"section_code":"section473591","featured_images":"8994352,7720163","id":417891,"singleSection":false});				  						galleries[247635] = clik.newGallery({"parentGallery":"","usePopups":false,"title":2008.0,"link":"gallery_247635.html","maxRecords":0.0,"photoIDs":[4318470.0,4318486.0,4318502.0,5226141.0,4318753.0,4318524.0,4318546.0,5226138.0,4391478.0,4318565.0,4318575.0,4318588.0,5226166.0,5226213.0],"skipIndex":0,"section_code":"gallery","featured_images":"4318753,4318470","id":247635,"singleSection":false});				  						galleries[226696] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Familiar 2007\/8","link":"section416956_226696.html","maxRecords":0.0,"photoIDs":[4318625.0,4318634.0,4318638.0,5226243.0],"skipIndex":0,"section_code":"section416956","featured_images":4318625.0,"id":226696,"singleSection":false});				  						galleries[278604] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cardonald Holistics","link":"section276442_278604.html","maxRecords":0.0,"photoIDs":[4885110.0,4885125.0,4885140.0,4885172.0,4885183.0,5146819.0,5146825.0],"skipIndex":0,"section_code":"section276442","featured_images":4885110.0,"id":278604,"singleSection":false});				  						galleries[365189] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Familiar 2010","link":"section416956_365189.html","maxRecords":0.0,"photoIDs":[6686358.0,6686375.0,6686396.0,6686399.0,6686402.0,6686413.0,6686416.0,6686449.0],"skipIndex":0,"section_code":"section416956","featured_images":6686399.0,"id":365189,"singleSection":false});				  						galleries[256611] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"First site Visits","link":"section473591_256611.html","maxRecords":0.0,"photoIDs":[6686851.0,6686937.0,6686978.0,6686989.0,6687069.0,6687120.0,6687186.0,6687193.0,6687198.0,6687206.0,6687216.0,6687223.0,6686998.0,4367768.0],"skipIndex":0,"section_code":"section473591","featured_images":"6687223,6687216,6687206,6687198,6687193,6687186,6687120,6687069,6686998,6686989","id":256611,"singleSection":false});				  						galleries[445741] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Residency Shed","link":"section473591_445741.html","maxRecords":0.0,"photoIDs":[8412908.0,8412911.0,8412913.0,8761567.0],"skipIndex":0,"section_code":"section473591","featured_images":"8761567,8412913,8412911,8412908","id":445741,"singleSection":false});				  						galleries[439865] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bradley Fold Interviews","link":"section473591_439865.html","maxRecords":0.0,"photoIDs":[8259042.0,8259036.0,8259048.0,8259047.0,8736016.0],"skipIndex":0,"section_code":"section473591","featured_images":"8736016,8259048,8259047,8259042,8259036","id":439865,"singleSection":false});				  						galleries[225938] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Drumchapel","link":"section276442_225938.html","maxRecords":0.0,"photoIDs":[5102574.0,5102606.0,5102610.0,4318603.0,5126721.0,5126725.0,5126729.0,5147105.0,5147119.0],"skipIndex":0,"section_code":"section276442","featured_images":"5126729,4318603","id":225938,"singleSection":false});				  						galleries[461366] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Familiar 2011","link":"section416956_461366.html","maxRecords":0.0,"photoIDs":[8760659.0,8760665.0,8760673.0,8760675.0,8761072.0],"skipIndex":0,"section_code":"section416956","featured_images":"8761072,8760675,8760673,8760665,8760659","id":461366,"singleSection":false});				  						galleries[253697] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Guerrilla Gardens","link":"section276442_253697.html","maxRecords":0.0,"photoIDs":[4318355.0,4319005.0,4318360.0,4318361.0,4318797.0,4318801.0,4318378.0,4318386.0],"skipIndex":0,"section_code":"section276442","featured_images":"4318378,4318355","id":253697,"singleSection":false});				  						galleries[459026] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"New photographic works","link":"section473591_459026.html","maxRecords":0.0,"photoIDs":[8701838.0,8701842.0,8701845.0,8701847.0,8701851.0,8701856.0,8701859.0,8701864.0,8701865.0],"skipIndex":0,"section_code":"section473591","featured_images":8701838.0,"id":459026,"singleSection":false});				  						galleries[226707] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Book work: Sensory Reflections","link":"gallery_226707.html","maxRecords":0.0,"photoIDs":[4318824.0,4318911.0,4318916.0,4318917.0,4318959.0,4318960.0,4318970.0,4318983.0],"skipIndex":0,"section_code":"gallery","featured_images":4318911.0,"id":226707,"singleSection":false});				  						galleries[462248] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Other works","link":"section473591_462248.html","maxRecords":0.0,"photoIDs":[8778484.0,8778487.0,8778489.0,8778491.0,8778509.0,8778510.0],"skipIndex":0,"section_code":"section473591","featured_images":"8778510,8778509,8778491,8778489,8778487,8778484","id":462248,"singleSection":false});				  						galleries[224398] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Book Work - Still Life","link":"gallery_224398.html","maxRecords":0.0,"photoIDs":[4319185.0,4319219.0,4319226.0,4319231.0,4319285.0,4319288.0],"skipIndex":0,"section_code":"gallery","featured_images":4319185.0,"id":224398,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6686851,6686399,8760659,8701838,8412908,8760673,4318470,8412913,5226141,8736016,8701856,5226166';
imageSets[2] = '6686399,5132262,5103367,8701838,5226113,4885110,4319185,4318625,4318355,4698388,4318911,4318470,5127514,4391411,4318660,5466031,4391422,4318603,5226101,4391432,4318753,4318378,4318747,5127512,5126729,4318442';
imageSets[3] = '4367768,4319185,4318824,4318683,4318649,4318625,4319219,4318911,4318658,4318634,4319226,4319118,4318916,4318797,4318660,4318638,4319231,4318917,4318698,4318668,4319285,4319170,4318959,4318753,4318699,4318672,4318622,4319175,4318960,4318747,4319288,4318970,4318983';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/lizwewiora/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/lizwewiora/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 = 'Elizabeth Wewiora: ' + 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.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> ' + (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;
	}
}

			

