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[5460639]=new thumbnail(5460639,"","PERSONAL INJURY PHOTOGRAPHY","_MG_9091_thumb.jpg",130,182,18);thumbnails[5460648]=new thumbnail(5460648,"","","_MG_5031_thumb.jpg",130,93,18);thumbnails[5954682]=new thumbnail(5954682,"41220","","_MG_0363BW_thumb.jpg",130,98,18);thumbnails[532204]=new thumbnail(532204,"41220","Wedding Photography at Walton Hall , Wakefield","_MG_6494aa_thumb.jpg",130,130,18);thumbnails[2371368]=new thumbnail(2371368,"41220","","_MG_5882_thumb.jpg",130,98,18);thumbnails[6212718]=new thumbnail(6212718,"41220","Wedding Photographer in Bradford, Leeds, West Yorkshire","_MG_1246BW_thumb.jpg",130,98,18);thumbnails[1503091]=new thumbnail(1503091,"41220","Wedding Photography at Walton Hall , Wakefield","_MG_0507z_thumb.jpg",130,173,18);thumbnails[1625144]=new thumbnail(1625144,"41220","Have your wedding photos in Black and white.<br>\r\nGuidepost Hotel, Bradford, West Yorkshire.","wedding_photography_Bradford_Leeds_thumb.jpg",130,170,18);thumbnails[6212710]=new thumbnail(6212710,"41220","Wedding Photographer in Bradford, Leeds, West Yorkshire","_MG_1411BW_thumb.jpg",130,173,18);thumbnails[1559614]=new thumbnail(1559614,"41220","Wedding photographer at Oakwood Hall , Bingley.","_MG_3687bwc_thumb.jpg",130,98,18);thumbnails[931968]=new thumbnail(931968,"41220","Wedding photography at Rudding Park Hotel, Harrogate","thompson_thumb.jpg",130,98,18);thumbnails[1093552]=new thumbnail(1093552,"41220","","_MG_9128bw_thumb.jpg",130,98,18);thumbnails[645507]=new thumbnail(645507,"41220","Wedding Photography At Holdsworth house, Halifax, West Yorkshire","Wedding_car_holdsworth_thumb.jpg",130,98,18);thumbnails[4396875]=new thumbnail(4396875,"41220","Wedding at Oakwood Hall, Bingley.","_MG_3933bw_thumb.jpg",130,98,18);thumbnails[5954690]=new thumbnail(5954690,"41220","","_MG_9571_thumb.jpg",130,98,18);thumbnails[1083180]=new thumbnail(1083180,"41220","Wedding Photography at Southowram, Halifax,  West Yorkshire.","_MG_6745BW_thumb.jpg",130,173,18);thumbnails[4395156]=new thumbnail(4395156,"41220","Wedding Helicopter","_MG_6376_thumb.jpg",130,98,18);thumbnails[532056]=new thumbnail(532056,"41220","Wedding photography at Oakwood Hall , Bingley near Bradford.","_MG_3641_thumb.jpg",130,98,18);thumbnails[532214]=new thumbnail(532214,"41220","Wedding Photography in Halifax. Yorkshire","_MG_7801_thumb.jpg",130,98,18);thumbnails[1473122]=new thumbnail(1473122,"41220","Wedding Photography at Oakwood Hotel ,Bingley","_MG_3699_thumb.jpg",130,98,18);thumbnails[1337193]=new thumbnail(1337193,"41220","Wedding Photography at Oakwood Hall, Bingley.","_MG_3288bwc_thumb.jpg",130,173,18);thumbnails[1337157]=new thumbnail(1337157,"41220","Wedding photography at Tong Hall Bradford ","_MG_3959bw_thumb.jpg",130,173,18);thumbnails[4396877]=new thumbnail(4396877,"41220","Wedding Photography at Gomersal Park, near Batley","_MG_9602_thumb.jpg",130,98,18);thumbnails[1091008]=new thumbnail(1091008,"41220","Wedding photography at Oakwood Hall, Bingley.","_MG_1849_thumb.jpg",130,173,18);thumbnails[1100861]=new thumbnail(1100861,"41220","Wedding photography Leeds, Bradford and Halifax areas","_MG_5619bw_thumb.jpg",130,98,18);thumbnails[1103394]=new thumbnail(1103394,"41220","Wedding photography at Wibsey , Bradford","_MG_3524bwc_thumb.jpg",130,98,18);thumbnails[4396876]=new thumbnail(4396876,"41220","Holiday Inn, Tong Hall, Bradford","_MG_0153_thumb.jpg",130,98,18);thumbnails[532208]=new thumbnail(532208,"41220","Wedding photography at the Guidepost Hotel, Bradford","wedding_photography_halifax_thumb.jpg",130,98,18);thumbnails[932028]=new thumbnail(932028,"41220","Wedding Photography at Rudding Park , Harrogate","_MG_0082_thumb.jpg",130,173,18);thumbnails[4396908]=new thumbnail(4396908,"41220","Wedding Photography at Holdsworth House, Halifax , West Yorkshire","_MG_5254X_thumb.jpg",130,173,18);thumbnails[532193]=new thumbnail(532193,"41220","Wedding Photography near Hipperholme and Lightcliffe. ","Wedding_Photography_Brighouse_Hipperholme_thumb.jpg",130,173,18);thumbnails[1568893]=new thumbnail(1568893,"41220","Wedding Photography at Rudding Park ,Harrogate.","_MG_8709_thumb.jpg",130,81,18);thumbnails[1757179]=new thumbnail(1757179,"41220","Wedding Photography Best Western Monkbar Hotel, York","_MG_0444x_thumb.jpg",130,98,18);thumbnails[1105664]=new thumbnail(1105664,"41220","Wedding Photography at Oakwood Hall.","_MG_9524_thumb.jpg",130,98,18);thumbnails[1103539]=new thumbnail(1103539,"41220","Wedding photography in Bradford, West Yorkshire.","_MG_9304_thumb.jpg",130,173,18);thumbnails[1100859]=new thumbnail(1100859,"41220","Wedding photography at Wibsey, Bradford","_MG_9246-Edit_thumb.jpg",130,98,18);thumbnails[934674]=new thumbnail(934674,"41220","Wedding photography at Rudding Park, Harrogate","_MG_1419BW-FX_thumb.jpg",130,98,18);thumbnails[1471621]=new thumbnail(1471621,"41220","Wedding Photography at Southowram, Halifax, West Yorkshire. ","a02_MG_6526_thumb.jpg",130,182,18);thumbnails[1337165]=new thumbnail(1337165,"41220","Wedding Photography at Rogerthorpe Manor , Ackworth , Pontefract ","_MG_6211_thumb.jpg",130,98,18);thumbnails[1292366]=new thumbnail(1292366,"41220","Wedding Photography at the Bradford Bulls Ground","_MG_8729_thumb.jpg",130,173,18);thumbnails[1336952]=new thumbnail(1336952,"41220","","_MG_0668bwc_thumb.jpg",130,98,18);thumbnails[532207]=new thumbnail(532207,"41220","Wedding photography at Holdsworth House, Halifax","_MG_4855BW_thumb.jpg",130,98,18);thumbnails[1126230]=new thumbnail(1126230,"41220","Wedding Photography at Bradford, West Yorkshire.","_MG_2994bw_thumb.jpg",130,173,18);thumbnails[4396907]=new thumbnail(4396907,"41220","Wedding Photography at the Pennine Manor, Huddersfield , West Yorkshire","_MG_6352_thumb.jpg",130,98,18);thumbnails[6212714]=new thumbnail(6212714,"41220","Wedding Photographer in Bradford, Leeds, West Yorkshire","_MG_1724_thumb.jpg",130,98,18);thumbnails[801236]=new thumbnail(801236,"41220","Civil Partnership, at Leeds Town Hall.","_MG_0801abw_thumb.jpg",130,182,18);thumbnails[1757177]=new thumbnail(1757177,"41220","Wedding photography in York.","_MG_0429bwc_thumb.jpg",130,173,18);thumbnails[934742]=new thumbnail(934742,"41220","Wedding photography at Rudding Park Hotel, Harrogate","thompson5_thumb.jpg",130,173,18);thumbnails[1292428]=new thumbnail(1292428,"41220","Wedding Photography at the Bradford Bulls Stadium ","_MG_8717_thumb.jpg",130,173,18);thumbnails[6212728]=new thumbnail(6212728,"41220","Wedding Photographer in Bradford, Leeds, West Yorkshire","A29_MG_5705_thumb.jpg",130,146,18);thumbnails[1625133]=new thumbnail(1625133,"41220","Wedding photography at Shelf, Halifax.","wedding photographer halifax_thumb.jpg",130,171,18);thumbnails[2445105]=new thumbnail(2445105,"41220","Wedding photographer in the Yorkshire district of Leeds.","_MG_7011bwc_thumb.jpg",130,98,18);thumbnails[532212]=new thumbnail(532212,"41220","Wedding photography at Wibsey , Bradford","_MG_0293hbw_thumb.jpg",130,173,18);thumbnails[532195]=new thumbnail(532195,"41220","Wedding Photography in Huddersfield, West Yorkshire","_MG_5544BW_thumb.jpg",130,98,18);thumbnails[6212755]=new thumbnail(6212755,"41220","Wedding Photographer in Bradford, Leeds, West Yorkshire","_MG_9617_thumb.jpg",130,173,18);thumbnails[532210]=new thumbnail(532210,"41220","Wedding photography at The Tower House Hotel , Halifax.","wedpic14_thumb.jpg",130,98,18);thumbnails[1085725]=new thumbnail(1085725,"41220","Wedding Photography at Rudding park, Harrogate.","_MG_6741_thumb.jpg",130,152,18);thumbnails[6212719]=new thumbnail(6212719,"41220","Wedding Photographer in Bradford, Leeds, West Yorkshire","9_thumb.jpg",130,98,18);thumbnails[4115923]=new thumbnail(4115923,"41220","Wedding photography in Halifax, West Yorkshire","wedding_photography_Yorkshire_thumb.jpg",130,98,18);thumbnails[1103391]=new thumbnail(1103391,"41220","Wedding Photography at Holdsworth House, Halifax, West Yorkshire","_MG_5122X_thumb.jpg",130,173,18);thumbnails[532200]=new thumbnail(532200,"41220","Wedding Photography at Oakwood hall, Bingley.","_MG_5092_thumb.jpg",130,98,18);thumbnails[934738]=new thumbnail(934738,"41220","Wedding photography at Rudding Park Hotel, Harrogate","thompson4_thumb.jpg",130,173,18);thumbnails[4115925]=new thumbnail(4115925,"41220","Wedding Photography in West Yorkshire.","photography_bradford_wedding_thumb.jpg",130,173,18);thumbnails[4403469]=new thumbnail(4403469,"41220","Church wedding photography in Bradford West Yorkshire","_MG_6640bwc_thumb.jpg",130,173,18);thumbnails[5190013]=new thumbnail(5190013,"41484","Block prints available.","block-mount_thumb.jpg",130,40,18);thumbnails[5190019]=new thumbnail(5190019,"41484","Thanks you cards available","Thank_you_cards_Leeds_thumb.jpg",130,28,18);thumbnails[5190031]=new thumbnail(5190031,"41484","","Block_mount_bradford_thumb.jpg",130,344,18);thumbnails[4116232]=new thumbnail(4116232,"41484","Madison (white) <br>\r\n<br>\r\n<p>New style of modern wedding album. <br>\r\n<br>\r\n<P>Fresh modern styling, Madison features a wrap round magnetic cover, finished with silver trim. Available in a matt finish Black or White cover, each album has an aperture to display a print of your choice on the front cover.<br>\r\n","madison_white-black-bg1_thumb.jpg",130,100,18);thumbnails[5179767]=new thumbnail(5179767,"41484","","Frame-options-1_thumb.jpg",130,98,18);thumbnails[4116233]=new thumbnail(4116233,"41484","Madison (Black) <br>\r\n<br>\r\n<P>New style of modern wedding album. <br>\r\n<br>\r\n<P>Fresh modern styling, Madison features a wrap round magnetic cover, finished with silver trim. Available in a matt finish Black or White cover, each album has an aperture to display a print of your choice on the front cover.<br>\r\n<br>\r\n","Madison-Black1_thumb.jpg",130,100,18);thumbnails[5179854]=new thumbnail(5179854,"41484","","Frame_options2_thumb.jpg",130,173,18);thumbnails[534658]=new thumbnail(534658,"41484","Ascot<br>\r\n<p>Stylish padded traditional album.<br>\r\n<p>White feather grained finish to the cover and to complete this pure look, the word 'Wedding' is embossed on the top left hand corner.","Ascot_thumb.jpg",130,98,18);thumbnails[534659]=new thumbnail(534659,"41484","Aylesbury<br>\r\n<p>Stylish padded traditional album.<br>\r\n<p>Gently marbled lightly grained cover in cream.<br>\r\nfininshed with the word 'Wedding' in the bottom right hand corner in gold.","Aylesbury_thumb.jpg",130,98,18);thumbnails[534667]=new thumbnail(534667,"41484","Sophie<br>\r\n<p>Stylish firm unpadded traditional album.<br>\r\n<p>Made with a cream material and is offered with a choice of gold blocking styles or simply as a plain cover.<br>\r\nFinished with gold metal corners.","Sophie_thumb.jpg",130,98,18);thumbnails[534656]=new thumbnail(534656,"41484","Abigail<br>\r\n<p>Stylish padded traditional album.<br>\r\n<p>Covered in a smooth pearlised Pewter material and is finished tenderly with two interlocking silver wedding bands in the centre of the cover.","Abigail_thumb.jpg",130,98,18);thumbnails[534663]=new thumbnail(534663,"41484","DVD-FOLIO<br>\r\n<p>Stylish DVD case and hard box.<br>\r\n<p>For £65 Have all your images put on a dvd slideshow to watch on your TV.<br>\r\n<p>Extra copies £35","CD-Folio_thumb.jpg",130,98,18);thumbnails[534666]=new thumbnail(534666,"41484","Shannon<br>\r\n<p>Stylish padded traditional album<br>\r\n<p>A modern celtic design, soft suede effect cover in black has a strong, but subtle Celtic love knot design running vertically on the left hand side of the cover.","Shannon_thumb.jpg",130,98,18);thumbnails[534665]=new thumbnail(534665,"41484","Megan<br>\r\n<p>Stylish padded traditional album<br>\r\n<p>A Contemporary design, with a soft suede effect and the word 'Wedding ' in the top left hand corner.","Megan_thumb.jpg",130,98,18);thumbnails[532209]=new thumbnail(532209,"41222","","claire2_thumb.jpg",130,98,18);thumbnails[532358]=new thumbnail(532358,"41222","Portrait photography in Bradford, Leeds, Wakefield , Halifax and Huddersfield","_MG_0251_thumb.jpg",130,173,18);thumbnails[678547]=new thumbnail(678547,"41222","","dannii_thumb.jpg",130,195,18);thumbnails[714702]=new thumbnail(714702,"41222","","Harrison_thumb.jpg",130,195,18);thumbnails[810126]=new thumbnail(810126,"41222","","_MG_8293a_thumb.jpg",130,152,18);thumbnails[1032009]=new thumbnail(1032009,"41222","","thekids_thumb.jpg",130,173,18);thumbnails[1664213]=new thumbnail(1664213,"41222","Child portraits taken in The Leeds , Bradford and Halifax area.","_MG_4549_thumb.jpg",130,163,18);thumbnails[1810027]=new thumbnail(1810027,"41222","Asian fashion style portraits, Bradford , Wakefield, Leeds, Halifax and Huddersfield.","_MG_0888_thumb.jpg",130,98,18);thumbnails[2063216]=new thumbnail(2063216,"41222","Location Portrait","_MG_2618bw-web_thumb.jpg",130,195,18);thumbnails[2063221]=new thumbnail(2063221,"41222","Location Portrait Bradford","_MG_2096xx-web_thumb.jpg",130,87,18);thumbnails[2338180]=new thumbnail(2338180,"41222","Child Portrait studio Bradford , Leeds and Halifax.","portrait_ bradford_thumb.jpg",130,182,18);thumbnails[5899409]=new thumbnail(5899409,"41222","","_MG_8429x_5F35C249-1D09-001F-99D89F0FA1721A13_thumb.jpg",130,130,18);thumbnails[5899420]=new thumbnail(5899420,"41222","","_MG_8473VW_thumb.jpg",130,93,18);thumbnails[5899464]=new thumbnail(5899464,"41222","Child portraits taken in stunning locations","_MG_9402_thumb.jpg",130,152,18);thumbnails[2034719]=new thumbnail(2034719,"41222","Lifestyle Portrait in Bradford","paula_thumb.jpg",130,195,18);thumbnails[532053]=new thumbnail(532053,"41222","","IMG_3352bw_thumb.jpg",130,130,18);thumbnails[532151]=new thumbnail(532151,"41222","","IMG_3317_thumb.jpg",130,114,18);thumbnails[845580]=new thumbnail(845580,"41222","","_MG_8338_thumb.jpg",130,111,18);thumbnails[532190]=new thumbnail(532190,"41222","Bradford photographer , specializing in Asian fashion portraits.","_MG_0953_thumb.jpg",130,182,18);thumbnails[812150]=new thumbnail(812150,"41222","","_MG_8335_thumb.jpg",130,98,18);thumbnails[532186]=new thumbnail(532186,"41222","Bradford portrait photographer","_MG_0312_thumb.jpg",130,152,18);thumbnails[686080]=new thumbnail(686080,"295267","Baby Portraits in the leeds , Bradford and Halifax area.","_MG_3540_thumb.jpg",130,98,18);thumbnails[859215]=new thumbnail(859215,"295267","","_MG_8462_thumb.jpg",130,130,18);thumbnails[3376951]=new thumbnail(3376951,"295267","Baby Portrait in Bradford based studio.","_MG_8670-40x30-BW_thumb.jpg",130,87,18);thumbnails[3386471]=new thumbnail(3386471,"295267","Baby Photography in Bradford, Leeds & Halifax","_MG_8678-34x24-Bw_thumb.jpg",130,87,18);thumbnails[5223886]=new thumbnail(5223886,"295267","Baby Photography, Leeds, West Yorkshire","_MG_5092_703DB0EC-2219-B5B5-4C69A6BC7B80F95F_thumb.jpg",130,130,18);thumbnails[5223911]=new thumbnail(5223911,"295267","Baby Photography, Leeds, West Yorkshire","_MG_5093_thumb.jpg",130,130,18);thumbnails[5899360]=new thumbnail(5899360,"295267","","_MG_1832fx_thumb.jpg",130,98,18);thumbnails[6212650]=new thumbnail(6212650,"295267","Bumps & Babies Photographer in Yorkshire","_MG_9212BW_thumb.jpg",130,98,18);thumbnails[6212652]=new thumbnail(6212652,"295267","Leeds, Bradford, Halifax, Huddersfield, Yorkshire, Baby & Bump Photographer","01-12x8-only_thumb.jpg",130,195,18);thumbnails[6370798]=new thumbnail(6370798,"295267","photos in the leeds bradford area","_MG_3540BW_thumb.jpg",130,98,18);thumbnails[6518484]=new thumbnail(6518484,"295267","","_MG_5415BW_thumb.jpg",130,98,18);thumbnails[1658586]=new thumbnail(1658586,"295267","Baby Photography Bradford Leeds","_MG_8429x_thumb.jpg",130,130,18);thumbnails[532065]=new thumbnail(532065,"295267","","babybw_thumb.jpg",130,180,18);thumbnails[4403088]=new thumbnail(4403088,"295267","Baby Portraits in your own home.","Baby-Portraiture_thumb.jpg",130,208,18);thumbnails[532180]=new thumbnail(532180,"295267","","bump_baby_yorkshire_thumb.jpg",130,195,18);thumbnails[4403089]=new thumbnail(4403089,"295267","Baby portraits in Bradford, Leeds, Halifax and surrounding areas.","Untitled-1_thumb.jpg",130,130,18);thumbnails[4403091]=new thumbnail(4403091,"295267","Baby portraits in the comfort of your own home in the Yorkshire area.","_MG_7697_thumb.jpg",130,98,18);thumbnails[678549]=new thumbnail(678549,"41223","","vball1_thumb.jpg",130,87,18);thumbnails[678551]=new thumbnail(678551,"41223","","vball2_thumb.jpg",130,87,18);thumbnails[678557]=new thumbnail(678557,"41223","Event photography in  Leeds , Bradford and throughout Yorkshire.","vball3_thumb.jpg",130,195,18);thumbnails[962513]=new thumbnail(962513,"41223","Music Photography at the Adelphi Leeds.","resistance1_thumb.jpg",130,195,18);thumbnails[1795152]=new thumbnail(1795152,"41223","The MP Jerry Sutcliffe opening a Bradford School Gym supplied by SHOKK LTD","jerrysutcliffebradford_thumb.jpg",130,173,18);thumbnails[2200987]=new thumbnail(2200987,"41223","Live Music Photography Bradford, Leeds & Yorkshire","_MG_3893_thumb.jpg",130,87,18);thumbnails[2201140]=new thumbnail(2201140,"41223","Live band photography , Bradford & Leeds","_MG_3580_thumb.jpg",130,195,18);thumbnails[2201198]=new thumbnail(2201198,"41223","music photographer Bradford, Leeds and Yorkshire areas.","_MG_3568_thumb.jpg",130,87,18);thumbnails[532159]=new thumbnail(532159,"41223","see more of my work on the Gala promotions website.","SOCIALEVENTS_thumb.jpg",130,98,18);thumbnails[1159123]=new thumbnail(1159123,"41224","","_MG_7766_thumb.jpg",130,87,18);thumbnails[1163132]=new thumbnail(1163132,"41224","","_MG_7759_thumb.jpg",130,130,18);thumbnails[1500023]=new thumbnail(1500023,"41224","","rucksack1_thumb.jpg",130,195,18);thumbnails[1598384]=new thumbnail(1598384,"41224","Product Photography for Vertibax health products.","Bradford product photographer1_thumb.jpg",130,130,18);thumbnails[1611399]=new thumbnail(1611399,"41224","Product Photography for Vertibax Ltd","_MG_0830_thumb.jpg",130,130,18);thumbnails[1630707]=new thumbnail(1630707,"41224","Photography For a Bradford based beauty company.","product photography leeds_thumb.jpg",130,163,18);thumbnails[1662737]=new thumbnail(1662737,"41224","Product photography for www.executive-shaving.co.uk","_MG_9816_thumb.jpg",130,130,18);thumbnails[1729967]=new thumbnail(1729967,"41224","Product photography for www.roopouches.com","MG_25_thumb.jpg",130,130,18);thumbnails[1943922]=new thumbnail(1943922,"41224","Product photography for website use.","support4physio_thumb.JPG",130,110,18);thumbnails[532436]=new thumbnail(532436,"41224","Streamline gym. Wibsey, Bradford.","_MG_5343_thumb.jpg",130,98,18);thumbnails[532435]=new thumbnail(532435,"41224","Product photography for a Bradford based company.","setup5_thumb.jpg",130,39,18);thumbnails[538849]=new thumbnail(538849,"41225","","ilkley_thumb.jpg",130,88,18);thumbnails[538851]=new thumbnail(538851,"41225","","pgent_thumb.jpg",130,88,18);thumbnails[538852]=new thumbnail(538852,"41225","","sunsetwarleymoor4_thumb.jpg",130,88,18);thumbnails[538854]=new thumbnail(538854,"41225","","Sunsetwavesedited_thumb.jpg",130,88,18);thumbnails[1499965]=new thumbnail(1499965,"41225","","ribcev-laz_thumb.jpg",130,87,18);thumbnails[1691940]=new thumbnail(1691940,"41225","","bradfordfineartphotography1_thumb.jpg",130,95,18);thumbnails[783919]=new thumbnail(783919,"41226","","colourreplaced_thumb.jpg",130,130,18);thumbnails[783922]=new thumbnail(783922,"41226","","gerbera_thumb.jpg",130,130,18);var galleries=new Object();galleries[41220]=new gallery(41220,"1568893,1559614,1503091,1103394,532214,532056","WEDDINGS","gallery",[5954682,532204,2371368,6212718,1503091,1625144,6212710,1559614,931968,1093552,645507,4396875,5954690,1083180,4395156,532056,532214,1473122,1337193,1337157,4396877,1091008,1100861,1103394,4396876,532208,932028,4396908,532193,1568893,1757179,1105664,1103539,1100859,934674,1471621,1337165,1292366,1336952,532207,1126230,4396907,6212714,801236,1757177,934742,1292428,6212728,1625133,2445105,532212,532195,6212755,532210,1085725,6212719,4115923,1103391,532200,934738,4115925,4403469]);galleries[41484]=new gallery(41484,"4116233,4116232,534667","ALBUMS & FRAMES","gallery",[5190013,5190019,5190031,4116232,5179767,4116233,5179854,534658,534659,534667,534656,534663,534666,534665]);galleries[41222]=new gallery(41222,"532358","PORTRAITS","gallery",[532209,532358,678547,714702,810126,1032009,1664213,1810027,2063216,2063221,2338180,5899409,5899420,5899464,2034719,532053,532151,845580,532190,812150,532186]);galleries[295267]=new gallery(295267,"6212652,5223886,3376951,859215","BUMPS & BABIES","gallery",[686080,859215,3376951,3386471,5223886,5223911,5899360,6212650,6212652,6370798,6518484,1658586,532065,4403088,532180,4403089,4403091]);galleries[41223]=new gallery(41223,"2201198","EVENTS / BANDS","gallery",[678549,678551,678557,962513,1795152,2200987,2201140,2201198,532159]);galleries[41224]=new gallery(41224,"1611399,1163132,532436","COMMERCIAL","gallery",[1159123,1163132,1500023,1598384,1611399,1630707,1662737,1729967,1943922,532436,532435]);galleries[41225]=new gallery(41225,"1691940,538852","LANDSCAPES","gallery",[538849,538851,538852,538854,1499965,1691940]);galleries[41226]=new gallery(41226,"783922,783919","ART","gallery",[783919,783922]);var imageSets=new Object();imageSets[1]="6518484,6370798,6212652,6212650,5954682,5899464,5899420,5899409,5223911,5223886,4403091,4403089,4403088,4396908,4115925,3376951,2371368,1664213,1658586,1559614,1337193,1103394,859215,686080,645507,532207,532065,532056";imageSets[2]="6212652,5223886,4116233,4116232,3376951,2201198,1691940,1611399,1568893,1559614,1503091,1163132,1103394,859215,538852,534667,532436,532358,532214,532056";imageSets[3]="6518484,6370798,6212755,6212728,6212719,6212718,6212714,6212710,6212652,6212650,5954690,5954682,5899464,5899420,5899409,5899360,5460648,5460639,5223911,5223886,5190031,5190019,5190013,5179854,5179767,4403469,4403091,4403089,4403088,4396908,4396907,4396877,4396876,4396875,4395156,4116233,4116232,4115925,4115923,3386471,3376951,2445105,2371368,2338180,2201198,2201140,2200987,2063221,2063216,2034719";imageSets[231559]="6518484,6370798,6212755,6212728,6212719,6212718,6212714,6212710,6212652,6212650,5954690,5954682,5899464,5899420,5899409,5899360,5223911,5223886,5179854,4403091,4403089,4403088,4396876,3386471,1757179,1658586,1503091,1337157,1336952,859215,686080,532200,532190,532180,532065";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/rob/images";break}switch(a){case 1:b="http://www1.clikpic.com/rob/images";break}switch(a){case 2:b="http://admin.clikpic.com/rob/images";break}switch(a){case 24:b="http://tpc15/clikpic/rob/images";break}switch(a){case 4:b="http://www.clikchurch.com/rob/images";break}switch(a){case 5:b="http://www2.clikpic.com/rob/images";break}switch(a){case 22:b="http://tpc5/clikpic/rob/images";break}switch(a){case 23:b="http://tpc10/clikpic/rob/images";break}switch(a){case 25:b="http://tpc16/clikpic/rob/images";break}switch(a){case 15:b="http://www3.clikpic.com/rob/images";break}switch(a){case 18:b="http://www4.clikpic.com/rob/images";break}switch(a){case 19:b="http://www5.clikpic.com/rob/images";break}switch(a){case 31:b="http://www7.clikpic.com/rob/images";break}switch(a){case 32:b="http://admin2.clikpic.com/rob/images";break}switch(a){case 33:b="http://www8.clikpic.com/rob/images";break}switch(a){case 34:b="http://www9.clikpic.com/rob/images";break}switch(a){case 35:b="http://admin3.clikpic.com/rob/images";break}switch(a){case 37:b="http://admin4.clikpic.com/rob/images";break}return b}function showHomeImage(a){imageID=randomListVal("");if(!basic){a.src=photos[imageID].src;a.width=photos[imageID].width;a.height=photos[imageID].height}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function showHomeImageInline(){html="";imageID=randomListVal(imageSets[1]);if("gallery"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="gallery.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+escape(backgrounds[imageID].caption)+'" border="0">';if("gallery"!=""){html+="</a>"}$("#homepageimage").html(html)}function getNextId(b,d,a){var c=getArrayPos(d,b);if(a){if(c==0){nextImgPos=d.length-1}else{nextImgPos=c-1}}else{if(c==d.length-1){nextImgPos=0}else{nextImgPos=c+1}}nextImg=d[nextImgPos];return nextImg}function next(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a);if(nextImg!=-1){updateImage(nextImg,d,b)}}function updateImage(f,e,b){if(!basic){document.getElementById("imagePhoto").innerHTML='<img class="mainphoto photo" src="'+photos[f].src+' " id="mainPic" name="mainPic" width="'+photos[f].width+'" height="'+photos[f].height+'" alt="'+photos[f].caption+'">';e.value=photos[f].id;$("#imageTitle").html(photos[f].caption);document.title="Photographer Bradford (UK) Leeds Wakefield Halifax: "+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>Copyright: </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+'")'})}}};