window.thumbnails = {};
															thumbnails[875304] = clik.newPhoto({"id":875304,"src":"CNV000101_thumb.JPG","galleries_id":66139,"server_id":18,"link":"photo_875304.html","width":130,"caption":"The Secret Garden - Sold","height":131});
															thumbnails[894847] = clik.newPhoto({"id":894847,"src":"Website_Memories_of_Avignon_-_Sold_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_894847.html","width":130,"caption":"Memories Of Avignon - Sold (Influenced by E. Chambre Hardman's photograph)","height":104});
															thumbnails[897766] = clik.newPhoto({"id":897766,"src":"Website_Luna_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897766.html","width":130,"caption":"Luna","height":196});
															thumbnails[897776] = clik.newPhoto({"id":897776,"src":"Website_Solar_-_sold_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897776.html","width":130,"caption":"Solar - Sold","height":195});
															thumbnails[897785] = clik.newPhoto({"id":897785,"src":"Website_Helter_-_skelter_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897785.html","width":130,"caption":"Helter Skelter","height":183});
															thumbnails[897793] = clik.newPhoto({"id":897793,"src":"Website_Observatory_2_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897793.html","width":130,"caption":"Observatory","height":184});
															thumbnails[897796] = clik.newPhoto({"id":897796,"src":"Website_Clouds_-_sold_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897796.html","width":130,"caption":"Clouds - Sold (Influenced by E. Chambre Hardman's photograph)","height":94});
															thumbnails[897803] = clik.newPhoto({"id":897803,"src":"CNV000031_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897803.html","width":130,"caption":"Ilkley 1896 - Sold","height":85});
															thumbnails[897807] = clik.newPhoto({"id":897807,"src":"CNV000042_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_897807.html","width":130,"caption":"The Birth Of The Ark Royal 1952 - Sold (Influenced by E. Chambre Hardman's photograph)  ","height":95});
															thumbnails[1485190] = clik.newPhoto({"id":1485190,"src":"Website_Solid_Geometry_1_thumb.jpg","galleries_id":66139,"server_id":18,"link":"photo_1485190.html","width":130,"caption":"Solid Geometry 1","height":129});
															thumbnails[5681054] = clik.newPhoto({"id":5681054,"src":"The_Chocolate_Shop_Churchtown_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_5681054.html","width":112,"caption":"The Chocolate Shop (Churchtown) - Sold (Commission) ","height":200});
															thumbnails[5681068] = clik.newPhoto({"id":5681068,"src":"Website_Duped_thumb.jpg","galleries_id":451503,"server_id":18,"link":"photo_5681068.html","width":130,"caption":"Duped - Sold","height":91});
															thumbnails[5681111] = clik.newPhoto({"id":5681111,"src":"Website_Birth_of_Time_thumb.jpg","galleries_id":75775,"server_id":18,"link":"photo_5681111.html","width":130,"caption":"Birth Of Time","height":86});
															thumbnails[5687328] = clik.newPhoto({"id":5687328,"src":"DSC01035_thumb.JPG","galleries_id":451503,"server_id":18,"link":"photo_5687328.html","width":130,"caption":"No Show Without Punch (The Cliché)","height":94});
															thumbnails[6354475] = clik.newPhoto({"id":6354475,"src":"GSearl-14-07-10-122_thumb.jpg","galleries_id":451503,"server_id":18,"link":"photo_6354475.html","width":130,"caption":"Duped 2 ","height":86});
															thumbnails[7305748] = clik.newPhoto({"id":7305748,"src":"GS27-10-10_003_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_7305748.html","width":130,"caption":"golfers ","height":98});
															thumbnails[8544966] = clik.newPhoto({"id":8544966,"src":"clouds_thumb.jpg","galleries_id":75775,"server_id":18,"link":"photo_8544966.html","width":130,"caption":"enigmatic skys","height":97});
															thumbnails[8544969] = clik.newPhoto({"id":8544969,"src":"fox_thumb.jpg","galleries_id":75775,"server_id":18,"link":"photo_8544969.html","width":130,"caption":"Mr fox","height":89});
															thumbnails[8544982] = clik.newPhoto({"id":8544982,"src":"island_thumb_1.jpg","galleries_id":75775,"server_id":18,"link":"photo_8544982.html","width":130,"caption":"Look North","height":99});
															thumbnails[9096916] = clik.newPhoto({"id":9096916,"src":"pic01_2_thumb.jpg","galleries_id":75775,"server_id":18,"link":"photo_9096916.html","width":130,"caption":"moth eaten","height":131});
															thumbnails[9096962] = clik.newPhoto({"id":9096962,"src":"pic02_2_thumb.jpg","galleries_id":75775,"server_id":18,"link":"photo_9096962.html","width":130,"caption":"silver penny","height":164});
															thumbnails[9096965] = clik.newPhoto({"id":9096965,"src":"pic02_framed_2_thumb.jpg","galleries_id":75775,"server_id":18,"link":"photo_9096965.html","width":130,"caption":"","height":155});
															thumbnails[879893] = clik.newPhoto({"id":879893,"src":"Website_Who_Ate_All_The_Pies_thumb.jpg","galleries_id":66135,"server_id":18,"link":"photo_879893.html","width":130,"caption":"Who Ate All The Pies","height":185});
															thumbnails[879896] = clik.newPhoto({"id":879896,"src":"Website_99_Red_Balloons_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_879896.html","width":130,"caption":"99 Red Balloons - Sold","height":90});
															thumbnails[883496] = clik.newPhoto({"id":883496,"src":"Website_Bringing_In_The_Harvets_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_883496.html","width":130,"caption":"Bringing In The Harvest - Sold","height":104});
															thumbnails[2271070] = clik.newPhoto({"id":2271070,"src":"Website_Gone_But_Not_Forgotten_-_Sold_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_2271070.html","width":130,"caption":"Gone But Not Forgotten - Sold","height":89});
															thumbnails[2732460] = clik.newPhoto({"id":2732460,"src":"Website_Creative_Creatures1_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_2732460.html","width":130,"caption":"Creative Creatures - Sold","height":92});
															thumbnails[7868129] = clik.newPhoto({"id":7868129,"src":"Website_Hearts_of_Gold123_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_7868129.html","width":130,"caption":"Hearts Of Gold - Sold","height":91});
															thumbnails[875274] = clik.newPhoto({"id":875274,"src":"Website_Seeing_double_-_sold_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_875274.html","width":130,"caption":"Seeing Double - Sold","height":103});
															thumbnails[879887] = clik.newPhoto({"id":879887,"src":"Website_Puzzle_of_love_-_sold_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879887.html","width":130,"caption":"The Three Little Pigs - Sold","height":100});
															thumbnails[879891] = clik.newPhoto({"id":879891,"src":"Website_The_Greedy_Pig_thumb.jpg","galleries_id":66135,"server_id":18,"link":"photo_879891.html","width":130,"caption":"The Greedy Pig","height":185});
															thumbnails[881504] = clik.newPhoto({"id":881504,"src":"Website_40_Red_Balloons_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_881504.html","width":130,"caption":"40 Red Balloons - Sold","height":90});
															thumbnails[883539] = clik.newPhoto({"id":883539,"src":"CNV000011_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_883539.html","width":130,"caption":"The Potato Pickers - Sold","height":105});
															thumbnails[1485168] = clik.newPhoto({"id":1485168,"src":"Website_Picture_Yourself_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_1485168.html","width":130,"caption":"Picture Yourself - Sold","height":92});
															thumbnails[875279] = clik.newPhoto({"id":875279,"src":"Website_Flight_of_fancy1_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_875279.html","width":130,"caption":"Flight Of Fancy","height":102});
															thumbnails[879858] = clik.newPhoto({"id":879858,"src":"Image 017_thumb.tif1.jpg","galleries_id":66131,"server_id":18,"link":"photo_879858.html","width":130,"caption":"Puzzle Of Love - Sold","height":107});
															thumbnails[881500] = clik.newPhoto({"id":881500,"src":"Image 008_thumb.tif1.jpg","galleries_id":66135,"server_id":18,"link":"photo_881500.html","width":103,"caption":"Mother And Daughter","height":200});
															thumbnails[883491] = clik.newPhoto({"id":883491,"src":"Website_The_Last_Family_-_Sold_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_883491.html","width":130,"caption":"The Last Family - Sold","height":125});
															thumbnails[883499] = clik.newPhoto({"id":883499,"src":"CNV000051_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_883499.html","width":130,"caption":"Blue Golfer - Sold","height":165});
															thumbnails[2957893] = clik.newPhoto({"id":2957893,"src":"Website_The_Oncoming_Storm_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_2957893.html","width":130,"caption":"The Oncoming Storm - Sold (Influenced by E. Chambre Hardman's photograph)","height":86});
															thumbnails[875285] = clik.newPhoto({"id":875285,"src":"CNV000071_thumb.JPG","galleries_id":66134,"server_id":18,"link":"photo_875285.html","width":130,"caption":"The Three Kings - Sold","height":71});
															thumbnails[879869] = clik.newPhoto({"id":879869,"src":"Website_Fairground_attraction_-_sold_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879869.html","width":130,"caption":"Fairground Attraction - Sold","height":98});
															thumbnails[881498] = clik.newPhoto({"id":881498,"src":"Image 007_thumb.tif1.jpg","galleries_id":66135,"server_id":18,"link":"photo_881498.html","width":102,"caption":"Father And Son","height":200});
															thumbnails[883503] = clik.newPhoto({"id":883503,"src":"CNV000061_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_883503.html","width":130,"caption":"Yellow Golfer - Sold","height":167});
															thumbnails[1012493] = clik.newPhoto({"id":1012493,"src":"Website_Three_Red_Giraffes_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_1012493.html","width":130,"caption":"Taking A Dip - Sold","height":102});
															thumbnails[2957951] = clik.newPhoto({"id":2957951,"src":"Website_Bable_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_2957951.html","width":130,"caption":"Bable","height":130});
															thumbnails[875297] = clik.newPhoto({"id":875297,"src":"CNV000091_thumb.JPG","galleries_id":66134,"server_id":18,"link":"photo_875297.html","width":130,"caption":"Inshaw's Garden - Sold","height":103});
															thumbnails[879873] = clik.newPhoto({"id":879873,"src":"Website_Dont_hide_your_love_-_sold_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879873.html","width":130,"caption":"Don't Hide Your Love - Sold","height":97});
															thumbnails[881475] = clik.newPhoto({"id":881475,"src":"Website_21_Blue_Kites_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_881475.html","width":130,"caption":"21 Blue Kites","height":174});
															thumbnails[881501] = clik.newPhoto({"id":881501,"src":"Image 004_thumb.tif1.jpg","galleries_id":66135,"server_id":18,"link":"photo_881501.html","width":130,"caption":"Pig In Red Boat - Sold","height":85});
															thumbnails[883373] = clik.newPhoto({"id":883373,"src":"Image 033_thumb.tif1.jpg","galleries_id":66136,"server_id":18,"link":"photo_883373.html","width":130,"caption":"This Sceptred Isle - Sold","height":134});
															thumbnails[4741381] = clik.newPhoto({"id":4741381,"src":"Website_Beach_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_4741381.html","width":130,"caption":"The Beach Babe ","height":198});
															thumbnails[871973] = clik.newPhoto({"id":871973,"src":"Website_Observatory_2_-_sold_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_871973.html","width":130,"caption":"Observatory - Sold","height":143});
															thumbnails[875429] = clik.newPhoto({"id":875429,"src":"CNV000111_thumb.JPG","galleries_id":66134,"server_id":18,"link":"photo_875429.html","width":130,"caption":"Unsure Intentions - Sold","height":132});
															thumbnails[879880] = clik.newPhoto({"id":879880,"src":"Website_When_Love_Leaves_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879880.html","width":130,"caption":"When Love Leaves - Sold","height":92});
															thumbnails[881490] = clik.newPhoto({"id":881490,"src":"Image 012_thumb.tif1.jpg","galleries_id":66135,"server_id":18,"link":"photo_881490.html","width":130,"caption":"Pig In Pink Boat - Sold","height":87});
															thumbnails[881502] = clik.newPhoto({"id":881502,"src":"21_Pink_Balloons_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_881502.html","width":130,"caption":"21 Pink Balloons","height":175});
															thumbnails[2097740] = clik.newPhoto({"id":2097740,"src":"image 047_thumb.tif.jpg","galleries_id":66138,"server_id":18,"link":"photo_2097740.html","width":130,"caption":"Memories Of Avignon 2 - Sold (Commission - Influenced by E. Chambre Hardman's photograph)    ","height":104});
															thumbnails[879823] = clik.newPhoto({"id":879823,"src":"Website_Full_Maggies_Garden_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_879823.html","width":130,"caption":"Maggie's Garden - Sold","height":131});
															thumbnails[879882] = clik.newPhoto({"id":879882,"src":"Website_Love_Is_In_The_Air_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879882.html","width":130,"caption":"Love Is In The Air - Sold","height":92});
															thumbnails[881479] = clik.newPhoto({"id":881479,"src":"Image 032_thumb.tif1.jpg","galleries_id":66135,"server_id":18,"link":"photo_881479.html","width":130,"caption":"Life Is Not A Bowl Of Cherries - Sold","height":102});
															thumbnails[881505] = clik.newPhoto({"id":881505,"src":"Website_Jacobs_Ladder_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_881505.html","width":130,"caption":"Jacob's Ladder  (Influenced by E. Chambre Hardman's photograph)","height":129});
															thumbnails[883572] = clik.newPhoto({"id":883572,"src":"Website_Trainspotting_-_Sold_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_883572.html","width":130,"caption":"Trainspotting - Sold","height":91});
															thumbnails[3465610] = clik.newPhoto({"id":3465610,"src":"Website_Flawed_Perfection_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_3465610.html","width":130,"caption":"Flawed Perfection","height":116});
															thumbnails[879867] = clik.newPhoto({"id":879867,"src":"Website_Ancient_love_-_sold_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879867.html","width":130,"caption":"Ancient Love - Sold","height":97});
															thumbnails[881476] = clik.newPhoto({"id":881476,"src":"Website_Scrumping_thumb.jpg","galleries_id":66135,"server_id":18,"link":"photo_881476.html","width":130,"caption":"Scrumping - Sold","height":92});
															thumbnails[881506] = clik.newPhoto({"id":881506,"src":"Image 022_thumb.tif1.jpg","galleries_id":66137,"server_id":18,"link":"photo_881506.html","width":130,"caption":"Needle In A Haystack (Influenced by E. Chambre Hardman's photograph)","height":135});
															thumbnails[2374502] = clik.newPhoto({"id":2374502,"src":"Lols_Dream_-_Sold_thumb.jpg","galleries_id":66138,"server_id":18,"link":"photo_2374502.html","width":130,"caption":"Lol's Dream - Sold (Commission)","height":103});
															thumbnails[4436827] = clik.newPhoto({"id":4436827,"src":"Paradise_Lost_SOLD12_thumb.JPG","galleries_id":66136,"server_id":18,"link":"photo_4436827.html","width":130,"caption":"Paradise Lost - Sold","height":116});
															thumbnails[4436967] = clik.newPhoto({"id":4436967,"src":"Website_Birth_Of_The_Balloons_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_4436967.html","width":130,"caption":"Birth Of The Balloons","height":86});
															thumbnails[875243] = clik.newPhoto({"id":875243,"src":"Website_Purple_Rain_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_875243.html","width":130,"caption":"Purple Rain ","height":130});
															thumbnails[875256] = clik.newPhoto({"id":875256,"src":"Searl painting 6_thumb.TIF1.jpg","galleries_id":66134,"server_id":18,"link":"photo_875256.html","width":130,"caption":"Seven Seas Of Love - Sold","height":79});
															thumbnails[879888] = clik.newPhoto({"id":879888,"src":"Image 013_thumb.tif1.jpg","galleries_id":66131,"server_id":18,"link":"photo_879888.html","width":130,"caption":"The Game Of Love - Sold","height":108});
															thumbnails[1559514] = clik.newPhoto({"id":1559514,"src":"Website_Big_Geometry_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_1559514.html","width":130,"caption":"Big Geometry","height":131});
															thumbnails[1786964] = clik.newPhoto({"id":1786964,"src":"Website_Natural_History_Of_The_Alchemist_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_1786964.html","width":130,"caption":"Natural History Of The Alchemist","height":104});
															thumbnails[875267] = clik.newPhoto({"id":875267,"src":"Website_Fishing_for_the_answer_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_875267.html","width":130,"caption":"Fishing For The Answer","height":77});
															thumbnails[879860] = clik.newPhoto({"id":879860,"src":"Website_I_Spy_Love_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879860.html","width":130,"caption":"I Spy Love","height":130});
															thumbnails[1559508] = clik.newPhoto({"id":1559508,"src":"Website_Solid_Geometry_2_thumb.jpg","galleries_id":66137,"server_id":18,"link":"photo_1559508.html","width":130,"caption":"Solid Geometry 2","height":127});
															thumbnails[3465594] = clik.newPhoto({"id":3465594,"src":"Website_Spaceman_The_Dream_Maker_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_3465594.html","width":130,"caption":"Spaceman The Dream Maker","height":82});
															thumbnails[879810] = clik.newPhoto({"id":879810,"src":"Website_Lilac_balloons_over_L1.A_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_879810.html","width":130,"caption":"Lilac Balloons Over L.A. - Sold","height":87});
															thumbnails[881507] = clik.newPhoto({"id":881507,"src":"Website_The_Sandmen_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_881507.html","width":130,"caption":"The Sandmen - Sold","height":164});
															thumbnails[883382] = clik.newPhoto({"id":883382,"src":"Website_The_Egg_Collection_-_Sold_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_883382.html","width":130,"caption":"The Egg Collection (As featured on Channel Five's The Big Art Challenge) - Sold","height":182});
															thumbnails[4436898] = clik.newPhoto({"id":4436898,"src":"Website_Blue_Heart_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_4436898.html","width":130,"caption":"Blue Heart","height":129});
															thumbnails[872035] = clik.newPhoto({"id":872035,"src":"Website_Land_Of_Nod_-_Sold_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_872035.html","width":130,"caption":"Land Of Nod - Sold","height":165});
															thumbnails[931338] = clik.newPhoto({"id":931338,"src":"Website_Harm_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_931338.html","width":130,"caption":"Harm","height":104});
															thumbnails[4436879] = clik.newPhoto({"id":4436879,"src":"Website_Purple_Heart_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_4436879.html","width":130,"caption":"Purple Heart","height":132});
															thumbnails[879844] = clik.newPhoto({"id":879844,"src":"Website_Love_On_The_Rocks_thumb.jpg","galleries_id":66131,"server_id":18,"link":"photo_879844.html","width":130,"caption":"Love On The Rocks - Sold","height":186});
															thumbnails[883408] = clik.newPhoto({"id":883408,"src":"Website_The_Hurting_thumb.jpg","galleries_id":66136,"server_id":18,"link":"photo_883408.html","width":130,"caption":"The Hurting - Sold","height":43});
															thumbnails[875291] = clik.newPhoto({"id":875291,"src":"CNV000081_thumb.JPG","galleries_id":66134,"server_id":18,"link":"photo_875291.html","width":130,"caption":"The Seven Sins - Sold","height":134});
															thumbnails[4065207] = clik.newPhoto({"id":4065207,"src":"Seven_Sins_Of_Men_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_4065207.html","width":130,"caption":"Seven Sins Of Man","height":130});
															thumbnails[4065210] = clik.newPhoto({"id":4065210,"src":"Website_Seven_Sins_Of_Women_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_4065210.html","width":130,"caption":"Seven Sins Of Women","height":130});
															thumbnails[2097741] = clik.newPhoto({"id":2097741,"src":"Website_Spring_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_2097741.html","width":130,"caption":" Spring - Sold","height":200});
															thumbnails[2097746] = clik.newPhoto({"id":2097746,"src":"Website_Autumn_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_2097746.html","width":129,"caption":"Autumn - Sold","height":200});
															thumbnails[2271083] = clik.newPhoto({"id":2271083,"src":"Website_Summer_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_2271083.html","width":130,"caption":"Summer - Sold","height":196});
															thumbnails[2374505] = clik.newPhoto({"id":2374505,"src":"Website_Winter_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_2374505.html","width":130,"caption":"Winter - Sold","height":195});
															thumbnails[4065199] = clik.newPhoto({"id":4065199,"src":"Sweet_Delights1_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_4065199.html","width":116,"caption":"Sweet Delights","height":200});
															thumbnails[4065203] = clik.newPhoto({"id":4065203,"src":"The_Chocolate_House_thumb.jpg","galleries_id":66134,"server_id":18,"link":"photo_4065203.html","width":118,"caption":"The Chocolate House - Sold","height":200});
															thumbnails[7867917] = clik.newPhoto({"id":7867917,"src":"Website_Hearts_of_Gold12_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7867917.html","width":130,"caption":"Hearts Of Gold","height":91});
															thumbnails[7186558] = clik.newPhoto({"id":7186558,"src":"Website_Creative_Creatures_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7186558.html","width":130,"caption":"Creative Creatures","height":92});
															thumbnails[7868265] = clik.newPhoto({"id":7868265,"src":"Website_Duped1_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868265.html","width":130,"caption":"Duped","height":91});
															thumbnails[7868282] = clik.newPhoto({"id":7868282,"src":"Website_Love_Is_In_The_Air1_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868282.html","width":130,"caption":"Love Is In The Air","height":92});
															thumbnails[7868327] = clik.newPhoto({"id":7868327,"src":"Website_When_Love_Leaves12_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868327.html","width":130,"caption":"When Love Leaves","height":92});
															thumbnails[7868326] = clik.newPhoto({"id":7868326,"src":"Website_Scrumping12_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868326.html","width":130,"caption":"Scrumping","height":92});
															thumbnails[7868307] = clik.newPhoto({"id":7868307,"src":"Website_Love_On_The_Rocks1_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868307.html","width":130,"caption":"Looking For Love","height":186});
															thumbnails[7868313] = clik.newPhoto({"id":7868313,"src":"Website_Maggies_Garden_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868313.html","width":130,"caption":"Maggie's Garden","height":185});
															thumbnails[7868318] = clik.newPhoto({"id":7868318,"src":"Website_The_Greedy_Pig1_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868318.html","width":130,"caption":"The Greedy Pig","height":185});
															thumbnails[7868325] = clik.newPhoto({"id":7868325,"src":"Website_Who_Ate_All_The_Pies1_thumb.jpg","galleries_id":424573,"server_id":18,"link":"photo_7868325.html","width":130,"caption":"Who Ate All The Pies","height":185});
															thumbnails[8545078] = clik.newPhoto({"id":8545078,"src":"31_bands_thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_8545078.html","width":130,"caption":"31 bands of liverpool","height":57});
															thumbnails[7093754] = clik.newPhoto({"id":7093754,"src":"Recoloured_One_Love_One_Life_One_Liverpool_thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_7093754.html","width":130,"caption":"One Love One Life One Liverpool","height":89});
															thumbnails[7908552] = clik.newPhoto({"id":7908552,"src":"Website_Hamilton_Square_thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_7908552.html","width":130,"caption":"One Love, One Life, One Liverpool - James Street Railway Station","height":84});
															thumbnails[7305736] = clik.newPhoto({"id":7305736,"src":"1The_Madness_Of_King_John_thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_7305736.html","width":130,"caption":"The Madness Of King John","height":68});
															thumbnails[7906348] = clik.newPhoto({"id":7906348,"src":"Website_The_Madness_Of_King_John_-_Lime_Street_Station__thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_7906348.html","width":130,"caption":"The Madness Of King John - Liverpool Lime Street Railway Station","height":87});
															thumbnails[7865242] = clik.newPhoto({"id":7865242,"src":"6Garden_Of_Icons_thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_7865242.html","width":130,"caption":"Garden Of Icons","height":90});
															thumbnails[7908474] = clik.newPhoto({"id":7908474,"src":"Website_Hamilton_Square__thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_7908474.html","width":130,"caption":"Garden Of Icons - Hamilton Square Railway Station","height":98});
															thumbnails[8174067] = clik.newPhoto({"id":8174067,"src":"Website_The_Birth_Of_Liverpool_thumb.jpg","galleries_id":397794,"server_id":18,"link":"photo_8174067.html","width":130,"caption":"The Birth Of Liverpool","height":51});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[424573] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Greetings Cards","link":"section509459.html","maxRecords":0.0,"photoIDs":[7867917.0,7186558.0,7868265.0,7868282.0,7868327.0,7868326.0,7868307.0,7868313.0,7868318.0,7868325.0],"skipIndex":0,"section_code":"section509459","featured_images":"7868327,7868326,7868325,7868318,7868313,7868307,7868282,7868265,7867917,7186558","id":424573,"singleSection":true});				  						galleries[397794] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Merseytravel","link":"section473748.html","maxRecords":0.0,"photoIDs":[8545078.0,7093754.0,7908552.0,7305736.0,7906348.0,7865242.0,7908474.0,8174067.0],"skipIndex":0,"section_code":"section473748","featured_images":"8545078,7865242,7305736,7093754","id":397794,"singleSection":true});				  						galleries[451503] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"topiary gardens","link":"gallery_451503.html","maxRecords":0.0,"photoIDs":[5681068.0,5687328.0,6354475.0],"skipIndex":0,"section_code":"gallery","featured_images":"6354475,5687328,5681068","id":451503,"singleSection":false});				  						galleries[75775] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"New Works","link":"gallery_75775.html","maxRecords":0.0,"photoIDs":[5681111.0,8544966.0,8544969.0,8544982.0,9096916.0,9096962.0,9096965.0],"skipIndex":0,"section_code":"gallery","featured_images":"9096965,9096962,9096916,8544982,8544969,8544966,5681111","id":75775,"singleSection":false});				  						galleries[66131] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Romantic Hearts","link":"gallery_66131.html","maxRecords":0.0,"photoIDs":[7868129.0,879887.0,879858.0,879869.0,879873.0,879880.0,879882.0,879867.0,879888.0,879860.0,4436898.0,4436879.0,879844.0],"skipIndex":0,"section_code":"gallery","featured_images":"879888,879887,879882,879880,879873,879869,879867,879860,879844","id":66131,"singleSection":false});				  						galleries[66134] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Balloons & Kites","link":"gallery_66134.html","maxRecords":0.0,"photoIDs":[5681054.0,2271070.0,875274.0,875279.0,875285.0,875297.0,875429.0,879823.0,4436967.0,875256.0,875267.0,879810.0,881507.0,872035.0,875291.0,4065207.0,4065210.0,2097741.0,2097746.0,2271083.0,2374505.0,4065199.0,4065203.0],"skipIndex":0,"section_code":"gallery","featured_images":"5681054,4436967,4065210,4065207,4065203,4065199,2271083,2271070,2097746,2097741,881507,879823,879810,875429,875291,875279,875274,875267,875256,872035","id":66134,"singleSection":false});				  						galleries[66135] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pigs","link":"gallery_66135.html","maxRecords":0.0,"photoIDs":[879893.0,879891.0,881500.0,881498.0,881501.0,881490.0,881479.0,881476.0],"skipIndex":0,"section_code":"gallery","featured_images":"881479,881476,879893,879891","id":66135,"singleSection":false});				  						galleries[66136] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fantastical","link":"gallery_66136.html","maxRecords":0.0,"photoIDs":[2732460.0,1485168.0,883491.0,2957951.0,883373.0,871973.0,3465610.0,4436827.0,875243.0,1786964.0,3465594.0,883382.0,931338.0,883408.0],"skipIndex":0,"section_code":"gallery","featured_images":"4436827,3465610,3465594,2957951,2732460,1786964,1485168,931338,883491,883382,883373,871973","id":66136,"singleSection":false});				  						galleries[66137] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Two Colour","link":"gallery_66137.html","maxRecords":0.0,"photoIDs":[879896.0,881504.0,2957893.0,1012493.0,881475.0,881502.0,881505.0,881506.0,1559514.0,1559508.0],"skipIndex":0,"section_code":"gallery","featured_images":"2957893,1012493,881506,881505,881504,881475,879896","id":66137,"singleSection":false});				  						galleries[66138] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Figurative","link":"gallery_66138.html","maxRecords":0.0,"photoIDs":[7305748.0,883496.0,883539.0,883499.0,883503.0,4741381.0,2097740.0,883572.0,2374502.0],"skipIndex":0,"section_code":"gallery","featured_images":"7305748,4741381,2097740,883539,883499,883496","id":66138,"singleSection":false});				  						galleries[66139] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Early Works","link":"gallery_66139.html","maxRecords":0.0,"photoIDs":[875304.0,894847.0,897766.0,897776.0,897785.0,897793.0,897796.0,897803.0,897807.0,1485190.0],"skipIndex":0,"section_code":"gallery","featured_images":"1485190,897807,897803,894847","id":66139,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[242402] = '7867917,7186558,7868265,7868282,7868327,7868326,7868307,7868313,7868318,7868325';
