function thumbnail(g,e,b,f,d,a,c){this.id=g;this.galleries_id=e;this.caption=b;this.src=getServerPath(c)+"/"+f;this.width=d;this.height=a}function gallery(e,c,d,b,a){this.id=e;this.featured_images=c;this.title=d;this.section_code=b;this.photoIDs=a}var thumbnails=new Object();thumbnails[1872112]=new thumbnail(1872112,"","","ad wedding 6 by 4email_thumb.jpg",130,168,1);thumbnails[2310040]=new thumbnail(2310040,"151105","","Sonia&Carl003_thumb.JPG",130,130,1);thumbnails[2310049]=new thumbnail(2310049,"","","L_L159_thumb.jpg",130,87,1);thumbnails[2310050]=new thumbnail(2310050,"","","A_R0108091062_thumb.jpg",130,86,1);thumbnails[2310052]=new thumbnail(2310052,"","","A_R0108092742_thumb.jpg",130,86,1);thumbnails[2310058]=new thumbnail(2310058,"","","A_R0108093413_thumb.jpg",130,87,1);thumbnails[2310061]=new thumbnail(2310061,"","","L_L283_thumb.jpg",130,86,1);thumbnails[2310066]=new thumbnail(2310066,"","","L_L459_thumb.jpg",130,86,1);thumbnails[2310068]=new thumbnail(2310068,"","","_DSC8579_thumb.jpg",130,194,1);thumbnails[2310069]=new thumbnail(2310069,"151105","","Sonia&Carl029_thumb.JPG",130,130,1);thumbnails[2310077]=new thumbnail(2310077,"151105","","Sonia&Carl032_thumb.JPG",130,130,1);thumbnails[2310084]=new thumbnail(2310084,"151105","","Sonia&Carl036_thumb.JPG",130,130,1);thumbnails[2310109]=new thumbnail(2310109,"151105","","EYAM223_copy_thumb.jpg",130,86,1);thumbnails[2310206]=new thumbnail(2310206,"151105","","EYAM298_copy_thumb.jpg",130,196,1);thumbnails[2310207]=new thumbnail(2310207,"151105","","Sonia&Carl044_thumb.JPG",130,130,1);thumbnails[2310214]=new thumbnail(2310214,"151105","","Sonia&Carl057_thumb.JPG",130,130,1);thumbnails[2310215]=new thumbnail(2310215,"151105","","Sonia&Carl061_thumb.JPG",130,130,1);thumbnails[2310218]=new thumbnail(2310218,"151105","","Sonia&Carl063_thumb.JPG",130,130,1);thumbnails[2310220]=new thumbnail(2310220,"151105","","Sonia&Carl066_thumb.jpg",130,130,1);thumbnails[2310224]=new thumbnail(2310224,"151105","","Sonia&Carl067_thumb.JPG",130,130,1);thumbnails[2310227]=new thumbnail(2310227,"151105","","Sonia&Carl070_thumb.JPG",130,130,1);thumbnails[2310231]=new thumbnail(2310231,"151105","","Sonia&Carl072_thumb.JPG",130,130,1);thumbnails[2310240]=new thumbnail(2310240,"151105","","Sonia&Carl078_thumb.JPG",130,130,1);thumbnails[2310244]=new thumbnail(2310244,"151105","","Sonia&Carl082_thumb.JPG",130,130,1);thumbnails[2310246]=new thumbnail(2310246,"151105","","Sonia&Carl083_thumb.JPG",130,130,1);thumbnails[2310253]=new thumbnail(2310253,"151105","","Sonia&Carl092_thumb.JPG",130,130,1);thumbnails[2923253]=new thumbnail(2923253,"","","A_R0108095052_thumb.jpg",130,87,1);thumbnails[2923676]=new thumbnail(2923676,"","","DSC_7205_thumb.jpg",130,196,1);thumbnails[2923680]=new thumbnail(2923680,"","","DSC_0605_thumb.jpg",130,196,1);thumbnails[2923681]=new thumbnail(2923681,"","","A_R010809089_thumb.jpg",130,196,1);thumbnails[2923701]=new thumbnail(2923701,"","","_DSC8480_thumb.jpg",130,194,1);thumbnails[3598177]=new thumbnail(3598177,"219900","","_DSC4803_thumb.jpg",130,130,1);thumbnails[3598179]=new thumbnail(3598179,"219900","","_DSC4895_thumb.jpg",130,130,1);thumbnails[3598181]=new thumbnail(3598181,"219900","","_DSC4933_thumb.jpg",130,130,1);thumbnails[3598183]=new thumbnail(3598183,"219900","","_DSC4952_thumb.jpg",130,130,1);thumbnails[3598185]=new thumbnail(3598185,"219900","","_DSC5021_thumb.jpg",130,130,1);thumbnails[3598187]=new thumbnail(3598187,"219900","","_DSC5062_thumb.jpg",130,130,1);thumbnails[3598197]=new thumbnail(3598197,"219900","","_DSC5165_thumb.jpg",130,130,1);thumbnails[3598200]=new thumbnail(3598200,"219900","","Sam-Poster-2_thumb.jpg",130,130,1);thumbnails[3598203]=new thumbnail(3598203,"219900","","Untitled-2_thumb.jpg",130,130,1);thumbnails[3598683]=new thumbnail(3598683,"","","EM_JOE292_thumb.jpg",130,196,1);thumbnails[3598686]=new thumbnail(3598686,"219987","","CarolineJason062_thumb.JPG",130,130,1);thumbnails[3598689]=new thumbnail(3598689,"219987","","CarolineJason075_thumb.JPG",130,130,1);thumbnails[3598691]=new thumbnail(3598691,"219987","","CarolineJason087_thumb.JPG",130,130,1);thumbnails[3598694]=new thumbnail(3598694,"219987","","CarolineJason162_thumb.JPG",130,130,1);thumbnails[3598696]=new thumbnail(3598696,"","","L_L063_thumb.jpg",130,196,1);thumbnails[3598699]=new thumbnail(3598699,"","","EM_JOE278_thumb.jpg",130,196,1);thumbnails[3598700]=new thumbnail(3598700,"","","L_L066_thumb.jpg",130,196,1);thumbnails[3598702]=new thumbnail(3598702,"219987","","EYAM149_copy_thumb.jpg",130,196,1);thumbnails[3598705]=new thumbnail(3598705,"","","GRAHAM_SARAH0110_thumb.jpg",130,194,1);thumbnails[3598711]=new thumbnail(3598711,"","","EM_JOE311_thumb.jpg",130,194,1);thumbnails[3598714]=new thumbnail(3598714,"","","EM_JOE235_thumb.jpg",130,196,1);thumbnails[3598716]=new thumbnail(3598716,"","","ZOE_KEV552_thumb.jpg",130,196,1);thumbnails[3598718]=new thumbnail(3598718,"","","ZOE_KEV332_Edit_thumb.jpg",130,196,1);thumbnails[3598720]=new thumbnail(3598720,"","","ZOE_KEV326_thumb.jpg",130,196,1);thumbnails[3598722]=new thumbnail(3598722,"","","ZOE_KEV312_thumb.jpg",130,194,1);thumbnails[3598723]=new thumbnail(3598723,"","","L_L232_thumb.jpg",130,196,1);thumbnails[4458008]=new thumbnail(4458008,"","","ZOE_KEV510_Edit_thumb.jpg",130,84,1);thumbnails[4458309]=new thumbnail(4458309,"","","A_R0108094312_thumb.jpg",130,87,1);thumbnails[4458313]=new thumbnail(4458313,"","","EM_JOE2382_thumb.jpg",130,86,1);thumbnails[4458316]=new thumbnail(4458316,"","","Sonia_Carl067_thumb.jpg",130,86,1);thumbnails[4458320]=new thumbnail(4458320,"","","Sonia_Carl0792_thumb.jpg",130,86,1);thumbnails[4458330]=new thumbnail(4458330,"","","Caroline_Jason0822_thumb.jpg",130,86,1);thumbnails[4458332]=new thumbnail(4458332,"","","GRAHAM_SARAH0113_thumb.jpg",130,86,1);thumbnails[4458333]=new thumbnail(4458333,"","","L_L249_thumb.jpg",130,86,1);thumbnails[1328309]=new thumbnail(1328309,"114586","","_DSC64113_thumb.jpg",130,130,1);thumbnails[1330123]=new thumbnail(1330123,"114584","","_DSC82072_thumb.jpg",130,130,1);thumbnails[1706939]=new thumbnail(1706939,"114587","","Cain&Kelly-76_thumb.jpg",130,130,1);thumbnails[3597676]=new thumbnail(3597676,"219854","The convoy meets up in the freight yard at Dover.<br>\r\nL-R Charles May, Simon Perkins, Rob Hammond, Norman Deakin, Mike Deakin, David Torring and John Torring.","001_thumb.jpg",130,87,1);thumbnails[1328310]=new thumbnail(1328310,"114586","","_DSC64501_thumb.jpg",130,130,1);thumbnails[1706938]=new thumbnail(1706938,"114587","","Cain&Kelly-71_thumb.jpg",130,130,1);thumbnails[3597675]=new thumbnail(3597675,"219854","As we travel south through Germany the weather becomes wintery. And the snow falls.","NJBOSNIA009_thumb.jpg",130,87,1);thumbnails[1328311]=new thumbnail(1328311,"114586","","_DSC64701_thumb.jpg",130,130,1);thumbnails[1329144]=new thumbnail(1329144,"114584","","_DSC83131_thumb.jpg",130,130,1);thumbnails[1706940]=new thumbnail(1706940,"114587","","Cain&Kelly-45_thumb.jpg",130,130,1);thumbnails[3597942]=new thumbnail(3597942,"219854","Day 3 and the whole of Germany is on our bit of road. We stop to work out our route and have some time for a snowball fight.","NJBOSNIA011_thumb.jpg",130,87,1);thumbnails[1329460]=new thumbnail(1329460,"114584","","_DSC8251A1_thumb.jpg",130,130,1);thumbnails[1330103]=new thumbnail(1330103,"114586","","_DSC65083_thumb.jpg",130,130,1);thumbnails[3597944]=new thumbnail(3597944,"219854","The Karawankentunnel that leads to Slovenia the last of the EU countries and the first of the ex Yugoslavian states.","NJBOSNIA016_thumb.jpg",130,87,1);thumbnails[1329437]=new thumbnail(1329437,"114584","","_DSC00041_thumb.jpg",130,130,1);thumbnails[1330110]=new thumbnail(1330110,"114586","","_DSC01353_thumb.jpg",130,130,1);thumbnails[1706943]=new thumbnail(1706943,"114587","","Cain&Kelly083_thumb.jpg",130,130,1);thumbnails[3597946]=new thumbnail(3597946,"219854","As  you head to the Croatian border we Bosnia you start to see minefield signs in woods either side of the road.","NJBOSNIA017_thumb.jpg",130,87,1);thumbnails[1706944]=new thumbnail(1706944,"114587","","Cain&Kelly-99_thumb.jpg",130,130,1);thumbnails[3597948]=new thumbnail(3597948,"219854","Stara Garadiska the border crossing into Bosnia.","NJBOSNIA019_thumb.jpg",130,87,1);thumbnails[3597950]=new thumbnail(3597950,"219854","The mountain road to Mrkonjic-Grad","NJBOSNIA023_thumb.jpg",130,87,1);thumbnails[1328319]=new thumbnail(1328319,"114586","","_DSC65551_thumb.jpg",130,130,1);thumbnails[1330130]=new thumbnail(1330130,"114584","","_DSC8480A2_thumb.jpg",130,130,1);thumbnails[1706949]=new thumbnail(1706949,"114587","","Cain&Kelly-85_thumb.jpg",130,130,1);thumbnails[3597952]=new thumbnail(3597952,"219854","The Kudra family from Mrkonjic-Grad one of the families BARF aims to help whilst in Bosnia.","NJBOSNIA030_thumb.jpg",130,87,1);thumbnails[1328321]=new thumbnail(1328321,"114586","","_DSC65841_thumb.jpg",130,130,1);thumbnails[1330133]=new thumbnail(1330133,"114584","","_DSC85533_thumb.jpg",130,130,1);thumbnails[1706950]=new thumbnail(1706950,"114587","","Cain&Kelly094_thumb.jpg",130,130,1);thumbnails[3597955]=new thumbnail(3597955,"219854","John Torring in his 1990 200TDI Discovery pulling an aid trailer on our way to Sipovo<br>\r\n","NJBOSNIA034_thumb.jpg",130,87,1);thumbnails[3597956]=new thumbnail(3597956,"219854","Horse and farm cart a common sight on Bosnian roads.","NJBOSNIA035_thumb.jpg",130,110,1);thumbnails[1330114]=new thumbnail(1330114,"114586","","_DSC65935_thumb.jpg",130,130,1);thumbnails[1330135]=new thumbnail(1330135,"114584","","_DSC8579sepia3_thumb.jpg",130,130,1);thumbnails[1706952]=new thumbnail(1706952,"114587","","Cain&Kelly-130_thumb.jpg",130,130,1);thumbnails[3597961]=new thumbnail(3597961,"219854","Sipovo family association welcomes us with a drink of the local plum brandy Slivovitch or “slivo”  This is of strong home made brandy that mostpeople seem to make – it is also nicknamed ‘sleep in a ditch’ by some convoy members and the British army due to its strength.","NJBOSNIA037_thumb.jpg",130,87,1);thumbnails[1329454]=new thumbnail(1329454,"114586","","_DSC67861_thumb.jpg",130,130,1);thumbnails[1330105]=new thumbnail(1330105,"114584","","_DSC85983_thumb.jpg",130,130,1);thumbnails[3597967]=new thumbnail(3597967,"219854","More slivo as we deliver aid to Damir Subotic who had set up the Laktasi family association.. This had only recently been set up as the social care syustem in Bosnia is often rudimentary and as he explained to us they have to help themselves.","NJBOSNIA039_thumb.jpg",130,87,1);thumbnails[1706955]=new thumbnail(1706955,"114587","","Cain&Kelly-141_thumb.jpg",130,130,1);thumbnails[1330101]=new thumbnail(1330101,"114584","","_DSC00334_thumb.jpg",130,130,1);thumbnails[3597968]=new thumbnail(3597968,"219854","Local children in Prjedor","NJBOSNIA045_thumb.jpg",130,87,1);thumbnails[1328329]=new thumbnail(1328329,"","","DSC_0958_thumb.jpg",130,196,1);thumbnails[1330138]=new thumbnail(1330138,"114584","","_DSC86362_thumb.jpg",130,130,1);thumbnails[1706956]=new thumbnail(1706956,"114587","","Cain&Kelly153_thumb.jpg",130,130,1);thumbnails[3597972]=new thumbnail(3597972,"219854","The ladies who work at the womensw refuge on day 8 before we head off on our drive to Mostar.<br>\r\n","NJBOSNIA047_thumb.jpg",130,87,1);thumbnails[3597978]=new thumbnail(3597978,"219854","The convoy drives through the mountains on our way to Mostar.","NJBOSNIA049_thumb.jpg",130,87,1);thumbnails[1330116]=new thumbnail(1330116,"114586","","_DSC67093_thumb.jpg",130,130,1);thumbnails[1330144]=new thumbnail(1330144,"114584","","_DSC86832_thumb.jpg",130,130,1);thumbnails[1706957]=new thumbnail(1706957,"114587","","Cain&Kelly164_thumb.jpg",130,130,1);thumbnails[3597983]=new thumbnail(3597983,"219854","Evidence of fighting can be seen all over Bosnia with many buildings destroyed.","NJBOSNIA057_thumb.jpg",130,87,1);thumbnails[1328335]=new thumbnail(1328335,"114586","","A_R010809522_thumb.jpg",130,194,1);thumbnails[1330145]=new thumbnail(1330145,"114584","","_DSC8998A2_thumb.jpg",130,130,1);thumbnails[1706959]=new thumbnail(1706959,"114587","","Cain&Kelly166_thumb.jpg",130,130,1);thumbnails[3597986]=new thumbnail(3597986,"219854","Evidence of fighting can be seen all over Bosnia with many buildings destroyed.","NJBOSNIA059_thumb.jpg",130,87,1);thumbnails[3597992]=new thumbnail(3597992,"219854","Evidence of fighting can be seen all over Bosnia with many buildings destroyed.","NJBOSNIA060_thumb.jpg",130,87,1);thumbnails[1330104]=new thumbnail(1330104,"","","Caroline_Jason254_thumb.jpg",130,196,1);thumbnails[1330154]=new thumbnail(1330154,"114584","","J3872x2592-1922_thumb.jpg",130,130,1);thumbnails[1706960]=new thumbnail(1706960,"114587","","Cain&Kelly-168_thumb.jpg",130,130,1);thumbnails[1706961]=new thumbnail(1706961,"114587","","Cain&Kelly169_thumb.jpg",130,130,1);thumbnails[3597996]=new thumbnail(3597996,"219854","Evidence of fighting can be seen all over Bosnia with many buildings destroyed.","NJBOSNIA061_thumb.jpg",130,87,1);thumbnails[1330106]=new thumbnail(1330106,"114584","","_DSC91013_thumb.jpg",130,130,1);thumbnails[1330118]=new thumbnail(1330118,"","","DSC_1048_thumb.jpg",130,196,1);thumbnails[1706963]=new thumbnail(1706963,"114587","","Cain&Kelly178_thumb.jpg",130,130,1);thumbnails[3598002]=new thumbnail(3598002,"219854","The convoy drives through the mountains on our way to Mostar.","NJBOSNIA065_thumb.jpg",130,87,1);thumbnails[1329153]=new thumbnail(1329153,"114584","","_DSC90731_thumb.jpg",130,130,1);thumbnails[1706964]=new thumbnail(1706964,"114587","","Cain&Kelly187_thumb.jpg",130,130,1);thumbnails[3598004]=new thumbnail(3598004,"219854","View from the hotel Bristol across the river in Mostar.","NJBOSNIA070_thumb.jpg",130,87,1);thumbnails[1329461]=new thumbnail(1329461,"114584","","J3872x2592-203A1_thumb.jpg",130,130,1);thumbnails[1706966]=new thumbnail(1706966,"114587","","Cain&Kelly200_thumb.jpg",130,130,1);thumbnails[3598006]=new thumbnail(3598006,"219854","Rob Hammond and Simon Perkins meet up with our tour guide in Mostar.","NJBOSNIA073_thumb.jpg",130,87,1);thumbnails[3598009]=new thumbnail(3598009,"219854","Our Mostar tour guide who now lives in a resettlemt home after his family home was destroyed during the fighting in Mostar.","NJBOSNIA075_thumb.jpg",130,87,1);thumbnails[1329157]=new thumbnail(1329157,"114584","","_DSC92241_thumb.jpg",130,130,1);thumbnails[1706970]=new thumbnail(1706970,"114587","","Cain&Kelly061_thumb.jpg",130,130,1);thumbnails[1330108]=new thumbnail(1330108,"114584","","J3872x2592-2275_thumb.jpg",130,130,1);thumbnails[1706971]=new thumbnail(1706971,"114587","","Cain&Kelly193_thumb.jpg",130,130,1);thumbnails[3598011]=new thumbnail(3598011,"219854","Graves in Mostar wher people died all around the same time at the height of the fighting.","NJBOSNIA076_thumb.jpg",130,194,1);thumbnails[1706972]=new thumbnail(1706972,"114587","","Cain&Kelly190_thumb.jpg",130,130,1);thumbnails[3598047]=new thumbnail(3598047,"219854","Charles and Norman check out the local shops in Mostar.","NJBOSNIA077_thumb.jpg",130,87,1);thumbnails[3598048]=new thumbnail(3598048,"219854","Views around the old town of Mostar.","NJBOSNIA080_thumb.jpg",130,87,1);thumbnails[3598050]=new thumbnail(3598050,"219854","Views around the old town of Mostar.","NJBOSNIA082_thumb.jpg",130,194,1);thumbnails[3598053]=new thumbnail(3598053,"219854","Views around the old town of Mostar.","NJBOSNIA084_thumb.jpg",130,87,1);thumbnails[3598055]=new thumbnail(3598055,"219854","Child on the streets of Mostar","NJBOSNIA085_thumb.jpg",130,194,1);thumbnails[3598056]=new thumbnail(3598056,"219854","Top dog on a roof in Mostar.","NJBOSNIA086_thumb.jpg",130,194,1);thumbnails[3598057]=new thumbnail(3598057,"219854","Robs 110 outside the resettlement homes. 1 floor with three rooms houses the whole family.","NJBOSNIA089_thumb.jpg",130,194,1);thumbnails[3598060]=new thumbnail(3598060,"219854","The vehicles head up to the Dinaric mountains.","NJBOSNIA105_thumb.jpg",130,87,1);thumbnails[3598058]=new thumbnail(3598058,"219854","Destroved building in Mostar. There is evidence of these buildings being repaired and the town being rebuilt.","NJBOSNIA091_thumb.jpg",130,87,1);thumbnails[3598059]=new thumbnail(3598059,"219854","The vehicles head up to the Dinaric mountains.","NJBOSNIA100_thumb.jpg",130,87,1);thumbnails[3598063]=new thumbnail(3598063,"219854","Checking our position.","NJBOSNIA106_thumb.jpg",130,87,1);thumbnails[3598064]=new thumbnail(3598064,"219854","Local shepherd bringing their flock down from the hills. He later drives up the road to check we were OK after we hit some deep snow and had to turn back.","NJBOSNIA116_thumb.jpg",130,87,1);thumbnails[3598065]=new thumbnail(3598065,"219854","Fun in the snow as we try to get over the mountains and back to Banja Luka.","NJBOSNIA118_thumb.jpg",130,87,1);thumbnails[3598068]=new thumbnail(3598068,"219854","Fun in the snow as we try to get over the mountains and back  to Banja Luka.","NJBOSNIA121_thumb.jpg",130,194,1);thumbnails[3598069]=new thumbnail(3598069,"219854","Charles vehicle being recovered by Rob Hammons white 110.","NJBOSNIA126_thumb.jpg",130,87,1);thumbnails[3598070]=new thumbnail(3598070,"219854","Charles vehicle being recovered by Rob Hammons white 110.","NJBOSNIA127_thumb.jpg",130,87,1);thumbnails[3598071]=new thumbnail(3598071,"219854","We leave the mountains and head for Banja Luka.","NJBOSNIA139_thumb.jpg",130,194,1);thumbnails[3598074]=new thumbnail(3598074,"219854","Building just on the Bosnian side of the border as we are leaving.","NJBOSNIA142_thumb.jpg",130,87,1);thumbnails[3598076]=new thumbnail(3598076,"219854","Destroyed buildings on the Croatian side of the border.","NJBOSNIA143_thumb.jpg",130,87,1);thumbnails[3598077]=new thumbnail(3598077,"219854","Irschenberg our stop off on the way back in Southern Germany. We s top here for a good meal and a nights rest before heading onto Belgium the next morning.","NJBOSNIA148_thumb.jpg",130,87,1);thumbnails[3598078]=new thumbnail(3598078,"219854","Mine awareness leaflet and the map of Bosnia","NJBOSNIA152_thumb.jpg",130,87,1);thumbnails[2923261]=new thumbnail(2923261,"180869","","Alicia&Steve0062_thumb.jpg",130,130,1);thumbnails[2923270]=new thumbnail(2923270,"180869","","Alicia&Steve0141_thumb.JPG",130,130,1);thumbnails[2923273]=new thumbnail(2923273,"180869","","Alicia&Steve036_thumb.JPG",130,130,1);thumbnails[2923275]=new thumbnail(2923275,"180869","","Alicia&Steve037_thumb.JPG",130,130,1);thumbnails[2923277]=new thumbnail(2923277,"180869","","Alicia&Steve040_thumb.JPG",130,130,1);thumbnails[2923278]=new thumbnail(2923278,"180869","","Alicia&Steve058_thumb.JPG",130,130,1);thumbnails[2923279]=new thumbnail(2923279,"180869","","Alicia&Steve070_thumb.JPG",130,130,1);thumbnails[2923336]=new thumbnail(2923336,"180869","","Alicia&Steve098_thumb.JPG",130,130,1);thumbnails[2923528]=new thumbnail(2923528,"180869","","Alicia&Steve1001_thumb.JPG",130,130,1);thumbnails[2923566]=new thumbnail(2923566,"180869","","Alicia&Steve106_thumb.JPG",130,130,1);thumbnails[2923567]=new thumbnail(2923567,"180869","","Alicia&Steve107_thumb.JPG",130,130,1);thumbnails[2923661]=new thumbnail(2923661,"180869","","Alicia&Steve114_thumb.JPG",130,130,1);thumbnails[2923662]=new thumbnail(2923662,"180869","","Alicia&Steve117_thumb.JPG",130,130,1);thumbnails[2923663]=new thumbnail(2923663,"180869","","Alicia&Steve120_thumb.JPG",130,130,1);thumbnails[2923664]=new thumbnail(2923664,"180869","","Alicia&Steve137_thumb.JPG",130,130,1);thumbnails[2923670]=new thumbnail(2923670,"180869","","Alicia&Steve142_thumb.JPG",130,130,1);thumbnails[2923677]=new thumbnail(2923677,"180869","","Alicia&Steve151_thumb.JPG",130,130,1);thumbnails[2923702]=new thumbnail(2923702,"180869","","Alicia&Steve193_thumb.JPG",130,130,1);thumbnails[2310417]=new thumbnail(2310417,"125790","","P1-2_thumb.jpg",130,89,1);thumbnails[2310424]=new thumbnail(2310424,"125790","","P5-6_thumb.jpg",130,89,1);thumbnails[2310426]=new thumbnail(2310426,"125790","","P7-8_thumb.jpg",130,89,1);thumbnails[2310429]=new thumbnail(2310429,"125790","","P9-10_thumb.jpg",130,89,1);thumbnails[2310435]=new thumbnail(2310435,"125790","","P11-12_thumb.jpg",130,89,1);thumbnails[2310436]=new thumbnail(2310436,"125790","","P13-14_thumb.jpg",130,89,1);thumbnails[2310443]=new thumbnail(2310443,"125790","","P19-20_thumb.jpg",130,89,1);thumbnails[2310446]=new thumbnail(2310446,"125790","","P27-28_thumb.jpg",130,89,1);thumbnails[2310450]=new thumbnail(2310450,"125790","","P31-32_thumb.jpg",130,89,1);thumbnails[2310458]=new thumbnail(2310458,"125790","","P37-38_thumb.jpg",130,89,1);thumbnails[2310465]=new thumbnail(2310465,"125790","","P41-42_thumb.jpg",130,89,1);thumbnails[2310468]=new thumbnail(2310468,"125790","","P49-50_thumb.jpg",130,89,1);thumbnails[1872006]=new thumbnail(1872006,"125790","","mag3_thumb.jpg",130,92,1);thumbnails[1872008]=new thumbnail(1872008,"125790","","mag5_thumb.jpg",130,92,1);thumbnails[1872016]=new thumbnail(1872016,"125790","","mag9_thumb.jpg",130,92,1);thumbnails[1872019]=new thumbnail(1872019,"125790","","mag10_thumb.jpg",130,92,1);thumbnails[1872282]=new thumbnail(1872282,"125790","","Layout1_thumb.jpg",130,92,1);thumbnails[1872285]=new thumbnail(1872285,"125790","","Layout5_thumb.jpg",130,92,1);var galleries=new Object();galleries[219854]=new gallery(219854,"3598078,3598077,3598076,3598074,3598071,3598070,3598069,3598068,3598065,3598064","BOSNIA CONVOY","section269697",[3597676,3597675,3597942,3597944,3597946,3597948,3597950,3597952,3597955,3597956,3597961,3597967,3597968,3597972,3597978,3597983,3597986,3597992,3597996,3598002,3598004,3598006,3598009,3598011,3598047,3598048,3598050,3598053,3598055,3598056,3598057,3598060,3598058,3598059,3598063,3598064,3598065,3598068,3598069,3598070,3598071,3598074,3598076,3598077,3598078]);galleries[151105]=new gallery(151105,"2310253,2310246,2310244,2310240,2310231,2310227,2310224,2310220,2310218,2310215","Carl & Sonia","gallery",[2310040,2310069,2310077,2310084,2310109,2310206,2310207,2310214,2310215,2310218,2310220,2310224,2310227,2310231,2310240,2310244,2310246,2310253]);galleries[219987]=new gallery(219987,"3598702,3598694,3598691,3598689,3598686","Caroline & Jason","gallery",[3598686,3598689,3598691,3598694,3598702]);galleries[114587]=new gallery(114587,"1706972","Kelly & Cain","gallery",[1706939,1706938,1706940,1706943,1706944,1706949,1706950,1706952,1706955,1706956,1706957,1706959,1706960,1706961,1706963,1706964,1706966,1706970,1706971,1706972]);galleries[114584]=new gallery(114584,"1330123,1330108,1329157","Natalie & Martyn","gallery",[1330123,1329144,1329460,1329437,1330130,1330133,1330135,1330105,1330101,1330138,1330144,1330145,1330154,1330106,1329153,1329461,1329157,1330108]);galleries[114586]=new gallery(114586,"1330116,1330114,1330110,1330103,1329454,1328335,1328321,1328319,1328311,1328310","Paul & Emma","gallery",[1328309,1328310,1328311,1330103,1330110,1328319,1328321,1330114,1329454,1330116,1328335]);galleries[219900]=new gallery(219900,"3598203,3598200,3598197,3598187,3598185,3598183,3598181,3598179,3598177","SAM AT THE BEACH","section269851",[3598177,3598179,3598181,3598183,3598185,3598187,3598197,3598200,3598203]);galleries[180869]=new gallery(180869,"2923702,2923677,2923670,2923664,2923663,2923662,2923661,2923567,2923566,2923528","Alicia & Stephen","gallery",[2923261,2923270,2923273,2923275,2923277,2923278,2923279,2923336,2923528,2923566,2923567,2923661,2923662,2923663,2923664,2923670,2923677,2923702]);galleries[260671]=new gallery(260671,"","Prices","gallery",[]);galleries[125790]=new gallery(125790,"2310468,2310465,2310458,2310450,2310446,2310443,2310436,2310435,2310429,2310426","Magazine Style Layouts","gallery",[2310417,2310424,2310426,2310429,2310435,2310436,2310443,2310446,2310450,2310458,2310465,2310468,1872006,1872008,1872016,1872019,1872282,1872285]);var imageSets=new Object();imageSets[1]="4458333,4458332,4458330,4458320,4458316,4458313,4458309,4458008,3598723,3598722,3598720,3598718,3598716,3598714,3598711,3598705,3598702,3598700,3598699,3598696,2923701,2923681,2923676,2923253,2310206,2310109,2310068,2310066,2310061,2310058,2310052,2310050,2310049,1330118,1330104,1328335,1328329";imageSets[2]="1706972,1330123,1330108,1329157";imageSets[3]="1872112";function randomListVal(a){arrayVals=a.split(",");if(arrayVals.length){pos=Math.round(Math.random()*(arrayVals.length-1));val=arrayVals[pos]}else{val=0}return val}function getServerPath(a){var b=-1;switch(a){case 21:b="http://www6.clikpic.com/nickjohnson/images";break}switch(a){case 1:b="http://www1.clikpic.com/nickjohnson/images";break}switch(a){case 2:b="http://admin.clikpic.com/nickjohnson/images";break}switch(a){case 24:b="http://tpc15/clikpic/nickjohnson/images";break}switch(a){case 4:b="http://www.clikchurch.com/nickjohnson/images";break}switch(a){case 5:b="http://www2.clikpic.com/nickjohnson/images";break}switch(a){case 22:b="http://tpc5/clikpic/nickjohnson/images";break}switch(a){case 23:b="http://tpc10/clikpic/nickjohnson/images";break}switch(a){case 25:b="http://tpc16/clikpic/nickjohnson/images";break}switch(a){case 15:b="http://www3.clikpic.com/nickjohnson/images";break}switch(a){case 18:b="http://www4.clikpic.com/nickjohnson/images";break}switch(a){case 19:b="http://www5.clikpic.com/nickjohnson/images";break}switch(a){case 31:b="http://www7.clikpic.com/nickjohnson/images";break}switch(a){case 32:b="http://admin2.clikpic.com/nickjohnson/images";break}switch(a){case 33:b="http://www8.clikpic.com/nickjohnson/images";break}switch(a){case 34:b="http://www9.clikpic.com/nickjohnson/images";break}switch(a){case 35:b="http://admin3.clikpic.com/nickjohnson/images";break}switch(a){case 37:b="http://admin4.clikpic.com/nickjohnson/images";break}return b}function showHomeImage(a){imageID=randomListVal("");if(!basic){a.src=photos[imageID].src;a.width=photos[imageID].width;a.height=photos[imageID].height}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function showHomeImageInline(){html="";imageID=randomListVal(imageSets[1]);if("gallery"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="gallery.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+escape(backgrounds[imageID].caption)+'" border="0">';if("gallery"!=""){html+="</a>"}$("#homepageimage").html(html)}function getNextId(b,d,a){var c=getArrayPos(d,b);if(a){if(c==0){nextImgPos=d.length-1}else{nextImgPos=c-1}}else{if(c==d.length-1){nextImgPos=0}else{nextImgPos=c+1}}nextImg=d[nextImgPos];return nextImg}function next(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a);if(nextImg!=-1){updateImage(nextImg,d,b)}}function updateImage(f,e,b){if(!basic){document.getElementById("imagePhoto").innerHTML='<img class="mainphoto photo" src="'+photos[f].src+' " id="mainPic" name="mainPic" width="'+photos[f].width+'" height="'+photos[f].height+'" alt="'+photos[f].caption+'">';e.value=photos[f].id;$("#imageTitle").html(photos[f].caption);document.title="Lincolnshire  Wedding Photography: "+photos[f].caption;if(photos[f].caption==""){document.getElementById("imageTitle").style.display="none"}else{document.getElementById("imageTitle").style.display="block"}var a=fnGetImageDetails(f);if(a==""){document.getElementById("imageDetails").style.display="none";var c=document.getElementById("infoWrap");var d=document.getElementById("photoInfo");if(photos[f].caption==""){if(c!=null){c.className="empty"}if(d!=null){d.className="empty"}}else{if(c!=null){c.className="noinfo"}if(d!=null){d.className="noinfo"}}}else{document.getElementById("imageDetails").style.display="block";var c=document.getElementById("infoWrap");if(c!=null){c.className="normal"}var d=document.getElementById("photoInfo");if(d!=null){d.className="normal"}}document.getElementById("imageDetails").innerHTML=a;toggleAddToCartConfirm()}else{window.location="photo_"+photos[f].id+".html"}}function toggleAddToCartConfirm(){if($("#paymentConfirm").size()){$("#paymentConfirm").hide();$("#paymentAddButton").unbind().click(function(){form=document.getElementById("paymentForm");option_id=0;if(form.item_option.value){option_id=form.item_option.value}if(addItemToBasket(form.item_number.value,photos,form.site.value,parseInt(form.quantity.value,10),option_id)){if($.browser.msie){$("#paymentConfirm").text("Item added to cart").show()}else{$("#paymentConfirm").text("Item added to cart").fadeIn()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Order this print:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 				&pound;"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Buy this print online:</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';b=b+getPaymentOptions(c.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[c.payment_groups_id].options[0];if(paymentOptions[a]){var e=paymentOptions[a].payment_option;var d=paymentOptions[a].price}}else{}}if(c.item_price!==""||c.payment_groups_id!==""){b=b+'<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="item_name" value="'+e+'">';ref="";if(c.photo_ref!=""){ref=c.photo_ref+" - "+c.caption}else{ref=c.id+" - "+c.caption}price=d;b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="nixspics@bigfoot.com">';b=b+'<input type="hidden" name="currency_code" value="GBP">';b=b+'<input type="hidden" name="add" value="1">';b=b+'<input type="hidden" name="amount" value="'+d+'">';b=b+'<input type="hidden" name="item_number" value="'+ref+'">';b=b+'<input type="Submit" value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="nixspics@bigfoot.com">';b=b+'<input type="hidden" name="display" value="1">';b=b+'<input type="Submit" value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};