function photo(j,c,p,t,d,k,h,r,v,o,m,s,a,n,g,l,b,u,q,f,e){this.id=j;this.galleries_id=c;this.photo_ref=p;this.section_code=t;this.src=d;this.width=k;this.height=h;this.caption=r;this.thumbnail=v;this.thumbnail_width=o;this.thumbnail_height=m;this.home=s;this.gallery=a;this.description=n;this.takendate=g;this.photographer=l;this.location=b;this.item_price=u;this.purchase_instruction=q;this.payment_groups_id=f;this.server_id=e;this.src=getServerPath(this.server_id)+"/"+this.src;this.thumbnail=getServerPath(this.server_id)+"/"+this.thumbnail}function gallery(e,c,d,b,a){this.id=e;this.featured_images=c;this.title=d;this.section_code=b;this.photoIDs=a}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 photos=new Object();photos[216746]=new photo(216746,"19656","","gallery","mns2829.jpg",400,268,"Xerox Stand Ipex 2006","mns2829_thumb.jpg",130,87,0,0,"Production Company : Mice Group Plc<br>\r\nwww.micegroup.com<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Ipex 06, NEC, Birmingham, UK","","","",1);photos[216750]=new photo(216750,"19656","","gallery","mns2841.jpg",400,597,"Xerox Stand Ipex 2006","mns2841_thumb.jpg",130,194,0,0,"Production Company : Mice Group Plc<br>\r\nwww.micegroup.com<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Ipex 06, NEC, Birmingham, UK","","","",1);photos[216748]=new photo(216748,"19656","","gallery","mns2849.jpg",400,268,"Xerox Stand Ipex 2006 ","mns2849_thumb.jpg",130,87,0,0,"Production Company : Mice Group Plc<br>\r\nwww.micegroup.com<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Ipex 06, NEC, Birmingham, UK","","","",1);photos[216753]=new photo(216753,"19656","","gallery","curve.jpg",400,597,"KPMG Athens","curve_thumb.jpg",130,194,0,0,"Production Company : Catalysm Purple<br>\r\nwww.catalysm.com<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Athens, Greece.","","","",1);photos[216756]=new photo(216756,"19656","","gallery","Galadinner1.jpg",400,597,"KPMG Athens","Galadinner1_thumb.jpg",130,194,0,0,"Production Company : Catalysm Purple<br>\r\nwww.catalysm.com<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Athens, Greece.","","","",1);photos[216759]=new photo(216759,"19656","","gallery","Galadinner12.jpg",400,597,"KPMG Athens","Galadinner12_thumb.jpg",130,194,0,0,"Production Company : Catalysm Purple<br>\r\nwww.catalysm.com<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Athens, Greece.","","","",1);photos[217888]=new photo(217888,"19656","","gallery","mns0521.jpg",400,172,"Mini Live","mns0521_thumb.jpg",130,56,0,0,"Production Company : TRO<br>\r\nwww.tro-group.co.uk<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Mini Live, NEC Motorshow, Birmingham, UK.","","","",1);photos[217906]=new photo(217906,"19656","","gallery","mns0525.jpg",400,301,"Mini Live","mns0525_thumb.jpg",130,98,0,0,"Production Company : TRO<br>\r\nwww.tro-group.co.uk<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Mini Live, NEC Motorshow, Birmingham, UK.","","","",1);photos[217916]=new photo(217916,"19656","","gallery","mns0524.jpg",400,167,"Mini Live","mns0524_thumb.jpg",130,54,0,0,"Production Company : TRO<br>\r\nwww.tro-group.co.uk<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","Mini Live, NEC Motorshow, Birmingham, UK.","","","",1);photos[217937]=new photo(217937,"19656","","gallery","mns0529.jpg",400,301,"BT Wholesale","mns0529_thumb.jpg",130,98,0,0,"Production Company : Pumphouse<br>\r\nwww.pumphouse.co.uk<br>\r\n<br>\r\nNOT FOR SALE","","© Martin Seymour 2006","London, UK.","","","",1);photos[217939]=new photo(217939,"19656","","gallery","mns0534.jpg",400,301,"SIBOS","mns0534_thumb.jpg",130,98,0,0,"Production Company : Jack Morton Worldwide<br>\r\nwww.jackmorton.com<br>\r\n<br>\r\nNOT FOR SALE.","","© Martin Seymour 2006","SWIFT, Singapore.","","","",1);photos[218473]=new photo(218473,"19656","","gallery","mns0530.jpg",400,301,"Deutche Bank","mns0530_thumb.jpg",130,98,0,0,"Production Company : Octopus Communications<br>\r\nwww.octocomm.com<br>\r\n<br>\r\n\t<br>\r\nNOT FOR SALE<br>\r\n","","© Martin Seymour 2006","Hamburg, Germany","","","",1);photos[412893]=new photo(412893,"33172","","section53175","mns3406.jpg",400,597,"Building","mns3406_thumb.jpg",130,194,0,1,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412894]=new photo(412894,"33172","","section53175","mns3561.jpg",400,597,"Entrance","mns3561_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour for 2006","","","","",1);photos[412896]=new photo(412896,"33172","","section53175","mns3467.jpg",400,597,"Atrium","mns3467_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412899]=new photo(412899,"33172","","section53175","mns3415.jpg",400,268,"Building","mns3415_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412900]=new photo(412900,"33172","","section53175","mns3580.jpg",400,268,"Chair","mns3580_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412902]=new photo(412902,"33172","","section53175","mns3398.jpg",400,268,"Relections","mns3398_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412905]=new photo(412905,"33172","","section53175","mns3574.jpg",400,597,"Work area","mns3574_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412906]=new photo(412906,"33172","","section53175","mns3500.jpg",400,597,"Coffee.","mns3500_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412908]=new photo(412908,"33172","","section53175","mns3503.jpg",400,597,"Recycle","mns3503_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[460997]=new photo(460997,"33172","","section53175","mns3458.jpg",400,597,"Lunch","mns3458_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[460998]=new photo(460998,"33172","","section53175","mns3445.jpg",400,268,"Walking","mns3445_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[460999]=new photo(460999,"33172","","section53175","mns3522.jpg",400,597,"Sponsorship","mns3522_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412757]=new photo(412757,"33170","","section53175","mns3139.jpg",400,597,"Chandalier","mns3139_thumb.jpg",130,194,0,1,"","","© Martin Seymour 2006","","","","",1);photos[412761]=new photo(412761,"33170","","section53175","mns3166.jpg",400,597,"Table reflection","mns3166_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412755]=new photo(412755,"33170","","section53175","mns3137.jpg",400,597,"Oranges and Lemon","mns3137_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412765]=new photo(412765,"33170","","section53175","mns3127.jpg",400,268,"Menus","mns3127_thumb.jpg",130,87,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412753]=new photo(412753,"33170","","section53175","mns3117.jpg",400,268,"Table","mns3117_thumb.jpg",130,87,1,0,"","","© Martin Seymour 2006","","","","",1);photos[412772]=new photo(412772,"33170","","section53175","mns3216.jpg",400,268,"Condiments","mns3216_thumb.jpg",130,87,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412760]=new photo(412760,"33170","","section53175","mns3234.jpg",400,597,"Chair","mns3234_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412789]=new photo(412789,"33170","","section53175","mns3197.jpg",400,597,"Chair","mns3197_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412762]=new photo(412762,"33170","","section53175","mns3241.jpg",400,597,"Chair","mns3241_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2006","","","","",1);photos[412866]=new photo(412866,"33173","","section53175","mns3248.jpg",400,597,"Atrium","mns3248_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[4316823]=new photo(4316823,"254331","","gallery","mns9721Ralm.jpg",400,285,"Sydney Opera House","mns9721Ralm_thumb.jpg",130,93,0,0,"Commercially available from<br>\r\nwww.alamy.com","","© Martin Seymour 2007","Syndney, Australia.","","","",1);photos[216471]=new photo(216471,"254331","","gallery","mns0002Rarc.jpg",400,268,"Paw prints","mns0002Rarc_thumb.jpg",130,87,1,1,"Commercially available from<br>\r\n www.arcangel-images.com","","© Martin Seymour 2006","Chia Beach, Sardegna, Italy.","","","",1);photos[412869]=new photo(412869,"33173","","section53175","mns3251.jpg",400,597,"Roof","mns3251_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[216771]=new photo(216771,"254331","","gallery","mns0045Rarc.jpg",400,301,"Yellow window","mns0045Rarc_thumb.jpg",130,98,1,0,"Commercially available from<br>\r\n www.arcangel-images.com","","© Martin Seymour 2006","Jardin Marjorelle, Marakech, Morocco.","","","",1);photos[412873]=new photo(412873,"33173","","section53175","mns3264.jpg",400,597,"Clock","mns3264_thumb.jpg",130,194,0,1,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[217981]=new photo(217981,"254331","","gallery","mns0077Rarc.jpg",400,597,"Door hinge ","mns0077Rarc_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\n www.arcangel-images.com","","© Martin Seymour 2006","Torino, Italy","","","",1);photos[412874]=new photo(412874,"33173","","section53175","mns3352.jpg",400,268,"Boardroom","mns3352_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412875]=new photo(412875,"33173","","section53175","mns3356.jpg",400,268,"Stair","mns3356_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[448775]=new photo(448775,"254331","","gallery","mns3055Ralm.jpg",400,597,"Reichstag Flags","mns3055Ralm_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\nwww.alamy.com","","© Martin Seymour 2006","Berlin, Germany.","","","",1);photos[216690]=new photo(216690,"254331","","gallery","mns0001Rarc.jpg",400,597,"Graffitti","mns0001Rarc_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\nwww.arcangel-images.com","","© Martin Seymour 2006","Torino, Italy.","","","",1);photos[412876]=new photo(412876,"33173","","section53175","mns3371.jpg",400,268,"Entrance","mns3371_thumb.jpg",130,87,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[219402]=new photo(219402,"254331","","gallery","mns0044Rarc.jpg",400,597,"Shadow ","mns0044Rarc_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\n www.arcangel-images.com<br>\r\n","","© Martin Seymour 2006","London, UK","","","",1);photos[412877]=new photo(412877,"33173","","section53175","mns3312.jpg",400,597,"Book shelf","mns3312_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[412879]=new photo(412879,"33173","","section53175","mns3315.jpg",400,597,"Library","mns3315_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[4317238]=new photo(4317238,"254331","","gallery","mns9960Ralm.jpg",400,268,"Syndney Opera House and Harbour Bridge","mns9960Ralm_thumb.jpg",130,87,0,0,"Commercially available from<br>\r\nwww.alamy.com","","© Martin Seymour 2007","Syndney, Australia.","","","",1);photos[412880]=new photo(412880,"33173","","section53175","mns3294.jpg",400,597,"Hand rail","mns3294_thumb.jpg",130,194,0,0,"NOT FOR SALE","","© Martin Seymour 2006","","","","",1);photos[218495]=new photo(218495,"254331","","gallery","mns0048Rarc.jpg",400,597,"Nelsons Column","mns0048Rarc_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\nwww.arcangel-images.com<br>\r\n","","© Martin Seymour 2006","London, UK","","","",1);photos[217960]=new photo(217960,"254331","","gallery","mns0029Rarc.jpg",400,597,"Escalator","mns0029Rarc_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\n www.arcangel-images.com","","© Martin Seymour 2006","Canary Wharf, London, UK","","","",1);photos[218511]=new photo(218511,"254331","","gallery","mns0325.jpg",400,597,"Tree","mns0325_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\nwww.alamy.com","","© Martin Seymour 2006","Sestriere, Italy.","","","",1);photos[448778]=new photo(448778,"254331","","gallery","mns3053Ralm.jpg",400,597,"Marie Elisabeth Luders Haus","mns3053Ralm_thumb.jpg",130,194,0,0,"Commercially available from<br>\r\nwww.alamy.com","","© Martin Seymour 2006","Berlin, Germany.","","","",1);photos[226334]=new photo(226334,"254335","","gallery","mns2978a.jpg",400,268,"Windows and tiles ","mns2978a_thumb.jpg",130,87,0,0,"","","© Martin Seymour 2006","Berlin, Germany","","","",1);photos[460434]=new photo(460434,"254335","","gallery","_MG_3890.jpg",400,597,"Proms crowd","_MG_3890_thumb.jpg",130,194,0,0,"Part of the 40,000 crowd at The Last Night Of The Proms 2006.","","© Martin Seymour 2006","Hyde Park, London, UK.","","","",1);photos[216783]=new photo(216783,"254335","","gallery","Italian-hockey-fans-1.jpg",400,268,"Fans","Italian-hockey-fans-1_thumb.jpg",130,87,1,1,"Fans at the  Olympic Ice Hockey.","","© Martin Seymour 2006","Winter Olympics, Torino, Italy.","","","",1);photos[218484]=new photo(218484,"254335","","gallery","mns2705.jpg",400,597,"Railroad Bill ","mns2705_thumb.jpg",130,194,0,0,"Part of a set of images taken at the 21st anniversary concert by Railroad Bill and the Boxcar Stompers.","","© Martin Seymour 2006","Cardiff, Wales","","","",1);photos[4317444]=new photo(4317444,"254335","","gallery","mns9899.jpg",400,285,"Phone call on steps","mns9899_thumb.jpg",130,93,0,0,"","","© Martin Seymour 2008","Syndney Opera House, Australia.","","","",1);photos[218968]=new photo(218968,"254335","","gallery","mns03361.jpg",400,597,"Pigeons and people.","mns03361_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2006","Piazza San Marco, Venice, Italy","","","",1);photos[4317421]=new photo(4317421,"254335","","gallery","Chilli.jpg",400,301,"Chilli Bean the cat","Chilli_thumb.jpg",130,98,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317423]=new photo(4317423,"254335","","gallery","mushroom.jpg",400,268,"Mushroom","mushroom_thumb.jpg",130,87,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317431]=new photo(4317431,"254335","","gallery","IMG_0036.jpg",400,301,"Betty Boo the cat","IMG_0036_thumb.jpg",130,98,0,0,"","","© Martin Seymour 2008","Cotswolds, UK.","","","",1);photos[4317330]=new photo(4317330,"254343","","section53175","_MG_1718a.jpg",400,597,"Lambs tongue and Marguerite","_MG_1718a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317340]=new photo(4317340,"254343","","section53175","_MG_1770a.jpg",400,597,"Marguerites","_MG_1770a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317346]=new photo(4317346,"254343","","section53175","_MG_1779a.jpg",400,597,"Herb in flower","_MG_1779a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317349]=new photo(4317349,"254343","","section53175","_MG_1781a.jpg",400,597,"Grass 1","_MG_1781a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317352]=new photo(4317352,"254343","","section53175","_MG_1723a.jpg",400,597,"Grass 2","_MG_1723a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317353]=new photo(4317353,"254343","","section53175","_MG_1722a.jpg",400,597,"Grass 3","_MG_1722a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317373]=new photo(4317373,"254343","","section53175","_MG_1737a.jpg",400,597,"White Flower ","_MG_1737a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317360]=new photo(4317360,"254343","","section53175","_MG_1835b.jpg",400,597,"Grass 4","_MG_1835b_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317357]=new photo(4317357,"254343","","section53175","_MG_1752a.jpg",400,597,"Chives in flower","_MG_1752a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317384]=new photo(4317384,"254343","","section53175","_MG_1766a.jpg",400,597,"Giant Allium","_MG_1766a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317387]=new photo(4317387,"254343","","section53175","_MG_1887a.jpg",400,597,"Wild Marigolds","_MG_1887a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);photos[4317389]=new photo(4317389,"254343","","section53175","_MG_1743a.jpg",400,597,"Wild Mallow","_MG_1743a_thumb.jpg",130,194,0,0,"","","© Martin Seymour 2009","Cotswolds, UK.","","","",1);var thumbnails=new Object();thumbnails[216746]=new thumbnail(216746,"19656","Xerox Stand Ipex 2006","mns2829_thumb.jpg",130,87,1);thumbnails[216750]=new thumbnail(216750,"19656","Xerox Stand Ipex 2006","mns2841_thumb.jpg",130,194,1);thumbnails[216748]=new thumbnail(216748,"19656","Xerox Stand Ipex 2006 ","mns2849_thumb.jpg",130,87,1);thumbnails[216753]=new thumbnail(216753,"19656","KPMG Athens","curve_thumb.jpg",130,194,1);thumbnails[216756]=new thumbnail(216756,"19656","KPMG Athens","Galadinner1_thumb.jpg",130,194,1);thumbnails[216759]=new thumbnail(216759,"19656","KPMG Athens","Galadinner12_thumb.jpg",130,194,1);thumbnails[217888]=new thumbnail(217888,"19656","Mini Live","mns0521_thumb.jpg",130,56,1);thumbnails[217906]=new thumbnail(217906,"19656","Mini Live","mns0525_thumb.jpg",130,98,1);thumbnails[217916]=new thumbnail(217916,"19656","Mini Live","mns0524_thumb.jpg",130,54,1);thumbnails[217937]=new thumbnail(217937,"19656","BT Wholesale","mns0529_thumb.jpg",130,98,1);thumbnails[217939]=new thumbnail(217939,"19656","SIBOS","mns0534_thumb.jpg",130,98,1);thumbnails[218473]=new thumbnail(218473,"19656","Deutche Bank","mns0530_thumb.jpg",130,98,1);thumbnails[412893]=new thumbnail(412893,"33172","Building","mns3406_thumb.jpg",130,194,1);thumbnails[412894]=new thumbnail(412894,"33172","Entrance","mns3561_thumb.jpg",130,194,1);thumbnails[412896]=new thumbnail(412896,"33172","Atrium","mns3467_thumb.jpg",130,194,1);thumbnails[412899]=new thumbnail(412899,"33172","Building","mns3415_thumb.jpg",130,87,1);thumbnails[412900]=new thumbnail(412900,"33172","Chair","mns3580_thumb.jpg",130,87,1);thumbnails[412902]=new thumbnail(412902,"33172","Relections","mns3398_thumb.jpg",130,87,1);thumbnails[412905]=new thumbnail(412905,"33172","Work area","mns3574_thumb.jpg",130,194,1);thumbnails[412906]=new thumbnail(412906,"33172","Coffee.","mns3500_thumb.jpg",130,194,1);thumbnails[412908]=new thumbnail(412908,"33172","Recycle","mns3503_thumb.jpg",130,194,1);thumbnails[460997]=new thumbnail(460997,"33172","Lunch","mns3458_thumb.jpg",130,194,1);thumbnails[460998]=new thumbnail(460998,"33172","Walking","mns3445_thumb.jpg",130,87,1);thumbnails[460999]=new thumbnail(460999,"33172","Sponsorship","mns3522_thumb.jpg",130,194,1);thumbnails[412757]=new thumbnail(412757,"33170","Chandalier","mns3139_thumb.jpg",130,194,1);thumbnails[412761]=new thumbnail(412761,"33170","Table reflection","mns3166_thumb.jpg",130,194,1);thumbnails[412755]=new thumbnail(412755,"33170","Oranges and Lemon","mns3137_thumb.jpg",130,194,1);thumbnails[412765]=new thumbnail(412765,"33170","Menus","mns3127_thumb.jpg",130,87,1);thumbnails[412753]=new thumbnail(412753,"33170","Table","mns3117_thumb.jpg",130,87,1);thumbnails[412772]=new thumbnail(412772,"33170","Condiments","mns3216_thumb.jpg",130,87,1);thumbnails[412760]=new thumbnail(412760,"33170","Chair","mns3234_thumb.jpg",130,194,1);thumbnails[412789]=new thumbnail(412789,"33170","Chair","mns3197_thumb.jpg",130,194,1);thumbnails[412762]=new thumbnail(412762,"33170","Chair","mns3241_thumb.jpg",130,194,1);thumbnails[412866]=new thumbnail(412866,"33173","Atrium","mns3248_thumb.jpg",130,194,1);thumbnails[4316823]=new thumbnail(4316823,"254331","Sydney Opera House","mns9721Ralm_thumb.jpg",130,93,1);thumbnails[216471]=new thumbnail(216471,"254331","Paw prints","mns0002Rarc_thumb.jpg",130,87,1);thumbnails[412869]=new thumbnail(412869,"33173","Roof","mns3251_thumb.jpg",130,194,1);thumbnails[216771]=new thumbnail(216771,"254331","Yellow window","mns0045Rarc_thumb.jpg",130,98,1);thumbnails[412873]=new thumbnail(412873,"33173","Clock","mns3264_thumb.jpg",130,194,1);thumbnails[217981]=new thumbnail(217981,"254331","Door hinge ","mns0077Rarc_thumb.jpg",130,194,1);thumbnails[412874]=new thumbnail(412874,"33173","Boardroom","mns3352_thumb.jpg",130,87,1);thumbnails[412875]=new thumbnail(412875,"33173","Stair","mns3356_thumb.jpg",130,87,1);thumbnails[448775]=new thumbnail(448775,"254331","Reichstag Flags","mns3055Ralm_thumb.jpg",130,194,1);thumbnails[216690]=new thumbnail(216690,"254331","Graffitti","mns0001Rarc_thumb.jpg",130,194,1);thumbnails[412876]=new thumbnail(412876,"33173","Entrance","mns3371_thumb.jpg",130,87,1);thumbnails[219402]=new thumbnail(219402,"254331","Shadow ","mns0044Rarc_thumb.jpg",130,194,1);thumbnails[412877]=new thumbnail(412877,"33173","Book shelf","mns3312_thumb.jpg",130,194,1);thumbnails[412879]=new thumbnail(412879,"33173","Library","mns3315_thumb.jpg",130,194,1);thumbnails[4317238]=new thumbnail(4317238,"254331","Syndney Opera House and Harbour Bridge","mns9960Ralm_thumb.jpg",130,87,1);thumbnails[412880]=new thumbnail(412880,"33173","Hand rail","mns3294_thumb.jpg",130,194,1);thumbnails[218495]=new thumbnail(218495,"254331","Nelsons Column","mns0048Rarc_thumb.jpg",130,194,1);thumbnails[217960]=new thumbnail(217960,"254331","Escalator","mns0029Rarc_thumb.jpg",130,194,1);thumbnails[218511]=new thumbnail(218511,"254331","Tree","mns0325_thumb.jpg",130,194,1);thumbnails[448778]=new thumbnail(448778,"254331","Marie Elisabeth Luders Haus","mns3053Ralm_thumb.jpg",130,194,1);thumbnails[226334]=new thumbnail(226334,"254335","Windows and tiles ","mns2978a_thumb.jpg",130,87,1);thumbnails[460434]=new thumbnail(460434,"254335","Proms crowd","_MG_3890_thumb.jpg",130,194,1);thumbnails[216783]=new thumbnail(216783,"254335","Fans","Italian-hockey-fans-1_thumb.jpg",130,87,1);thumbnails[218484]=new thumbnail(218484,"254335","Railroad Bill ","mns2705_thumb.jpg",130,194,1);thumbnails[4317444]=new thumbnail(4317444,"254335","Phone call on steps","mns9899_thumb.jpg",130,93,1);thumbnails[218968]=new thumbnail(218968,"254335","Pigeons and people.","mns03361_thumb.jpg",130,194,1);thumbnails[4317421]=new thumbnail(4317421,"254335","Chilli Bean the cat","Chilli_thumb.jpg",130,98,1);thumbnails[4317423]=new thumbnail(4317423,"254335","Mushroom","mushroom_thumb.jpg",130,87,1);thumbnails[4317431]=new thumbnail(4317431,"254335","Betty Boo the cat","IMG_0036_thumb.jpg",130,98,1);thumbnails[4317330]=new thumbnail(4317330,"254343","Lambs tongue and Marguerite","_MG_1718a_thumb.jpg",130,194,1);thumbnails[4317340]=new thumbnail(4317340,"254343","Marguerites","_MG_1770a_thumb.jpg",130,194,1);thumbnails[4317346]=new thumbnail(4317346,"254343","Herb in flower","_MG_1779a_thumb.jpg",130,194,1);thumbnails[4317349]=new thumbnail(4317349,"254343","Grass 1","_MG_1781a_thumb.jpg",130,194,1);thumbnails[4317352]=new thumbnail(4317352,"254343","Grass 2","_MG_1723a_thumb.jpg",130,194,1);thumbnails[4317353]=new thumbnail(4317353,"254343","Grass 3","_MG_1722a_thumb.jpg",130,194,1);thumbnails[4317373]=new thumbnail(4317373,"254343","White Flower ","_MG_1737a_thumb.jpg",130,194,1);thumbnails[4317360]=new thumbnail(4317360,"254343","Grass 4","_MG_1835b_thumb.jpg",130,194,1);thumbnails[4317357]=new thumbnail(4317357,"254343","Chives in flower","_MG_1752a_thumb.jpg",130,194,1);thumbnails[4317384]=new thumbnail(4317384,"254343","Giant Allium","_MG_1766a_thumb.jpg",130,194,1);thumbnails[4317387]=new thumbnail(4317387,"254343","Wild Marigolds","_MG_1887a_thumb.jpg",130,194,1);thumbnails[4317389]=new thumbnail(4317389,"254343","Wild Mallow","_MG_1743a_thumb.jpg",130,194,1);var galleries=new Object();galleries[19656]=new gallery(19656,"217939","Corporate","gallery",[216746,216750,216748,216753,216756,216759,217888,217906,217916,217937,217939,218473]);galleries[33172]=new gallery(33172,"412893","Vodafone HQ","section53175",[412893,412894,412896,412899,412900,412902,412905,412906,412908,460997,460998,460999]);galleries[33170]=new gallery(33170,"412757","The Mansion","section53175",[412757,412761,412755,412765,412753,412772,412760,412789,412762]);galleries[254331]=new gallery(254331,"216471","Photo Library","gallery",[4316823,216471,216771,217981,448775,216690,219402,4317238,218495,217960,218511,448778]);galleries[33173]=new gallery(33173,"412873","Southampton Buildings","section53175",[412866,412869,412873,412874,412875,412876,412877,412879,412880]);galleries[254335]=new gallery(254335,"4317421,226334,216783","Just for Fun","gallery",[226334,460434,216783,218484,4317444,218968,4317421,4317423,4317431]);galleries[254343]=new gallery(254343,"4317340","The Garden","section53175",[4317330,4317340,4317346,4317349,4317352,4317353,4317373,4317360,4317357,4317384,4317387,4317389]);var imageSets=new Object();imageSets[1]="412753,216783,216771,216471";imageSets[2]="4317421,4317340,412893,412873,412757,226334,217939,216783,216471";imageSets[3]="4317444,4317431,4317423,4317421,4317389,4317387,4317384,4317373,4317360,4317357,4317353,4317352,4317349,4317346,4317340,4317330,4317238,4316823,460999,460998,460997,460434,448778,448775,412908,412906,412905,412902,412900,412899,412896,412894,412893,412880,412879,412877,412876,412875,412874,412873,412869,412866,412789,412772,412765,412762,412761,412760,412757,412755";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 1:b="http://www1.clikpic.com/martinseymour/images";break}switch(a){case 2:b="http://admin.clikpic.com/martinseymour/images";break}switch(a){case 4:b="http://www.clikchurch.com/martinseymour/images";break}switch(a){case 5:b="http://www2.clikpic.com/martinseymour/images";break}switch(a){case 15:b="http://www3.clikpic.com/martinseymour/images";break}switch(a){case 21:b="http://www6.clikpic.com/martinseymour/images";break}switch(a){case 18:b="http://www4.clikpic.com/martinseymour/images";break}switch(a){case 19:b="http://www5.clikpic.com/martinseymour/images";break}switch(a){case 22:b="http://tpc5/clikpic/martinseymour/images";break}switch(a){case 23:b="http://tpc10/clikpic/martinseymour/images";break}switch(a){case 24:b="http://tpc15/clikpic/martinseymour/images";break}switch(a){case 25:b="http://tpc16/clikpic/martinseymour/images";break}switch(a){case 31:b="http://www7.clikpic.com/martinseymour/images";break}switch(a){case 32:b="http://admin2.clikpic.com/martinseymour/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("section53175"!=""){if(photos[imageID].galleries_id!=""){html+='<a href="'+photos[imageID].section_code+"_"+photos[imageID].galleries_id+'.html">'}else{html+='<a href="section53175.html">'}}html+='<img src="'+photos[imageID].src+'" width="'+photos[imageID].width+'" height="'+photos[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+photos[imageID].caption+'" border="0">';if("section53175"!=""){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="7th Wave Projects Ltd: "+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(){if(addItemToBasket(document.getElementById("paymentForm"))){if($.browser.msie){$("#paymentConfirm").show()}else{$("#paymentConfirm").fadeIn()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Order this print:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 							"+c.item_price+"</p>";var e=c.purchase_instruction;var d=c.item_price;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=photos[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};