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[6576273]=new thumbnail(6576273,"","","Web-slide-2010-Exhibition_thumb.jpg",130,98,32);thumbnails[4667797]=new thumbnail(4667797,"269091","Winner of the most First Place votes:<br>\r\nFrogs Reunited by Jim Strom","w_Frogs_Reunited_-_Jim_Strom_thumb.jpg",130,87,32);thumbnails[4668050]=new thumbnail(4668050,"269091","Winner of most votes for a single print :<br>\r\nColden Path by Michael Newton","w_Colden_Path_-_Michael_Newton_thumb.jpg",130,92,32);thumbnails[4668056]=new thumbnail(4668056,"269091","Winner of most votes for all prints:<br>\r\nthis is John Akroyd's A Corner of the National Trust","w_A_Corner_of_the_National_Trust_-_John_Akroyd_thumb.jpg",130,92,32);thumbnails[5887774]=new thumbnail(5887774,"332544","Golden Torch Cactus <em>Jim Strom</em> (Applied Class) 1st & Best in Competition","JSAGolden-Torch-Cactus-Bi_thumb.jpg",98,130,32);thumbnails[5887780]=new thumbnail(5887780,"332544","Gentiana alpina <em>Tony Dyson</em> (Applied Class) 2nd","APDAGentiana-alpina-2nd_thumb.jpg",130,98,32);thumbnails[5887784]=new thumbnail(5887784,"332544","Brown Pelican in Flight <em>Max Sunderland</em> (Applied Class) 3rd","MSABrown-Pelican-in-Fligh_thumb.jpg",130,98,32);thumbnails[5887789]=new thumbnail(5887789,"332544","Spring Spawn, Common Frog <em>Jim Strom</em> (Applied Class) Highly Comm.","JSASpring-Spawn-HC_thumb.jpg",130,98,32);thumbnails[5887795]=new thumbnail(5887795,"332544","Golden Ringed Dragonfly <em>Philip Dean</em> (Applied Class) Highly Comm.","PDAGolden-Ringed-Dragonfl_thumb.jpg",130,98,32);thumbnails[5887809]=new thumbnail(5887809,"332544","Red Footed Booby <em>Max Sunderland</em> (Applied Class) Highly Comm.","MSARed-Footed-Booby-HC_thumb.jpg",130,98,32);thumbnails[5887820]=new thumbnail(5887820,"332544","Dark Day for the City <em>John Akroyd</em> (General Class) 1st","JAGDark-day-for-the-City-_thumb.jpg",130,98,32);thumbnails[5887828]=new thumbnail(5887828,"332544","Park Track <em>Maureen Dean</em> (General Class) 2nd","MDGPark-Track-2nd_thumb.jpg",98,130,32);thumbnails[5887898]=new thumbnail(5887898,"332544","Impression of Autumn <em>Graham Speak</em> (General Class) 3rd","GSGImpression-of-Autumn-3_thumb.jpg",130,87,32);thumbnails[5888017]=new thumbnail(5888017,"332544","Where Next? <em>Max Sunderland</em> (General Class) Highly Comm.","MSGWhere-Next-HC_thumb.jpg",130,98,32);thumbnails[5888149]=new thumbnail(5888149,"332544","First Flowers <em>Michael Newton</em> General Class) Comm.","JMNGFirst-Flowers-C_thumb.jpg",130,98,32);thumbnails[5888250]=new thumbnail(5888250,"332544","I Love London <em>Ben Cliff</em> (General Class) Comm.","BCGI-Love-London-C_thumb.jpg",130,98,32);thumbnails[5888281]=new thumbnail(5888281,"332544","St. Paul's by Night? <em>Ben Cliff</em> (General Class) Comm.","BCGSt-Pauls-By-Night-C_thumb.jpg",130,98,32);thumbnails[5888286]=new thumbnail(5888286,"332544","Light in Malaga Cathedral <em>Michael Newton</em> (General Class) Comm.","JMNGLight-in-Malaga-Cathe1_thumb.jpg",98,130,32);thumbnails[5888290]=new thumbnail(5888290,"332544","Lowry in the Alps <em>Richard Redman</em> (General Class) Comm.","RRGLowry-in-the-Alps-C_thumb.jpg",130,97,32);thumbnails[5886689]=new thumbnail(5886689,"332474","Sunset through the pier <em>Judith Baron</em> 1st","JBSunset-through-the-pier_1st_thumb.jpg",98,130,32);thumbnails[5886790]=new thumbnail(5886790,"332474","Beauty in Death <em>Michael Newton</em> 2nd","JMNBeauty-in-Death-2nd_thumb.jpg",130,86,32);thumbnails[5886855]=new thumbnail(5886855,"332474","Ave Maria <em>Tony Dyson</em> 3rd","APDAve-Maria-3rd_thumb.jpg",130,98,32);thumbnails[5886890]=new thumbnail(5886890,"332474","Derwentwater <em>David Stansfield</em> Highly Comm.","DSDerwentwater-HC_thumb.jpg",130,90,32);thumbnails[5886894]=new thumbnail(5886894,"332474","Impression of Autumn <em>Graham Speak</em> Highly Comm.","GSImpression-of-Autumn-HC_thumb.jpg",130,87,32);thumbnails[5886898]=new thumbnail(5886898,"332474","Walk These Streets <em>Alisa Yates</em> Highly Comm.","AJYWalk-These-Streets-HC_thumb.jpg",130,98,32);thumbnails[5886906]=new thumbnail(5886906,"332474","Foraging Pollinator <em>Tony Dyson</em> Comm.","APDForaging-pollinator-C_thumb.jpg",130,98,32);thumbnails[5886914]=new thumbnail(5886914,"332474","The Castle Precinct, York <em>Jim Strom</em> Comm.","JSThe-Castle-Precinct-Yor_thumb.jpg",130,75,32);thumbnails[5886917]=new thumbnail(5886917,"332474","Wheat field <em>Judith Baron</em> Comm.","JBWheat-field-C_thumb.jpg",96,130,32);thumbnails[3677048]=new thumbnail(3677048,"224669","Emerald Damselfly <em>Jim Strom</em> 1st","1st-A-Emerald-Damselfly-_thumb.jpg",98,130,32);thumbnails[3677064]=new thumbnail(3677064,"224669","First Flowers <em>Michael Newton</em> 2nd","2nd-First-Flowers_thumb.jpg",130,98,32);thumbnails[3677068]=new thumbnail(3677068,"224669","Nice to Chat <em>Max Sunderland</em> 3rd","3rd-Nice-to-Chat_Max-Sunder_thumb.jpg",130,86,32);thumbnails[3677070]=new thumbnail(3677070,"224669","Church <em>Ben Cliff</em> Highly Comm.","HC-Church---Ben-Cliff_thumb.jpg",130,98,32);thumbnails[3393080]=new thumbnail(3393080,"207196","Female Spider, Argiope bruennichi <em>Michael Newton</em> 1st","w-Female-Spider,-Argiope-br_thumb.jpg",130,98,32);thumbnails[3393096]=new thumbnail(3393096,"207196","This Way to The Ballroom <em>Alisa Yates</em> 2nd","w-This-Way-to-The-Ballroom-_thumb.jpg",130,98,32);thumbnails[3393100]=new thumbnail(3393100,"207196","Pale Clouded Yellow <em>Michael Newton</em> 3rd","w-Pale-Clouded-Yellow-JMN_thumb.jpg",130,98,32);thumbnails[3393103]=new thumbnail(3393103,"207196","Liverpool Art Installation <em>John Vessey</em> Highly Comm.","w-Liverpool-Art-Installatio_thumb.jpg",130,102,32);thumbnails[3393107]=new thumbnail(3393107,"207196","Light in Malaga Cathedral <em>Michael Newton</em> Highly Comm.","w-Light-in-Malaga-Cathedral_thumb.jpg",98,130,32);thumbnails[3393113]=new thumbnail(3393113,"207196","Green Glade <em>Howard Rawlinson</em> Comm.","w-Green-Glade-HR_thumb.jpg",87,130,32);thumbnails[3420125]=new thumbnail(3420125,"207195","American Oystercatcher taking a bath <em>Max Sunderland</em> 1st","American-Oystercatcher-taking-a-bath-R-1-09-1st_thumb.jpg",130,87,32);thumbnails[3420128]=new thumbnail(3420128,"207195","Winter Wonderland <em>Michael Newton</em> 2nd","Winter-Wonderland_thumb.jpg",130,103,32);thumbnails[3420131]=new thumbnail(3420131,"207195","City Artist <em>Max Sunderland</em> 3rd","City-ArtistR-1-09-3rd_thumb.jpg",130,86,32);thumbnails[3420135]=new thumbnail(3420135,"207195","Watching <em>Michael Newton</em> Comm.","Watching_thumb.jpg",130,87,32);thumbnails[3308116]=new thumbnail(3308116,"201291","Oyster catcher with Eggs <em>Max Sunderland</em> (Applied Class) 1st","w-Oyster-Catcher-With-Eggs_thumb.jpg",130,98,32);thumbnails[3308225]=new thumbnail(3308225,"201291","Small Tortoiseshell Butterfly <em>Michael Newton</em> (Applied Class) 2nd","w-Small-Tortoiseshell_thumb.jpg",130,98,32);thumbnails[3308227]=new thumbnail(3308227,"201291","Chaffinch <em>Philip Dean</em> (Applied Class) 3rd=","w-Chaffinch_thumb.jpg",98,130,32);thumbnails[3308229]=new thumbnail(3308229,"201291","Starling <em>Maureen Dean</em> (Applied Class) 3rd=","w-Starling_thumb.jpg",130,98,32);thumbnails[3308231]=new thumbnail(3308231,"201291","Speckled Wood Butterfly <em>Philip Dean</em> (Applied Class) Cert. of Merit","w-Speckled-Wood_thumb.jpg",130,98,32);thumbnails[3308895]=new thumbnail(3308895,"201291","The Sailor's Art <em>Margaret Beaumont</em> (General Class) 1st","w The-sailor's-art_thumb.jpg",85,130,32);thumbnails[3308949]=new thumbnail(3308949,"201291","Herr Flick of the Gestapo <em>Graham Speak</em> (General Class) 2nd=","w Herr-Flick-of-the-Gestapo_thumb.jpg",98,130,32);thumbnails[3308961]=new thumbnail(3308961,"201291","One, two, Samba <em>Alisa Yates</em> (General Class) 2nd=","w One,-two,-Samba_thumb.jpg",130,98,32);thumbnails[3308970]=new thumbnail(3308970,"201291","Ocean Trader <em>Maureen Dean</em> (General Class) Highly Comm.","w Ocean-Trader_thumb.jpg",130,98,32);thumbnails[3308995]=new thumbnail(3308995,"201291","Smoke and Steam <em>Graham Speak</em> (General Class) Highly Comm.","w Smoke-And-Steam_thumb.jpg",130,98,32);thumbnails[3308984]=new thumbnail(3308984,"201291","Which Way Is It? <em>Maureen Dean</em> (General Class) Comm.","w Which-way-is-it_thumb.jpg",130,98,32);thumbnails[3420169]=new thumbnail(3420169,"201290","Lion, Kruger National Park <em>Alan Greenwood</em> (Applied Class) 1st","Lion 2_thumb.jpg",113,130,32);thumbnails[3418926]=new thumbnail(3418926,"201290","Mocking Bird <em>Max Sunderland</em> (Applied Class) Highly Comm.","Mocking-Bird--Annual-08-H_thumb.C..jpg",130,87,32);thumbnails[3420147]=new thumbnail(3420147,"201290","Golden-Ringed Dragonfly, Cordulegaster boltonii <em>Michael Newton</em> (Applied Class) Highly Commended","Golden-Ringed-Dragonfly---C_thumb.jpg",100,130,32);thumbnails[3419015]=new thumbnail(3419015,"201290","Male Yellow Warbler <em>Max Sunderland</em> (Applied Class) Highly Comm.","Male-Yellow-Warbler-Annual-08-H_thumb.C..jpg",130,87,32);thumbnails[2872399]=new thumbnail(2872399,"177981","School's Out <em>Annette Miller</em> 1st","3-School's-Out-AM-blank_thumb.jpg",130,97,32);thumbnails[2862124]=new thumbnail(2862124,"177981","A Lot of Hot Air <em>Annette Miller</em> 2nd","1-A-Lot-of-Hot-Air-AM_thumb.jpg",130,89,32);thumbnails[2862129]=new thumbnail(2862129,"177981","Fooling the Fountains (my Niece) <em>John Vessey</em> 3rd=","6-Fooling-the-Fountains-(my_thumb.jpg",130,95,32);thumbnails[2864580]=new thumbnail(2864580,"177981","Buttercups <em>John Vessey</em> 3rd=","1-Buttercups-JV_thumb.jpg",130,97,32);thumbnails[2864590]=new thumbnail(2864590,"177981","Summer's Sting <em>Annette Miller</em> Highly Commended","4-Summer's-Sting--AM_thumb.jpg",130,103,32);thumbnails[2864592]=new thumbnail(2864592,"177981","Scavenger Seagull <em>John Vessey</em> Highly Commended","3-Scavenger-Seagull-JV_thumb.jpg",130,97,32);thumbnails[2864596]=new thumbnail(2864596,"177981","Chaffinch <em>Philip Dean</em> Commended","4-Chaffinch-PD_thumb.jpg",97,130,32);thumbnails[2864609]=new thumbnail(2864609,"177979","A Wild Bunch of Summer Visitors <em>Annette Miller</em> 3rd","A-Wild-Bunch-of-Summer-Visi_thumb.jpg",130,90,32);thumbnails[2872537]=new thumbnail(2872537,"177979","My Generation: Summer of Seaside Skirmishes <em>Annette Miller</em> Highly Commended","My-Generation_thumb.jpg",130,116,32);thumbnails[2450391]=new thumbnail(2450391,"157997","Norwegian Wood <em>Howard Rawlinson</em> 1st","1 Norwegian Wood H Rawlinson_thumb.jpg",95,130,32);thumbnails[2450413]=new thumbnail(2450413,"157997","Lord of the Flies <em>Annette Miller</em> 2nd","2 Lord of the Flies Annette Miller_thumb.jpg",130,96,32);thumbnails[2450416]=new thumbnail(2450416,"157997","Angel <em>Annette Miller</em> 3rd","3 Angel Annette Miller_thumb.jpg",130,106,32);thumbnails[2450419]=new thumbnail(2450419,"157997","In The Pink <em>Howard Rawlinson</em> Highly Comm.","HC In the pink H Rawlinson_thumb.jpg",88,130,32);thumbnails[2450521]=new thumbnail(2450521,"157997","Low Tide <em>Richard Redman</em> Highly Comm.","HC Low tide_thumb.jpg",130,102,32);thumbnails[2450573]=new thumbnail(2450573,"157997","Mountain Highlight <em>Tony Dyson</em> Highly Comm.","HC Mountain highlight  TonyD_thumb.jpg",130,98,32);thumbnails[2450628]=new thumbnail(2450628,"157997","Trees in the Mist <em>Jim Strom</em> Highly Comm.","HC Trees in the Mist JS_thumb.jpg",130,64,32);thumbnails[2450635]=new thumbnail(2450635,"157997","Land Iguana <em>Max Sunderland</em> Comm.","C  Land Iguana Max_thumb.jpg",130,98,32);thumbnails[2450641]=new thumbnail(2450641,"157997","Cotton Mill Express at Mytholmroyd <em>Graham Speak</em> Comm.","C Cotton Mill Express at Mytholmroyd Graham Speak_thumb.jpg",130,98,32);thumbnails[2450642]=new thumbnail(2450642,"157997","Hoar Mist at Blackshaw <em>Jim Strom</em> Comm.","C Hoar Mist at Blackshaw JS_thumb.jpg",130,45,32);thumbnails[2450643]=new thumbnail(2450643,"157997","Rain Deposits <em>John Vessey</em> Comm.","C Rain deposits John Vessey_thumb.jpg",82,130,32);thumbnails[2450644]=new thumbnail(2450644,"157997","String of Beads <em>Annette Miller</em> Comm.","C String of Beads Annette Miller_thumb.jpg",130,87,32);thumbnails[3419040]=new thumbnail(3419040,"157995","Behind Bars <em>Max Sunderland</em> !st","Behind-Bars-R-4-08-1st_thumb.jpg",130,87,32);thumbnails[2461579]=new thumbnail(2461579,"157995","Liner <em>Alan Greenwood</em> 2nd=","Liner _thumb.jpg",130,99,32);thumbnails[2450675]=new thumbnail(2450675,"157995","Pirn Bobbins <em>Jim Strom</em> 4th","3 Pirn-Bobbins_thumb.jpg",130,98,32);thumbnails[2450676]=new thumbnail(2450676,"157995","Blue Haze <em>Annette Miller</em> Highly Comm.","HC blue-haze_thumb.jpg",130,92,32);thumbnails[2469771]=new thumbnail(2469771,"157995","Tulips <em>Annette Miller</em> Highly Comm.","Tulips_thumb.jpg",130,87,32);thumbnails[2450678]=new thumbnail(2450678,"157995","Pink Anemone <em>Annette Miller</em> Comm.","C pink-amemone_thumb.jpg",130,105,32);thumbnails[2461582]=new thumbnail(2461582,"157995","Lion <em>Alan Greenwood</em> Comm.","Lion _thumb.jpg",113,130,32);thumbnails[2461729]=new thumbnail(2461729,"157995","But is it art? MOMA, New York <em>Alan Greenwood</em> Comm.","But is it art_thumb.jpg",62,130,32);thumbnails[2589747]=new thumbnail(2589747,"157995","Hands - Section of a Gravestone <em>Margaret Beaumont</em> Comm.","Hands_thumb.jpg",130,98,32);thumbnails[2122029]=new thumbnail(2122029,"141149","Damselfly <em>Philip Dean</em> 1st","02-Damsel-Fly-RIMG1087_thumb.jpg",130,98,32);thumbnails[2122031]=new thumbnail(2122031,"141149","Franklins Gull <em>Max Sunderland</em> 2nd","Franklins-Gull-_thumb.jpg",130,98,32);thumbnails[2122032]=new thumbnail(2122032,"141149","Ruddy Darter Detail <em>Annette Miller</em> 3rd=","A-Ruddy-Darter-detail-Annet_thumb.jpg",130,112,32);thumbnails[2122033]=new thumbnail(2122033,"141149","Oystercatcher with Eggs <em>Max Sunderland</em> 3rd=","Oyster-Catcher-With-Eggs_thumb.jpg",130,98,32);thumbnails[2122034]=new thumbnail(2122034,"141149","Smoke and Steam <em>Graham Speak</em> Highly Comm.","Smoke-and-Steam-Graham-Spea_thumb.jpg",130,98,32);thumbnails[2122035]=new thumbnail(2122035,"141149","Glaslyn Evening <em>Philip Dean</em> Highly Comm.","01-Glaslyn-Evening-P1030393_thumb.jpg",130,92,32);thumbnails[2122036]=new thumbnail(2122036,"141149","Lava Rock Falls <em>Jim Strom</em> Comm.","Lava-Rock-Falls-(JS)_thumb.jpg",98,130,32);thumbnails[2122037]=new thumbnail(2122037,"141149","Market Trader <em>Max Sunderland</em> Comm.","Market-Trader_thumb.jpg",130,98,32);thumbnails[2122039]=new thumbnail(2122039,"141149","Melba Lights <em>Jim Strom</em> Comm.","Melba-Lights-(JS)_thumb.jpg",130,98,32);thumbnails[2122040]=new thumbnail(2122040,"141149","Peacock on Buddleia <em>Annette Miller</em> Comm.","A-Peacock-on-buddleia_thumb.jpg",130,118,32);thumbnails[2122046]=new thumbnail(2122046,"141149","The Venerable Beech <em>Howard Rawlinson</em> Comm.","the-venerable-beech-H-rawli_thumb.jpg",130,87,32);thumbnails[2122047]=new thumbnail(2122047,"141149","Balcony Pattern <em>Michael Newton</em> Comm.","1-Balcony-Pattern-JMN_thumb.jpg",130,98,32);thumbnails[2179700]=new thumbnail(2179700,"141148","Grey Herons on Nest <em>Annette Miller</em> 3rd=","Grey-Herons_thumb.jpg",85,130,32);thumbnails[2179704]=new thumbnail(2179704,"141148","Hellebore 1 <em>Annette Miller</em> 3rd=","Hellibore1_thumb.jpg",87,130,32);thumbnails[2176593]=new thumbnail(2176593,"141148","Misty Blue <em>Graham Speak</em> Comm.","Misty-Blue-for-web_thumb.jpg",130,98,32);thumbnails[2179707]=new thumbnail(2179707,"141148","April Downpour <em>Annette Miller</em> Comm.","Daffodils_thumb.jpg",89,130,32);thumbnails[2184180]=new thumbnail(2184180,"141148","Kerikeri Headland <em>Jim Strom</em> Comm.","Kerikeri-Headland_thumb.jpg",98,130,32);thumbnails[2179711]=new thumbnail(2179711,"141148","Liquid Reflections <em>Annette Miller</em> Comm.","Liquid-Reflections_thumb.jpg",65,130,32);thumbnails[2019322]=new thumbnail(2019322,"135362","The Health and Safety Inspector's Nightmare <em>Howard Rawlinson</em> 1st","w-The-Health-and-Safety-Ins_thumb.jpg",130,88,32);thumbnails[2019337]=new thumbnail(2019337,"135362","Male Metellina segmenta & prey <em>Annette Miller</em> 2nd ","w-A-Male-Metellina-segmenta_thumb.jpg",130,115,32);thumbnails[2019342]=new thumbnail(2019342,"135362","Foot Of The Cascade <em>Philip Dean</em> 3rd","w-2-Foot-Of-The-Cascade-P10_thumb.jpg",130,98,32);thumbnails[2019352]=new thumbnail(2019352,"135362","Squirrel Nutkin <em>Jim Strom</em> Highly Comm.","w-Squirrel-Nutkin-(Jim-Stro_thumb.jpg",98,130,32);thumbnails[2020292]=new thumbnail(2020292,"135362","Calla Lily <em>Alisa Yates</em> Comm.","w-G-Calla-Lily-A-J-Yates-cr_thumb.jpg",126,130,32);thumbnails[2020297]=new thumbnail(2020297,"135362","Alpine Autumn <em>Howard Rawlinson</em> Comm.","w-Alpine-Autumn-H-Rawlinson_thumb.jpg",130,87,32);thumbnails[2020300]=new thumbnail(2020300,"135362","Orewa Beach <em>Maureen Dean</em> Comm.","1-Orewa-Beach-P1040410_thumb.jpg",130,98,32);thumbnails[2020305]=new thumbnail(2020305,"135362","Watching The Light Show <em>Philip Dean</em> Comm.","w-1-Watching-The-Light-Show_thumb.jpg",130,98,32);thumbnails[2020307]=new thumbnail(2020307,"135362","Feather <em>Alisa Yates</em> Comm.","w-G-Feather-A-J-Yates-crop_thumb.jpg",130,98,32);thumbnails[2020313]=new thumbnail(2020313,"135362","Keep Running <em>Philip Dean</em> Comm.","w-4-Keep-Running!-P1020388b_thumb.jpg",130,98,32);thumbnails[2020318]=new thumbnail(2020318,"135362","Pencil Shaving <em>Alisa Yates</em> Comm.","w-G-Pencil-Shaving-A-J-Yate_thumb.jpg",123,130,32);thumbnails[2074741]=new thumbnail(2074741,"135626","Male Yellow Warbler on Coral Beach <em>Max Sunderland</em> 1st","P-R-2-Male-Yellow-Warbler-on-Coral-Beach-20-Marks-&-1st_thumb.jpg",130,87,32);thumbnails[2023192]=new thumbnail(2023192,"135626","Little Nipper <em>Jim Strom</em> 3rd","Little-Nipper_thumb.jpg",130,98,32);thumbnails[2023431]=new thumbnail(2023431,"135626","Blue Harbour <em>Jim Strom</em> Highly Comm.","Blue-Harbour_thumb.jpg",98,130,32);thumbnails[2074643]=new thumbnail(2074643,"132748","Male Emerald Damselfly (Lestes sponsa) <em>Annette Miller</em> 1st","w-Male-Emerald-Damselfly-Le_thumb.jpg",130,89,32);thumbnails[2074650]=new thumbnail(2074650,"132748","Geochelone Elephantopus Portrait <em>Max Sunderland</em> 2nd","w-Geochelone-Elephantopus-P_thumb.jpg",130,98,32);thumbnails[2074655]=new thumbnail(2074655,"132748","Beach Boys <em>Jim Strom</em> 3rd","w-Beach-Boys-JS_thumb.jpg",130,98,32);thumbnails[2074662]=new thumbnail(2074662,"132748","Sunshine Yellow <em>Alisa Yates</em> Highly Comm.","w-Sunshine-Yellow-AJY_thumb.jpg",130,93,32);thumbnails[2074667]=new thumbnail(2074667,"132748","Herr Flick of the Gestapo <em>Graham Speak</em> Highly Comm.","w-Herr-Flick-of-the-Gestapo_thumb.jpg",98,130,32);thumbnails[2074674]=new thumbnail(2074674,"132748","Cup and Saucer <em>Alisa Yates</em> Comm.","w-Cup-&-Saucer-AJY_thumb.jpg",130,93,32);thumbnails[2074680]=new thumbnail(2074680,"132748","Waved Albatross <em>Max Sunderland</em> Comm.","w-Waved_Albatross_MS_thumb.jpg",130,98,32);thumbnails[2074684]=new thumbnail(2074684,"132748","Curious Currawong <em>Jim Strom</em> Comm.","w-Curious-Currawong-JS_thumb.jpg",98,130,32);thumbnails[2074687]=new thumbnail(2074687,"132748","Afterglow <em>Howard Rawlinson</em> Comm.","w-After-glow-HR_thumb.jpg",130,78,32);thumbnails[2803415]=new thumbnail(2803415,"135625","Stainforth Force <em>Annette Miller</em> 1st","Stainforth-Force_thumb.jpg",130,87,32);thumbnails[2074731]=new thumbnail(2074731,"135625","Loughrigg Fell 19th March <em>Max Sunderland</em> 2nd","P-R-1-Loyghrigg-Fell-19-Mar_thumb.jpg",130,86,32);thumbnails[2074739]=new thumbnail(2074739,"135625","Poncho Man <em>Max Sunderland</em> Highly Comm.","P-R-1-Poncho-Man-17-Marks-&_thumb.jpg",130,87,32);thumbnails[2074738]=new thumbnail(2074738,"135625","Vermilion Flycatcher <em>Max Sunderland</em> Highly Comm.","P-R-1-Vermilion-Flycatcher-_thumb.jpg",130,87,32);var galleries=new Object();galleries[269091]=new gallery(269091,"4668056,4668050,4667797","Gallery - 2009 Exhibition Winners","section323817",[4667797,4668050,4668056]);galleries[332544]=new gallery(332544,"5888290,5888286,5888281,5888250,5888149,5888017,5887898,5887828,5887820,5887809","Annual 2009 - Projected Images","section172035",[5887774,5887780,5887784,5887789,5887795,5887809,5887820,5887828,5887898,5888017,5888149,5888250,5888281,5888286,5888290]);galleries[332474]=new gallery(332474,"5886917,5886914,5886906,5886898,5886894,5886890,5886855,5886790,5886689","Round 3 2009 - Projected Images","section172035",[5886689,5886790,5886855,5886890,5886894,5886898,5886906,5886914,5886917]);galleries[224669]=new gallery(224669,"3677070,3677068,3677064,3677048","Round 2 2009 - Projected Images","section172035",[3677048,3677064,3677068,3677070]);galleries[224668]=new gallery(224668,"","Round 2 2009 - Prints","section172035",[]);galleries[207196]=new gallery(207196,"3393113,3393107,3393103,3393100,3393096,3393080","Round 1 2009 - Projected Images","section172035",[3393080,3393096,3393100,3393103,3393107,3393113]);galleries[207195]=new gallery(207195,"3420135,3420131,3420128,3420125","Round 1 2009 - Prints","section172035",[3420125,3420128,3420131,3420135]);galleries[201291]=new gallery(201291,"3308995,3308984,3308970,3308961,3308949,3308895,3308231,3308229,3308227,3308225","Annual 2008 - Projected Images","section172035",[3308116,3308225,3308227,3308229,3308231,3308895,3308949,3308961,3308970,3308995,3308984]);galleries[201290]=new gallery(201290,"3420169,3420147,3419015,3418926","Annual 2008 - Prints","section172035",[3420169,3418926,3420147,3419015]);galleries[177981]=new gallery(177981,"2872399,2864596,2864592,2864590,2864580,2862129,2862124","Round 5 2008 - Projected Images","section172035",[2872399,2862124,2862129,2864580,2864590,2864592,2864596]);galleries[177979]=new gallery(177979,"2872537,2864609","Round 5 2008 - Prints","section172035",[2864609,2872537]);galleries[157997]=new gallery(157997,"2450644,2450643,2450642,2450641,2450635,2450628,2450573,2450521,2450419,2450416","Round 4 2008 - Projected Images","section172035",[2450391,2450413,2450416,2450419,2450521,2450573,2450628,2450635,2450641,2450642,2450643,2450644]);galleries[157995]=new gallery(157995,"3419040,2589747,2469771,2461729,2461582,2461579,2450678,2450676,2450675","Round 4 2008 - Prints","section172035",[3419040,2461579,2450675,2450676,2469771,2450678,2461582,2461729,2589747]);galleries[141149]=new gallery(141149,"2122047,2122046,2122040,2122039,2122037,2122036,2122035,2122034,2122033,2122032","Round 3 2008 - Projected Images","section172035",[2122029,2122031,2122032,2122033,2122034,2122035,2122036,2122037,2122039,2122040,2122046,2122047]);galleries[141148]=new gallery(141148,"2184180,2179711,2179707,2179704,2179700,2176593","Round 3 2008 - Prints","section172035",[2179700,2179704,2176593,2179707,2184180,2179711]);galleries[135362]=new gallery(135362,"2020318,2020313,2020307,2020305,2020300,2020297,2020292,2019352,2019342,2019337","Round 2 2008 - Projected Images","section172035",[2019322,2019337,2019342,2019352,2020292,2020297,2020300,2020305,2020307,2020313,2020318]);galleries[135626]=new gallery(135626,"2074741,2023431,2023192","Round 2 2008 - Prints","section172035",[2074741,2023192,2023431]);galleries[132748]=new gallery(132748,"2074687,2074684,2074680,2074674,2074667,2074662,2074655,2074650,2074643","Round 1 2008 - Projected Images","section172035",[2074643,2074650,2074655,2074662,2074667,2074674,2074680,2074684,2074687]);galleries[135625]=new gallery(135625,"2803415,2074739,2074738,2074731","Round 1 2008 - Prints","section172035",[2803415,2074731,2074739,2074738]);var imageSets=new Object();imageSets[1]="6576273";imageSets[3]="6576273,5888290,5888286,5888281,5888250,5888149,5888017,5887898,5887828,5887820,5887809,5887795,5887789,5887784,5887780,5887774,5886917,5886914,5886906,5886898,5886894,5886890,5886855,5886790,5886689,4668056,4668050,4667797,3677070,3677068,3677064,3677048,3420169,3420147,3420135,3420131,3420128,3420125,3419040,3419015,3418926,3393113,3393107,3393103,3393100,3393096,3393080,3308995,3308984,3308970";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/hbcc/images";break}switch(a){case 1:b="http://www1.clikpic.com/hbcc/images";break}switch(a){case 2:b="http://admin.clikpic.com/hbcc/images";break}switch(a){case 24:b="http://tpc15/clikpic/hbcc/images";break}switch(a){case 4:b="http://www.clikchurch.com/hbcc/images";break}switch(a){case 5:b="http://www2.clikpic.com/hbcc/images";break}switch(a){case 22:b="http://tpc5/clikpic/hbcc/images";break}switch(a){case 23:b="http://tpc10/clikpic/hbcc/images";break}switch(a){case 25:b="http://tpc16/clikpic/hbcc/images";break}switch(a){case 15:b="http://www3.clikpic.com/hbcc/images";break}switch(a){case 18:b="http://www4.clikpic.com/hbcc/images";break}switch(a){case 19:b="http://www5.clikpic.com/hbcc/images";break}switch(a){case 31:b="http://www7.clikpic.com/hbcc/images";break}switch(a){case 32:b="http://admin2.clikpic.com/hbcc/images";break}switch(a){case 33:b="http://www8.clikpic.com/hbcc/images";break}switch(a){case 34:b="http://www9.clikpic.com/hbcc/images";break}switch(a){case 35:b="http://admin3.clikpic.com/hbcc/images";break}switch(a){case 37:b="http://admin4.clikpic.com/hbcc/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("section172035"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="section172035.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("section172035"!=""){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="Hebden Bridge Camera Club: "+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> 							"+(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+'<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+'")'})}}};