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[5458339]=new thumbnail(5458339,"89913","<strong>Chalice Stream</strong>","166_Chalice_Stream_thumb.JPG",130,87,18);thumbnails[5458340]=new thumbnail(5458340,"89913","<strong>View to the Heavens</strong>","167_View_to_the_Heavens_thumb.JPG",130,87,18);thumbnails[5458345]=new thumbnail(5458345,"89913","<strong>Glastonbury Ribbons</strong>","168_Glastonbury_Ribbons_thumb.JPG",130,87,18);thumbnails[5458352]=new thumbnail(5458352,"89913","<strong>Barcelona Architecture</strong>","169_Barcelona_Architecture_thumb.jpg",87,130,18);thumbnails[5458355]=new thumbnail(5458355,"89913","<strong>City View</strong>","170_City_View_thumb.jpg",130,87,18);thumbnails[5458359]=new thumbnail(5458359,"89913","<strong>Sacred Spire</strong>","171_Sacred_Spire_thumb.jpg",130,87,18);thumbnails[5458364]=new thumbnail(5458364,"89913","<strong>Fair View</strong>","172_Fair_View_thumb.jpg",87,130,18);thumbnails[5458368]=new thumbnail(5458368,"89913","<strong>Looking Down</strong>","173_Looking_Down_thumb.jpg",130,87,18);thumbnails[5458375]=new thumbnail(5458375,"89913","<strong>Sagrada</strong>","174_Sagrada_thumb.jpg",130,87,18);thumbnails[5458379]=new thumbnail(5458379,"89913","<strong>Apostle</strong>","175_Apostle_thumb.jpg",87,130,18);thumbnails[5458384]=new thumbnail(5458384,"89913","<strong>Cityscape</strong>","176_Cityscape_thumb.jpg",130,87,18);thumbnails[5458388]=new thumbnail(5458388,"89913","<strong>Waiting for Delievery</strong>","177_Waiting_for_Delivery_thumb.jpg",130,87,18);thumbnails[5458391]=new thumbnail(5458391,"89913","<strong>Barca Sunset</strong>","178_Barca_Sunset_thumb.jpg",87,130,18);thumbnails[5458414]=new thumbnail(5458414,"89913","<strong>Bicing</strong>","179_Bicing_thumb.jpg",130,87,18);thumbnails[5458418]=new thumbnail(5458418,"89913","<strong>Masts and Ropes</strong>","180_Masts_and_Ropes_thumb.jpg",130,87,18);thumbnails[5458420]=new thumbnail(5458420,"89913","<strong>Spanish Market</strong>","181_Spanish_Market_thumb.jpg",130,87,18);thumbnails[5458422]=new thumbnail(5458422,"89913","<strong>Stereotypical</strong>","182_Stereotypical_thumb.jpg",130,87,18);thumbnails[3402796]=new thumbnail(3402796,"67640","<strong>Brighton Graffiti</strong>","135_thumb. Brighton Graffiti.JPG",130,87,18);thumbnails[3402793]=new thumbnail(3402793,"67640","<strong>Faces</strong>","134_thumb. Faces.JPG",130,87,18);thumbnails[3402791]=new thumbnail(3402791,"67640","<strong>/The Aftermath</strong>","133_thumb. The Aftermath.JPG",130,87,18);thumbnails[3402790]=new thumbnail(3402790,"67640","<strong>Too Snowy</strong>","132_thumb. Too Snowy.JPG",87,130,18);thumbnails[2368103]=new thumbnail(2368103,"67640","<strong>After a long walk... </strong>","83_thumb. After a long walk....JPG",130,87,18);thumbnails[2368114]=new thumbnail(2368114,"67640","<strong>Rye Artist 1</strong>","85_thumb. Rye Artist 1.JPG",130,88,18);thumbnails[2368119]=new thumbnail(2368119,"67640","<strong>Rye Artist 2</strong>","86_thumb. Rye Artist 2.JPG",88,130,18);thumbnails[2368125]=new thumbnail(2368125,"67640","<strong>Rye Mill</strong>","87_thumb. Rye Mill.JPG",130,89,18);thumbnails[2368140]=new thumbnail(2368140,"67640","<strong>Rother Yacht</strong>","90_thumb. Rother Yacht.JPG",87,130,18);thumbnails[2903624]=new thumbnail(2903624,"67640","<strong>Forgotten</strong>","108_thumb. Forgotten.JPG",130,86,18);thumbnails[2045892]=new thumbnail(2045892,"67640","<strong>Houghton Bridge</strong>","50_thumb. Houghton Bridge.JPG",87,130,18);thumbnails[2045907]=new thumbnail(2045907,"67640","<strong>Sussex Trough</strong>","61_thumb. Sussex Trough.JPG",130,87,18);thumbnails[1839308]=new thumbnail(1839308,"67640","<strong>Chapel Hill</strong>","21_thumb. Chapel Hill.JPG",88,130,18);thumbnails[1839343]=new thumbnail(1839343,"67640","<strong>Cathedral View</strong>","29_thumb. Cathedral View.JPG",130,88,18);thumbnails[1747089]=new thumbnail(1747089,"67640","<strong>Buoys (borrowed)</strong>","17 - Beach Image_thumb.JPG",88,130,18);thumbnails[1086399]=new thumbnail(1086399,"67640","<strong>Seafront at Sunset</strong>","Seafront at Sunset_thumb.jpg",130,87,18);thumbnails[1086402]=new thumbnail(1086402,"67640","<strong>Boat and flags</strong>","SM214_thumb.jpg",87,130,18);thumbnails[884454]=new thumbnail(884454,"67640","<strong>Tombstone, Offington Cemetery</strong> ","Angel_thumb.jpg",130,98,18);thumbnails[1364164]=new thumbnail(1364164,"67640","<strong>A River Magnified</strong>","Magnified River_thumb.jpg",130,87,18);thumbnails[1364169]=new thumbnail(1364169,"67640","<strong>Shoreham Sunset</strong>","Shoreham Sunset_thumb.jpg",87,130,18);thumbnails[1364166]=new thumbnail(1364166,"67640","<strong>Rower at Lancing</strong>","Rower at Lancing_thumb.jpg",130,42,18);thumbnails[3402764]=new thumbnail(3402764,"67641","<strong>Roman Glade</strong>","123_thumb. Roman Glade.JPG",87,130,18);thumbnails[3402772]=new thumbnail(3402772,"67641","<strong>Pompeiian Reflections</strong>","126_thumb. Pompeiian Reflections.JPG",87,130,18);thumbnails[3402760]=new thumbnail(3402760,"67641","<strong>Greek Reflections</strong>","122_thumb. Greek Reflections.jpg",87,130,18);thumbnails[3402757]=new thumbnail(3402757,"67641","<strong>Statue Reflected</strong>","121_thumb. Statue Reflected.JPG",130,87,18);thumbnails[2903623]=new thumbnail(2903623,"67641","<strong>Cissbury Sunrise</strong>","107_thumb. Cussbury Sunrise.JPG",130,66,18);thumbnails[2368097]=new thumbnail(2368097,"67641","<strong>Daisies at Peace</strong>","82_thumb. Daisies at Peace.JPG",130,87,18);thumbnails[2180398]=new thumbnail(2180398,"67641","<strong>Arundel Path 1</strong>","66_thumb. Arundel Path 1.JPG",87,130,18);thumbnails[2181787]=new thumbnail(2181787,"67641","<strong>Arundel Path 3</strong>","68_thumb. Arundel Path 3.JPG",87,130,18);thumbnails[2181794]=new thumbnail(2181794,"67641","<strong>St Nicholas’ Churchyard</strong>","72_thumb. St Nicholas' Churchyard.JPG",88,130,18);thumbnails[2045893]=new thumbnail(2045893,"67641","<strong>Track and Trees</strong>","51_thumb. Track and trees.JPG",130,87,18);thumbnails[2045894]=new thumbnail(2045894,"67641","<strong>Onwards and Upwards</strong>","52_thumb. Onwards and upwards.JPG",87,130,18);thumbnails[2045900]=new thumbnail(2045900,"67641","<strong>Arundel View</strong>","55_thumb. Arundel View.JPG",87,130,18);thumbnails[2045901]=new thumbnail(2045901,"67641","<strong>The Way Forward</strong>","56_thumb. The way forward.JPG",130,87,18);thumbnails[2045904]=new thumbnail(2045904,"67641","<strong>South Downs View</strong>","59_thumb. South Downs view.JPG",130,87,18);thumbnails[1839323]=new thumbnail(1839323,"67641","<strong>Reed Reflection</strong>","24_thumb. Reed Reflection.JPG",87,130,18);thumbnails[1839328]=new thumbnail(1839328,"67641","<strong>Trunk Reflection</strong>","25_thumb. Trunk Reflection.JPG",88,130,18);thumbnails[1839332]=new thumbnail(1839332,"67641","<strong>A Winter’s Morning</strong>","26_thumb. A Winter's Morning.JPG",88,130,18);thumbnails[1262840]=new thumbnail(1262840,"67641","<strong>Millennium Bridge</strong>","Millennium Bridge Two_thumb.jpg",87,130,18);thumbnails[1747047]=new thumbnail(1747047,"67641","<strong>Kenyan Track</strong>","01 - Kenya_thumb.JPG",87,130,18);thumbnails[1510039]=new thumbnail(1510039,"67641","<strong>Safari Morning</strong>","7_thumb. Safari Morning.jpg",130,87,18);thumbnails[897660]=new thumbnail(897660,"67641","<strong>Tanker on Hill</strong>","Tanker on Hill_thumb.jpg",130,56,18);thumbnails[938201]=new thumbnail(938201,"67641","<strong>Bluebell copse near Ashurst</strong>","Bluebell Wood_thumb.jpg",97,130,18);thumbnails[2181796]=new thumbnail(2181796,"67629","<strong>Brighton Panorama</strong>","74_thumb. Brighton Panorama.jpg",130,43,18);thumbnails[1747083]=new thumbnail(1747083,"67629","<strong>Worthing sunset</strong>","14 - Worthing_thumb.JPG",130,87,18);thumbnails[1747085]=new thumbnail(1747085,"67629","<strong>Worthing sunburst</strong>","16 - Worthing_thumb.JPG",87,130,18);thumbnails[1510016]=new thumbnail(1510016,"67629","<strong>Moon over Water</strong>","2_thumb. Moon over water.jpg",130,87,18);thumbnails[1086383]=new thumbnail(1086383,"67629","<strong>Worthing Beach</strong>","Beach from Pier_thumb.jpg",130,87,18);thumbnails[1086394]=new thumbnail(1086394,"67629","<strong>Pier Reflection</strong>","Pier Reflection_thumb.jpg",87,130,18);thumbnails[1510043]=new thumbnail(1510043,"67629","<strong>Mombasa Sunrise</strong>","8_thumb. Mombasa Sunrise.jpg",87,130,18);thumbnails[1510069]=new thumbnail(1510069,"67629","<strong>Mombasa Coastline</strong>","10_thumb. Mombasa Coastline.jpg",130,87,18);thumbnails[985051]=new thumbnail(985051,"67629","<strong>Tunis Beach</strong>","Tunis Beach_thumb.jpg",130,104,18);thumbnails[2368064]=new thumbnail(2368064,"67639","<strong>Yellow on Blue</strong>","75_thumb. Yellow on Blue1.JPG",130,88,18);thumbnails[2368065]=new thumbnail(2368065,"67639","<strong>Peach on Blue</strong>","76_thumb. Peach on Blue.JPG",130,85,18);thumbnails[2368066]=new thumbnail(2368066,"67639","<strong>White on Pink</strong>","77_thumb. White on Pink.jpg",130,88,18);thumbnails[2368077]=new thumbnail(2368077,"67639","<strong>Red Flesh</strong>","78_thumb. Red Flesh.JPG",130,87,18);thumbnails[2368135]=new thumbnail(2368135,"67639","<strong>Watching Pair</strong>","89_thumb. Watching Pair.JPG",88,130,18);thumbnails[2180390]=new thumbnail(2180390,"67639","<strong>Tulip</strong>","62_thumb. Tulip.JPG",87,130,18);thumbnails[2180395]=new thumbnail(2180395,"67639","<strong>Exotic Flower</strong>","64_thumb. Exotic Flower.jpg",130,87,18);thumbnails[2180392]=new thumbnail(2180392,"67639","<strong>Gerbera</strong>","63_thumb. Gerbera.JPG",130,89,18);thumbnails[2181790]=new thumbnail(2181790,"67639","<strong>Graffiti & Nature</strong>","69_thumb. Graffiti and Nature.JPG",130,87,18);thumbnails[2045896]=new thumbnail(2045896,"67639","<strong>Reed Beds</strong>","53_thumb. Reedbeds.JPG",130,87,18);thumbnails[2045905]=new thumbnail(2045905,"67639","<strong>Sheep View</strong>","60_thumb. Sheep view.JPG",130,87,18);thumbnails[1747053]=new thumbnail(1747053,"67639","<strong>Superb Bird</strong>","03 - Kenya_thumb.JPG",91,130,18);thumbnails[1747058]=new thumbnail(1747058,"67639","<strong>Why’s he looking at me?</strong>","04 - Kenya_thumb.JPG",130,87,18);thumbnails[1747050]=new thumbnail(1747050,"67639","<strong>Close to Home</strong>","02 - Kenya_thumb.JPG",130,87,18);thumbnails[1747062]=new thumbnail(1747062,"67639","<strong>Vervet Monkey</strong>","05 - Kenya_thumb.JPG",130,87,18);thumbnails[1747064]=new thumbnail(1747064,"67639","<strong>Lunchtime</strong>","06 - Kenya_thumb.JPG",130,87,18);thumbnails[1747066]=new thumbnail(1747066,"67639","<strong>Dusting down</strong>","07 - Kenya_thumb.JPG",130,87,18);thumbnails[1510024]=new thumbnail(1510024,"67639","<strong>Elephant Tree</strong>","3_thumb. Elephant Tree.jpg",87,130,18);thumbnails[1510031]=new thumbnail(1510031,"67639","<strong>Mudbath</strong>","4_thumb. Mudbath.jpg",130,87,18);thumbnails[985045]=new thumbnail(985045,"67639","<strong>Bengal Tiger</strong>","Friguia Tiger_thumb.jpg",93,130,18);thumbnails[938203]=new thumbnail(938203,"67639","<strong>Oak Leaves</strong>","Oak Leaf_thumb.jpg",130,93,18);thumbnails[3402723]=new thumbnail(3402723,"123691","<strong>Canary Fountain</strong>","112_thumb. Canary Fountain.JPG",87,130,18);thumbnails[3402729]=new thumbnail(3402729,"123691","<strong>Steaming Canary</strong>","113_thumb. Steaming Canary.jpg",130,87,18);thumbnails[3402732]=new thumbnail(3402732,"123691","<strong>Soldiers Waiting</strong>","114_thumb. Soldiers Waiting.jpg",130,87,18);thumbnails[3402752]=new thumbnail(3402752,"123691","<strong>Two Domes</strong>","120_thumb. Two Domes.JPG",87,130,18);thumbnails[3402780]=new thumbnail(3402780,"123691","<strong>Moment in Time</strong>","128_thumb. Moment In Time.JPG",130,87,18);thumbnails[3402744]=new thumbnail(3402744,"123691","<strong>Light of God</strong>","118_thumb. Light of God.JPG",130,87,18);thumbnails[3402788]=new thumbnail(3402788,"123691","<strong>Square Colosseum</strong>","131_thumb. Square Colosseum.JPG",130,87,18);thumbnails[2903621]=new thumbnail(2903621,"123691","<strong>Ouse Valley Viaduct</strong>","105_thumb. Ouse Valley Viaduct.jpg",88,130,18);thumbnails[2572476]=new thumbnail(2572476,"123691","<strong>London View<strong>","93_thumb. London View.JPG",88,130,18);thumbnails[2572489]=new thumbnail(2572489,"123691","<strong>Bridge of Smiles</strong>","94_thumb. Bridge of Smiles.JPG",130,88,18);thumbnails[2572496]=new thumbnail(2572496,"123691","<strong>City Skyline</strong>","95_thumb. City Skyline.JPG",88,130,18);thumbnails[2572503]=new thumbnail(2572503,"123691","<strong>London Windows</strong>","96_thumb. London Windows.JPG",130,87,18);thumbnails[2572525]=new thumbnail(2572525,"123691","<strong>Blue Fin Close-Up</strong>","98_thumb. Blue Fin Close-Up.JPG",130,87,18);thumbnails[2574508]=new thumbnail(2574508,"123691","<strong>Parliament & Serpent</strong>","101_thumb. Parliament and Serpent.JPG",130,88,18);thumbnails[2574527]=new thumbnail(2574527,"123691","<strong>Industrial Battersea</strong>","102_thumb. Industrial Battersea.JPG",88,130,18);thumbnails[2368082]=new thumbnail(2368082,"123691","<strong>Lychgate</strong>","79_thumb. Lychgate.JPG",88,130,18);thumbnails[2368084]=new thumbnail(2368084,"123691","<strong>St Andrew’s Church, Tarring</strong>","80_thumb. St Andrews.jpg",88,130,18);thumbnails[2368110]=new thumbnail(2368110,"123691","<strong>Door to Where? </strong>","84_thumb. Door to Where.JPG",88,130,18);thumbnails[2181792]=new thumbnail(2181792,"123691","<strong>Bramber Castle</strong>","70_thumb. Bramber Castle.JPG",87,130,18);thumbnails[1747075]=new thumbnail(1747075,"123691","<strong>Roald Dahl Plass</strong>","10 - Cardiff_thumb.JPG",130,87,18);thumbnails[1747076]=new thumbnail(1747076,"123691","<strong>Water Tower reflected</strong>","11 - Cardiff_thumb.jpg",87,130,18);thumbnails[1747078]=new thumbnail(1747078,"123691","<strong>Water Tower, Cardiff Bay</strong>","12 - Cardiff_thumb.JPG",87,130,18);thumbnails[1747080]=new thumbnail(1747080,"123691","<strong>Senedd</strong>","13 - Cardiff_thumb.JPG",130,87,18);thumbnails[3402738]=new thumbnail(3402738,"67638","<strong>Palatine Reflections</strong>","116_thumb. Palatine Reflections.JPG",87,130,18);thumbnails[3402740]=new thumbnail(3402740,"67638","<strong>Strong Arm</strong>","117_thumb. Strong Arm.JPG",130,87,18);thumbnails[3402785]=new thumbnail(3402785,"67638","<strong>EUR Aspect</strong>","130_thumb. EUR Aspect.JPG",130,87,18);thumbnails[2903622]=new thumbnail(2903622,"67638","<strong>Bowsprit</strong>","106_thumb. Bowsprit.jpg",130,86,18);thumbnails[2572457]=new thumbnail(2572457,"67638","<strong>Paperclips</strong>","91_thumb. Paperclips.JPG",130,85,18);thumbnails[2572467]=new thumbnail(2572467,"67638","<strong>Death and all his friends</strong>","92_thumb. Death and Friends.JPG",130,87,18);thumbnails[2572517]=new thumbnail(2572517,"67638","<strong>Lettuce Abstract</strong>","97_thumb. Lettuce Abstract.JPG",130,88,18);thumbnails[2574534]=new thumbnail(2574534,"67638","<strong>Athletic Expectation</strong>","104_thumb. Athletic Expectation.JPG",130,88,18);thumbnails[2572531]=new thumbnail(2572531,"67638","<strong>LCDR Crest</strong>","99_thumb. LCDR Crest.jpg",130,88,18);thumbnails[2368089]=new thumbnail(2368089,"67638","<strong>Watching Cherub</strong>","81_thumb. Watching Cherub.JPG",88,130,18);thumbnails[2180397]=new thumbnail(2180397,"67638","<strong>Psychedelic Flower</strong>","65_thumb. Psychadelic Flower.jpg",87,130,18);thumbnails[1262833]=new thumbnail(1262833,"67638","<strong>Dark Angel</strong>","Dark Angel_thumb.jpg",87,130,18);thumbnails[2045888]=new thumbnail(2045888,"67638","<strong>Light Reflected</strong>","47_thumb. Light reflected.jpg",130,87,18);thumbnails[1510034]=new thumbnail(1510034,"67638","<strong>Rainbow Savannah</strong>","5_thumb. Rainbow Savannah.jpg",130,87,18);thumbnails[1364170]=new thumbnail(1364170,"67638","<strong>Wood and Metal</strong>","Wood and Metal_thumb.jpg",130,87,18);thumbnails[3402735]=new thumbnail(3402735,"144405","<strong>Standing Tall</strong>","115_thumb. Standing Tall.JPG",130,87,18);thumbnails[3402748]=new thumbnail(3402748,"144405","<strong>Aurelin Pillar</strong>","119_thumb. Aurelian Pillar.JPG",130,87,18);thumbnails[3402767]=new thumbnail(3402767,"144405","<strong>Pompeiian Threat</strong>","124_thumb. Pompeiian Threat.JPG",130,87,18);thumbnails[3402769]=new thumbnail(3402769,"144405","<strong>Warning God</strong>","125_thumb. Warning God.JPG",130,87,18);thumbnails[3402776]=new thumbnail(3402776,"144405","<strong>A Cry From History</strong>","127_thumb. A Cry from History.JPG",130,87,18);thumbnails[3402783]=new thumbnail(3402783,"144405","<strong>Three Pillars of Rome</strong>","129_thumb. Three Pillars of Rome.JPG",130,87,18);thumbnails[2368132]=new thumbnail(2368132,"144405","<strong>Long Track Home</strong>","88_thumb. Long Track Home.JPG",88,130,18);thumbnails[2045858]=new thumbnail(2045858,"144405","<strong>de Fietsenflat</strong>","31_thumb. de Fietsenflat.JPG",130,87,18);thumbnails[2045862]=new thumbnail(2045862,"144405","<strong>Moon over Water</strong>","33_thumb. Moon over water.JPG",87,130,18);thumbnails[2045864]=new thumbnail(2045864,"144405","<strong>Amstel View</strong>","34_thumb. Amstel View.JPG",130,87,18);thumbnails[2045870]=new thumbnail(2045870,"144405","<strong>Canal Reflected</strong>","36_thumb. Canal Reflected.JPG",130,87,18);thumbnails[2045874]=new thumbnail(2045874,"144405","<strong>Canal Afternoon</strong>","38_thumb. Canal Afternoon.JPG",130,87,18);thumbnails[2045881]=new thumbnail(2045881,"144405","<strong>Canal Afternoon</strong>","41_thumb. Canal Walk.JPG",130,87,18);thumbnails[2045883]=new thumbnail(2045883,"144405","<strong>Romantic Amsterdam</strong>","42_thumb. Romantic Amsterdam.jpg",87,130,18);thumbnails[2045884]=new thumbnail(2045884,"144405","<strong>Munttoren Sunset</strong>","43_thumb. Munttoren Sunset.JPG",87,130,18);thumbnails[2045885]=new thumbnail(2045885,"144405","<strong>Zuiderkerk</strong>","44_thumb. Zuiderkerk.jpg",88,130,18);thumbnails[2045887]=new thumbnail(2045887,"144405","<strong>Magere at Night</strong>","46_thumb. Magere at night.jpg",130,61,18);thumbnails[4754172]=new thumbnail(4754172,"179941","<strong>Don 1</strong>","157_Don_1_thumb.jpg",130,92,18);thumbnails[4754174]=new thumbnail(4754174,"179941","<strong>Don 2</strong>","158_Don_2_thumb.jpg",87,130,18);thumbnails[4754175]=new thumbnail(4754175,"179941","<strong>Don 3</strong>","159_Don_3_thumb.jpg",87,130,18);thumbnails[4754177]=new thumbnail(4754177,"179941","<strong>Don 4</strong>","160_Don_4_thumb.jpg",87,130,18);thumbnails[4388965]=new thumbnail(4388965,"179941","<strong>Behind You</strong>","146_Behind_You_thumb.jpg",87,130,18);thumbnails[4388967]=new thumbnail(4388967,"179941","<strong>Happy Families</strong>","147_Happy_Families_thumb.jpg",130,87,18);thumbnails[3757141]=new thumbnail(3757141,"179941","<strong>Dennis One</strong>","136_Dennis_1_thumb.jpg",87,130,18);thumbnails[3757142]=new thumbnail(3757142,"179941","<strong>Sophie One</strong>","137_Sophie_1_thumb.jpg",130,87,18);thumbnails[3757144]=new thumbnail(3757144,"179941","<strong>Dennis Two</strong>","138_Dennis_2_thumb.jpg",130,87,18);thumbnails[3757148]=new thumbnail(3757148,"179941","<strong>Tom One</strong>","139_Tom_1_thumb.jpg",87,130,18);thumbnails[3757149]=new thumbnail(3757149,"179941","<strong>Sophie Two</strong>","140_Sophie_3_thumb.jpg",87,130,18);thumbnails[3757169]=new thumbnail(3757169,"179941","<strong>Tom Two</strong>","141_Tom_2_thumb.jpg",87,130,18);thumbnails[3757170]=new thumbnail(3757170,"179941","<strong>Dennis Three</strong>","142_Dennis_4_thumb.jpg",87,130,18);thumbnails[3757173]=new thumbnail(3757173,"179941","<strong>Sophie Three</strong>","143_Sophie_2_thumb.jpg",87,130,18);thumbnails[3757177]=new thumbnail(3757177,"179941","<strong>Dennis Four</strong>","144_Dennis_3_thumb.jpg",87,130,18);thumbnails[3757183]=new thumbnail(3757183,"179941","<strong>Sophie Four</strong>","145_Sophie_4_thumb.jpg",130,87,18);thumbnails[2574507]=new thumbnail(2574507,"179941","<strong>Living Statue</strong>","100_thumb. Living Statue.JPG",89,130,18);thumbnails[2574531]=new thumbnail(2574531,"179941","<strong>Athletic Power</strong>","103_thumb. Athletic Power.jpg",130,87,18);thumbnails[2903625]=new thumbnail(2903625,"179941","<strong>A Joke Cracked</strong>","109_thumb. A Joke Cracked.JPG",130,86,18);thumbnails[2903627]=new thumbnail(2903627,"179941","<strong>Monochrome</strong>","111_thumb. Monochrome.jpg",87,130,18);thumbnails[4805486]=new thumbnail(4805486,"302827","<strong>A Kiss</strong>","161_Earle_1_thumb.JPG",130,87,18);thumbnails[4805488]=new thumbnail(4805488,"302827","<strong>Sepia</strong>","162_Earle_2_thumb.jpg",87,130,18);thumbnails[4805489]=new thumbnail(4805489,"302827","<strong>Tuk-Tuk</strong>","163_Earle_3_thumb.JPG",87,130,18);thumbnails[4805490]=new thumbnail(4805490,"302827","<strong>Adjustments</strong>","164_Earle_4_thumb.JPG",130,87,18);thumbnails[4805491]=new thumbnail(4805491,"302827","<strong>Cake</strong>","165_Earle_5_thumb.JPG",130,87,18);thumbnails[4388968]=new thumbnail(4388968,"302827","<strong>Gesticulating</strong>","148_Gesticulating_thumb.jpg",130,87,18);thumbnails[4388969]=new thumbnail(4388969,"302827","<strong>Modern Technology</strong>","149_Modern_Technology_thumb.jpg",130,87,18);thumbnails[4388971]=new thumbnail(4388971,"302827","<strong>Retouch</strong>","150_Retouch_thumb.jpg",130,87,18);thumbnails[4388972]=new thumbnail(4388972,"302827","<strong>Confetti</strong>","151_Confetti_thumb.jpg",130,87,18);thumbnails[4388973]=new thumbnail(4388973,"302827","<strong>Rings</strong>","152_Rings_thumb.jpg",130,87,18);thumbnails[4388974]=new thumbnail(4388974,"302827","<strong>Kiss</strong>","153_Kiss_thumb.jpg",130,87,18);thumbnails[4388975]=new thumbnail(4388975,"302827","<strong>Fear</strong>","154_Fear_thumb.jpg",130,87,18);thumbnails[4388976]=new thumbnail(4388976,"302827","<strong>Conducting</strong>","155_Conducting_thumb.JPG",130,87,18);thumbnails[4388977]=new thumbnail(4388977,"302827","<strong>Beach Couple</strong>","156_Beach_Couple_thumb.JPG",86,130,18);thumbnails[2913105]=new thumbnail(2913105,"302827","<strong>Just Married...</strong>","112_thumb. Just Married.jpg",130,86,18);var galleries=new Object();galleries[89913]=new gallery(89913,"5458422,5458384,5458375,5458368,5458345,5458340,5458339","New Images","gallery",[5458339,5458340,5458345,5458352,5458355,5458359,5458364,5458368,5458375,5458379,5458384,5458388,5458391,5458414,5458418,5458420,5458422]);galleries[67640]=new gallery(67640,"3402796,3402793,2903624,2368140,2368125,2368119,2368114,2045907,2045892,1364169,1364164,1086402,1086399","Sussex Life","gallery",[3402796,3402793,3402791,3402790,2368103,2368114,2368119,2368125,2368140,2903624,2045892,2045907,1839308,1839343,1747089,1086399,1086402,884454,1364164,1364169,1364166]);galleries[67641]=new gallery(67641,"3402772,3402764,3402760,3402757,2903623,2368097,2181794,2180398,2045904,2045894,2045893,1839332,1747047,1510039,1262840,938201,897660","Landscapes","gallery",[3402764,3402772,3402760,3402757,2903623,2368097,2180398,2181787,2181794,2045893,2045894,2045900,2045901,2045904,1839323,1839328,1839332,1262840,1747047,1510039,897660,938201]);galleries[67629]=new gallery(67629,"2181796,1747085,1747083,1510043,1086394,1086383,985051","Seascapes","gallery",[2181796,1747083,1747085,1510016,1086383,1086394,1510043,1510069,985051]);galleries[67639]=new gallery(67639,"2368135,2368077,2368066,2368065,2368064,2181790,2180395,2180390,2045896,1747066,1747064,1747058,1510031,985045,938203","Flora & Fauna","gallery",[2368064,2368065,2368066,2368077,2368135,2180390,2180395,2180392,2181790,2045896,2045905,1747053,1747058,1747050,1747062,1747064,1747066,1510024,1510031,985045,938203]);galleries[123691]=new gallery(123691,"3402788,3402780,3402752,3402732,3402729,3402723,2574527,2574508,2572525,2572503,2572496,2572489,2572476,2368084,2181792,1747078,1747076,1747075","Architecture","gallery",[3402723,3402729,3402732,3402752,3402780,3402744,3402788,2903621,2572476,2572489,2572496,2572503,2572525,2574508,2574527,2368082,2368084,2368110,2181792,1747075,1747076,1747078,1747080]);galleries[67638]=new gallery(67638,"3402785,3402740,3402738,2903622,2574534,2572531,2572517,2572467,2572457,2045888,1510034,1364170,1262833","Elements","gallery",[3402738,3402740,3402785,2903622,2572457,2572467,2572517,2574534,2572531,2368089,2180397,1262833,2045888,1510034,1364170]);galleries[144405]=new gallery(144405,"3402783,3402776,3402769,3402767,3402748,3402735,2045887,2045885,2045884,2045883,2045881,2045874,2045870,2045862","Travel","gallery",[3402735,3402748,3402767,3402769,3402776,3402783,2368132,2045858,2045862,2045864,2045870,2045874,2045881,2045883,2045884,2045885,2045887]);galleries[179941]=new gallery(179941,"3757183,3757177,3757173,3757170,3757169,3757149,3757148,3757144,3757142,3757141,2903627,2903625,2574531,2574507","Portraits","gallery",[4754172,4754174,4754175,4754177,4388965,4388967,3757141,3757142,3757144,3757148,3757149,3757169,3757170,3757173,3757177,3757183,2574507,2574531,2903625,2903627]);galleries[302827]=new gallery(302827,"2913105","Weddings","gallery",[4805486,4805488,4805489,4805490,4805491,4388968,4388969,4388971,4388972,4388973,4388974,4388975,4388976,4388977,2913105]);var imageSets=new Object();imageSets[1]="5458422,5458391,5458375,5458368,5458340,5458339,1747085,1747083,1747078,1747076,1747075,1510031,1364170,1364169,1364164,1262840,1262833,1086399,1086394,1086383,985045,938201,897660,884454";imageSets[2]="5458422,5458384,5458375,5458368,5458345,5458340,5458339,3757183,3757177,3757173,3757170,3757169,3757149,3757148,3757144,3757142,3757141,3402796,3402793,3402788,3402785,3402783,3402780,3402776,3402772,3402769,3402767,3402764,3402760,3402757,3402752,3402748,3402740,3402738,3402735,3402732,3402729,3402723,2913105,2903627,2903625,2903624,2903623,2903622,2574534,2574531,2574527,2574508,2574507,2572531,2572525,2572517,2572503,2572496,2572489,2572476,2572467,2572457,2368140,2368135,2368125,2368119,2368114,2368097,2368084,2368077,2368066,2368065,2368064,2181796,2181794,2181792,2181790,2180398,2180395,2180390,2045907,2045904,2045896,2045894,2045893,2045892,2045888,2045887,2045885,2045884,2045883,2045881,2045874,2045870,2045862,1839332,1747085,1747083,1747078,1747076,1747075,1747066,1747064,1747058,1747047,1510043,1510039,1510034,1510031,1364170,1364169,1364164,1262840,1262833,1086402,1086399,1086394,1086383,985051,985045,938203,938201,897660";imageSets[3]="5458422,5458420,5458418,5458414,5458391,5458388,5458384,5458379,5458375,5458368,5458364,5458359,5458355,5458352,5458345,5458340,5458339,4805491,4805490,4805489,4805488,4805486,4754177,4754175,4754174,4754172,4388977,4388976,4388975,4388974,4388973,4388972,4388971,4388969,4388968,4388967,4388965,3757183,3757177,3757173,3757170,3757169,3757149,3757148,3757144,3757142,3757141,3402796,3402793,3402791";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 34:b="http://www9.clikpic.com/RichardCK/images";break}switch(a){case 1:b="http://www1.clikpic.com/RichardCK/images";break}switch(a){case 2:b="http://admin.clikpic.com/RichardCK/images";break}switch(a){case 4:b="http://www.clikchurch.com/RichardCK/images";break}switch(a){case 5:b="http://www2.clikpic.com/RichardCK/images";break}switch(a){case 15:b="http://www3.clikpic.com/RichardCK/images";break}switch(a){case 21:b="http://www6.clikpic.com/RichardCK/images";break}switch(a){case 18:b="http://www4.clikpic.com/RichardCK/images";break}switch(a){case 19:b="http://www5.clikpic.com/RichardCK/images";break}switch(a){case 22:b="http://tpc5/clikpic/RichardCK/images";break}switch(a){case 23:b="http://tpc10/clikpic/RichardCK/images";break}switch(a){case 24:b="http://tpc15/clikpic/RichardCK/images";break}switch(a){case 25:b="http://tpc16/clikpic/RichardCK/images";break}switch(a){case 31:b="http://www7.clikpic.com/RichardCK/images";break}switch(a){case 32:b="http://admin2.clikpic.com/RichardCK/images";break}switch(a){case 33:b="http://www8.clikpic.com/RichardCK/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="'+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="Cooper-Knight 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>"}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="cooperknights@yahoo.co.uk">';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="cooperknights@yahoo.co.uk">';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+'")'})}}};