window.thumbnails = {};
															thumbnails[2026008] = clik.newPhoto({"id":2026008,"src":"sasha1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"picture by www.dewerstonephotography.co.uk","height":99});
															thumbnails[2297231] = clik.newPhoto({"id":2297231,"src":"Oscar at Castle Pic_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Oscar in Scotland on holiday","height":124});
															thumbnails[2297241] = clik.newPhoto({"id":2297241,"src":"Oscar Bath Ch Show 2004_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Oscar at Bath Championship show 2004.","height":116});
															thumbnails[2297243] = clik.newPhoto({"id":2297243,"src":"Ruben 2004 Bath Ch Show 1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Ruben at Bath Championship show 2004","height":136});
															thumbnails[2297246] = clik.newPhoto({"id":2297246,"src":"Ruben Scotland_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Ruben in Scotland on holiday.","height":130});
															thumbnails[2297250] = clik.newPhoto({"id":2297250,"src":"Ruben 2004 Bath Ch Show 2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Ruben at Bath Championship show 2004","height":113});
															thumbnails[2297254] = clik.newPhoto({"id":2297254,"src":"Sasha on the move_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Sasha at Royal Cornwall Showground 2008.<br>\r\nPhoto by Dewerstone Photography.","height":92});
															thumbnails[2297271] = clik.newPhoto({"id":2297271,"src":"Sasha Show Pose 1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Sasha at Royal Cornwall Showground 2008.<br>\r\nPhoto by Dewerstone Photography.","height":120});
															thumbnails[3428475] = clik.newPhoto({"id":3428475,"src":"Commssion-vinyl_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":90});
															thumbnails[3429126] = clik.newPhoto({"id":3429126,"src":"Printer_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":88});
															thumbnails[2018655] = clik.newPhoto({"id":2018655,"src":"Edit devon dubs_thumb.jpg","galleries_id":135326,"server_id":1,"link":"photo_2018655.html","width":130,"caption":"Devon Dubs banner. A local Devon car club.  The banner was used for their club stand at car club events.","height":98});
															thumbnails[2025949] = clik.newPhoto({"id":2025949,"src":"Edit red boat_thumb.jpg","galleries_id":135332,"server_id":1,"link":"photo_2025949.html","width":130,"caption":"On this selection of boat pictures you can see the vinyl lettering being applied to the boat.","height":153});
															thumbnails[2025950] = clik.newPhoto({"id":2025950,"src":"Edit orange bike_thumb.jpg","galleries_id":135325,"server_id":1,"link":"photo_2025950.html","width":130,"caption":"KTM SuperMoto dirt bike with a private commision of Garfield and Odie graphics.  The bike also has mirror finished chrome vinyl lettering for advertising applied to the side plastics under the seats.  The graphics were applied and covered with a protective layer finish to protect the graphics in off road conditions.","height":205});
															thumbnails[2025959] = clik.newPhoto({"id":2025959,"src":"Edit boat pamela_thumb.jpg","galleries_id":135332,"server_id":1,"link":"photo_2025959.html","width":130,"caption":"We have done varied boat lettering for all types of boats and marine crafts including jet ski's.","height":207});
															thumbnails[2025961] = clik.newPhoto({"id":2025961,"src":"Edit horse box_thumb.jpg","galleries_id":135332,"server_id":1,"link":"photo_2025961.html","width":130,"caption":"The horses heads on the horse box are cut in holographic vinyl.","height":205});
															thumbnails[2026057] = clik.newPhoto({"id":2026057,"src":"Green Directional Sign_thumb.JPG","galleries_id":135328,"server_id":1,"link":"photo_2026057.html","width":130,"caption":"Ken Smith Canine Supplies Directional Sign.","height":173});
															thumbnails[2038185] = clik.newPhoto({"id":2038185,"src":"banner-dewerstone_thumb.jpg","galleries_id":135326,"server_id":1,"link":"photo_2038185.html","width":130,"caption":"Dewerstone Photography Banner.  The banner is used to advertise that the photographer is covering that particular event where the banner is displayed.","height":87});
															thumbnails[2297056] = clik.newPhoto({"id":2297056,"src":"Yellow Directional Sign_thumb.JPG","galleries_id":135328,"server_id":1,"link":"photo_2297056.html","width":130,"caption":"Goonhavern Obedience Dog Club directional sign at the Royal Cornwall Showground 2008.","height":98});
															thumbnails[2750817] = clik.newPhoto({"id":2750817,"src":"Black Directional Sign_thumb.JPG","galleries_id":135328,"server_id":1,"link":"photo_2750817.html","width":130,"caption":"Bodmin & District Canine Society<br>\r\nDirectional Sign in Black.","height":98});
															thumbnails[2815537] = clik.newPhoto({"id":2815537,"src":"Plymouth & Dist Canine Society Directional Sign (A)_thumb.JPG","galleries_id":135328,"server_id":1,"link":"photo_2815537.html","width":130,"caption":"Plymouth and District Canine Society Directional Sign in a black frame with pink vinyl for the background and black lettering.","height":98});
															thumbnails[2816169] = clik.newPhoto({"id":2816169,"src":"SD Pop Up Banner 1_thumb.jpg","galleries_id":135326,"server_id":1,"link":"photo_2816169.html","width":130,"caption":"Stand up Banner prited by Showscene Designs<br>\r\nfor our trade stand.","height":246});
															thumbnails[3044587] = clik.newPhoto({"id":3044587,"src":"Pristine Clean Plus product front & rear labels_thumb.jpg","galleries_id":187313,"server_id":1,"link":"photo_3044587.html","width":130,"caption":"Pristine Clean - Plus label for plastic bottles.  Front label (93mm x 76mm). Back label (93mm x 76mm).","height":306});
															thumbnails[3044614] = clik.newPhoto({"id":3044614,"src":"Pristine Clean product front & rear labels_thumb.jpg","galleries_id":187313,"server_id":1,"link":"photo_3044614.html","width":130,"caption":"Pristine Clean label.  Front and back labels measure (65mm x 49mm).","height":336});
															thumbnails[3239568] = clik.newPhoto({"id":3239568,"src":"P1010159 (2)_thumb.JPG","galleries_id":175885,"server_id":1,"link":"photo_3239568.html","width":130,"caption":"Private commision of a 17 month old Great Dane.","height":173});
															thumbnails[3239600] = clik.newPhoto({"id":3239600,"src":"P1010155 (2)_thumb.JPG","galleries_id":175885,"server_id":1,"link":"photo_3239600.html","width":130,"caption":"Tibetan Spaniel private commision.","height":104});
															thumbnails[3239605] = clik.newPhoto({"id":3239605,"src":"P1010157 (2)_thumb.JPG","galleries_id":175885,"server_id":1,"link":"photo_3239605.html","width":130,"caption":"Tibetan Spaniel private commision.","height":98});
															thumbnails[3239613] = clik.newPhoto({"id":3239613,"src":"P1010158 (2)_thumb.JPG","galleries_id":175885,"server_id":1,"link":"photo_3239613.html","width":130,"caption":"Side view of Art Block print.  ","height":500});
															thumbnails[3239634] = clik.newPhoto({"id":3239634,"src":"P1010162 (2)_thumb.JPG","galleries_id":175885,"server_id":1,"link":"photo_3239634.html","width":130,"caption":"Reverse view of a finished Art Block print.","height":150});
															thumbnails[3588757] = clik.newPhoto({"id":3588757,"src":"Irish_Wolfhound_Ch_Show_2009_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3588757.html","width":130,"caption":"Irish Wolfhound Championship Show.","height":174});
															thumbnails[3588790] = clik.newPhoto({"id":3588790,"src":"South_Western_Toy_Dog_Club_2_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3588790.html","width":130,"caption":"South Western Toy Dog Club.","height":90});
															thumbnails[5293543] = clik.newPhoto({"id":5293543,"src":"Shirt_1_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5293543.html","width":130,"caption":"Rhinestone lettering placed onto a t-shirt using a standard font","height":180});
															thumbnails[5293570] = clik.newPhoto({"id":5293570,"src":"Shirt_2_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5293570.html","width":130,"caption":"This sweatshirt with a zip at the neck shows a Rhinestone poodle with the owners affix below in the owners choice of font.","height":180});
															thumbnails[5293574] = clik.newPhoto({"id":5293574,"src":"Shirt_3_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5293574.html","width":130,"caption":"This picture is of just a Rhinestone dog on a black sweatshirt with a round neck.","height":180});
															thumbnails[5293577] = clik.newPhoto({"id":5293577,"src":"Shirt_4_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5293577.html","width":130,"caption":"This T-Shirt is of lettering produced with mirror finished gold vinyl.  ","height":180});
															thumbnails[5293586] = clik.newPhoto({"id":5293586,"src":"Shirt_5_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5293586.html","width":130,"caption":"This t-shirt is of different colourd vinyl lettering placed on another area on the shirt.","height":180});
															thumbnails[5293802] = clik.newPhoto({"id":5293802,"src":"Travel_mugs_thumb.jpg","galleries_id":210196,"server_id":1,"link":"photo_5293802.html","width":130,"caption":"Here in this picture is travel mugs produced for the Devon Search and Rescue Team.  They also had car stickers and keyrings too.","height":94});
															thumbnails[5293829] = clik.newPhoto({"id":5293829,"src":"Bags_thumb.jpg","galleries_id":297776,"server_id":1,"link":"photo_5293829.html","width":130,"caption":"This picture shows two bags that I have designed for a customer, a Rhinestone design  on the left and the other has a vinyl design.  Both bags are conference bags of 11ltr capacity with a flap that is secured by two velcro tabs.  I can also supply another style of bag which is opened by a zip at the top which is also a 11ltr capacity.  I have diferent colours in both styles.","height":94});
															thumbnails[5462006] = clik.newPhoto({"id":5462006,"src":"The_Pointer_Club_Car_Award_Sticker_Proof_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_5462006.html","width":130,"caption":"The Pointer Club CC winners car sticker and the Best Puppy in Breed car sticker.","height":83});
															thumbnails[5462013] = clik.newPhoto({"id":5462013,"src":"Cap_2_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5462013.html","width":130,"caption":"Cap with rhinestone lettering","height":94});
															thumbnails[5462016] = clik.newPhoto({"id":5462016,"src":"caps_1_thumb.jpg","galleries_id":297764,"server_id":1,"link":"photo_5462016.html","width":130,"caption":"A selection of caps with rhinestone designs on, the black cap has vinyl lettering.","height":94});
															thumbnails[5477257] = clik.newPhoto({"id":5477257,"src":"DSC_0699_2_thumb.JPG","galleries_id":297776,"server_id":1,"link":"photo_5477257.html","width":130,"caption":"This picture is of a wash bag with a rhinestone afghan hound on. The wash bags come in 4 colours.","height":93});
															thumbnails[5477281] = clik.newPhoto({"id":5477281,"src":"DSC_0700_2_thumb.JPG","galleries_id":297776,"server_id":1,"link":"photo_5477281.html","width":130,"caption":"","height":163});
															thumbnails[5477290] = clik.newPhoto({"id":5477290,"src":"The_Pointer_Club_Banner_Proof_Ca_ADD2720C-24E8-5EC4-4F74D3F4ACFC2C7E_thumb.jpg","galleries_id":135326,"server_id":1,"link":"photo_5477290.html","width":130,"caption":"The Pointer Club Banner.","height":43});
															thumbnails[5477291] = clik.newPhoto({"id":5477291,"src":"Goonhavern_Banner_Proof_thumb.jpg","galleries_id":135326,"server_id":1,"link":"photo_5477291.html","width":130,"caption":"The Goonhavern Canine Training Club Banner.","height":66});
															thumbnails[5477295] = clik.newPhoto({"id":5477295,"src":"Mandys_Must_Haves_Banner_Proof_thumb.jpg","galleries_id":135326,"server_id":1,"link":"photo_5477295.html","width":130,"caption":"Mandy's Must Haves Banner.","height":308});
															thumbnails[5477314] = clik.newPhoto({"id":5477314,"src":"Goonhavern_Canine_Training_Club_Show_Awards_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_5477314.html","width":130,"caption":"Goonhavern Canine Training Club Award Stickers.","height":178});
															thumbnails[5897106] = clik.newPhoto({"id":5897106,"src":"DSC_0793_2_thumb.JPG","galleries_id":210196,"server_id":1,"link":"photo_5897106.html","width":130,"caption":"Travel Mugs personalized with an affix and design.","height":86});
															thumbnails[3044544] = clik.newPhoto({"id":3044544,"src":"Neem Oil product front label plus address label 001_thumb.jpg","galleries_id":187313,"server_id":1,"link":"photo_3044544.html","width":130,"caption":"A Neem Oil Label for plastic bottles (60mm x 75mm) plus an address label (21mm x 46mm).","height":157});
															thumbnails[2297105] = clik.newPhoto({"id":2297105,"src":"BLACKPOOL CH SHOW BOB1_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2297105.html","width":130,"caption":"BLACKPOOL CHAMPIONSHIP DOG SHOW Best of Breed Winners Car Sticker.","height":91});
															thumbnails[2996701] = clik.newPhoto({"id":2996701,"src":"DSC00551_thumb.JPG","galleries_id":210196,"server_id":1,"link":"photo_2996701.html","width":130,"caption":"Momento mugs","height":98});
															thumbnails[3438020] = clik.newPhoto({"id":3438020,"src":"bichon-side-by-side_thumb.jpg","galleries_id":135753,"server_id":1,"link":"photo_3438020.html","width":130,"caption":"A silhouette of a Bichon Frise","height":81});
															thumbnails[3512445] = clik.newPhoto({"id":3512445,"src":"Paw-Plunger-1_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3512445.html","width":130,"caption":"The Paw Plunger Van","height":96});
															thumbnails[2297113] = clik.newPhoto({"id":2297113,"src":"BLACKPOOL CH SHOW BPIB_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2297113.html","width":130,"caption":"BLACKPOOL CHAMPIONSHIP DOG SHOW Best Puppy in Breed Car Sticker.","height":91});
															thumbnails[2815542] = clik.newPhoto({"id":2815542,"src":"Micra1_thumb.jpg","galleries_id":135753,"server_id":1,"link":"photo_2815542.html","width":130,"caption":"A detailed silhouette of a Chinese Crested from the customers own photograph.","height":144});
															thumbnails[3512446] = clik.newPhoto({"id":3512446,"src":"Paw-Plunger-2_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3512446.html","width":130,"caption":"The Paw Plunger van, front and rear","height":88});
															thumbnails[3512455] = clik.newPhoto({"id":3512455,"src":"PDCS-mugs_thumb.jpg","galleries_id":210196,"server_id":1,"link":"photo_3512455.html","width":130,"caption":"PRIZE WINNERS MUGS","height":64});
															thumbnails[2758051] = clik.newPhoto({"id":2758051,"src":"SW Hound Club BOB Car Sticker_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2758051.html","width":130,"caption":"South West Hound Club,<br>\r\nBest of Breed Car Sticker.","height":88});
															thumbnails[2996649] = clik.newPhoto({"id":2996649,"src":"mugs_merc c_thumb.jpg","galleries_id":210196,"server_id":1,"link":"photo_2996649.html","width":130,"caption":"Special occasion mugs","height":93});
															thumbnails[3438022] = clik.newPhoto({"id":3438022,"src":"shar-pei-side-by-side_thumb.jpg","galleries_id":135753,"server_id":1,"link":"photo_3438022.html","width":130,"caption":"Silhouette of a Shar Pei","height":91});
															thumbnails[3489082] = clik.newPhoto({"id":3489082,"src":"Underwood-van_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3489082.html","width":130,"caption":"COMPANY LOGO LIVERY","height":83});
															thumbnails[2026041] = clik.newPhoto({"id":2026041,"src":"Edit Boston_thumb.jpg","galleries_id":135753,"server_id":1,"link":"photo_2026041.html","width":130,"caption":"Private commision of a French Bulldog showing the original photographs next to the silhouettes produced","height":132});
															thumbnails[2996850] = clik.newPhoto({"id":2996850,"src":"mugs_012[1] (2)_thumb.jpg","galleries_id":210196,"server_id":1,"link":"photo_2996850.html","width":130,"caption":"Business mugs","height":93});
															thumbnails[3512653] = clik.newPhoto({"id":3512653,"src":"Single-layer-_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3512653.html","width":130,"caption":"Single-layered vinyl","height":171});
															thumbnails[2026045] = clik.newPhoto({"id":2026045,"src":"edit boxers_thumb.jpg","galleries_id":135753,"server_id":1,"link":"photo_2026045.html","width":130,"caption":"Private commision of several boxers owned by the same owner.","height":199});
															thumbnails[2750814] = clik.newPhoto({"id":2750814,"src":"Southern Afghan Club Show & Membership Car Stickers_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2750814.html","width":130,"caption":"Southern Afghan Club Show Award & Club membership Car Stickers. ","height":179});
															thumbnails[3512448] = clik.newPhoto({"id":3512448,"src":"PDKA-BPIS_thumb.jpg","galleries_id":210196,"server_id":1,"link":"photo_3512448.html","width":130,"caption":"CELEBRATING WITH A DRINK!","height":136});
															thumbnails[3512576] = clik.newPhoto({"id":3512576,"src":"Double-layer-vinyl_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3512576.html","width":130,"caption":"Double-layered vinyl","height":154});
															thumbnails[3029171] = clik.newPhoto({"id":3029171,"src":"SOUTHERN AFGHAN CAR STICKERS (2)_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3029171.html","width":130,"caption":"Southern Afghan Hound Club Championship Show Car Stickers","height":135});
															thumbnails[3437982] = clik.newPhoto({"id":3437982,"src":"6-examples_thumb.jpg","galleries_id":135753,"server_id":1,"link":"photo_3437982.html","width":130,"caption":"Three original photographs with their corresponding silhouettes","height":149});
															thumbnails[3512782] = clik.newPhoto({"id":3512782,"src":"1st-Call-recovery_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3512782.html","width":130,"caption":"Multi-coloured, multi-layered vinyl","height":95});
															thumbnails[3044520] = clik.newPhoto({"id":3044520,"src":"Puli Promotional Sticker_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3044520.html","width":130,"caption":"Promotional Sticker for a customer that is attending the Discover Dogs.","height":123});
															thumbnails[3489077] = clik.newPhoto({"id":3489077,"src":"Dalmatian-van_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3489077.html","width":130,"caption":"VAN WITH LETTERING & PHOTOGRAPHIC LIVERY","height":94});
															thumbnails[3034546] = clik.newPhoto({"id":3034546,"src":"TOP DOG DEVON CAR STICKERS_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3034546.html","width":130,"caption":"Showscene Designs are pleased to sponsor TOP DOG OF DEVON.","height":178});
															thumbnails[3512861] = clik.newPhoto({"id":3512861,"src":"Magnetic-signs_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3512861.html","width":130,"caption":"Magnetic signs","height":184});
															thumbnails[3029190] = clik.newPhoto({"id":3029190,"src":"German Spitz Club Proofs 001_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3029190.html","width":130,"caption":"German Spitz Championship Show Car Stickers","height":95});
															thumbnails[3489078] = clik.newPhoto({"id":3489078,"src":"sheltie-van_thumb.jpg","galleries_id":135331,"server_id":1,"link":"photo_3489078.html","width":130,"caption":"VAN WITH LETTERING & PHOTOGRAPHIC LIVERY","height":70});
															thumbnails[3340364] = clik.newPhoto({"id":3340364,"src":"Midlands Irish Setter Stickers_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_3340364.html","width":130,"caption":"Midlands Irish Setter Society Club Car Stickers for their Championship Dog Show.","height":140});
															thumbnails[2182779] = clik.newPhoto({"id":2182779,"src":"SHOW AWARDSa_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2182779.html","width":130,"caption":"Best in Show <br>\r\nCar Sticker.","height":194});
															thumbnails[2182708] = clik.newPhoto({"id":2182708,"src":"SHOW AWARDS (4)_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2182708.html","width":130,"caption":"Assorted show award car sticker samples","height":66});
															thumbnails[2182693] = clik.newPhoto({"id":2182693,"src":"SHOW AWARDS 1 (2)_thumb.jpg","galleries_id":135329,"server_id":1,"link":"photo_2182693.html","width":130,"caption":"Show award car stickers.","height":96});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[210196] = clik.newGallery({"parentGallery":184639,"usePopups":false,"title":"PERSONALIZED MUGS","link":"gallery_210196.html","maxRecords":0.0,"photoIDs":[5293802.0,5897106.0,2996701.0,3512455.0,2996649.0,2996850.0,3512448.0],"skipIndex":0,"section_code":"gallery","featured_images":"5897106,5293802,3512455,3512448,2996850,2996701,2996649","id":210196,"singleSection":false});				  						galleries[135331] = clik.newGallery({"parentGallery":135330,"usePopups":false,"title":"Vans","link":"gallery_135331.html","maxRecords":0.0,"photoIDs":[3512445.0,3512446.0,3489082.0,3512653.0,3512576.0,3512782.0,3489077.0,3512861.0,3489078.0],"skipIndex":0,"section_code":"gallery","featured_images":"3512861,3512782,3512653,3512576,3512446,3512445,3489082,3489078,3489077","id":135331,"singleSection":false});				  						galleries[135330] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Vehicle Livery\/Graphics","link":"gallery_135330.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"3512861,3512782,3512653,3512576,3512446,3512445,3489082,3489078,3489077,2025961","id":135330,"singleSection":false});				  						galleries[135332] = clik.newGallery({"parentGallery":135330,"usePopups":false,"title":"Boats & Horse Boxes","link":"gallery_135332.html","maxRecords":0.0,"photoIDs":[2025949.0,2025959.0,2025961.0],"skipIndex":0,"section_code":"gallery","featured_images":"2025961,2025959,2025949","id":135332,"singleSection":false});				  						galleries[135329] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Club Membership\/Promotional \/Show Award Stickers","link":"gallery_135329.html","maxRecords":0.0,"photoIDs":[3588757.0,3588790.0,5462006.0,5477314.0,2297105.0,2297113.0,2758051.0,2750814.0,3029171.0,3044520.0,3034546.0,3029190.0,3340364.0,2182779.0,2182708.0,2182693.0],"skipIndex":0,"section_code":"gallery","featured_images":2182693.0,"id":135329,"singleSection":false});				  						galleries[356664] = clik.newGallery({"parentGallery":135330,"usePopups":false,"title":"Unusual vehicles","link":"gallery_356664.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":356664,"singleSection":false});				  						galleries[135325] = clik.newGallery({"parentGallery":135330,"usePopups":false,"title":"Motorbikes","link":"gallery_135325.html","maxRecords":0.0,"photoIDs":[2025950.0],"skipIndex":0,"section_code":"gallery","featured_images":2025950.0,"id":135325,"singleSection":false});				  						galleries[297776] = clik.newGallery({"parentGallery":184639,"usePopups":false,"title":"PERSONALISED BAGS","link":"gallery_297776.html","maxRecords":0.0,"photoIDs":[5293829.0,5477257.0,5477281.0],"skipIndex":0,"section_code":"gallery","featured_images":"5477281,5477257,5293829","id":297776,"singleSection":false});				  						galleries[297764] = clik.newGallery({"parentGallery":184639,"usePopups":false,"title":"PERSONALISED CLOTHING","link":"gallery_297764.html","maxRecords":0.0,"photoIDs":[5293543.0,5293570.0,5293574.0,5293577.0,5293586.0,5462013.0,5462016.0],"skipIndex":0,"section_code":"gallery","featured_images":"5462016,5462013,5293586,5293577,5293574,5293570,5293543","id":297764,"singleSection":false});				  						galleries[184639] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PERSONALIZED ITEMS","link":"gallery_184639.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5897106,5477281,5477257,5462016,5462013,5293829,5293802,5293586,5293577,5293574","id":184639,"singleSection":false});				  						galleries[135753] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Detailed Vinyl Silhouettes","link":"gallery_135753.html","maxRecords":0.0,"photoIDs":[3438020.0,2815542.0,3438022.0,2026041.0,2026045.0,3437982.0],"skipIndex":0,"section_code":"gallery","featured_images":"3438022,3438020,3437982,2815542,2026045,2026041","id":135753,"singleSection":false});				  						galleries[135328] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Signs","link":"gallery_135328.html","maxRecords":0.0,"photoIDs":[2026057.0,2297056.0,2750817.0,2815537.0],"skipIndex":0,"section_code":"gallery","featured_images":2026057.0,"id":135328,"singleSection":false});				  						galleries[175885] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Art Canvas\/Canvas blocks","link":"gallery_175885.html","maxRecords":0.0,"photoIDs":[3239568.0,3239600.0,3239605.0,3239613.0,3239634.0],"skipIndex":0,"section_code":"gallery","featured_images":3239568.0,"id":175885,"singleSection":false});				  						galleries[187313] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"PRODUCT LABELS\/STICKERS","link":"gallery_187313.html","maxRecords":0.0,"photoIDs":[3044587.0,3044614.0,3044544.0],"skipIndex":0,"section_code":"gallery","featured_images":3044544.0,"id":187313,"singleSection":false});				  						galleries[135326] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Banners","link":"gallery_135326.html","maxRecords":0.0,"photoIDs":[2018655.0,2038185.0,2816169.0,5477290.0,5477291.0,5477295.0],"skipIndex":0,"section_code":"gallery","featured_images":"2816169,2018655","id":135326,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '3512445,3489082,2996701,2750817,2182708';
imageSets[2] = '3239568,3044544,2816169,2297271,2182693,2026057,2018655';
imageSets[3] = '5897106,5477314,5477295,5477291,5477290,5477281,5477257,5462016,5462013,5462006,5293829,5293802,5293586,5293577,5293574,5293570,5293543,3588790,3588757,3512861,3512782,3512653,3512576,3512455,3512448,3512446,3512445,3489082,3489078,3489077,3438022,3438020,3437982,3429126,3428475,3340364,3239634,3239613,3239605,3239600,3239568,3044614,3044587,3044544,3044520,3034546,3029190,3029171,2996850,2996701';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/showscenedesigns/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/showscenedesigns/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 && backgrounds[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 = 'SHOWSCENE DESIGNS: ' + 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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			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({					href: thumbnails[imageID].fnGalleryLink(gallery_id),					title: galleries[gallery_id].title				});
			}
		}
	}
}

/***************************************************************************
* 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;
	}
}

			

