window.thumbnails = {};
															thumbnails[9141470] = clik.newPhoto({"id":9141470,"src":"contact_me_page_copy1_1.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":294});
															thumbnails[9144945] = clik.newPhoto({"id":9144945,"src":"angela_mcbride_creative12_1.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[9145140] = clik.newPhoto({"id":9145140,"src":"angela_mcbride_creative_tree_illustration_thumb_1.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":116});
															thumbnails[9145471] = clik.newPhoto({"id":9145471,"src":"angela_mcbride_creative_tree_illustration_thumb_2.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":116});
															thumbnails[4637748] = clik.newPhoto({"id":4637748,"src":"little_imps_slides_illustration_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Little Imps Fun Factory - <br>\r\nSlides","height":141});
															thumbnails[4637753] = clik.newPhoto({"id":4637753,"src":"little_imps_slides_photo_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Little Imps fun Factory<br>\r\nfinished artwork - 8ft high x 18ft wide","height":141});
															thumbnails[5701768] = clik.newPhoto({"id":5701768,"src":"chef_with_kids_for_little_imps_photo_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Little Imps Fun factory<br>\r\n- Chef","height":141});
															thumbnails[6387987] = clik.newPhoto({"id":6387987,"src":"Yes_UK_City_of_Culture_2013_Guidhall_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6387987.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013 <br>\r\nCelebrations at the Guidhall","height":141});
															thumbnails[9052373] = clik.newPhoto({"id":9052373,"src":"christmas_cartoon_thumbnail_1.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052373.html","width":130,"caption":"Santa cartoon strip with 'Blue Splat'","height":141});
															thumbnails[9056666] = clik.newPhoto({"id":9056666,"src":"atlantic_salmon_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056666.html","width":130,"caption":"atlantic salmon ","height":141});
															thumbnails[9057431] = clik.newPhoto({"id":9057431,"src":"DJ_at_nightclub_illustration__thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057431.html","width":130,"caption":"nightclub DJ ","height":141});
															thumbnails[9102253] = clik.newPhoto({"id":9102253,"src":"map_of_prehen_derry_londonderry_for_loughs_agency_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102253.html","width":130,"caption":"Riverwatch Loughs Agency illustrated map","height":141});
															thumbnails[9102369] = clik.newPhoto({"id":9102369,"src":"stevenson_marshall_property_and_law_illustrations_boxes_1_thumbnail_1.jpg","galleries_id":131277,"server_id":1,"link":"photo_9102369.html","width":130,"caption":"illustrations for new Stevenson Marshall website","height":141});
															thumbnails[9102374] = clik.newPhoto({"id":9102374,"src":"stevenson_marshall_property_and_law_illustrations_boxes_2_thumbnail_1.jpg","galleries_id":131277,"server_id":1,"link":"photo_9102374.html","width":130,"caption":"illustrations for new Stevenson Marshall website","height":141});
															thumbnails[9102444] = clik.newPhoto({"id":9102444,"src":"british_triathlon_teenagers_cycling_fox_and_hound_thumbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102444.html","width":130,"caption":"fox and hound game - children on bicycle and handbike","height":141});
															thumbnails[9105396] = clik.newPhoto({"id":9105396,"src":"derry_londonderry_peace_bridge_opening_illustration_thumbnail_1.jpg","galleries_id":353212,"server_id":1,"link":"photo_9105396.html","width":130,"caption":"Peace Bridge - opening celebrations Derry ~ Londonderry","height":141});
															thumbnails[9105578] = clik.newPhoto({"id":9105578,"src":"humpty_mural_thumbnail_2.jpg","galleries_id":477501,"server_id":1,"link":"photo_9105578.html","width":130,"caption":"humpty dumpty ","height":141});
															thumbnails[3391886] = clik.newPhoto({"id":3391886,"src":"PYRANHA_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_3391886.html","width":130,"caption":"dangerous pets - Piranha","height":141});
															thumbnails[5701632] = clik.newPhoto({"id":5701632,"src":"treasure_map_illustration_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_5701632.html","width":130,"caption":"treasure island map","height":141});
															thumbnails[6387663] = clik.newPhoto({"id":6387663,"src":"Loughborough_map_illustration_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_6387663.html","width":130,"caption":"Loughborough University Campus Map","height":141});
															thumbnails[6387988] = clik.newPhoto({"id":6387988,"src":"Yes_UK_City_of_Culture_2013_Tower_Museum_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6387988.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nCelebrations at the Tower Museum","height":141});
															thumbnails[9052427] = clik.newPhoto({"id":9052427,"src":"christmas_advent_cartoon_strip_illustrations_part_1_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052427.html","width":130,"caption":"just taking a wee peek....","height":141});
															thumbnails[9056669] = clik.newPhoto({"id":9056669,"src":"ballan_wrasse_and_corkwing_wrasse_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056669.html","width":130,"caption":"ballan wrasse and corkwing wrasse","height":141});
															thumbnails[9057498] = clik.newPhoto({"id":9057498,"src":"interior_perspective_nightclue_illustration_copy_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057498.html","width":130,"caption":"nightclub concept ","height":141});
															thumbnails[9102226] = clik.newPhoto({"id":9102226,"src":"exterior_view_prehen_loughs_agency_illustration_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102226.html","width":130,"caption":"illustration of Riverwatch, Loughs Agency, Prehen","height":141});
															thumbnails[9102458] = clik.newPhoto({"id":9102458,"src":"british_triathlon_teenagers_cycling_illustration_thumbnail1_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102458.html","width":130,"caption":"group of children cycling","height":141});
															thumbnails[5701672] = clik.newPhoto({"id":5701672,"src":"dragon_illustration__thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_5701672.html","width":130,"caption":"dragon from treasure map","height":141});
															thumbnails[5701706] = clik.newPhoto({"id":5701706,"src":"volcano_illustration1_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_5701706.html","width":130,"caption":"part of treasure map","height":141});
															thumbnails[6387754] = clik.newPhoto({"id":6387754,"src":"Loughborough_map_illustration_part_one_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_6387754.html","width":130,"caption":"Loughborough University Campus Map (left side) ","height":141});
															thumbnails[6388011] = clik.newPhoto({"id":6388011,"src":"Yes_UK_City_of_Culture_2013_St_Columbs_Cathedral_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388011.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nCelebrations at St. Columbs Cathedral<br>\r\n","height":141});
															thumbnails[9052440] = clik.newPhoto({"id":9052440,"src":"christmas_advent_cartoon_strip_illustrations_part_2_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052440.html","width":130,"caption":"whoops!","height":141});
															thumbnails[9056673] = clik.newPhoto({"id":9056673,"src":"blenny_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056673.html","width":130,"caption":"blenny ","height":141});
															thumbnails[9057434] = clik.newPhoto({"id":9057434,"src":"exterior_perspective_irish_bar_at_sunset_illustration_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057434.html","width":130,"caption":"exterior of irish bar","height":141});
															thumbnails[9102258] = clik.newPhoto({"id":9102258,"src":"overhead_fishtanks_at_prehen_loughs_agency_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102258.html","width":130,"caption":"tank room at Riverwatch","height":141});
															thumbnails[9102461] = clik.newPhoto({"id":9102461,"src":"british_triathlon_teenagers_running_exercising_illustration_thumnbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102461.html","width":130,"caption":"group of children exercising","height":141});
															thumbnails[9102462] = clik.newPhoto({"id":9102462,"src":"british_triathlon_teenagers_swimming_ball_illustration_thumbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102462.html","width":130,"caption":"tiger and child swimming with ball","height":141});
															thumbnails[6387756] = clik.newPhoto({"id":6387756,"src":"Loughborough_map_illustration_part_two_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_6387756.html","width":130,"caption":"Loughborough University Campus Map (right side)","height":141});
															thumbnails[9057157] = clik.newPhoto({"id":9057157,"src":"clingfish_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9057157.html","width":130,"caption":"clingfish","height":141});
															thumbnails[9057501] = clik.newPhoto({"id":9057501,"src":"interior_perspective_trendy_bar_illustration_copy_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057501.html","width":130,"caption":"bar life","height":141});
															thumbnails[9102198] = clik.newPhoto({"id":9102198,"src":"children_and_fish_promotional_illustration_loughs_agency_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102198.html","width":130,"caption":"children holding the fish","height":141});
															thumbnails[9102464] = clik.newPhoto({"id":9102464,"src":"british_triathlon_teenagers_swimming_crocodile_eyes_thumbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102464.html","width":130,"caption":"crocodile eyes for swimming","height":141});
															thumbnails[9105511] = clik.newPhoto({"id":9105511,"src":"christmas_advent_cartoon_strip_illustrations_door_slam_thumbnail_1.jpg","galleries_id":477185,"server_id":1,"link":"photo_9105511.html","width":130,"caption":"\"... and stay out!\"","height":141});
															thumbnails[4637176] = clik.newPhoto({"id":4637176,"src":"loughborough_university_campus_map_illustration_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_4637176.html","width":130,"caption":"Loughborough University Campus Map Illustration","height":141});
															thumbnails[5047107] = clik.newPhoto({"id":5047107,"src":"loughborough_university_map_illustration_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_5047107.html","width":130,"caption":"Loughborough University Map Illustration","height":141});
															thumbnails[6388487] = clik.newPhoto({"id":6388487,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-_clown_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388487.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nClown and balloons at Foyle Days","height":141});
															thumbnails[9052444] = clik.newPhoto({"id":9052444,"src":"christmas_advent_cartoon_strip_illustrations_part_3_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052444.html","width":130,"caption":"Rudolf  to the rescue?","height":141});
															thumbnails[9056707] = clik.newPhoto({"id":9056707,"src":"cod_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056707.html","width":130,"caption":"cod","height":141});
															thumbnails[9057444] = clik.newPhoto({"id":9057444,"src":"interior_perspective_wedding_function_room_illustration_1_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057444.html","width":130,"caption":"wedding function room perspective","height":141});
															thumbnails[9102247] = clik.newPhoto({"id":9102247,"src":"fish_looking_at_children_promotional_illustration_loughs_agency_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102247.html","width":130,"caption":"fish looking at visitors, looking at fish","height":141});
															thumbnails[6388531] = clik.newPhoto({"id":6388531,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-_clown_pointy_hat_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388531.html","width":130,"caption":"Derry - Londonderry, City of Culture 2013<br>\r\nClown with a big pointy hat at Foyle Days","height":141});
															thumbnails[9052513] = clik.newPhoto({"id":9052513,"src":"christmas_advent_cartoon_strip_illustrations_part_4_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052513.html","width":130,"caption":"and with a wave of her wand.....","height":141});
															thumbnails[9056723] = clik.newPhoto({"id":9056723,"src":"fifteen_spined_stickleback_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056723.html","width":130,"caption":"fifteen spined stickleback","height":141});
															thumbnails[9057437] = clik.newPhoto({"id":9057437,"src":"interior_perspective_cosy_restaurant_illustration_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057437.html","width":130,"caption":"restaurant interior perspective","height":141});
															thumbnails[9102139] = clik.newPhoto({"id":9102139,"src":"brown_lobster_loughs_agency_illustration_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102139.html","width":130,"caption":"brown lobster","height":141});
															thumbnails[9102465] = clik.newPhoto({"id":9102465,"src":"british_triathlon_teenagers_swimming_mushroom_thumbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102465.html","width":130,"caption":"children practising mushroom and pencil float","height":141});
															thumbnails[6388672] = clik.newPhoto({"id":6388672,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-_walled_city_market_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388672.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nWalled City Market","height":141});
															thumbnails[9052644] = clik.newPhoto({"id":9052644,"src":"christmas_advent_cartoon_strip_illustrations_part_5_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052644.html","width":130,"caption":"the presents are delivered!","height":141});
															thumbnails[9056781] = clik.newPhoto({"id":9056781,"src":"greater_pipefish_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056781.html","width":130,"caption":"greater pipefish","height":141});
															thumbnails[9057506] = clik.newPhoto({"id":9057506,"src":"shoe_shop_perspective_part_1_illustration_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057506.html","width":130,"caption":"all a girl needs is more shoes","height":141});
															thumbnails[9057511] = clik.newPhoto({"id":9057511,"src":"shoe_shop_perspective_part_2_illustration_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_9057511.html","width":130,"caption":"you can never have enough handbags either","height":141});
															thumbnails[9102250] = clik.newPhoto({"id":9102250,"src":"hermit_crab_loughs_agency_illustration_cartoon_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102250.html","width":130,"caption":"hermit crab","height":141});
															thumbnails[6388689] = clik.newPhoto({"id":6388689,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-_back_in_time_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388689.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nHistory comes alive at Foyle Days","height":141});
															thumbnails[9052649] = clik.newPhoto({"id":9052649,"src":"christmas_advent_cartoon_strip_illustrations_part_6_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052649.html","width":130,"caption":"what to do with those pesky Blue Splat pens?","height":141});
															thumbnails[9056784] = clik.newPhoto({"id":9056784,"src":"john_dory_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056784.html","width":130,"caption":"john dory","height":141});
															thumbnails[9102264] = clik.newPhoto({"id":9102264,"src":"sea_urchin_loughs_agency_illustration_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102264.html","width":130,"caption":"sea urchin","height":141});
															thumbnails[9102467] = clik.newPhoto({"id":9102467,"src":"british_triathlon_tiger_swim_bike_run_illustration_thumbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102467.html","width":130,"caption":"British Triathlon Tiger Mascot ","height":141});
															thumbnails[2643094] = clik.newPhoto({"id":2643094,"src":"shopping and the city jan 09_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_2643094.html","width":130,"caption":"shopping and the city","height":141});
															thumbnails[6388691] = clik.newPhoto({"id":6388691,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-_battleship_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388691.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nOn the river at Foyle days","height":141});
															thumbnails[9052654] = clik.newPhoto({"id":9052654,"src":"christmas_advent_cartoon_strip_illustrations_part_7_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052654.html","width":130,"caption":"the Blue Splat pens are delivered across the world","height":141});
															thumbnails[9056802] = clik.newPhoto({"id":9056802,"src":"lesser_spotted_dogfish_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056802.html","width":130,"caption":"lesser spotted dogfish","height":141});
															thumbnails[9102270] = clik.newPhoto({"id":9102270,"src":"star_fish_and_balloon_loughs_agency_illustration_cartoon_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102270.html","width":130,"caption":"star fish and balloon","height":141});
															thumbnails[2540222] = clik.newPhoto({"id":2540222,"src":"guild hall jan 09_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_2540222.html","width":130,"caption":"The Guildhall, City of Derry","height":141});
															thumbnails[3355859] = clik.newPhoto({"id":3355859,"src":"watercolour_bird_and_cat_tightrope_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_3355859.html","width":130,"caption":"tightrope","height":141});
															thumbnails[4594933] = clik.newPhoto({"id":4594933,"src":"rockwood_fireplace_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_4594933.html","width":130,"caption":"pub illustration","height":141});
															thumbnails[5701883] = clik.newPhoto({"id":5701883,"src":"limavady_lightning_basketball_club_logo_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_5701883.html","width":130,"caption":"Limavady Lightning Basketball Club Logo","height":141});
															thumbnails[5898328] = clik.newPhoto({"id":5898328,"src":"fairy_mural_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_5898328.html","width":130,"caption":"cute fairy ","height":141});
															thumbnails[6388708] = clik.newPhoto({"id":6388708,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-__ebrington_bus_thumb.jpg","galleries_id":353212,"server_id":1,"link":"photo_6388708.html","width":130,"caption":"Derry - Londonderry, UK City of Culture 2013<br>\r\nEbrington Bus at Foyle Days","height":141});
															thumbnails[9052661] = clik.newPhoto({"id":9052661,"src":"christmas_advent_cartoon_strip_illustrations_part_8_thumb.jpg","galleries_id":477185,"server_id":1,"link":"photo_9052661.html","width":130,"caption":"Merry Christmas to all!","height":141});
															thumbnails[9056818] = clik.newPhoto({"id":9056818,"src":"little_cuttlefish_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056818.html","width":130,"caption":"little cuttlefish","height":141});
															thumbnails[9102337] = clik.newPhoto({"id":9102337,"src":"anemone_loughs_agency_illustration_thumbnail_1.jpg","galleries_id":477503,"server_id":1,"link":"photo_9102337.html","width":130,"caption":"anemone","height":141});
															thumbnails[9102471] = clik.newPhoto({"id":9102471,"src":"british_triathlon_tiger_teenagers_running_group_illustration_thumbnail_1.jpg","galleries_id":477508,"server_id":1,"link":"photo_9102471.html","width":130,"caption":"tiger and children running","height":141});
															thumbnails[9172207] = clik.newPhoto({"id":9172207,"src":"fishing_village_coypright_angela_mcbride_creative_thumbnail_1.jpg","galleries_id":484461,"server_id":1,"link":"photo_9172207.html","width":130,"caption":"Fife fishing village","height":141});
															thumbnails[9056906] = clik.newPhoto({"id":9056906,"src":"sprat_mackerel_and_smelt_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056906.html","width":130,"caption":"mackerel, sprat and smelt","height":141});
															thumbnails[9057140] = clik.newPhoto({"id":9057140,"src":"sea_lamprey_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9057140.html","width":130,"caption":"sea lamprey","height":141});
															thumbnails[9056861] = clik.newPhoto({"id":9056861,"src":"sea_scorpian_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056861.html","width":130,"caption":"sea scorpian","height":141});
															thumbnails[9056992] = clik.newPhoto({"id":9056992,"src":"three_spined_stickleback_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9056992.html","width":130,"caption":"three spined stickleback ","height":141});
															thumbnails[9057028] = clik.newPhoto({"id":9057028,"src":"turbot_loughs_agency_illustration_thumb.jpg","galleries_id":477447,"server_id":1,"link":"photo_9057028.html","width":130,"caption":"turbot","height":141});
															thumbnails[1959804] = clik.newPhoto({"id":1959804,"src":"owl_and_cow_watercolour_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_1959804.html","width":130,"caption":"balloon adventure ","height":141});
															thumbnails[4594936] = clik.newPhoto({"id":4594936,"src":"rockwoodbar_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_4594936.html","width":130,"caption":"pub illustration","height":141});
															thumbnails[5898341] = clik.newPhoto({"id":5898341,"src":"monkey_mural_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_5898341.html","width":130,"caption":"cheeky monkey","height":141});
															thumbnails[9172193] = clik.newPhoto({"id":9172193,"src":"building_skyline_town_and_village_angela_mcbride_creative_THUMBNAIL_1.jpg","galleries_id":484461,"server_id":1,"link":"photo_9172193.html","width":130,"caption":"skyline","height":141});
															thumbnails[9145045] = clik.newPhoto({"id":9145045,"src":"owl_and_cow_adventure_illustration_thumbnail_1.jpg","galleries_id":131279,"server_id":1,"link":"photo_9145045.html","width":130,"caption":"close up of the big adventure","height":141});
															thumbnails[1954982] = clik.newPhoto({"id":1954982,"src":"bar__illustration__thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_1954982.html","width":130,"caption":"bar perspective ","height":141});
															thumbnails[3355946] = clik.newPhoto({"id":3355946,"src":"aliens jan 09_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_3355946.html","width":130,"caption":"aliens<br>\r\nchildren's book illustration","height":141});
															thumbnails[3356252] = clik.newPhoto({"id":3356252,"src":"newnorthern_ireland_map_jan_09_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_3356252.html","width":130,"caption":"Northern Ireland Map","height":141});
															thumbnails[5898366] = clik.newPhoto({"id":5898366,"src":"robot_mural1_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_5898366.html","width":130,"caption":"space robot","height":141});
															thumbnails[9172277] = clik.newPhoto({"id":9172277,"src":"firework_angela_mcbride_creative_thumbnail_1.jpg","galleries_id":484461,"server_id":1,"link":"photo_9172277.html","width":130,"caption":"firework","height":141});
															thumbnails[2590277] = clik.newPhoto({"id":2590277,"src":"village_country_map_illustration_fife_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_2590277.html","width":130,"caption":"Fife village - bird's eye view map","height":141});
															thumbnails[3356976] = clik.newPhoto({"id":3356976,"src":"piano bar jan 09_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_3356976.html","width":130,"caption":"piano bar","height":141});
															thumbnails[5898372] = clik.newPhoto({"id":5898372,"src":"pirate_mural_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_5898372.html","width":130,"caption":"pirate ","height":141});
															thumbnails[6388710] = clik.newPhoto({"id":6388710,"src":"foyle_days_2010_Derry_Londonderry_UK_City_of_Culture_2013_-_fish_thumb.jpg","galleries_id":484461,"server_id":1,"link":"photo_6388710.html","width":130,"caption":"sketchy fish","height":141});
															thumbnails[5702209] = clik.newPhoto({"id":5702209,"src":"orlando_bar_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_5702209.html","width":130,"caption":"themed irish Bar","height":141});
															thumbnails[2508349] = clik.newPhoto({"id":2508349,"src":"illustration_MGB-GT_car_thumb.jpg","galleries_id":484461,"server_id":1,"link":"photo_2508349.html","width":130,"caption":"MGB-GT","height":141});
															thumbnails[2508762] = clik.newPhoto({"id":2508762,"src":"black_and_white_creepy_plant_illustration_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_2508762.html","width":130,"caption":"plant attack","height":141});
															thumbnails[1954988] = clik.newPhoto({"id":1954988,"src":"hotel_suite_2_birds_eye_view_perspective_illustration_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_1954988.html","width":130,"caption":"hotel suite - bedroom","height":141});
															thumbnails[3355899] = clik.newPhoto({"id":3355899,"src":"black_and_white_creepy_illustration1_thumb.jpg","galleries_id":131279,"server_id":1,"link":"photo_3355899.html","width":130,"caption":"creepy children's book illustration","height":141});
															thumbnails[4637288] = clik.newPhoto({"id":4637288,"src":"little_imps_food_fight_illustration_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_4637288.html","width":130,"caption":"Little Imps Fun Factoryfood fight illustration","height":141});
															thumbnails[1954991] = clik.newPhoto({"id":1954991,"src":"hotel_suite_birds_eye_view_perspective_illustration_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_1954991.html","width":130,"caption":"hotel suite - living room","height":141});
															thumbnails[4637174] = clik.newPhoto({"id":4637174,"src":"sion_mills_map_illustration_thumb.jpg","galleries_id":131277,"server_id":1,"link":"photo_4637174.html","width":130,"caption":"Sion Mills village map showing Herdsman's Mill","height":141});
															thumbnails[4637289] = clik.newPhoto({"id":4637289,"src":"little_imps_food_fight_photo_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_4637289.html","width":130,"caption":"Little Imps Fun Factoryfinished artwork - 8ft x 24ft ","height":141});
															thumbnails[3356292] = clik.newPhoto({"id":3356292,"src":"munchies jan 09_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_3356292.html","width":130,"caption":"Munchies","height":141});
															thumbnails[4637270] = clik.newPhoto({"id":4637270,"src":"nightclub_illustration1_thumb.jpg","galleries_id":131276,"server_id":1,"link":"photo_4637270.html","width":130,"caption":"nightclub perspective","height":141});
															thumbnails[5701720] = clik.newPhoto({"id":5701720,"src":"chef_with_kids_for_little_imps_thumb.jpg","galleries_id":477501,"server_id":1,"link":"photo_5701720.html","width":130,"caption":"Little Imps Fun Factory - Chef","height":141});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[131277] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"corporate and commercial ","link":"gallery_131277.html","maxRecords":0.0,"photoIDs":[9102369.0,9102374.0,6387663.0,6387754.0,6387756.0,4637176.0,5047107.0,2643094.0,2540222.0,5701883.0,3356252.0,2590277.0,4637174.0],"skipIndex":0,"section_code":"gallery","featured_images":"9102374,9102369,6387756,6387754,6387663,5701883,5047107,4637176,4637174,3356252","id":131277,"singleSection":false});				  						galleries[477185] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"cartoon Strip","link":"gallery_477185.html","maxRecords":0.0,"photoIDs":[9052373.0,9052427.0,9052440.0,9105511.0,9052444.0,9052513.0,9052644.0,9052649.0,9052654.0,9052661.0],"skipIndex":0,"section_code":"gallery","featured_images":"9105511,9052661,9052654,9052649,9052644,9052513,9052444,9052440,9052427,9052373","id":477185,"singleSection":false});				  						galleries[131276] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"interior & exterior perspectives","link":"gallery_131276.html","maxRecords":0.0,"photoIDs":[9057431.0,9057498.0,9057434.0,9057501.0,9057444.0,9057437.0,9057506.0,9057511.0,4594933.0,4594936.0,1954982.0,3356976.0,5702209.0,1954988.0,1954991.0,3356292.0,4637270.0],"skipIndex":0,"section_code":"gallery","featured_images":"9057511,9057506,9057501,9057498,9057444,9057437,9057434,9057431,5702209,4637270","id":131276,"singleSection":false});				  						galleries[477447] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"anatomical fish illustrations","link":"gallery_477447.html","maxRecords":0.0,"photoIDs":[9056666.0,9056669.0,9056673.0,9057157.0,9056707.0,9056723.0,9056781.0,9056784.0,9056802.0,9056818.0,9056906.0,9057140.0,9056861.0,9056992.0,9057028.0],"skipIndex":0,"section_code":"gallery","featured_images":"9057157,9057140,9057028,9056992,9056906,9056861,9056818,9056802,9056784,9056781","id":477447,"singleSection":false});				  						galleries[477503] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Riverwatch - advertising campaign","link":"gallery_477503.html","maxRecords":0.0,"photoIDs":[9102253.0,9102226.0,9102258.0,9102198.0,9102247.0,9102139.0,9102250.0,9102264.0,9102270.0,9102337.0],"skipIndex":0,"section_code":"gallery","featured_images":"9102337,9102270,9102264,9102258,9102253,9102250,9102247,9102226,9102198,9102139","id":477503,"singleSection":false});				  						galleries[131279] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"book illustration","link":"gallery_131279.html","maxRecords":0.0,"photoIDs":[3391886.0,5701632.0,5701672.0,5701706.0,3355859.0,1959804.0,9145045.0,3355946.0,2508762.0,3355899.0],"skipIndex":0,"section_code":"gallery","featured_images":"9145045,5701706,5701672,5701632,3391886,3355946,3355899,3355859,2508762,1959804","id":131279,"singleSection":false});				  						galleries[477508] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"British Triathlon - illustrations of children","link":"gallery_477508.html","maxRecords":0.0,"photoIDs":[9102444.0,9102458.0,9102461.0,9102462.0,9102464.0,9102465.0,9102467.0,9102471.0],"skipIndex":0,"section_code":"gallery","featured_images":"9102471,9102467,9102465,9102464,9102462,9102461,9102458,9102444","id":477508,"singleSection":false});				  						galleries[353212] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Derry~Londonderry, UK City of Culture 2013","link":"gallery_353212.html","maxRecords":0.0,"photoIDs":[6387987.0,9105396.0,6387988.0,6388011.0,6388487.0,6388531.0,6388672.0,6388689.0,6388691.0,6388708.0],"skipIndex":0,"section_code":"gallery","featured_images":"9105396,6388708,6388691,6388689,6388672,6388531,6388487,6388011,6387988,6387987","id":353212,"singleSection":false});				  						galleries[477501] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"artwork for children","link":"gallery_477501.html","maxRecords":0.0,"photoIDs":[9105578.0,5898328.0,5898341.0,5898366.0,5898372.0,4637288.0,4637289.0,5701720.0],"skipIndex":0,"section_code":"gallery","featured_images":"9105578,5898372,5898366,5898341,5898328,5701720,4637289,4637288","id":477501,"singleSection":false});				  						galleries[484461] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"sketches","link":"gallery_484461.html","maxRecords":0.0,"photoIDs":[9172207.0,9172193.0,9172277.0,6388710.0,2508349.0],"skipIndex":0,"section_code":"gallery","featured_images":"9172277,9172207,9172193,6388710,2508349","id":484461,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9145140';
imageSets[3] = '9145471';
imageSets[247892] = '9144945';
imageSets[247894] = '9141470';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/angelamcbride/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/angelamcbride/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 = 'angela mcbride creative - illustrator: ' + 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;
	}
}

			

