window.thumbnails = {};
															thumbnails[713130] = clik.newPhoto({"id":713130,"src":"Emilie3.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"For Emilie du Chatelet [on loan - P Michell Cloisters Barristers]","height":146});
															thumbnails[808447] = clik.newPhoto({"id":808447,"src":"Three Graces Study1.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":68});
															thumbnails[808449] = clik.newPhoto({"id":808449,"src":"Three Graces Study3.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"The Three Graces - Study for a site specific sculpture","height":68});
															thumbnails[808472] = clik.newPhoto({"id":808472,"src":"Film Banner3.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"'Film' themed illuminated banner - Walton on Thames","height":200});
															thumbnails[808498] = clik.newPhoto({"id":808498,"src":"Film banner 'day'1.jpg","galleries_id":"","server_id":18,"link":"#","width":115,"caption":"'Film' Banner 'Ext. Day'<br>\r\ndetail","height":600});
															thumbnails[810348] = clik.newPhoto({"id":810348,"src":"FILM BANNER 'NIGHT'1.jpg","galleries_id":"","server_id":18,"link":"#","width":115,"caption":"'Film' banner 'Ext. Night'<br>\r\ndetail","height":600});
															thumbnails[2222976] = clik.newPhoto({"id":2222976,"src":"Future cropped_thumb.jpg","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"","height":50});
															thumbnails[2231067] = clik.newPhoto({"id":2231067,"src":"606 After Hours_thumb.JPG","galleries_id":"","server_id":18,"link":"#","width":130,"caption":"'After Hours' 606 Club, Chelsea 07","height":77});
															thumbnails[3422637] = clik.newPhoto({"id":3422637,"src":"Listening Eye #20 revised_thumb.jpg","galleries_id":"","server_id":2,"link":"#","width":130,"caption":"","height":62});
															thumbnails[6089590] = clik.newPhoto({"id":6089590,"src":"SDE_cropped_thumb.jpg","galleries_id":279427,"server_id":18,"link":"photo_6089590.html","width":130,"caption":"'Saintz' Point Theatre, Eastleigh June 2010 ","height":95});
															thumbnails[355021] = clik.newPhoto({"id":355021,"src":"The Memory of Water 1 cropped1.jpg","galleries_id":29296,"server_id":18,"link":"photo_355021.html","width":130,"caption":"The Memory of Water #1<br>\r\n41x41cm<br>\r\n[SOLD\/Private Collection]<br>\r\n","height":131});
															thumbnails[355024] = clik.newPhoto({"id":355024,"src":"Equilibrium1.jpg","galleries_id":29391,"server_id":18,"link":"photo_355024.html","width":130,"caption":"Untitled","height":211});
															thumbnails[355026] = clik.newPhoto({"id":355026,"src":"The Secret Soul of Things1.jpg","galleries_id":29412,"server_id":18,"link":"photo_355026.html","width":130,"caption":"The Secret Soul of Things","height":104});
															thumbnails[355029] = clik.newPhoto({"id":355029,"src":"Looking for Leeuwenhoek1.jpg","galleries_id":47301,"server_id":18,"link":"photo_355029.html","width":130,"caption":"Looking for Leeuwenhoek<br>\r\n44x60cm  framed  £900<br>\r\n","height":96});
															thumbnails[355284] = clik.newPhoto({"id":355284,"src":"Ink on Paper water-damaged1.jpg","galleries_id":29391,"server_id":18,"link":"photo_355284.html","width":130,"caption":"Untitled","height":173});
															thumbnails[356081] = clik.newPhoto({"id":356081,"src":"The Memory of Water 2 cropped1.jpg","galleries_id":29296,"server_id":18,"link":"photo_356081.html","width":130,"caption":"The Memory of Water #2 [detail]<br>\r\n25x25cm<br>\r\n","height":131});
															thumbnails[356085] = clik.newPhoto({"id":356085,"src":"The memory of Water 5 cropped1.jpg","galleries_id":29296,"server_id":18,"link":"photo_356085.html","width":130,"caption":"The Memory of Water #5 <br>\r\n30x30cm<br>\r\n","height":130});
															thumbnails[356337] = clik.newPhoto({"id":356337,"src":"We Are Mostly Water1.jpg","galleries_id":58203,"server_id":18,"link":"photo_356337.html","width":130,"caption":"We Are Mostly Water","height":39});
															thumbnails[356534] = clik.newPhoto({"id":356534,"src":"Cutting Edge1.jpg","galleries_id":29412,"server_id":18,"link":"photo_356534.html","width":130,"caption":"Cutting Edge","height":98});
															thumbnails[356535] = clik.newPhoto({"id":356535,"src":"Shadows 11.jpg","galleries_id":29299,"server_id":18,"link":"photo_356535.html","width":130,"caption":"The Critique of Pure Reason","height":265});
															thumbnails[356567] = clik.newPhoto({"id":356567,"src":"Untitled oil stick on paper 21.jpg","galleries_id":29391,"server_id":18,"link":"photo_356567.html","width":130,"caption":"Untitled<br>\r\noil stick on paper","height":154});
															thumbnails[356569] = clik.newPhoto({"id":356569,"src":"Untitled oil stick on paper 31.jpg","galleries_id":29391,"server_id":18,"link":"photo_356569.html","width":130,"caption":"Untitled <br>\r\noil stick on paper","height":200});
															thumbnails[356573] = clik.newPhoto({"id":356573,"src":"Untitled oil stick on paper1.jpg","galleries_id":29391,"server_id":18,"link":"photo_356573.html","width":130,"caption":"Untitled<br>\r\noil stick on paper","height":194});
															thumbnails[356585] = clik.newPhoto({"id":356585,"src":"sketch1.jpg","galleries_id":29391,"server_id":18,"link":"photo_356585.html","width":130,"caption":"Untitled<br>\r\nink on paper","height":173});
															thumbnails[356589] = clik.newPhoto({"id":356589,"src":"Untitled ink on paper 21.jpg","galleries_id":29391,"server_id":18,"link":"photo_356589.html","width":130,"caption":"Untitled<br>\r\nink on paper","height":222});
															thumbnails[356798] = clik.newPhoto({"id":356798,"src":"lovers sketch1.jpg","galleries_id":29391,"server_id":18,"link":"photo_356798.html","width":130,"caption":"The Loversink on paper","height":181});
															thumbnails[356842] = clik.newPhoto({"id":356842,"src":"Intersection 11.jpg","galleries_id":29299,"server_id":18,"link":"photo_356842.html","width":130,"caption":"Intersection #1","height":63});
															thumbnails[356857] = clik.newPhoto({"id":356857,"src":"H1.jpg","galleries_id":29392,"server_id":18,"link":"photo_356857.html","width":130,"caption":"H","height":187});
															thumbnails[356859] = clik.newPhoto({"id":356859,"src":"Helena breastfeeding1.jpg","galleries_id":29392,"server_id":18,"link":"photo_356859.html","width":130,"caption":"Mother and Daughter","height":177});
															thumbnails[356861] = clik.newPhoto({"id":356861,"src":"Wind Carving 11.jpg","galleries_id":29299,"server_id":18,"link":"photo_356861.html","width":130,"caption":"Wind Carving #1 Nassau Bahamas 06","height":126});
															thumbnails[356864] = clik.newPhoto({"id":356864,"src":"Poster graphic1.jpg","galleries_id":150651,"server_id":18,"link":"photo_356864.html","width":130,"caption":"Poster for 'PS' gig London [circa late 70s]","height":194});
															thumbnails[356902] = clik.newPhoto({"id":356902,"src":"wood stone wood1.jpg","galleries_id":29412,"server_id":18,"link":"photo_356902.html","width":130,"caption":"Adrift","height":145});
															thumbnails[357143] = clik.newPhoto({"id":357143,"src":"deia shoreline3.jpg","galleries_id":29513,"server_id":18,"link":"photo_357143.html","width":130,"caption":"I was born and raised in a town by the sea, and throughout my life, wherever I've lived - England, Spain, California - I've been drawn to the coast, to the water's edge.  The fascination is bitter-sweet.  Some of my earliest and happiest memories are of Brighton beach, where I used to spend whole summers wading through the shallows and exploring the briny rock pools at Black Rock with my brother Stephen and kid sister Charlotte.  But it is also the place where Stephen's young life would be cut short.","height":62});
															thumbnails[357482] = clik.newPhoto({"id":357482,"src":"hand drawing dirac1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357482.html","width":130,"caption":"So I'm drawn to the coast, to the water's edge. And it was whilst living in Muleta Mallorca where the mountains meet the sea, and the terrace of my remote retreat - El Niu de L'oronella [the Nest of the Sea Swallows]overlooked the rugged Deia headland, that I began the two years of research and experimentaion that would evolve organically into the creation of the Codagraph.  though these works are not autobiographical, they are, undeniably imbued with my life experience and sense of wonder at the world, and I hope, radiate some of the spirit and energy that inspired them.","height":62});
															thumbnails[357631] = clik.newPhoto({"id":357631,"src":"Dirac Sketch bw1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357631.html","width":130,"caption":"The Codagraphs, an original hybrid form evolved as I began to fuse drawing, sculpture, photography, printmaking and digital processing.  A coda in music is a passage which brings a movement or piece to a conclusion; I feel this is analogous to the structured process I apply to the creation of these works, the penultimate printmaking stage in particular","height":62});
															thumbnails[357658] = clik.newPhoto({"id":357658,"src":"SDE Painting Dirac bw1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357658.html","width":130,"caption":"Throughout the entire process - it can take weeks or even months to complete a single work - the initial inspiration or concept is guiding the creative process: I begin with a sketch rendered in ink or charcoal - which will act as a spur for the creation of a piece of land-art or raw sculpture, often made with found objects [a broken watch; a hub cap; a pipe; a solar panel] and natural materials such as stones polished by the sea; animal bones; shells; driftwood; abandoned birds nests; tree bark etc.","height":188});
															thumbnails[357763] = clik.newPhoto({"id":357763,"src":"cutting twigs.JPG","galleries_id":29513,"server_id":18,"link":"photo_357763.html","width":130,"caption":"As the three dimensional piece evolves - I sometimes use paint or even pyrography to achieve the effect I'm after - I then photograph it from multiple angles, using natural light, often focusing on a defining texture or surface.  When this stage feels complete, I feed both the original sketches and the negatives of the photographs into my computer.","height":62});
															thumbnails[357792] = clik.newPhoto({"id":357792,"src":"Photographing Dirac bw1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357792.html","width":130,"caption":"With the image transformed into binary code, I then push the movement and abstraction of the digital form further towards the idea that existed in my mind's eye, carefully adjusting the colours, tones, light play and saturation.<br>\r\n<br>\r\nOnce I feel that I've successfully captured the essence and spirit of my initial idea, I then print onto fine art paper or board, and having gone full circle, return the work to my easel to add final details [with this piece for example I painted Paul Dirac's Field Equation on the reverse of the codagraph; echoing his theme that some things are not visible to us even though we know they exist.","height":62});
															thumbnails[357798] = clik.newPhoto({"id":357798,"src":"Creating Dirac PC bw1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357798.html","width":130,"caption":"At this juncture, all of the component parts, the land-art, sculptures, negatives and digital files are destroyed thereby ensuring that each final piece only exists as a single, original, signed codagraph.  I then take a low resolution digital photograph for archive purposes [such as those that appear on this website] ","height":62});
															thumbnails[357807] = clik.newPhoto({"id":357807,"src":"printing dirac1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357807.html","width":130,"caption":"When a plaque commemorating the life and work of the British Nobel Prize winning physicist Paul Dirac was unveiled at Westminster Abbey in 1995, Lucasian Professor Stehen Hawking summed up Dirac's contribution to science:<br>\r\n<br>\r\n\"...Dirac has done more than anyone this century with the exception of Einstein, to advance physics and change our picture of the universe...\"","height":62});
															thumbnails[357813] = clik.newPhoto({"id":357813,"src":"dirac printed1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357813.html","width":130,"caption":"In 1928 Dirac combined the theories of quantum mechanics and special relativity.  The resulting Dirac Equation was able to explain the mysterious magnetic and spin properties of the electron.  two years later, he formulated a theoretical model of the vacuum as an infinite sea of particles possessing negative energy; this became known as the Dirac Sea.<br>\r\n<br>\r\nThe title At the Shore of the Dirac Sea is intended to invoke the idea of a literal ocean, deep and uncharted, its waves lapping at the shore where Dirac stood.","height":201});
															thumbnails[357827] = clik.newPhoto({"id":357827,"src":"rendering dirac eq on codagraph1.jpg","galleries_id":29513,"server_id":18,"link":"photo_357827.html","width":130,"caption":"The ovoid, or egg shape - a powerful symbol of new life and rebirth in many ancient cultures can be readily identified in the codagraph, but returning to the oceanic analogy, I was also drawn to the Syngnathidae family, in particular the seahorse, and their strange, mysterious, foetal like forms, as a touchstone for giving shape to the birth of Dirac's visionary ideas.","height":62});
															thumbnails[359995] = clik.newPhoto({"id":359995,"src":"Untitled-13.jpg","galleries_id":47300,"server_id":18,"link":"photo_359995.html","width":130,"caption":"Ichthys Variation #ii<br>\r\n","height":189});
															thumbnails[360120] = clik.newPhoto({"id":360120,"src":"Emilie1.jpg","galleries_id":47301,"server_id":18,"link":"photo_360120.html","width":130,"caption":"For Emilie du Chatelet<br>\r\n72x82cm<br>\r\n[On loan - P. Michell Cloisters Barristers<br>\r\n","height":146});
															thumbnails[360121] = clik.newPhoto({"id":360121,"src":"Occams1.jpg","galleries_id":47301,"server_id":18,"link":"photo_360121.html","width":130,"caption":"The Presence of Occam's Razor in the Case of Albert E.<br>\r\n47x53cm<br>\r\n<br>\r\n[SOLD\/Private Collection]","height":144});
															thumbnails[360122] = clik.newPhoto({"id":360122,"src":"PKS revised1.jpg","galleries_id":47301,"server_id":18,"link":"photo_360122.html","width":130,"caption":"PKS [Pythagoras Kepler System]<br>\r\n70x70cm  framed  £1400<br>\r\n","height":130});
															thumbnails[360242] = clik.newPhoto({"id":360242,"src":"Eight Ink on Paper1.jpg","galleries_id":29392,"server_id":18,"link":"photo_360242.html","width":130,"caption":"Eight<br>\r\n","height":132});
															thumbnails[360322] = clik.newPhoto({"id":360322,"src":"T 11.jpg","galleries_id":47536,"server_id":18,"link":"photo_360322.html","width":130,"caption":"Transcendence #1","height":230});
															thumbnails[360323] = clik.newPhoto({"id":360323,"src":"T 21.jpg","galleries_id":47536,"server_id":18,"link":"photo_360323.html","width":130,"caption":"Transcendence #2","height":260});
															thumbnails[360324] = clik.newPhoto({"id":360324,"src":"T 31.jpg","galleries_id":47536,"server_id":18,"link":"photo_360324.html","width":130,"caption":"Transcendence #3","height":260});
															thumbnails[360325] = clik.newPhoto({"id":360325,"src":"T 41.jpg","galleries_id":47536,"server_id":18,"link":"photo_360325.html","width":130,"caption":"Transcendence #4","height":228});
															thumbnails[360327] = clik.newPhoto({"id":360327,"src":"T 51.jpg","galleries_id":47536,"server_id":18,"link":"photo_360327.html","width":130,"caption":"Transcendence #5","height":260});
															thumbnails[474259] = clik.newPhoto({"id":474259,"src":"Podkletnov's Pipe1.jpg","galleries_id":47301,"server_id":18,"link":"photo_474259.html","width":130,"caption":"Podkletnov's Pipe<br>\r\n50x50cm [donated\/private collection]<br>\r\n","height":130});
															thumbnails[482741] = clik.newPhoto({"id":482741,"src":"Schauberger's Spiral1.jpg","galleries_id":47301,"server_id":18,"link":"photo_482741.html","width":130,"caption":"Schauberger's Spiral<br>\r\n51x51cm  framed  £900<br>\r\n","height":130});
															thumbnails[618115] = clik.newPhoto({"id":618115,"src":"Artesian Spring1.jpg","galleries_id":47536,"server_id":18,"link":"photo_618115.html","width":130,"caption":"Artesian Spring<br>\r\n20x42cm  unframed  £125  [Somerset Velvet paper]<br>\r\n<br>\r\n3 of 5 remaining","height":273});
															thumbnails[618811] = clik.newPhoto({"id":618811,"src":"Ichthys1.jpg","galleries_id":47300,"server_id":18,"link":"photo_618811.html","width":130,"caption":"Ichthys #i<br>\r\n","height":189});
															thumbnails[618816] = clik.newPhoto({"id":618816,"src":"Floating1.jpg","galleries_id":47536,"server_id":18,"link":"photo_618816.html","width":130,"caption":"Floating Stones #1<br>\r\n36x40cm  unframed  £175<br>\r\n[4 of 5 remaining]<br>\r\n","height":144});
															thumbnails[621080] = clik.newPhoto({"id":621080,"src":"Untitled-15.jpg","galleries_id":47302,"server_id":18,"link":"photo_621080.html","width":130,"caption":"Kindle<br>\r\n16x38cm  framed  £350<br>\r\n","height":307});
															thumbnails[621565] = clik.newPhoto({"id":621565,"src":"Floating21.jpg","galleries_id":47536,"server_id":18,"link":"photo_621565.html","width":130,"caption":"Floating Stones #ii<br>\r\n48x60cm  unframed  £200<br>\r\n4 of 5 remaining","height":163});
															thumbnails[652246] = clik.newPhoto({"id":652246,"src":"Laternentrager Harvest in the Torsion Field1.jpg","galleries_id":47301,"server_id":18,"link":"photo_652246.html","width":130,"caption":"Laternentrager: Harvest in the Torsion Field<br>\r\n36x40cm<br>\r\n[SOLD\/Private Collection]","height":117});
															thumbnails[653088] = clik.newPhoto({"id":653088,"src":"memory1.jpg","galleries_id":29296,"server_id":18,"link":"photo_653088.html","width":130,"caption":"The Memory of Water #7  <br>\r\n25 x 25cm  [Private Collection]","height":131});
															thumbnails[654229] = clik.newPhoto({"id":654229,"src":"Spontaneous Symmetry Breaking1.jpg","galleries_id":47301,"server_id":18,"link":"photo_654229.html","width":130,"caption":"Spontaneous Symmetry Breaking<br>\r\n32x32cm<br>\r\n[SOLD\/Private Collection]","height":135});
															thumbnails[657407] = clik.newPhoto({"id":657407,"src":"Gaia o61.jpg","galleries_id":47302,"server_id":18,"link":"photo_657407.html","width":130,"caption":"GAIA 25x35cm [SOLD \/ Private Collection: J. Brooke Barnett]","height":182});
															thumbnails[657861] = clik.newPhoto({"id":657861,"src":"Ick1.jpg","galleries_id":47300,"server_id":18,"link":"photo_657861.html","width":130,"caption":"Ichthys #v<br>\r\nPrivate Collection<br>\r\nPrincess Azamat Guirey","height":188});
															thumbnails[713128] = clik.newPhoto({"id":713128,"src":"At the Shore of the Dirac Sea3.jpg","galleries_id":47301,"server_id":18,"link":"photo_713128.html","width":130,"caption":"At the Shore of the Dirac Sea<br>\r\n65x90cm<br>\r\n[collection of the artist]","height":183});
															thumbnails[730830] = clik.newPhoto({"id":730830,"src":"After Leibniz [detail]1.jpg","galleries_id":47301,"server_id":18,"link":"photo_730830.html","width":130,"caption":"After Leibniz [detail]<br>\r\n70x90cm  framed  £1200<br>\r\n","height":175});
															thumbnails[754056] = clik.newPhoto({"id":754056,"src":"Water Birth1.jpg","galleries_id":58203,"server_id":18,"link":"photo_754056.html","width":130,"caption":"Water\/Birth","height":147});
															thumbnails[754062] = clik.newPhoto({"id":754062,"src":"Time&Tide1.jpg","galleries_id":58203,"server_id":18,"link":"photo_754062.html","width":130,"caption":"Time & Tide","height":130});
															thumbnails[1609483] = clik.newPhoto({"id":1609483,"src":"New Home Page1.jpg","galleries_id":47536,"server_id":18,"link":"photo_1609483.html","width":130,"caption":"Untitled 06","height":73});
															thumbnails[2222873] = clik.newPhoto({"id":2222873,"src":"tony bans bw 2_thumb.jpg","galleries_id":29299,"server_id":18,"link":"photo_2222873.html","width":130,"caption":"Tony O'Malley [May 2008]","height":173});
															thumbnails[2222917] = clik.newPhoto({"id":2222917,"src":"The Future Isn't What it Used To Be_thumb.jpg","galleries_id":29299,"server_id":18,"link":"photo_2222917.html","width":130,"caption":"The Future Isn't What It Used To Be","height":173});
															thumbnails[2230544] = clik.newPhoto({"id":2230544,"src":"T&F1_thumb.jpg","galleries_id":29299,"server_id":18,"link":"photo_2230544.html","width":130,"caption":"untitled","height":173});
															thumbnails[2230645] = clik.newPhoto({"id":2230645,"src":"Two Bicycles Beijing_thumb.jpg","galleries_id":29299,"server_id":18,"link":"photo_2230645.html","width":130,"caption":"Two Bicycles Beijing 06 ","height":97});
															thumbnails[2767843] = clik.newPhoto({"id":2767843,"src":"seCERNment_thumb.JPG","galleries_id":58203,"server_id":18,"link":"photo_2767843.html","width":130,"caption":"seCERNment","height":143});
															thumbnails[3034725] = clik.newPhoto({"id":3034725,"src":"Flight_thumb.jpg","galleries_id":47536,"server_id":18,"link":"photo_3034725.html","width":130,"caption":"'Flight' 21x30cm   ","height":92});
															thumbnails[3423465] = clik.newPhoto({"id":3423465,"src":"Eye9plus_thumb.jpg","galleries_id":47536,"server_id":18,"link":"photo_3423465.html","width":130,"caption":"The Listening Eye [No.9 from a series of 20] ","height":90});
															thumbnails[3555749] = clik.newPhoto({"id":3555749,"src":"koan_final_thumb.jpg","galleries_id":47536,"server_id":18,"link":"photo_3555749.html","width":130,"caption":"Koan","height":178});
															thumbnails[3555807] = clik.newPhoto({"id":3555807,"src":"faith_has_been_broken_thumb.jpg","galleries_id":47536,"server_id":18,"link":"photo_3555807.html","width":130,"caption":"Faith Has Been Broken, Tears Must Be Cried","height":98});
															thumbnails[3555813] = clik.newPhoto({"id":3555813,"src":"The_Moment_of_Patient_Stillness_thumb.jpg","galleries_id":47536,"server_id":18,"link":"photo_3555813.html","width":130,"caption":"The Moment of Patient Stillness","height":124});
															thumbnails[3708004] = clik.newPhoto({"id":3708004,"src":"Listening_Eye_3_web_thumb.jpg","galleries_id":47536,"server_id":18,"link":"photo_3708004.html","width":130,"caption":"The Listening Eye #3","height":178});
															thumbnails[4903279] = clik.newPhoto({"id":4903279,"src":"SDE_Portrait_1_thumb.jpg","galleries_id":279427,"server_id":18,"link":"photo_4903279.html","width":130,"caption":"Portrait of SDE by Millie Eden [Dorset 2005]","height":171});
															thumbnails[4903541] = clik.newPhoto({"id":4903541,"src":"Me_Beijing_thumb.JPG","galleries_id":279427,"server_id":18,"link":"photo_4903541.html","width":130,"caption":"SDE Codagraphs exhibited in Beijing, by invitation of the Tsinghua Academy of Arts. [Beijing, China 2006]","height":81});
															thumbnails[5074921] = clik.newPhoto({"id":5074921,"src":"Die_Glocke_thumb.jpg","galleries_id":47301,"server_id":18,"link":"photo_5074921.html","width":130,"caption":"Die Glocke ","height":195});
															thumbnails[5074935] = clik.newPhoto({"id":5074935,"src":"Looking_for_Leeuwenhoek_ii__thumb.jpg","galleries_id":47301,"server_id":18,"link":"photo_5074935.html","width":130,"caption":"Looking for Leeuwenhoek II [44 x 60cm framed: £900]","height":96});
															thumbnails[5265663] = clik.newPhoto({"id":5265663,"src":"ROAD_CD_FINAL_thumb.jpg","galleries_id":150651,"server_id":18,"link":"photo_5265663.html","width":130,"caption":"CD cover design disc insert 'The Road Will Rise' ","height":130});
															thumbnails[7582856] = clik.newPhoto({"id":7582856,"src":"Father__Daughter_Writer__Ass_Designer_on_set_of_Saintz_June_2010_thumb.jpg","galleries_id":279427,"server_id":18,"link":"photo_7582856.html","width":130,"caption":"","height":87});
															thumbnails[7873123] = clik.newPhoto({"id":7873123,"src":"SAINTZ_full_cast_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7873123.html","width":130,"caption":"WHEN THE SAINTZ GO MARCHING IN - production stills from the Point Theatre's world premiere production [photographs Claire Shannan]  ","height":87});
															thumbnails[7873458] = clik.newPhoto({"id":7873458,"src":"Saintz_1_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7873458.html","width":130,"caption":"","height":87});
															thumbnails[7873518] = clik.newPhoto({"id":7873518,"src":"Saintz_3_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7873518.html","width":130,"caption":"","height":87});
															thumbnails[7873529] = clik.newPhoto({"id":7873529,"src":"Saintz_5_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7873529.html","width":130,"caption":"","height":87});
															thumbnails[7874571] = clik.newPhoto({"id":7874571,"src":"Saintz_4_copy_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7874571.html","width":130,"caption":"","height":194});
															thumbnails[7875435] = clik.newPhoto({"id":7875435,"src":"Saintz_6_copy_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7875435.html","width":130,"caption":"","height":87});
															thumbnails[7875439] = clik.newPhoto({"id":7875439,"src":"Saintz_7_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7875439.html","width":130,"caption":"","height":87});
															thumbnails[7875441] = clik.newPhoto({"id":7875441,"src":"saintz_8_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7875441.html","width":130,"caption":"","height":195});
															thumbnails[7971385] = clik.newPhoto({"id":7971385,"src":"Saintz_4_cropped_thumb.jpg","galleries_id":425059,"server_id":18,"link":"photo_7971385.html","width":130,"caption":"","height":153});
															thumbnails[7973899] = clik.newPhoto({"id":7973899,"src":"ANIMALIAN_COVER_June_2011_thumb.jpg","galleries_id":150651,"server_id":18,"link":"photo_7973899.html","width":130,"caption":"Original Cover Art for Volume I of debut novel for children.","height":171});
															thumbnails[8140959] = clik.newPhoto({"id":8140959,"src":"ROAD_album_cover_by_SDE_thumb.jpg","galleries_id":150651,"server_id":18,"link":"photo_8140959.html","width":130,"caption":"SDE designed album cover The Road Will Rise","height":130});
															thumbnails[8147921] = clik.newPhoto({"id":8147921,"src":"Herbie_Armstrong_at_The_Fountain_July_2011_thumb.jpg","galleries_id":29299,"server_id":18,"link":"photo_8147921.html","width":130,"caption":"Herbie Armstrong - The Fountain Inn [July 2011]","height":90});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[425059] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PRODUCTION stills","link":"gallery_425059.html","maxRecords":0.0,"photoIDs":[7873123.0,7873458.0,7873518.0,7873529.0,7874571.0,7875435.0,7875439.0,7875441.0,7971385.0],"skipIndex":0,"section_code":"gallery","featured_images":"7971385,7875441,7875439,7875435,7874571,7873529,7873518,7873458,7873123","id":425059,"singleSection":false});				  						galleries[279427] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SDE ","link":"gallery_279427.html","maxRecords":0.0,"photoIDs":[6089590.0,4903279.0,4903541.0,7582856.0],"skipIndex":0,"section_code":"gallery","featured_images":"7582856,6089590,4903541,4903279","id":279427,"singleSection":false});				  						galleries[150651] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Graphics","link":"gallery_150651.html","maxRecords":0.0,"photoIDs":[356864.0,5265663.0,7973899.0,8140959.0],"skipIndex":0,"section_code":"gallery","featured_images":"8140959,7973899,5265663,356864","id":150651,"singleSection":false});				  						galleries[58203] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Digital \/ Telematic","link":"gallery_58203.html","maxRecords":0.0,"photoIDs":[356337.0,754056.0,754062.0,2767843.0],"skipIndex":0,"section_code":"gallery","featured_images":"2767843,754062,754056,356337","id":58203,"singleSection":false});				  						galleries[47536] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Limited Edition Prints","link":"gallery_47536.html","maxRecords":0.0,"photoIDs":[360322.0,360323.0,360324.0,360325.0,360327.0,618115.0,618816.0,621565.0,1609483.0,3034725.0,3423465.0,3555749.0,3555807.0,3555813.0,3708004.0],"skipIndex":0,"section_code":"gallery","featured_images":"3708004,3555813,3555807,3555749,3423465,3034725,1609483,621565,618816,618115","id":47536,"singleSection":false});				  						galleries[47301] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Codagraphs #1","link":"gallery_47301.html","maxRecords":0.0,"photoIDs":[355029.0,360120.0,360121.0,360122.0,474259.0,482741.0,652246.0,654229.0,713128.0,730830.0,5074921.0,5074935.0],"skipIndex":0,"section_code":"gallery","featured_images":"5074935,5074921,730830,713128,654229,652246,482741,474259,360122,360121","id":47301,"singleSection":false});				  						galleries[47300] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Codagraphs #3","link":"gallery_47300.html","maxRecords":0.0,"photoIDs":[359995.0,618811.0,657861.0],"skipIndex":0,"section_code":"gallery","featured_images":"657861,618811,359995","id":47300,"singleSection":false});				  						galleries[47302] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Codagraphs #2","link":"gallery_47302.html","maxRecords":0.0,"photoIDs":[621080.0,657407.0],"skipIndex":0,"section_code":"gallery","featured_images":"657407,621080","id":47302,"singleSection":false});				  						galleries[29513] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Photo Essay","link":"gallery_29513.html","maxRecords":0.0,"photoIDs":[357143.0,357482.0,357631.0,357658.0,357763.0,357792.0,357798.0,357807.0,357813.0,357827.0],"skipIndex":0,"section_code":"gallery","featured_images":"357827,357813,357807,357798,357792,357763,357658,357631,357482,357143","id":29513,"singleSection":false});				  						galleries[29412] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Constructions & Found Objects","link":"gallery_29412.html","maxRecords":0.0,"photoIDs":[355026.0,356534.0,356902.0],"skipIndex":0,"section_code":"gallery","featured_images":"356902,356534,355026","id":29412,"singleSection":false});				  						galleries[29392] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Drawings","link":"gallery_29392.html","maxRecords":0.0,"photoIDs":[356857.0,356859.0,360242.0],"skipIndex":0,"section_code":"gallery","featured_images":"360242,356859,356857","id":29392,"singleSection":false});				  						galleries[29391] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Early Works","link":"gallery_29391.html","maxRecords":0.0,"photoIDs":[355024.0,355284.0,356567.0,356569.0,356573.0,356585.0,356589.0,356798.0],"skipIndex":0,"section_code":"gallery","featured_images":"356798,356589,356585,356573,356569,356567,355284,355024","id":29391,"singleSection":false});				  						galleries[29299] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Photographs","link":"gallery_29299.html","maxRecords":0.0,"photoIDs":[356535.0,356842.0,356861.0,2222873.0,2222917.0,2230544.0,2230645.0,8147921.0],"skipIndex":0,"section_code":"gallery","featured_images":"8147921,2230645,2230544,2222917,2222873,356861,356842,356535","id":29299,"singleSection":false});				  						galleries[29296] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Paintings","link":"gallery_29296.html","maxRecords":0.0,"photoIDs":[355021.0,356081.0,356085.0,653088.0],"skipIndex":0,"section_code":"gallery","featured_images":"653088,356085,356081,355021","id":29296,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '3555749,3423465';
imageSets[3] = '8147921,8140959,7973899,7971385,7875441,7875439,7875435,7874571,7873529,7873518,7873458,7873123,7582856,6089590,5265663,5074935,5074921,4903541,4903279,3708004,3555813,3555807,3555749,3423465,3422637,3034725,2767843,2231067,2230645,2230544,2222976,2222917,2222873,1609483,810348,808498,808472,808449,808447,754062,754056,730830,713130,713128,657861,657407,654229,653088,652246,621565';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/scripse/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/scripse/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/scripse/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/scripse/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/scripse/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/scripse/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/scripse/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/scripse/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Simon David Eden            MA Dist.[RCA]   : ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