imageSets[242401] = '7868129';
imageSets[1] = '9096965,9096962,9096916,8545078,8544982,8544969,8544966,7305748,6354475,5687328,5681111,5681068,5681054,1485190,897807,897803,894847,7868129,7867917,7093754,2732460,2271070,883496,879896,879893,7186558,1485168,883539,881504,879891,879887,875274,7868265,7305736,2957893,883491,875279,7868282,2957951,1012493,879869,7868327,7865242,4741381,883373,879873,7868326,2097740,879880,875429,871973,7868307,3465610,881505,881479,879882,879823,7868313,4436967,4436827,881506,881476,879867,7868318,1786964,879888,875256,7868325,3465594,879860,875267,879810,883382,931338,883408,879844,4065207,4065210,2097741,2271083,2097746,4065199,4065203';
imageSets[2] = '9096965,9096962,9096916,8545078,8544982,8544969,8544966,7305748,6354475,5687328,5681111,5681068,5681054,1485190,897807,897803,894847,7093754,2732460,2271070,883496,879896,879893,1485168,883539,881504,879891,879887,875274,7305736,2957893,883499,883491,875279,2957951,1012493,879869,7865242,4741381,883373,881475,879873,2097740,879880,875429,871973,3465610,881505,881479,879882,879823,4436967,4436827,881506,881476,879867,1786964,879888,875256,3465594,879860,875267,879810,883382,881507,931338,872035,879844,875291,4065207,4065210,2097741,2271083,2097746,4065199,4065203';
imageSets[3] = '9096965,9096962,8545078,8544982,8544969,8544966,7305748,6354475,5687328,5681111,5681068,5681054,7093754,7305736,7865242,4741381,4436967,4436827';
imageSets[238176] = '8545078,7093754,7908552,7305736,7906348,7865242,7908474,8174067';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/grantsearlart/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/grantsearlart/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 = 'Grant Searl Art: ' + 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;
	}
}

			

