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[3735211]=new thumbnail(3735211,"","","Grant_and_Jan_Pollock_050_a_clikpic_thumb.jpg",130,80,1);thumbnails[3735224]=new thumbnail(3735224,"","","Grant_and_Jan_Pollock_408_a_clikpic_thumb.jpg",130,195,1);thumbnails[3735216]=new thumbnail(3735216,"","","Grant_and_Jan_Pollock_167_a_clikpic_thumb.jpg",130,140,1);thumbnails[3735222]=new thumbnail(3735222,"","","Grant_and_Jan_Pollock_363_a_clikpic_thumb.jpg",130,195,1);thumbnails[3735227]=new thumbnail(3735227,"","","Grant_and_Jan_Pollock_559_a_clikpic_thumb.jpg",130,149,1);thumbnails[5056078]=new thumbnail(5056078,"286104","","Pete_and_Claudine1_029_monolo_res_thumb.jpg",130,195,1);thumbnails[5056224]=new thumbnail(5056224,"286104","","Pete_and_Claudine1_065lo_res1_thumb.jpg",130,87,1);thumbnails[5056073]=new thumbnail(5056073,"286104","","Pete_and_Claudine1_060lo_res_thumb.jpg",130,195,1);thumbnails[5056392]=new thumbnail(5056392,"286104","","PeteClaudine3_056lo_res_thumb.jpg",130,87,1);thumbnails[5056398]=new thumbnail(5056398,"286104","","Amber_lores_thumb.jpg",130,165,1);thumbnails[5056082]=new thumbnail(5056082,"286104","","PeteClaudine2_106_mono_lo_res_thumb.jpg",130,87,1);thumbnails[5056400]=new thumbnail(5056400,"286104","","Freddie_lores_thumb.jpg",130,195,1);thumbnails[5059335]=new thumbnail(5059335,"286104","","Otto_Story_lores1_thumb.jpg",130,87,1);thumbnails[5056404]=new thumbnail(5056404,"286104","","Steps_lores_thumb.jpg",130,156,1);thumbnails[3735252]=new thumbnail(3735252,"228012","","Grant_and_Jan_Pollock_231_a_clikpic_thumb.jpg",130,87,1);thumbnails[3735261]=new thumbnail(3735261,"228012","","Grant_and_Jan_Pollock_363_a_clikpic1_thumb.jpg",130,195,1);thumbnails[3737381]=new thumbnail(3737381,"228012","","Grant_and_Jan_Pollock2_043_a_clikpic_thumb.jpg",130,87,1);thumbnails[3737383]=new thumbnail(3737383,"228012","","Grant_and_Jan_Pollock2_077_a_clikpic_thumb.jpg",130,195,1);thumbnails[3742033]=new thumbnail(3742033,"228012","","Grant_and_Jan_Pollock_455_a_clikpic_thumb.jpg",130,87,1);thumbnails[3742037]=new thumbnail(3742037,"228012","","Grant_and_Jan_Pollock_508_a_clikpic_thumb.jpg",130,195,1);thumbnails[3742038]=new thumbnail(3742038,"228012","","Grant_and_Jan_Pollock_630_a_clikpic_thumb.jpg",130,195,1);thumbnails[3742041]=new thumbnail(3742041,"228012","","Grant_and_Jan_Pollock2_073_a_clikpic_thumb.jpg",130,195,1);thumbnails[3742043]=new thumbnail(3742043,"228012","","Grant_and_Jan_Pollock2_108_a_clikpic_thumb.jpg",130,87,1);thumbnails[3742047]=new thumbnail(3742047,"228012","","Noseley_Locations2_009_clikpic_thumb.jpg",130,72,1);thumbnails[3735280]=new thumbnail(3735280,"228012","","Grant_and_Jan_Pollock_408_a_clikpic1_thumb.jpg",130,195,1);thumbnails[3735187]=new thumbnail(3735187,"228012","","Grant_and_Jan_Pollock_015_a_clikpic_thumb.jpg",130,195,1);thumbnails[3735243]=new thumbnail(3735243,"228012","","Grant_and_Jan_Pollock_050_a_clikpic1_thumb.jpg",130,80,1);thumbnails[3737242]=new thumbnail(3737242,"228012","","Grant_and_Jan_Pollock_057_a_clikpic_thumb.jpg",130,140,1);thumbnails[3735247]=new thumbnail(3735247,"228012","","Grant_and_Jan_Pollock_167_a_clikpic1_thumb.jpg",130,140,1);thumbnails[3737240]=new thumbnail(3737240,"228012","","Grant_and_Jan_Pollock_498_a_clikpic_thumb.jpg",130,177,1);thumbnails[3737514]=new thumbnail(3737514,"228012","","Grant_and_Jan_Pollock_462_a_clikpic_thumb.jpg",130,195,1);thumbnails[3737523]=new thumbnail(3737523,"228012","","Grant_and_Jan_Pollock_254_a_clikpic_thumb.jpg",130,195,1);thumbnails[3737520]=new thumbnail(3737520,"228012","","Grant_and_Jan_Pollock_248_a_clikpic_thumb.jpg",130,87,1);thumbnails[3737522]=new thumbnail(3737522,"228012","","Grant_and_Jan_Pollock_262_a_clikpic_thumb.jpg",130,87,1);thumbnails[4291178]=new thumbnail(4291178,"247376","A reflective moment in the middle of the set for Paul Jones ","Oundle_2009_307_lores_thumb.jpg",130,195,1);thumbnails[4291176]=new thumbnail(4291176,"247376","Paul Jones,lead singer of The Manfreds","Oundle_2009_283_lores_thumb.jpg",130,87,1);thumbnails[4291185]=new thumbnail(4291185,"247376","Mike D'Abo, lead singer with Manfred Mann now The Manfreds","Oundle_2009_348_lores_thumb.jpg",130,195,1);thumbnails[4291187]=new thumbnail(4291187,"247376","John Lennon interpreted by Neil Harrison of The Bootleg Beatles","Oundle_2009_615_lores_thumb.jpg",130,195,1);thumbnails[4291192]=new thumbnail(4291192,"247376","Paul McCartney as played by David Caitlin-Birch of The Bootleg Beatles","Oundle_2009_609_lores_thumb.jpg",130,195,1);thumbnails[4291193]=new thumbnail(4291193,"247376",'Neil Harrison as John Lennon in his "Imagine" white suit',"Oundle_2009_677_lores_thumb.jpg",130,195,1);thumbnails[4296729]=new thumbnail(4296729,"247376",'"George" singing Here Comes The Sun as the heavens opened!',"Oundle_2009_705_lores_thumb.jpg",130,195,1);thumbnails[4291202]=new thumbnail(4291202,"247376","Andre Barreau plays George Harrison in The Bootleg Beatles tribute band","Oundle_2009_459_mono_lores_thumb.jpg",130,97,1);thumbnails[4415702]=new thumbnail(4415702,"247376","Apprentice finalist, Clare Young, at a recent pro/celebrity event in aid of Hep for Heroes held at Belvoir Castle, Leicestershire","Game_Fair_082_a_lores_thumb.jpg",130,195,1);thumbnails[4151497]=new thumbnail(4151497,"247376","BBC Radio Northampton presenter,Bernie Keith on the morning show at work in the studio","Bernie_Keith_Show_lo_res_thumb.jpg",130,195,1);thumbnails[4415703]=new thumbnail(4415703,"247376","TV Property guru,Phil Spencer, from Location,Location, at Belvoir Castle for The CLA Game fair pro/celebrity shooting event in aid of Help for Heroes","Game_Fair_070_a_lores_thumb.jpg",130,195,1);thumbnails[4170754]=new thumbnail(4170754,"247376",'From an engagement photo shoot. The couple requested that their pictures were taken in a "romantic" looking poppy field',"Poppy_Engagement_clikpic_thumb.jpg",130,87,1);thumbnails[4131875]=new thumbnail(4131875,"247376","Outdoor location/wildlife shoot","Maggie_thumb.jpg",130,195,1);thumbnails[4170763]=new thumbnail(4170763,"247376","Part of the engagement shoot for the couple who requested a poppy field","Poppy_Engagement2_clikpic_thumb.jpg",130,87,1);thumbnails[4131883]=new thumbnail(4131883,"247376","Wildlife TV presenter,Johnny Kingdom","Johnny_Kingdom_clikpic_thumb.jpg",130,87,1);thumbnails[4131906]=new thumbnail(4131906,"247376","Lord Compton, the Marquess of Northampton, at Castle Ashby ","Lord_Compton_1_thumb.jpg",130,163,1);thumbnails[4131742]=new thumbnail(4131742,"247376","Commercial shot for electronics company","Traka_008_thumb.jpg",130,87,1);thumbnails[4131796]=new thumbnail(4131796,"247376","Commercial shoot for electronics company","Traka_018_thumb.jpg",117,200,1);thumbnails[4173902]=new thumbnail(4173902,"247376","An informal  lifesyle photo session","Maggies_Birthday_clikpic_thumb.jpg",130,87,1);thumbnails[4131801]=new thumbnail(4131801,"247376","Part of a family portraiture session","Danzig_Family_Lo_res0038_thumb.JPG",130,195,1);thumbnails[4131798]=new thumbnail(4131798,"247376","Part of a family portraiture session","Danzig_Family_Lo_res0021_thumb.JPG",130,195,1);thumbnails[4131804]=new thumbnail(4131804,"247376","A Family portraiture shoot","Danzig_Family_Lo_res0014_thumb.JPG",130,141,1);thumbnails[4131799]=new thumbnail(4131799,"247376","Part of a family portraiture session","Danzig_Family_Lo_res0032_thumb.JPG",121,200,1);thumbnails[1810781]=new thumbnail(1810781,"68797","Lonely Swan","Valentine and Northampton013aclikpic_thumb.jpg",130,153,1);thumbnails[2442118]=new thumbnail(2442118,"68797","A windmill near Burnham Overy Staithe,Norfolk on a rainy summer day","caddick11_thumb.jpg",130,195,1);thumbnails[897706]=new thumbnail(897706,"68797","Flying home to Russia!","Wells39a129_thumb.jpg",130,87,1);thumbnails[1407088]=new thumbnail(1407088,"68797","Fields of Gold","Stanwick Lakes014_clikpic-1_thumb.jpg",130,195,1);thumbnails[897701]=new thumbnail(897701,"68797","Cley Windmill","Wells129a128_thumb.jpg",130,96,1);thumbnails[1563135]=new thumbnail(1563135,"68797","Misty Morning","Stanwick Lakes dawn027Clikpic_thumb.jpg",130,195,1);thumbnails[1671050]=new thumbnail(1671050,"68797","Shropshire snow","Shropshire 26-2 006aclikpic_thumb.jpg",130,66,1);thumbnails[1428299]=new thumbnail(1428299,"68797","Town Bridge across the Severn","Bridgnorth Sep26026 Clikpic_thumb.jpg",130,88,1);thumbnails[1639790]=new thumbnail(1639790,"68797","Buckingham Arm of the Grand Union","Cosgrove042aclikpic_thumb.jpg",130,87,1);thumbnails[1030511]=new thumbnail(1030511,"68797","The Sun's Anvil","Rutland Water036a_thumb.jpg",130,87,1);thumbnails[1030492]=new thumbnail(1030492,"68797","Wind Power","Windfarm004a_thumb.jpg",130,195,1);thumbnails[2611704]=new thumbnail(2611704,"165804","Food shot for new restaurant","CA Food 001_clikpic_thumb.jpg",130,118,1);thumbnails[2611706]=new thumbnail(2611706,"165804","Food shot for new restaurant","CA Food 004_clilpic_thumb.jpg",130,87,1);thumbnails[2611716]=new thumbnail(2611716,"165804","","CA Food 006_clikpic_thumb.jpg",130,93,1);thumbnails[1993598]=new thumbnail(1993598,"133835","Appledore sunset","Instow March 08146aclikpic_thumb.jpg",130,87,1);thumbnails[1993604]=new thumbnail(1993604,"133835","BD 76 on the beach","RAC0401Waiting for the tide at Instow,Devonclikpic_thumb.jpg",130,195,1);thumbnails[1993619]=new thumbnail(1993619,"133835","Early morning on the River Torridge","RAC0389Early sunrise lights up Appledore,Devonclikpic_thumb.jpg",130,195,1);thumbnails[1993642]=new thumbnail(1993642,"133835","Golden sunset","RAC0397Sunset on Instow Estuary,Devonclikpic_thumb.jpg",130,197,1);thumbnails[4084219]=new thumbnail(4084219,"124753","","Bluebells1_030_clikpic_thumb.jpg",130,195,1);thumbnails[4084225]=new thumbnail(4084225,"124753","A field filled with poppies and canola flowers","Poppies_olney_018_lores_thumb.jpg",130,195,1);thumbnails[4084220]=new thumbnail(4084220,"124753","","Wild_Daisies_1_clikpic_thumb.jpg",130,195,1);thumbnails[4084234]=new thumbnail(4084234,"124753","Iris in Sepia","Infra_red_Iris_sepia_clikpic_thumb.jpg",130,195,1);thumbnails[4084227]=new thumbnail(4084227,"124753","Verbena and fern","Garden_Flowers_004_clikpic_thumb.jpg",130,195,1);thumbnails[4084229]=new thumbnail(4084229,"124753","Tulips","Tulips_017_clikpic_thumb.jpg",130,195,1);thumbnails[2443198]=new thumbnail(2443198,"124753","Norfolk Lavender","Norfolk Lavender 3_thumb.jpg",130,87,1);thumbnails[2203880]=new thumbnail(2203880,"144740","My Kingdom...","Long Island and New York044web_thumb.jpg",130,81,1);thumbnails[2182840]=new thumbnail(2182840,"124753","Blossom Time","Long Island and New York075clikpic_thumb.jpg",130,94,1);thumbnails[2549273]=new thumbnail(2549273,"162945","Sir John Betjeman's statue in typical pose","St Pancras 010_clikpic_thumb.jpg",130,102,1);thumbnails[2224308]=new thumbnail(2224308,"124753","Bluebell Carpet","Coton Manor Bluebells May 08001web1_thumb.jpg",130,87,1);thumbnails[2186911]=new thumbnail(2186911,"124753","Spring Blossom","Chappaqua and Southampton004clikpic_thumb.jpg",130,87,1);thumbnails[2235858]=new thumbnail(2235858,"124753","Hazy Bluebells","Hazy Bluebells_clikpic_thumb.jpg",130,80,1);thumbnails[2549270]=new thumbnail(2549270,"162945","The main concourse and entrance to the Eurostar check in area","St Pancras 001_clikpic1_thumb.jpg",130,87,1);thumbnails[2549276]=new thumbnail(2549276,"162945","The arched supports make a pleasing pattern","St Pancras 004_clikpic_thumb.jpg",130,195,1);thumbnails[1671044]=new thumbnail(1671044,"124753","Snowdrops herald Spring","Shropshire 26-2 017snowdropsaclikpic_thumb.jpg",130,87,1);thumbnails[2187155]=new thumbnail(2187155,"144740","Mailboxes","Chappaqua and Southampton005clikpic_thumb.jpg",130,87,1);thumbnails[2053352]=new thumbnail(2053352,"124753","Purple aubrietia","Coton Manor 9 April 08009aclikpic_thumb.jpg",130,147,1);thumbnails[2186916]=new thumbnail(2186916,"144740","Hildreth's Department Store,Southampton, Long Island","Chappaqua and Southampton002web_thumb.jpg",130,87,1);thumbnails[2187242]=new thumbnail(2187242,"144740","Fire Hydrant","Chappaqua057clikpic_thumb.jpg",130,183,1);thumbnails[2053354]=new thumbnail(2053354,"124753","Tulips by the window","Coton Manor 9 April 08012aclikpic_thumb.jpg",130,195,1);thumbnails[2187239]=new thumbnail(2187239,"144740","Stars and Stripes","Chappaqua012aclikpic_thumb.jpg",130,195,1);thumbnails[2053367]=new thumbnail(2053367,"124753","Snakes Head Fritillary","Coton Manor 9 April 08017aclikpic_thumb.jpg",130,151,1);thumbnails[2053369]=new thumbnail(2053369,"124753","Apricot Tulip","Coton Manor 9 April 08019aclikpic_thumb.jpg",130,165,1);thumbnails[2053372]=new thumbnail(2053372,"124753","Acid Yellow!","Coton Manor 9 April 08041aclikpic_thumb.jpg",130,195,1);thumbnails[1993716]=new thumbnail(1993716,"133843","Castle Ashby daffodils","Castle Ashby Easter 08007aclikpic_thumb.jpg",130,92,1);thumbnails[2186948]=new thumbnail(2186948,"133843","Bluebell Woods in late Spring sunshine","Coton Manor Bluebells May 08001web_thumb.jpg",130,87,1);thumbnails[1690945]=new thumbnail(1690945,"133843","Upland Scenery, Northamptonshire","Fawsley Hall015aclikpic_thumb.jpg",130,195,1);thumbnails[1993774]=new thumbnail(1993774,"133843","The Orangery Pool","Castle Ashby Easter 08101aclikpic_thumb.jpg",130,85,1);thumbnails[1914715]=new thumbnail(1914715,"124631","Blacksmith working 1","Blacksmith004aclikpic_thumb.jpg",130,171,1);thumbnails[1914731]=new thumbnail(1914731,"124631","Blacksmith working 2","Blacksmith008aclikpic_thumb.jpg",130,195,1);thumbnails[1914738]=new thumbnail(1914738,"124631","Blacksmith working 3","Blacksmith013aclikpic_thumb.jpg",130,179,1);thumbnails[1914761]=new thumbnail(1914761,"124631","Thor's Hammer","Blacksmith042aclikpic_thumb.jpg",130,172,1);thumbnails[1852062]=new thumbnail(1852062,"124631","Ladies in waiting","Cottesbrooke Lambs 2012aclikpic_thumb.jpg",130,146,1);thumbnails[1852063]=new thumbnail(1852063,"124631","Lambs ","Cottesbrooke Lambs 2022aclikpic_thumb.jpg",130,195,1);thumbnails[897663]=new thumbnail(897663,"112587","Winter Sunset","Brittany 018017_thumb.jpg",130,98,1);thumbnails[1662520]=new thumbnail(1662520,"112587","Cafe au lait...","France2 Oct 07079aclikpic_thumb.jpg",130,91,1);thumbnails[1662547]=new thumbnail(1662547,"112587","Le Pont de Normandie","France3 Oct 07015aclikpic_thumb.jpg",130,195,1);thumbnails[1662511]=new thumbnail(1662511,"112587","Honfleur","France2 Oct 07013aclikpic_thumb.jpg",130,87,1);thumbnails[1662544]=new thumbnail(1662544,"112587","Red,presumably","France2 Oct 07142aclikpic_thumb.jpg",130,87,1);thumbnails[1030506]=new thumbnail(1030506,"112587","Wayside Cross","Britttany3049_thumb.jpg",130,195,1);thumbnails[1662560]=new thumbnail(1662560,"112587","Quai St Antoine after dark","France3 Oct 07037aclikpic_thumb.jpg",130,72,1);thumbnails[1662553]=new thumbnail(1662553,"112587","A warm welcome is guaranteed at this restaurant in Honfleur","France3 Oct 07027aclikpic_thumb.jpg",130,195,1);thumbnails[1407083]=new thumbnail(1407083,"112589","Frozen Water","Kaprun March06 022a_thumb.jpg",130,87,1);thumbnails[1666076]=new thumbnail(1666076,"112589","The Old Railway Station","Kaprun March06 045aclikpic_thumb.jpg",130,86,1);thumbnails[1662516]=new thumbnail(1662516,"112587","Fishing nets in Honfleur","France2 Oct 07060aclikpic_thumb.jpg",130,88,1);thumbnails[4084221]=new thumbnail(4084221,"68784","","Cygnets_034_cl_lores_thumb.jpg",130,195,1);thumbnails[1839282]=new thumbnail(1839282,"68784","Red Fire Buckets","Rushden Station signaclikpic_thumb.jpg",130,178,1);thumbnails[1758711]=new thumbnail(1758711,"68784","Brass Letter Box","Oundle 022 aclikpic_thumb.jpg",130,78,1);thumbnails[1030497]=new thumbnail(1030497,"68784","Memorial Poppies","Tyne Cot 1_thumb.jpg",130,167,1);thumbnails[1666079]=new thumbnail(1666079,"68784","The ancient Town Hall,Bridgnorth","Bridgnorth Sep26003 clikpic_thumb.jpg",130,180,1);thumbnails[1452855]=new thumbnail(1452855,"68784","St Leonards Church","Bridgnorth Sep26009clikpic_thumb.jpg",130,195,1);thumbnails[1671054]=new thumbnail(1671054,"68784","My Brother's House","My Brother's Houseclikpic_thumb.jpg",130,195,1);thumbnails[1856212]=new thumbnail(1856212,"68784","A beautiful parrot","Coton Manor 16 Feb 08093aclikpic_thumb.jpg",130,166,1);thumbnails[1856210]=new thumbnail(1856210,"68784","Pretty Flamingo","Coton Manor 16 Feb 08052aclikpic_thumb.jpg",130,124,1);thumbnails[1030504]=new thumbnail(1030504,"68784","Flanders Fields of Mud","Trench 1_thumb.jpg",130,84,1);thumbnails[2054002]=new thumbnail(2054002,"68784","Pink and black flash","Coton Manor 9 April 08076aclikpic_thumb.jpg",130,162,1);thumbnails[1563095]=new thumbnail(1563095,"68784","On Top of the World","Rockingham,Brington and Grafton030Clikpic_thumb.jpg",130,193,1);thumbnails[3253848]=new thumbnail(3253848,"110888","Ducati 998 Super Bike","Ducati ClikPic0001_thumb.JPG",130,87,1);thumbnails[3253910]=new thumbnail(3253910,"110888","Ducati 998 Super Bike","Ducati ClikPic0003_thumb.JPG",130,127,1);thumbnails[3253917]=new thumbnail(3253917,"110888","Ducati 998","Ducati ClikPic0006_thumb.JPG",130,195,1);thumbnails[1637762]=new thumbnail(1637762,"110888","Radical Racer","Silverstone2126 radical proof_thumb.jpg",130,87,1);thumbnails[1747410]=new thumbnail(1747410,"111660","Close racing at Towcester","Towcester Boxing Day078aclikpic_thumb.jpg",130,87,1);thumbnails[1852133]=new thumbnail(1852133,"110888","1933 Singer Sports 9","Singer at Brixworth Feb 08006aclikpic_thumb.jpg",130,195,1);thumbnails[1852064]=new thumbnail(1852064,"110888","1933 Singer","Singer at Brixworth Feb 08003aclikpic_thumb.jpg",130,87,1);thumbnails[2053686]=new thumbnail(2053686,"110888","The romance of an MG...","TF monoaclikpic1_thumb.jpg",130,78,1);thumbnails[1852134]=new thumbnail(1852134,"110888","Dash","Singer at Brixworth Feb 08009aclikpic_thumb.jpg",130,87,1);thumbnails[1407099]=new thumbnail(1407099,"112588","Fishing Boats","Majorca 2005 (2) 030a_clikpic-1_thumb.jpg",130,177,1);thumbnails[1652311]=new thumbnail(1652311,"111660","The last Fence","Towcester 1 Dec037aclikpic_thumb.jpg",130,73,1);thumbnails[1875398]=new thumbnail(1875398,"110888","Bluebird","BlueBird squareclikpic_thumb.jpg",130,112,1);thumbnails[1852137]=new thumbnail(1852137,"110888","Dash 2","Singer at Brixworth Feb 08013aclikpic_thumb.jpg",130,87,1);thumbnails[1860922]=new thumbnail(1860922,"110888","MGB GT","France Oct 07088alo-res_thumb.jpg",130,149,1);thumbnails[1862881]=new thumbnail(1862881,"110888","Racing Puma","Silverstone2141aclikpic_thumb.jpg",130,87,1);thumbnails[900375]=new thumbnail(900375,"112588","Majorcan Sunset","Majorca 2005 (1) 030043_thumb.jpg",130,91,1);thumbnails[1407074]=new thumbnail(1407074,"112588","Sunset at La Dragonera","Majorca 2005 (1) 024_CLIKPIC-1_thumb.jpg",130,97,1);thumbnails[2053768]=new thumbnail(2053768,"125537","April Cover of Northamptonshire Life magazine","April Northants Lifeclikpic_thumb.jpg",130,173,1);thumbnails[1407110]=new thumbnail(1407110,"112588","Majorcan evening","Andraitx June06 clikpic_thumb.jpg",130,87,1);thumbnails[1870223]=new thumbnail(1870223,"125537","Cover of February 2008 issue Northamptonshire Life magazine","Northants Life Feb Cover clikpic_thumb.jpg",130,179,1);thumbnails[1870564]=new thumbnail(1870564,"125537","My own survival story -featured in Northamptonshire Life magazine","Survival story_thumb.jpg",130,186,1);var galleries=new Object();galleries[286104]=new gallery(286104,"5059335,5056404,5056400,5056398,5056392,5056224,5056082,5056078,5056073","Lifestyle Photography","gallery",[5056078,5056224,5056073,5056392,5056398,5056082,5056400,5059335,5056404]);galleries[228012]=new gallery(228012,"3735280","Wedding Photography","gallery",[3735252,3735261,3737381,3737383,3742033,3742037,3742038,3742041,3742043,3742047,3735280,3735187,3735243,3737242,3735247,3737240,3737514,3737523,3737520,3737522]);galleries[247376]=new gallery(247376,"4291187,4131742","Portraiture and People","gallery",[4291178,4291176,4291185,4291187,4291192,4291193,4296729,4291202,4415702,4151497,4415703,4170754,4131875,4170763,4131883,4131906,4131742,4131796,4173902,4131801,4131798,4131804,4131799]);galleries[68797]=new gallery(68797,"2442118,1810781,1671050,1639790,1563135,1428299,1407088","Natural Landscapes","gallery",[1810781,2442118,897706,1407088,897701,1563135,1671050,1428299,1639790,1030511,1030492]);galleries[165804]=new gallery(165804,"2611716,2611706,2611704","Food","gallery",[2611704,2611706,2611716]);galleries[133835]=new gallery(133835,"1993642,1993619,1993604,1993598","Devon and Cornwall","gallery",[1993598,1993604,1993619,1993642]);galleries[144740]=new gallery(144740,"2203880,2187242,2187239,2187155,2186916","An American Collection","gallery",[2203880,2187155,2186916,2187242,2187239]);galleries[124753]=new gallery(124753,"2443198,2235858,2224308,2186911,2182840,2053372,2053369,2053367,2053354,2053352,1671044","Flowers","gallery",[4084219,4084225,4084220,4084234,4084227,4084229,2443198,2182840,2224308,2186911,2235858,1671044,2053352,2053354,2053367,2053369,2053372]);galleries[162945]=new gallery(162945,"2549276,2549273,2549270","St Pancras","gallery",[2549273,2549270,2549276]);galleries[133843]=new gallery(133843,"2186948,1993774,1993716,1690945","Northamptonshire","gallery",[1993716,2186948,1690945,1993774]);galleries[124631]=new gallery(124631,"1914761,1914738,1914731,1914715,1852063,1852062","Rural Life","gallery",[1914715,1914731,1914738,1914761,1852062,1852063]);galleries[112589]=new gallery(112589,"1666076","Bavaria","gallery",[1407083,1666076]);galleries[112587]=new gallery(112587,"1662560,1662547,1662544,1662520,1662516,1662511","France","gallery",[897663,1662520,1662547,1662511,1662544,1030506,1662560,1662553,1662516]);galleries[68784]=new gallery(68784,"2054002,1856212,1856210,1839282,1758711,1671054,1666079,1452855","Miscellaneous","gallery",[4084221,1839282,1758711,1030497,1666079,1452855,1671054,1856212,1856210,1030504,2054002,1563095]);galleries[110888]=new gallery(110888,"3253848,2053686,1875398,1862881,1860922,1852137,1852134,1852133,1852064,1637762","Automotive","gallery",[3253848,3253910,3253917,1637762,1852133,1852064,2053686,1852134,1875398,1852137,1860922,1862881]);galleries[111660]=new gallery(111660,"1747410,1652311","Horse Racing","gallery",[1747410,1652311]);galleries[125537]=new gallery(125537,"2053768","Publications","gallery",[2053768,1870223,1870564]);galleries[112588]=new gallery(112588,"1407099","Spain","gallery",[1407099,900375,1407074,1407110]);var imageSets=new Object();imageSets[1]="3253848,2611716,2611706,2611704,2549276,2549273,2549270,2443198,2442118,2235858,2224308,2203880,2187242,2187239,2187155,2186948,2186916,2186911,2182840,2054002,2053768,2053686,2053372,2053369,2053367,2053354,2053352,1993774,1993716,1993642,1993619,1993604,1993598,1914761,1914738,1914731,1914715,1875398,1862881,1860922,1856212,1856210,1852137,1852134,1852133,1852064,1839282,1810781,1758711,1747410,1690945,1671054,1671050,1671044,1666079,1666076,1662560,1662547,1662544,1662520,1662516,1662511,1652311,1639790,1637762,1563135,1452855,1428299,1407110,1407099,1407088,1407083,1407074,900375,897701,897663";imageSets[2]="4291187,4131742,3735280,3735224,3253848,2611716,2611706,2611704,2549276,2549273,2549270,2443198,2442118,2235858,2224308,2203880,2187242,2187239,2187155,2186948,2186916,2186911,2182840,2054002,2053768,2053686,2053372,2053369,2053367,2053354,2053352,1993774,1993716,1993642,1993619,1993604,1993598,1914761,1914738,1914731,1914715,1875398,1862881,1860922,1856212,1856210,1852137,1852134,1852133,1852064,1852063,1852062,1839282,1810781,1758711,1747410,1690945,1671054,1671050,1671044,1666079,1666076,1662560,1662547,1662544,1662520,1662516,1662511,1652311,1639790,1637762,1563135,1452855,1428299,1407099,1407088";imageSets[3]="5059335,5056404,5056400,5056398,5056392,5056224,5056082,5056078,5056073,4415703,4415702,4296729,4291202,4291193,4291192,4291187,4291185,4291178,4291176,4173902,4170763,4170754,4151497,4131906,4131883,4131875,4131804,4131801,4131799,4131798,4131796,4131742,4084234,4084229,4084227,4084225,4084221,4084220,4084219,3742047,3742043,3742041,3742038,3742037,3742033,3737523,3737522,3737520,3737514,3737383";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/Heantun/images";break}switch(a){case 1:b="http://www1.clikpic.com/Heantun/images";break}switch(a){case 2:b="http://admin.clikpic.com/Heantun/images";break}switch(a){case 24:b="http://tpc15/clikpic/Heantun/images";break}switch(a){case 4:b="http://www.clikchurch.com/Heantun/images";break}switch(a){case 5:b="http://www2.clikpic.com/Heantun/images";break}switch(a){case 22:b="http://tpc5/clikpic/Heantun/images";break}switch(a){case 23:b="http://tpc10/clikpic/Heantun/images";break}switch(a){case 25:b="http://tpc16/clikpic/Heantun/images";break}switch(a){case 15:b="http://www3.clikpic.com/Heantun/images";break}switch(a){case 18:b="http://www4.clikpic.com/Heantun/images";break}switch(a){case 19:b="http://www5.clikpic.com/Heantun/images";break}switch(a){case 31:b="http://www7.clikpic.com/Heantun/images";break}switch(a){case 32:b="http://admin2.clikpic.com/Heantun/images";break}switch(a){case 33:b="http://www8.clikpic.com/Heantun/images";break}switch(a){case 34:b="http://www9.clikpic.com/Heantun/images";break}switch(a){case 35:b="http://admin3.clikpic.com/Heantun/images";break}switch(a){case 37:b="http://admin4.clikpic.com/Heantun/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="HEANTUN PHOTOGRAPHIC - IMAGES  by BOB CADDICK: "+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>"}a=a+fnGetPaymentInfo(photos[b]);if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Buy now using PayPal:</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="bob.caddick1@btinternet.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="bob.caddick1@btinternet.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+'")'})}}};