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[1384812]=new thumbnail(1384812,"","Small for homepage","Studio Logo_01_72dpi_8_thumb.jpg",130,52,1);thumbnails[1385669]=new thumbnail(1385669,"","Large for Studio Page","Studio Logo_01_72dpi_1510_thumb.jpg",130,52,1);thumbnails[1453852]=new thumbnail(1453852,"","Studio Page Image","Img_3724_75_thumb.jpg",130,173,1);thumbnails[1453857]=new thumbnail(1453857,"","Studio Page Image","Img_3860_75_thumb.jpg",130,173,1);thumbnails[1453872]=new thumbnail(1453872,"","Studio Page Image","Img_3849_151_thumb.jpg",130,98,1);thumbnails[6302617]=new thumbnail(6302617,"349613","Title: Oak and Underwood, Stockton on the Forest","Oak_and_Underwood_1_thumb.jpg",130,94,1);thumbnails[1513869]=new thumbnail(1513869,"","<U>Deep Forest 03 SOLD</U>","Deep Forest_03_thumb.jpg",130,80,1);thumbnails[1619748]=new thumbnail(1619748,"","<U>A Narrow Corridor for Nature - Two 03</U>","A Narrow Corridor For Nature 2_03_thumb.jpg",130,82,1);thumbnails[6302588]=new thumbnail(6302588,"349599","Title: Rural Idyll","Rural_Idyll_thumb.jpg",130,132,1);thumbnails[3570024]=new thumbnail(3570024,"211027","<U>Well Trodden 01</U> SOLD","Well_Trodden_011_thumb.jpg",130,131,1);thumbnails[3570031]=new thumbnail(3570031,"211027","<U>Well Trodden 02 SOLD</U>","Well_Trodden_021_thumb.jpg",130,131,1);thumbnails[3742892]=new thumbnail(3742892,"205995","<U>Managed Woodland</U>","Managed_Woodland_011_thumb.jpg",130,92,1);thumbnails[5587752]=new thumbnail(5587752,"316852","Title: Exposed 01","Exposed_01_thumb.jpg",130,98,1);thumbnails[5695450]=new thumbnail(5695450,"316848","Title: Homeward Bound","Homeward_Bound_05_thumb.jpg",130,97,1);thumbnails[3372265]=new thumbnail(3372265,"205995","<U>Managed Woodland</U>","Managed_Woodland_021_thumb.jpg",130,92,1);thumbnails[5587755]=new thumbnail(5587755,"316852","Title: Exposed 02","Exposed_02_thumb.jpg",130,98,1);thumbnails[3748461]=new thumbnail(3748461,"205995","<U>Managed Woodland<U> SOLD","Managed_Woodland_03_thumb.jpg",130,92,1);thumbnails[5587757]=new thumbnail(5587757,"316852","Title: Exposed 03","Exposed_03_thumb.jpg",130,98,1);thumbnails[5455864]=new thumbnail(5455864,"308670","Title: Heading South 1","Heading_South_1_thumb.jpg",130,117,1);thumbnails[5455874]=new thumbnail(5455874,"308670","Title: Heading South 2","Heading_South_2_thumb.jpg",130,119,1);thumbnails[5455876]=new thumbnail(5455876,"308670","Title: Heading South 3","Heading_south_3_thumb.jpg",130,119,1);thumbnails[3733572]=new thumbnail(3733572,"227926","<U>Cultivated To Flourish</U>","Cultivated_to_Flourish_011_thumb.jpg",130,130,1);thumbnails[3733651]=new thumbnail(3733651,"227926","<U>Cultivated To Flourish</U>","Cultivated_to_Flourish_05_thumb.jpg",130,130,1);thumbnails[5455890]=new thumbnail(5455890,"308674","Title: Following the Line of the Fence 1","Following_the_fence_1_thumb.jpg",130,92,1);thumbnails[5596273]=new thumbnail(5596273,"317352","Title: A Better Place 01","A_Better_Place_01_thumb.jpg",130,135,1);thumbnails[5455897]=new thumbnail(5455897,"308674","Title: Following the Line of the Fence 2","Following_the_fence_2_thumb.jpg",130,92,1);thumbnails[5596274]=new thumbnail(5596274,"317352","Title: A Better Place 02","A_Better_Place_02_thumb.jpg",130,136,1);thumbnails[3733636]=new thumbnail(3733636,"227926","<U>Cultivated To Flourish</U>","Cultivated_to_Flourish_03_thumb.jpg",130,129,1);thumbnails[5455900]=new thumbnail(5455900,"308674","Title: Following the Line of the Fence 3","Following_the_fence_3_thumb.jpg",130,92,1);thumbnails[5596278]=new thumbnail(5596278,"317352","Title: A Better Place 03","A_Better_Place_03_thumb.jpg",130,136,1);thumbnails[3733644]=new thumbnail(3733644,"227926","<U>Cultivated To Flourish</U>","Cultivated_to_Flourish_04_thumb.jpg",130,131,1);thumbnails[5596280]=new thumbnail(5596280,"317352","Title: A Better Place 04","A_Better_Place_04_thumb.jpg",130,136,1);thumbnails[3733630]=new thumbnail(3733630,"227926","<U>Cultivated To Flourish</U>","Cultivated_to_Flourish_02_thumb.jpg",130,130,1);thumbnails[5596282]=new thumbnail(5596282,"317352","Title: A Better Place 05","A_Better_Place_05_thumb.jpg",130,136,1);thumbnails[5596283]=new thumbnail(5596283,"317352","Title: A Better Place 06","A_Better_Place_06_thumb.jpg",130,136,1);thumbnails[5456049]=new thumbnail(5456049,"308680","Title: Signpost","Signpost_1_thumb.jpg",130,45,1);thumbnails[5592810]=new thumbnail(5592810,"308680","Title: Signpost 02","Signpost_02_thumb.jpg",130,45,1);thumbnails[5592813]=new thumbnail(5592813,"308680","Title: Signpost 03","Signpost_03_thumb.jpg",130,45,1);thumbnails[5592816]=new thumbnail(5592816,"308680","Title: Signpost 04","Signpost_04_thumb.jpg",130,45,1);thumbnails[5695516]=new thumbnail(5695516,"322542","Title: Vale of York (1)","Vale_of_York_01_thumb.jpg",130,84,1);thumbnails[5695521]=new thumbnail(5695521,"322542","Title: Vale of York (2)","Vale_of_York_02_thumb.jpg",130,84,1);thumbnails[5740368]=new thumbnail(5740368,"103908","Title: Clearance","Clearance_2010_07_thumb.jpg",130,207,1);thumbnails[923583]=new thumbnail(923583,"103908","<U>Clearance AP <B>(SOLD)</B></U>","Clearance_AP4_thumb.jpg",130,208,1);thumbnails[1849948]=new thumbnail(1849948,"103908","<U>Clearance 04</U>","Clearance_04_thumb.jpg",130,209,1);thumbnails[5740379]=new thumbnail(5740379,"124361","Title: A Healthy Climb","A_Healthy_Climb_2010_04_thumb.jpg",130,82,1);thumbnails[4966565]=new thumbnail(4966565,"282323","Title: Twigs, Leaves and Shoots (1)","Twigs_leaves_and_shoots_01_thumb.jpg",130,193,1);thumbnails[4966603]=new thumbnail(4966603,"282323","Title: Twigs, leaves and shoots (2)","Twigs_leaves_and_shoots_02_thumb.jpg",130,194,1);thumbnails[4966611]=new thumbnail(4966611,"282323","Title: Twigs, leaves and shoots (3)","Twigs_leaves_and_shoots_03_thumb.jpg",130,191,1);thumbnails[4966619]=new thumbnail(4966619,"282323","Title: Twigs, leaves and shoots (4)","Twigs_leaves_and_shoots_04_thumb.jpg",130,193,1);thumbnails[4966626]=new thumbnail(4966626,"282323","Title: Twigs, leaves and shoots (5)","Twigs_leaves_and_shoots_05_thumb.jpg",130,193,1);thumbnails[4966633]=new thumbnail(4966633,"282323","Title: Twigs, leaves and shoots (6)","twigs_leaves_and_shoots_06_thumb.jpg",130,191,1);thumbnails[1278456]=new thumbnail(1278456,"103897","<U>Felled Branches 01</U>","Felled Branches_01_thumb.jpg",130,81,1);thumbnails[1671072]=new thumbnail(1671072,"103897","<U>Felled Branches 02</U>","Felled Branches_02_thumb.jpg",130,82,1);thumbnails[1513568]=new thumbnail(1513568,"103897","<U>Felled Branches 03</U>","Felled Branches_03_thumb.jpg",130,82,1);thumbnails[1680948]=new thumbnail(1680948,"103897","<U>Felled Branches 04</U>","Felled Branches_04_thumb.jpg",130,82,1);thumbnails[1681185]=new thumbnail(1681185,"103897","<U>Felled Branches 05</U>","Felled Branches_051_thumb.jpg",130,82,1);thumbnails[2048295]=new thumbnail(2048295,"136906","<U>Dixons Hollow. On the Rise 01</U>","Dixons Hollow on the rise_01_thumb.jpg",130,130,1);thumbnails[2106433]=new thumbnail(2106433,"136906","<U>Dixons Hollow. On the Rise 02</U>","Dixons Hollow on the rise_02_thumb.jpg",130,130,1);thumbnails[2327988]=new thumbnail(2327988,"136906","<U>Dixons Hollow. On the Rise 03</U>","Dixons Hollow on the rise_03_thumb.jpg",130,133,1);thumbnails[2327991]=new thumbnail(2327991,"136906","<U>Dixons Hollow. On the Rise 04</U>","Dixons Hollow on the rise_04_thumb.jpg",130,132,1);thumbnails[2327992]=new thumbnail(2327992,"136906","<U>Dixons Hollow. On the Rise 05</U>","Dixons Hollow on the rise_05_thumb.jpg",130,132,1);thumbnails[5456005]=new thumbnail(5456005,"199983","Title: Dry Feet (Twig)","Dry_feet_twig_11_thumb.jpg",130,285,1);thumbnails[3279472]=new thumbnail(3279472,"199983","<U>Dry feet 03</U>","Dry Feet_03_thumb.jpg",130,277,1);thumbnails[2101364]=new thumbnail(2101364,"140040","Mitigation AP","Mitigation AP8_thumb.jpg",130,129,1);thumbnails[2327862]=new thumbnail(2327862,"140040","Mitigation 01","Mitigation_01_thumb.jpg",130,133,1);thumbnails[2327869]=new thumbnail(2327869,"140040","Mitigation 02","Mitigation_02_thumb.jpg",130,132,1);thumbnails[2327871]=new thumbnail(2327871,"140040","Mitigation 03","Mitigation_03_thumb.jpg",130,134,1);thumbnails[2327906]=new thumbnail(2327906,"140040","Mitigation 04","Mitigation_04_thumb.jpg",130,132,1);thumbnails[2327909]=new thumbnail(2327909,"140040","Mitigation 05","Mitigation_05_thumb.jpg",130,133,1);thumbnails[2328142]=new thumbnail(2328142,"151870","<U>Open to the Public 01</U>","Open to the public_01_thumb.jpg",130,93,1);thumbnails[2328181]=new thumbnail(2328181,"151870","</U>Open to the Public 02</U>","Open to the public_02_thumb.jpg",130,93,1);thumbnails[1746571]=new thumbnail(1746571,"117341","<U>A Route Through the Woods 01</U>","A route through the woods_01_thumb.jpg",130,81,1);thumbnails[1746586]=new thumbnail(1746586,"117341","<U>A Route Through the Woods 02</U>","A route through the woods_02_thumb.jpg",130,81,1);thumbnails[1746598]=new thumbnail(1746598,"117341","<U>A Route Through the Woods 03</U>","A route through the woods_03_thumb.jpg",130,81,1);thumbnails[1746600]=new thumbnail(1746600,"117341","<U>A Route Through the Woods 04</U>","A route through the woods_04_thumb.jpg",130,81,1);thumbnails[1847512]=new thumbnail(1847512,"117341","<U>A Route Through the Woods 05</U>","A route through the woods_05_thumb.jpg",130,82,1);thumbnails[1850135]=new thumbnail(1850135,"117341","<U>A Route Through the Woods 06</U>","A Route Through The Woods_06_thumb.jpg",130,82,1);thumbnails[1850140]=new thumbnail(1850140,"117341","<U>A Route Through the Woods 07 (SOLD)</U>","A Route Through The Woods_07_thumb.JPG",130,80,1);thumbnails[1850143]=new thumbnail(1850143,"117341","<U>A Route Through the Woods 08</U>","A Route Through The Woods_08_thumb.jpg",130,82,1);thumbnails[1850145]=new thumbnail(1850145,"117341","<U>A Route Through the Woods 09 (SOLD)</U>","A Route Through The Woods_09_thumb.jpg",130,81,1);thumbnails[1850154]=new thumbnail(1850154,"117341","<U>A Route Through the Woods 10</U>","A Route Through The Woods_10_thumb.jpg",130,81,1);thumbnails[2632899]=new thumbnail(2632899,"166818","<U>Centre for cycling with golden trees 01</U>","Dalby Forest - centre for cycling with golden trees_01_thumb.jpg",130,133,1);thumbnails[3434881]=new thumbnail(3434881,"209918","<U>Waiting For Spring At Sutton Bank 01</U> SOLD","Waiting for Spring at Sutton Bank 01_thumb.jpg",130,131,1);thumbnails[2632903]=new thumbnail(2632903,"166818","<U>Centre for cycling with golden trees 02</U>","Dalby Forest - centre for cycling with golden trees_02_thumb.jpg",130,134,1);thumbnails[3434988]=new thumbnail(3434988,"209918","<U>Waiting For Spring At Sutton Bank 02</U> SOLD","Waiting for Spring at Sutton Bank 02_thumb.jpg",130,131,1);thumbnails[2632907]=new thumbnail(2632907,"166818","<U>Centre for cycling with golden trees 03</U>","Dalby Forest - centre for cycling with golden trees_03_thumb.jpg",130,133,1);thumbnails[3435011]=new thumbnail(3435011,"209918","<U>Waiting For Spring At Sutton Bank 03</U> SOLD","Waiting for Spring at Sutton Bank 03_thumb.jpg",130,129,1);thumbnails[4741586]=new thumbnail(4741586,"264680","Title: Lanty Tarn, a 19c landscape today (02)","Lanty_Tarn_02_thumb.jpg",130,161,1);thumbnails[2632909]=new thumbnail(2632909,"166818","<U>Centre for cycling with golden trees 04</U>","Dalby Forest - centre for cycling with golden trees_04_thumb.jpg",130,133,1);thumbnails[3435024]=new thumbnail(3435024,"209918","<U>Waiting For Spring At Sutton Bank 04</U>","Waiting for Spring at Sutton Bank 04_thumb.jpg",130,131,1);thumbnails[4741611]=new thumbnail(4741611,"264680","Title: Lanty Tarn, a 19c landscape today (03) SOLD","Lanty_Tarn_03_thumb.jpg",130,163,1);thumbnails[3435049]=new thumbnail(3435049,"209918","<U>Waiting For Spring At Sutton Bank 05</U> SOLD","Waiting for Spring at Sutton Bank 05_thumb.jpg",130,129,1);thumbnails[4741612]=new thumbnail(4741612,"264680","Title: Lanty Tarn, a 19c landscape today (04)","Lanty_Tarn_04_thumb.jpg",130,160,1);thumbnails[3435077]=new thumbnail(3435077,"209918","<U>Waiting For Spring At Sutton Bank 06</U>","Waiting for Spring at sutton Bank 06_thumb.jpg",130,129,1);thumbnails[4741625]=new thumbnail(4741625,"264680","Title: Lanty Tarn, a 19c landscape today (05)","Lanty_Tarn_05_thumb.jpg",130,161,1);thumbnails[3435113]=new thumbnail(3435113,"209918","<U>Waiting For Spring At Sutton Bank 07</U>","Waiting for Spring at Sutton Bank 07_thumb.jpg",130,129,1);thumbnails[3435127]=new thumbnail(3435127,"209918","<U>Waiting For Spring At Sutton Bank 08</U>","Waiting for Spring at Sutton Bank 08_thumb.jpg",130,129,1);thumbnails[5587806]=new thumbnail(5587806,"316866","Title: Hike 01","Hike_01_thumb.jpg",130,92,1);thumbnails[5587811]=new thumbnail(5587811,"316866","Title: Hike 02","Hike_02_thumb.jpg",130,90,1);thumbnails[5587815]=new thumbnail(5587815,"316866","Title: Hike 03","Hike_03_thumb.jpg",130,91,1);thumbnails[5588204]=new thumbnail(5588204,"316866","Title: Hike 04","Hike_04_thumb.jpg",130,91,1);thumbnails[1513970]=new thumbnail(1513970,"103909","<U>Emerging Bud 01(SOLD)</U>","Emerging Bud_01_thumb.jpg",130,208,1);thumbnails[1620945]=new thumbnail(1620945,"103909","<U>Emerging Bud AP(SOLD)</U>","Emerging Bud_AP_thumb.jpg",130,208,1);thumbnails[1671057]=new thumbnail(1671057,"103909",'<FONT SIZE="1.5"><br>\r\n<U>Emerging Bud 02</U><br>\r\nSOLD<br>\r\n<br>\r\n<P></P><br>\r\n</FONT SIZE><br>\r\n',"Emerging Bud_3_thumb.jpg",130,209,1);thumbnails[3249950]=new thumbnail(3249950,"103909",'<FONT SIZE="1.5"><br>\r\n<U>Emerging Bud 04</U><br>\r\n</FONT SIZE>',"Emerging Bud_4_thumb.jpg",130,203,1);thumbnails[3249952]=new thumbnail(3249952,"103909","<U>Emerging Bud 05</U>","Emerging Bud_5_thumb.jpg",130,202,1);thumbnails[3249954]=new thumbnail(3249954,"103909","<U>Emerging Bud 06</U>","Emerging Bud_6_thumb.jpg",130,203,1);thumbnails[3249956]=new thumbnail(3249956,"103909","<U>Emerging Bud 07</U> SOLD","Emerging Bud_7_thumb.jpg",130,204,1);thumbnails[1900054]=new thumbnail(1900054,"127376","<U>Wood n Flowers 01</U>","Wood n Flowers_01_thumb.JPG",130,214,1);thumbnails[1900065]=new thumbnail(1900065,"127376","<U>Wood n Flowers 02</U>","Wood n Flowers_02_thumb.JPG",130,214,1);thumbnails[2052208]=new thumbnail(2052208,"127376","<U>Wood n Flowers 03</U>","Wood n Flowers_03_thumb.jpg",130,210,1);thumbnails[2052209]=new thumbnail(2052209,"127376","<U>Wood n Flowers 04</U>","Wood n Flowers_04_thumb.jpg",130,212,1);thumbnails[2052211]=new thumbnail(2052211,"127376","<U>Wood n Flowers 05</U>","Wood n Flowers_05_thumb.jpg",130,212,1);thumbnails[2052214]=new thumbnail(2052214,"127376","<U>Wood n Flowers 06</U>","Wood n Flowers_06_thumb.jpg",130,212,1);thumbnails[1513994]=new thumbnail(1513994,"103910","<U>Cycleway 01</U>","Cycleway_012_thumb.jpg",130,208,1);thumbnails[1514003]=new thumbnail(1514003,"103910","<U>Cycleway AP <B>(SOLD)</B></U>","Cycleway_AP4_thumb.jpg",130,208,1);thumbnails[1513626]=new thumbnail(1513626,"103915","<U>Fresh Hue 01</U>","Fresh Hue_01_thumb.jpg",130,82,1);thumbnails[1514027]=new thumbnail(1514027,"103915","<U>Fresh Hue 02</U>","Fresh Hue_02_thumb.jpg",130,82,1);thumbnails[1514028]=new thumbnail(1514028,"103915","<U>Fresh Hue 03 SOLD</U>","Fresh Hue_03_thumb.jpg",130,80,1);thumbnails[923789]=new thumbnail(923789,"103917","<U>Reforestation 01 <B>(SOLD)</B></U>","Reforestation_01_thumb.jpg",130,151,1);thumbnails[1284020]=new thumbnail(1284020,"103917","<U>Reforestation</U>","Reforestation_Painting1_thumb.jpg",130,151,1);thumbnails[923734]=new thumbnail(923734,"103919","<U>'berries' 01 <B>(SOLD)<B/></U>","Berries_04_thumb.jpg",130,160,1);thumbnails[1010930]=new thumbnail(1010930,"103921","<U>Solitaire 1, 2 & 3 <B>(SOLD)</B></U>","Solitaire 1,2&3_thumb.jpg",130,188,1);thumbnails[923821]=new thumbnail(923821,"103922","<U>The Farmers Hope 03</U>","The Farmers hope_03_thumb.jpg",130,61,1);thumbnails[1514097]=new thumbnail(1514097,"103922","<U>The Farmers Hope 05</U>","The Farmers hope_05_thumb.jpg",130,60,1);thumbnails[923726]=new thumbnail(923726,"103924","<U>A Sheltered Field 03 (Edition SOLD out)</U>","A sheltered field_03_thumb.jpg",130,91,1);thumbnails[923782]=new thumbnail(923782,"103925","<U>Leggy Plant</U>","Leggy Plant_012_thumb.jpg",130,97,1);thumbnails[923745]=new thumbnail(923745,"103926","<U>Fields Raised for the Consumer 04</U>","Fields raised for the Consumer_04_thumb.jpg",130,128,1);thumbnails[1516284]=new thumbnail(1516284,"103926","<U>Fields raised for the Consumer 06</U>","Fields raised for the Consumer_06_thumb.jpg",130,128,1);thumbnails[923729]=new thumbnail(923729,"103927","<U>A Tailored Plain A/P</U>","A Tailored Plain_AP_thumb.jpg",130,65,1);var galleries=new Object();galleries[349613]=new gallery(349613,"6302617","Oak and Underwood, Stockton on the Forest","section100860",[6302617]);galleries[349599]=new gallery(349599,"6302588","Rural Idyll","section100860",[6302588]);galleries[211027]=new gallery(211027,"3570031,3570024","Well Trodden","section100860",[3570024,3570031]);galleries[316852]=new gallery(316852,"5587757,5587755,5587752","Exposed","section100860",[5587752,5587755,5587757]);galleries[316848]=new gallery(316848,"5695450","Homeward Bound","section100860",[5695450]);galleries[205995]=new gallery(205995,"3372265","Managed Woodland","section100860",[3742892,3372265,3748461]);galleries[308670]=new gallery(308670,"5455876,5455874,5455864","Heading South","section100860",[5455864,5455874,5455876]);galleries[317352]=new gallery(317352,"5596283,5596282,5596280,5596278,5596274,5596273","A Better Place","section100860",[5596273,5596274,5596278,5596280,5596282,5596283]);galleries[227926]=new gallery(227926,"3733651,3733644,3733636,3733630,3733572","Cultivated To Flourish","section100860",[3733572,3733651,3733636,3733644,3733630]);galleries[308674]=new gallery(308674,"5455900,5455897,5455890","Following the Line of the Fence","section100860",[5455890,5455897,5455900]);galleries[308680]=new gallery(308680,"5592816,5592813,5592810,5456049","Signpost","section100860",[5456049,5592810,5592813,5592816]);galleries[322542]=new gallery(322542,"5695521,5695516","Vale of York","section100860",[5695516,5695521]);galleries[103908]=new gallery(103908,"923583","Clearance","section100860",[5740368,923583,1849948]);galleries[124361]=new gallery(124361,"5740379","A Healthy Climb","section100860",[5740379]);galleries[282323]=new gallery(282323,"4966633,4966626,4966619,4966611,4966603,4966565","Twigs, leaves and shoots","section100860",[4966565,4966603,4966611,4966619,4966626,4966633]);galleries[103897]=new gallery(103897,"1681185,1680948,1671072,1513568,1278456","Felled Branches","section100860",[1278456,1671072,1513568,1680948,1681185]);galleries[136906]=new gallery(136906,"2327992,2327991,2327988,2106433,2048295","Dixons Hollow. On the Rise","section100860",[2048295,2106433,2327988,2327991,2327992]);galleries[199983]=new gallery(199983,"5456005,3279472","Dry Feet","section100860",[5456005,3279472]);galleries[140040]=new gallery(140040,"2327909,2327906,2327871,2327869,2327862,2101364","Mitigation","section100860",[2101364,2327862,2327869,2327871,2327906,2327909]);galleries[151870]=new gallery(151870,"2328181,2328142","Open to the Public","section100860",[2328142,2328181]);galleries[117341]=new gallery(117341,"1746598","A Route Through the Woods","section100860",[1746571,1746586,1746598,1746600,1847512,1850135,1850140,1850143,1850145,1850154]);galleries[166818]=new gallery(166818,"2632909,2632907,2632903,2632899","Centre for cycling with golden trees","section100860",[2632899,2632903,2632907,2632909]);galleries[264680]=new gallery(264680,"4741625,4741612,4741611,4741586","Lanty Tarn. A 19 Century Landscape Today","section100860",[4741586,4741611,4741612,4741625]);galleries[209918]=new gallery(209918,"3435127,3435113,3435077,3435049,3435024,3435011,3434988,3434881","Waiting for Spring at Sutton Bank","section100860",[3434881,3434988,3435011,3435024,3435049,3435077,3435113,3435127]);galleries[316866]=new gallery(316866,"5588204,5587815,5587811,5587806","Hike","section100860",[5587806,5587811,5587815,5588204]);galleries[103909]=new gallery(103909,"3249956,3249954,3249952,3249950,1671057,1620945,1513970","Emerging Bud","section100860",[1513970,1620945,1671057,3249950,3249952,3249954,3249956]);galleries[127376]=new gallery(127376,"2052214,2052211,2052209,2052208,1900065,1900054","Wood n Flowers","section100860",[1900054,1900065,2052208,2052209,2052211,2052214]);galleries[103910]=new gallery(103910,"1514003,1513994","Cycleway","section100860",[1513994,1514003]);galleries[103915]=new gallery(103915,"1514028,1514027,1513626","Fresh Hue","section100860",[1513626,1514027,1514028]);galleries[103917]=new gallery(103917,"923789","Reforestation","section100860",[923789,1284020]);galleries[103919]=new gallery(103919,"923734","'berries'","section100860",[923734]);galleries[103921]=new gallery(103921,"1010930","Solitaire 1, 2 & 3","section100860",[1010930]);galleries[103922]=new gallery(103922,"1514097,923821","The Farmers Hope","section100860",[923821,1514097]);galleries[103924]=new gallery(103924,"923726","A sheltered field","section100860",[923726]);galleries[103925]=new gallery(103925,"923782","Leggy Plant","section100860",[923782]);galleries[103926]=new gallery(103926,"923745","Fields raised for the Consumer","section100860",[923745,1516284]);galleries[103927]=new gallery(103927,"923729","A Tailored Plain","section100860",[923729]);var imageSets=new Object();imageSets[1]="6302617,6302588,5740379,5740368,5695521,5695516,5695450,5596283,5596282,5596280,5596278,5596274,5596273,5592816,5592813,5592810,5588204,5587815,5587811,5587806,5587757,5587755,5587752,5456049,5456005,5455900,5455897,5455890,5455876,5455874,5455864,4741625,4741612,4741611,4741586,3748461,3742892,3733651,3733636,3733630,3733572,3570031,3570024,3435011,3434881,3372265,3279472,3249956,2328181,2328142,2327862,2048295,1850140,1671072,1620945";imageSets[2]="3372265,1746598,923789,923745,923583";imageSets[3]="6302617,6302588,5740379,5740368,5695521,5695516,5695450,5596283,5596282,5596280,5596278,5596274,5596273,5592816,5592813,5592810,5588204,5587815,5587811,5587806,5587757,5587755,5587752,5456049,5456005,5455900,5455897,5455890,5455876,5455874,5455864,4966633,4966626,4966619,4966611,4966603,4966565,4741625,4741612,4741611,4741586,3748461,3742892,3733651,3733644,3733636,3733630,3733572,3570031,3570024";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/catherinefuller/images";break}switch(a){case 1:b="http://www1.clikpic.com/catherinefuller/images";break}switch(a){case 2:b="http://admin.clikpic.com/catherinefuller/images";break}switch(a){case 24:b="http://tpc15/clikpic/catherinefuller/images";break}switch(a){case 4:b="http://www.clikchurch.com/catherinefuller/images";break}switch(a){case 5:b="http://www2.clikpic.com/catherinefuller/images";break}switch(a){case 22:b="http://tpc5/clikpic/catherinefuller/images";break}switch(a){case 23:b="http://tpc10/clikpic/catherinefuller/images";break}switch(a){case 25:b="http://tpc16/clikpic/catherinefuller/images";break}switch(a){case 15:b="http://www3.clikpic.com/catherinefuller/images";break}switch(a){case 18:b="http://www4.clikpic.com/catherinefuller/images";break}switch(a){case 19:b="http://www5.clikpic.com/catherinefuller/images";break}switch(a){case 31:b="http://www7.clikpic.com/catherinefuller/images";break}switch(a){case 32:b="http://admin2.clikpic.com/catherinefuller/images";break}switch(a){case 33:b="http://www8.clikpic.com/catherinefuller/images";break}switch(a){case 34:b="http://www9.clikpic.com/catherinefuller/images";break}switch(a){case 35:b="http://admin3.clikpic.com/catherinefuller/images";break}switch(a){case 37:b="http://admin4.clikpic.com/catherinefuller/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("section100860"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="section100860.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("section100860"!=""){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="Catherine Sutcliffe-Fuller  BA (Hons): Fine Artist: "+photos[f].caption;if(photos[f].caption==""){document.getElementById("imageTitle").style.display="none"}else{document.getElementById("imageTitle").style.display="block"}var a=fnGetImageDetails(f);if(a==""){document.getElementById("imageDetails").style.display="none";var c=document.getElementById("infoWrap");var d=document.getElementById("photoInfo");if(photos[f].caption==""){if(c!=null){c.className="empty"}if(d!=null){d.className="empty"}}else{if(c!=null){c.className="noinfo"}if(d!=null){d.className="noinfo"}}}else{document.getElementById("imageDetails").style.display="block";var c=document.getElementById("infoWrap");if(c!=null){c.className="normal"}var d=document.getElementById("photoInfo");if(d!=null){d.className="normal"}}document.getElementById("imageDetails").innerHTML=a;toggleAddToCartConfirm()}else{window.location="photo_"+photos[f].id+".html"}}function toggleAddToCartConfirm(){if($("#paymentConfirm").size()){$("#paymentConfirm").hide();$("#paymentAddButton").unbind().click(function(){form=document.getElementById("paymentForm");option_id=0;if(form.item_option.value){option_id=form.item_option.value}if(addItemToBasket(form.item_number.value,photos,form.site.value,parseInt(form.quantity.value,10),option_id)){if($.browser.msie){$("#paymentConfirm").text("Item added to cart").show()}else{$("#paymentConfirm").text("Item added to cart").fadeIn()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Order this print:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 				&pound;"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Yes</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="">';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="">';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+'")'})}}};