window.thumbnails = {};
															thumbnails[3674537] = clik.newPhoto({"id":3674537,"src":"4_96_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3674562] = clik.newPhoto({"id":3674562,"src":"drunk_man_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[3718746] = clik.newPhoto({"id":3718746,"src":"bus_onlookers_72_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Onlook - G20 London '09","height":82});
															thumbnails[4130006] = clik.newPhoto({"id":4130006,"src":"fight_blur_72_mono_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":86});
															thumbnails[4885252] = clik.newPhoto({"id":4885252,"src":"protestor_72_mono1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4886558] = clik.newPhoto({"id":4886558,"src":"4_961_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4886563] = clik.newPhoto({"id":4886563,"src":"girl_camera_police_done_96_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":88});
															thumbnails[4886571] = clik.newPhoto({"id":4886571,"src":"no_the_new_world_order_mono_96_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":81});
															thumbnails[4886588] = clik.newPhoto({"id":4886588,"src":"man_in_middle_96_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[4886596] = clik.newPhoto({"id":4886596,"src":"man_megaphone_mono_961_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":86});
															thumbnails[5170596] = clik.newPhoto({"id":5170596,"src":"6x4_stylist_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"#f3 - Glasgow '09","height":87});
															thumbnails[5170613] = clik.newPhoto({"id":5170613,"src":"sun_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"#f5 - Glasgow '09","height":87});
															thumbnails[5170683] = clik.newPhoto({"id":5170683,"src":"westminster_station_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"#f11 - London '09","height":87});
															thumbnails[5451292] = clik.newPhoto({"id":5451292,"src":"man_in_suit_72_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":88});
															thumbnails[5451298] = clik.newPhoto({"id":5451298,"src":"people_on_underground_72_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":108});
															thumbnails[5905422] = clik.newPhoto({"id":5905422,"src":"canary_wharf_bird_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[1012979] = clik.newPhoto({"id":1012979,"src":"b&w25_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1012979.html","width":130,"caption":"Cheshire '06","height":87});
															thumbnails[1122722] = clik.newPhoto({"id":1122722,"src":"mum and dog_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1122722.html","width":130,"caption":"Yorkshire '07","height":87});
															thumbnails[1389545] = clik.newPhoto({"id":1389545,"src":"salford quays bridge urban_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_1389545.html","width":130,"caption":"Salford Quays '07","height":87});
															thumbnails[1389547] = clik.newPhoto({"id":1389547,"src":"salford quays cross-processed_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_1389547.html","width":130,"caption":"Salford Quays '07","height":85});
															thumbnails[1389608] = clik.newPhoto({"id":1389608,"src":"colours on waves_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_1389608.html","width":130,"caption":"Salford Quays '07","height":61});
															thumbnails[1524991] = clik.newPhoto({"id":1524991,"src":"film branches delamere_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1524991.html","width":130,"caption":"Delamere '07","height":87});
															thumbnails[1524992] = clik.newPhoto({"id":1524992,"src":"log in water delamere_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1524992.html","width":130,"caption":"Delemere '07","height":87});
															thumbnails[1723316] = clik.newPhoto({"id":1723316,"src":"road smeared_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1723316.html","width":130,"caption":"Cheshire '07","height":87});
															thumbnails[1795647] = clik.newPhoto({"id":1795647,"src":"Pro Am 1_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1795647.html","width":130,"caption":"North Yorkshire '07","height":95});
															thumbnails[1823660] = clik.newPhoto({"id":1823660,"src":"no smoking_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1823660.html","width":130,"caption":"Cheshire '08","height":81});
															thumbnails[1823662] = clik.newPhoto({"id":1823662,"src":"postbox_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1823662.html","width":130,"caption":"Cheshire '08","height":90});
															thumbnails[1823667] = clik.newPhoto({"id":1823667,"src":"icognito_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_1823667.html","width":130,"caption":"Cheshire '08","height":176});
															thumbnails[1997958] = clik.newPhoto({"id":1997958,"src":"blackpool hoodie split_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_1997958.html","width":130,"caption":"Blackpool '08","height":87});
															thumbnails[2026284] = clik.newPhoto({"id":2026284,"src":"tower power line website_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_2026284.html","width":130,"caption":"Glasgow '08","height":92});
															thumbnails[2097838] = clik.newPhoto({"id":2097838,"src":"albert dock and dog 72dpi_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_2097838.html","width":130,"caption":"Liverpool '08","height":191});
															thumbnails[2350310] = clik.newPhoto({"id":2350310,"src":"horse 72dpi1_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_2350310.html","width":130,"caption":"Lancashire '08","height":87});
															thumbnails[2484802] = clik.newPhoto({"id":2484802,"src":"i want to meet you 72dpi_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2484802.html","width":130,"caption":"Dublin '08","height":83});
															thumbnails[2612337] = clik.newPhoto({"id":2612337,"src":"walk 72dpi_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_2612337.html","width":130,"caption":"Delamere '08","height":85});
															thumbnails[2650845] = clik.newPhoto({"id":2650845,"src":"dummy_72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2650845.html","width":160,"caption":"Dublin '08","height":107});
															thumbnails[2728890] = clik.newPhoto({"id":2728890,"src":"legs 72 b&w_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2728890.html","width":130,"caption":"Dublin '08","height":85});
															thumbnails[2728899] = clik.newPhoto({"id":2728899,"src":"trinity bricks 72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2728899.html","width":130,"caption":"Dublin '08","height":87});
															thumbnails[2736340] = clik.newPhoto({"id":2736340,"src":"trram lines 72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2736340.html","width":130,"caption":"Dublin '08","height":87});
															thumbnails[2749167] = clik.newPhoto({"id":2749167,"src":"bench st stephens green 72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2749167.html","width":130,"caption":"Dublin '08","height":89});
															thumbnails[2749184] = clik.newPhoto({"id":2749184,"src":"man_post_office_renaisance_72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2749184.html","width":160,"caption":"Dublin '08","height":100});
															thumbnails[2749252] = clik.newPhoto({"id":2749252,"src":"dublin bike 72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_2749252.html","width":130,"caption":"Dublin '08","height":87});
															thumbnails[2751712] = clik.newPhoto({"id":2751712,"src":"tree 72_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_2751712.html","width":130,"caption":" Cheshire '08","height":86});
															thumbnails[2776225] = clik.newPhoto({"id":2776225,"src":"sky power line 72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_2776225.html","width":130,"caption":"Glasgow '08","height":87});
															thumbnails[2811644] = clik.newPhoto({"id":2811644,"src":"no4 72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_2811644.html","width":130,"caption":"Liverpool '10","height":86});
															thumbnails[2848581] = clik.newPhoto({"id":2848581,"src":"bathing 72_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_2848581.html","width":130,"caption":"Yorkshire '08","height":87});
															thumbnails[2904404] = clik.newPhoto({"id":2904404,"src":"chimney_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_2904404.html","width":160,"caption":"St Helens '08","height":106});
															thumbnails[3004639] = clik.newPhoto({"id":3004639,"src":"lifering morecambe 72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_3004639.html","width":130,"caption":"Morecambe '08","height":100});
															thumbnails[3029885] = clik.newPhoto({"id":3029885,"src":"jug of tea 72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_3029885.html","width":130,"caption":"Morecambe '08","height":83});
															thumbnails[3206797] = clik.newPhoto({"id":3206797,"src":"beach fence 72 mono_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_3206797.html","width":130,"caption":"Birkdale '08","height":87});
															thumbnails[3206799] = clik.newPhoto({"id":3206799,"src":"dunes 72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_3206799.html","width":130,"caption":"Birkdale '08","height":80});
															thumbnails[3343517] = clik.newPhoto({"id":3343517,"src":"nuns_72_renaissance_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_3343517.html","width":160,"caption":"Dublin '08","height":126});
															thumbnails[3343532] = clik.newPhoto({"id":3343532,"src":"liffey 72 b&w1_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_3343532.html","width":130,"caption":"Dublin '08","height":79});
															thumbnails[3343534] = clik.newPhoto({"id":3343534,"src":"liffey colour 72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_3343534.html","width":130,"caption":"Dublin '08","height":86});
															thumbnails[3450046] = clik.newPhoto({"id":3450046,"src":"emporio letters 72 mono_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3450046.html","width":130,"caption":"Manchester '09","height":84});
															thumbnails[3483945] = clik.newPhoto({"id":3483945,"src":"liverpool red white letters 72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3483945.html","width":130,"caption":"Liverpool '09","height":83});
															thumbnails[3483950] = clik.newPhoto({"id":3483950,"src":"no_thumb.16 72.jpg","galleries_id":201693,"server_id":1,"link":"photo_3483950.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[3504470] = clik.newPhoto({"id":3504470,"src":"splash 72 colour_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3504470.html","width":130,"caption":"Liverpool '09","height":53});
															thumbnails[3546210] = clik.newPhoto({"id":3546210,"src":"poor_people_sign_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_3546210.html","width":130,"caption":"Liverpool '09","height":86});
															thumbnails[3546213] = clik.newPhoto({"id":3546213,"src":"liverpool_red_coat_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3546213.html","width":130,"caption":"Liverpool '09","height":89});
															thumbnails[3547615] = clik.newPhoto({"id":3547615,"src":"woman_and_kids_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3547615.html","width":130,"caption":"Manchester '09","height":84});
															thumbnails[3547617] = clik.newPhoto({"id":3547617,"src":"look_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3547617.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[3547632] = clik.newPhoto({"id":3547632,"src":"child_crowd_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3547632.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3547643] = clik.newPhoto({"id":3547643,"src":"drinks_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3547643.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[3547662] = clik.newPhoto({"id":3547662,"src":"man_takes_photo_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3547662.html","width":130,"caption":"Manchester '09","height":195});
															thumbnails[3577858] = clik.newPhoto({"id":3577858,"src":"anne_says_letters_mono_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3577858.html","width":130,"caption":"Yorkshire '09","height":86});
															thumbnails[3577859] = clik.newPhoto({"id":3577859,"src":"anne_sign_72_mono_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3577859.html","width":130,"caption":"Yorkshire '09","height":195});
															thumbnails[3577862] = clik.newPhoto({"id":3577862,"src":"village_hall_letters_mono_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3577862.html","width":130,"caption":"Yorkshire '09","height":88});
															thumbnails[3592109] = clik.newPhoto({"id":3592109,"src":"man_selling_ballons_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3592109.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3592111] = clik.newPhoto({"id":3592111,"src":"man_camera_rubbish_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3592111.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3650986] = clik.newPhoto({"id":3650986,"src":"credit_crunch_mono_split_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_3650986.html","width":130,"caption":"Liverpool '09","height":87});
															thumbnails[3654543] = clik.newPhoto({"id":3654543,"src":"sign_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3654543.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3654546] = clik.newPhoto({"id":3654546,"src":"kid_72_mono_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3654546.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3654547] = clik.newPhoto({"id":3654547,"src":"man_bridge_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3654547.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3654549] = clik.newPhoto({"id":3654549,"src":"costume_old_man_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3654549.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3654551] = clik.newPhoto({"id":3654551,"src":"inflatable_dog_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3654551.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3654773] = clik.newPhoto({"id":3654773,"src":"dragon_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_3654773.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3654791] = clik.newPhoto({"id":3654791,"src":"arndale_letters_mono_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3654791.html","width":130,"caption":"Manchester '09","height":86});
															thumbnails[3674556] = clik.newPhoto({"id":3674556,"src":"bird_woman_96_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_3674556.html","width":130,"caption":"London '10","height":87});
															thumbnails[3764483] = clik.newPhoto({"id":3764483,"src":"freddie_starr_72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_3764483.html","width":130,"caption":"Blackpool '09","height":87});
															thumbnails[3925515] = clik.newPhoto({"id":3925515,"src":"nike_sign_typo_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_3925515.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[3925521] = clik.newPhoto({"id":3925521,"src":"wall_painting_72_typo_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_3925521.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[4023436] = clik.newPhoto({"id":4023436,"src":"liver_bird_96_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_4023436.html","width":130,"caption":"Liverpool '09","height":87});
															thumbnails[4074871] = clik.newPhoto({"id":4074871,"src":"cause_no_nuisance_man_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_4074871.html","width":130,"caption":"Salford Quays '09","height":87});
															thumbnails[4074874] = clik.newPhoto({"id":4074874,"src":"long_way_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_4074874.html","width":130,"caption":"Salford Quays '09","height":87});
															thumbnails[4227246] = clik.newPhoto({"id":4227246,"src":"bird_and_old_men_bench_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227246.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227252] = clik.newPhoto({"id":4227252,"src":"sign_1_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227252.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227258] = clik.newPhoto({"id":4227258,"src":"man_brolly_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227258.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227264] = clik.newPhoto({"id":4227264,"src":"golliwog_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227264.html","width":130,"caption":"Llandudno '09","height":112});
															thumbnails[4227268] = clik.newPhoto({"id":4227268,"src":"wheelchair_sky_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227268.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227272] = clik.newPhoto({"id":4227272,"src":"cat_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227272.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227277] = clik.newPhoto({"id":4227277,"src":"pack_up_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227277.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227346] = clik.newPhoto({"id":4227346,"src":"please_pay_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227346.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227448] = clik.newPhoto({"id":4227448,"src":"sea_trips_96_thumb.jpg","galleries_id":250705,"server_id":1,"link":"photo_4227448.html","width":130,"caption":"Llandudno '09","height":87});
															thumbnails[4227599] = clik.newPhoto({"id":4227599,"src":"rejuvenate_96__thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_4227599.html","width":130,"caption":"Blackpool '09","height":87});
															thumbnails[4227610] = clik.newPhoto({"id":4227610,"src":"window_96_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_4227610.html","width":130,"caption":"Blackpool '09","height":87});
															thumbnails[4227614] = clik.newPhoto({"id":4227614,"src":"pier_mono_96_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_4227614.html","width":130,"caption":"Blackpool '09","height":193});
															thumbnails[4313335] = clik.newPhoto({"id":4313335,"src":"posters_96_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_4313335.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[4313347] = clik.newPhoto({"id":4313347,"src":"rusholme_poster_96_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_4313347.html","width":130,"caption":"Manchester '09","height":87});
															thumbnails[4478444] = clik.newPhoto({"id":4478444,"src":"cash_generator_72_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_4478444.html","width":130,"caption":"St Helens '09","height":87});
															thumbnails[4478451] = clik.newPhoto({"id":4478451,"src":"retail_park_72_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_4478451.html","width":130,"caption":"St Helens '09","height":194});
															thumbnails[4478464] = clik.newPhoto({"id":4478464,"src":"nags_head_72_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_4478464.html","width":130,"caption":"St Helens '09","height":87});
															thumbnails[4479429] = clik.newPhoto({"id":4479429,"src":"wall_72_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_4479429.html","width":130,"caption":"St Helens '09","height":87});
															thumbnails[4634263] = clik.newPhoto({"id":4634263,"src":"shoes_96__thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_4634263.html","width":130,"caption":"Crosby '09","height":82});
															thumbnails[4886592] = clik.newPhoto({"id":4886592,"src":"capitalism_stole_my_1_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_4886592.html","width":130,"caption":"London '09","height":87});
															thumbnails[5053020] = clik.newPhoto({"id":5053020,"src":"CNV00001_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053020.html","width":130,"caption":"#1 ","height":87});
															thumbnails[5053024] = clik.newPhoto({"id":5053024,"src":"CNV00003_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053024.html","width":130,"caption":"#2","height":87});
															thumbnails[5053030] = clik.newPhoto({"id":5053030,"src":"CNV00005_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053030.html","width":130,"caption":"#3","height":87});
															thumbnails[5053033] = clik.newPhoto({"id":5053033,"src":"CNV00011_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053033.html","width":130,"caption":"#4","height":87});
															thumbnails[5053035] = clik.newPhoto({"id":5053035,"src":"CNV00014_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053035.html","width":130,"caption":"#5","height":87});
															thumbnails[5053037] = clik.newPhoto({"id":5053037,"src":"CNV00006_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053037.html","width":130,"caption":"#6","height":87});
															thumbnails[5053038] = clik.newPhoto({"id":5053038,"src":"CNV00018_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053038.html","width":130,"caption":"#7","height":87});
															thumbnails[5053040] = clik.newPhoto({"id":5053040,"src":"CNV00020_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053040.html","width":130,"caption":"#8","height":87});
															thumbnails[5053144] = clik.newPhoto({"id":5053144,"src":"CNV00021_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053144.html","width":130,"caption":"#9","height":87});
															thumbnails[5053146] = clik.newPhoto({"id":5053146,"src":"CNV00026_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053146.html","width":130,"caption":"#10","height":87});
															thumbnails[5053158] = clik.newPhoto({"id":5053158,"src":"CNV00022_thumb.JPG","galleries_id":285901,"server_id":1,"link":"photo_5053158.html","width":130,"caption":"#13","height":87});
															thumbnails[5170600] = clik.newPhoto({"id":5170600,"src":"digibox_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_5170600.html","width":130,"caption":"St Helens '09","height":87});
															thumbnails[5170676] = clik.newPhoto({"id":5170676,"src":"going_places_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_5170676.html","width":130,"caption":"Glasgow '09","height":87});
															thumbnails[5271659] = clik.newPhoto({"id":5271659,"src":"man-hood-96_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_5271659.html","width":130,"caption":"Dublin '09","height":87});
															thumbnails[5339051] = clik.newPhoto({"id":5339051,"src":"pig_and_whistle_72_0A5BEBB6-2219-B5B5-4C7E98F6E175624C_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_5339051.html","width":130,"caption":"Liverpool '10","height":87});
															thumbnails[5343541] = clik.newPhoto({"id":5343541,"src":"barbers_dublin__72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_5343541.html","width":130,"caption":"Dublin '09","height":87});
															thumbnails[5344092] = clik.newPhoto({"id":5344092,"src":"emma_72_mono_stephens_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_5344092.html","width":130,"caption":"Dublin '10","height":182});
															thumbnails[5345062] = clik.newPhoto({"id":5345062,"src":"thalid_dublin_72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_5345062.html","width":130,"caption":"Dublin '10","height":92});
															thumbnails[5345173] = clik.newPhoto({"id":5345173,"src":"man_and_girl_96_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_5345173.html","width":130,"caption":"Dublin '10","height":94});
															thumbnails[5478978] = clik.newPhoto({"id":5478978,"src":"tree_72_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_5478978.html","width":130,"caption":"Cheshire '10","height":91});
															thumbnails[5506136] = clik.newPhoto({"id":5506136,"src":"chinese_man_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_5506136.html","width":130,"caption":"Manchester '10","height":186});
															thumbnails[5515512] = clik.newPhoto({"id":5515512,"src":"growbag_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_5515512.html","width":130,"caption":"Manchester '10","height":96});
															thumbnails[5698944] = clik.newPhoto({"id":5698944,"src":"chip-board_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_5698944.html","width":130,"caption":"Blackpool '10","height":94});
															thumbnails[5699477] = clik.newPhoto({"id":5699477,"src":"do_you_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_5699477.html","width":130,"caption":"Liverpool '10","height":82});
															thumbnails[5703301] = clik.newPhoto({"id":5703301,"src":"pigeon_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_5703301.html","width":130,"caption":"Liverpool '10","height":87});
															thumbnails[5703305] = clik.newPhoto({"id":5703305,"src":"news-just_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_5703305.html","width":130,"caption":"Liverpool '10","height":87});
															thumbnails[5719501] = clik.newPhoto({"id":5719501,"src":"central-pier_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_5719501.html","width":130,"caption":"Blackpool '10","height":87});
															thumbnails[5739707] = clik.newPhoto({"id":5739707,"src":"fish_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_5739707.html","width":130,"caption":"Blackpool '10","height":86});
															thumbnails[5959328] = clik.newPhoto({"id":5959328,"src":"i_lost_the_game_96_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_5959328.html","width":130,"caption":"Liverpool '10","height":86});
															thumbnails[6183838] = clik.newPhoto({"id":6183838,"src":"bench_96_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_6183838.html","width":130,"caption":"Glasgow '10","height":87});
															thumbnails[6195058] = clik.newPhoto({"id":6195058,"src":"manc_hilton_100_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_6195058.html","width":130,"caption":"Manchester '10","height":90});
															thumbnails[6195835] = clik.newPhoto({"id":6195835,"src":"factory_96_new__thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_6195835.html","width":130,"caption":"Manchester '10","height":94});
															thumbnails[6200844] = clik.newPhoto({"id":6200844,"src":"couple_silho_96_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_6200844.html","width":130,"caption":"Liverpool '10","height":87});
															thumbnails[6248694] = clik.newPhoto({"id":6248694,"src":"man_crutches_96_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_6248694.html","width":130,"caption":"London '10","height":85});
															thumbnails[6286118] = clik.newPhoto({"id":6286118,"src":"help_96_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_6286118.html","width":130,"caption":"London '09","height":86});
															thumbnails[6287029] = clik.newPhoto({"id":6287029,"src":"dublin_walk_96_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_6287029.html","width":130,"caption":"Dublin '10","height":85});
															thumbnails[6614301] = clik.newPhoto({"id":6614301,"src":"woman_sunlight_96_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_6614301.html","width":130,"caption":"Dublin '10","height":87});
															thumbnails[6715582] = clik.newPhoto({"id":6715582,"src":"traditonal_english_food_96_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_6715582.html","width":130,"caption":"Blackpool '10","height":89});
															thumbnails[6842491] = clik.newPhoto({"id":6842491,"src":"mfi_96_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_6842491.html","width":130,"caption":"St Helens '10","height":87});
															thumbnails[6843021] = clik.newPhoto({"id":6843021,"src":"danger_keep_put_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_6843021.html","width":130,"caption":"St Helens '10","height":87});
															thumbnails[6875824] = clik.newPhoto({"id":6875824,"src":"terrorist_96_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_6875824.html","width":130,"caption":"Glasgow '10","height":87});
															thumbnails[7025359] = clik.newPhoto({"id":7025359,"src":"yes_96_newer_one_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_7025359.html","width":130,"caption":"Manchester '10","height":94});
															thumbnails[7025365] = clik.newPhoto({"id":7025365,"src":"england_96_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_7025365.html","width":130,"caption":"Manchester '10","height":87});
															thumbnails[7091549] = clik.newPhoto({"id":7091549,"src":"hard_city_records_72dpi_kin_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_7091549.html","width":160,"caption":"Liverpool '09","height":107});
															thumbnails[7246988] = clik.newPhoto({"id":7246988,"src":"bus_and_trees_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_7246988.html","width":160,"caption":"St Helens\/Cheshire '10","height":107});
															thumbnails[7247584] = clik.newPhoto({"id":7247584,"src":"man_in_ripped_suit_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_7247584.html","width":160,"caption":"London '09","height":108});
															thumbnails[7267742] = clik.newPhoto({"id":7267742,"src":"red_coat_edinbro_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_7267742.html","width":160,"caption":"Edinburgh '11","height":93});
															thumbnails[7268633] = clik.newPhoto({"id":7268633,"src":"tom_gilzean1_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_7268633.html","width":160,"caption":"Tom Gilzean - Edinburgh '11","height":262});
															thumbnails[7283563] = clik.newPhoto({"id":7283563,"src":"dublin_trinity_woman_shapes_96_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_7283563.html","width":160,"caption":"Dublin '10","height":107});
															thumbnails[7349593] = clik.newPhoto({"id":7349593,"src":"arcade_72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_7349593.html","width":160,"caption":"Blackpool '09","height":114});
															thumbnails[7349603] = clik.newPhoto({"id":7349603,"src":"bobby_bw_72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_7349603.html","width":160,"caption":"Blackpool '09","height":107});
															thumbnails[7350101] = clik.newPhoto({"id":7350101,"src":"double_exp_egg_96_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_7350101.html","width":160,"caption":"Liverpool '11","height":107});
															thumbnails[7410824] = clik.newPhoto({"id":7410824,"src":"clan_book_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_7410824.html","width":160,"caption":"Edinburgh '11","height":273});
															thumbnails[7410840] = clik.newPhoto({"id":7410840,"src":"man_and_woman_crossing_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_7410840.html","width":160,"caption":"Edinburgh '11","height":107});
															thumbnails[7432694] = clik.newPhoto({"id":7432694,"src":"bunny_ears_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_7432694.html","width":160,"caption":"Liverpool '11","height":107});
															thumbnails[7459214] = clik.newPhoto({"id":7459214,"src":"dragon_72_09BEAC81-1EC9-DFB6-0974BCF90C62CC8B_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_7459214.html","width":160,"caption":"Liverpool '11","height":239});
															thumbnails[7477624] = clik.newPhoto({"id":7477624,"src":"man_chinese_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_7477624.html","width":160,"caption":"Liverpool '11","height":224});
															thumbnails[7477626] = clik.newPhoto({"id":7477626,"src":"old_couple_bus_stop_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_7477626.html","width":160,"caption":"Liverpool '11","height":283});
															thumbnails[7506161] = clik.newPhoto({"id":7506161,"src":"crowd_72_thumb.jpg","galleries_id":217269,"server_id":1,"link":"photo_7506161.html","width":160,"caption":"Liverpool '11","height":107});
															thumbnails[7516620] = clik.newPhoto({"id":7516620,"src":"manchespool_xfactor_721_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_7516620.html","width":160,"caption":"#14","height":107});
															thumbnails[7516665] = clik.newPhoto({"id":7516665,"src":"manchespool_peoples_his_72_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_7516665.html","width":160,"caption":"#15","height":107});
															thumbnails[7583778] = clik.newPhoto({"id":7583778,"src":"wall_st_hel_72_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_7583778.html","width":160,"caption":"St Helens '10","height":107});
															thumbnails[7611982] = clik.newPhoto({"id":7611982,"src":"st_hel_mon_amour_72_thumb.jpg","galleries_id":301409,"server_id":1,"link":"photo_7611982.html","width":160,"caption":"St Helens '11","height":109});
															thumbnails[7667929] = clik.newPhoto({"id":7667929,"src":"side_and_stand_72_thumb.jpg","galleries_id":201693,"server_id":1,"link":"photo_7667929.html","width":160,"caption":"St Helens '11","height":107});
															thumbnails[7845061] = clik.newPhoto({"id":7845061,"src":"every_little_helps_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_7845061.html","width":160,"caption":"#16","height":107});
															thumbnails[7846728] = clik.newPhoto({"id":7846728,"src":"world_as_we1_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_7846728.html","width":160,"caption":"#17","height":126});
															thumbnails[7850551] = clik.newPhoto({"id":7850551,"src":"give_peace_a_chance_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_7850551.html","width":160,"caption":"#18","height":107});
															thumbnails[7909736] = clik.newPhoto({"id":7909736,"src":"barges_and_stairs_manchespool_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_7909736.html","width":160,"caption":"#19","height":107});
															thumbnails[8029188] = clik.newPhoto({"id":8029188,"src":"police_mono_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_8029188.html","width":160,"caption":"London '09","height":106});
															thumbnails[8087037] = clik.newPhoto({"id":8087037,"src":"pavement_and_shadows_72_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_8087037.html","width":160,"caption":"Masham '11","height":110});
															thumbnails[8116226] = clik.newPhoto({"id":8116226,"src":"glasgow_building_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_8116226.html","width":160,"caption":"Glasgow '11","height":107});
															thumbnails[8145098] = clik.newPhoto({"id":8145098,"src":"bordar_house_teas_96_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_8145098.html","width":160,"caption":"Masham '11","height":114});
															thumbnails[8149127] = clik.newPhoto({"id":8149127,"src":"morecambe_redone_72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_8149127.html","width":160,"caption":"Morecambe - '08","height":107});
															thumbnails[8156074] = clik.newPhoto({"id":8156074,"src":"lined_bays_redone_72_39254137-24E8-5EC4-4FC9CBD763DDB977_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_8156074.html","width":160,"caption":"Morecambe '08","height":103});
															thumbnails[8156284] = clik.newPhoto({"id":8156284,"src":"steps_morecambe_72_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_8156284.html","width":160,"caption":"Morecambe '08","height":106});
															thumbnails[8157267] = clik.newPhoto({"id":8157267,"src":"old_man_horse_96_for_website_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_8157267.html","width":160,"caption":"Dublin '08","height":111});
															thumbnails[8157320] = clik.newPhoto({"id":8157320,"src":"bench_72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_8157320.html","width":160,"caption":"Dublin '11","height":107});
															thumbnails[8157443] = clik.newPhoto({"id":8157443,"src":"cashmachine_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_8157443.html","width":160,"caption":"liverpool '10","height":109});
															thumbnails[8199941] = clik.newPhoto({"id":8199941,"src":"underground_72_mono_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_8199941.html","width":160,"caption":"London ' 09","height":99});
															thumbnails[8200121] = clik.newPhoto({"id":8200121,"src":"carlt_72_thumb.jpg","galleries_id":159473,"server_id":1,"link":"photo_8200121.html","width":160,"caption":"Dublin '08","height":109});
															thumbnails[8267868] = clik.newPhoto({"id":8267868,"src":"man_megaphone_mono_72_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_8267868.html","width":160,"caption":"London '09","height":106});
															thumbnails[8594564] = clik.newPhoto({"id":8594564,"src":"future_in_prog_done_72_thumb.jpg","galleries_id":285901,"server_id":1,"link":"photo_8594564.html","width":160,"caption":"#20","height":107});
															thumbnails[8913790] = clik.newPhoto({"id":8913790,"src":"liver_build_721_thumb.jpg","galleries_id":82044,"server_id":1,"link":"photo_8913790.html","width":160,"caption":"Liverpool '11","height":241});
															thumbnails[8913792] = clik.newPhoto({"id":8913792,"src":"beach_721_thumb.jpg","galleries_id":84244,"server_id":1,"link":"photo_8913792.html","width":160,"caption":"New Brighton '11","height":106});
															thumbnails[8994535] = clik.newPhoto({"id":8994535,"src":"bike_sale_lo-res_thumb.jpg","galleries_id":82050,"server_id":1,"link":"photo_8994535.html","width":160,"caption":"Cheshire '11","height":110});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[217269] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Chinese New Year - in progress...","link":"gallery_217269.html","maxRecords":0.0,"photoIDs":[3547615.0,3547617.0,3547632.0,3547643.0,3547662.0,3592109.0,3592111.0,3654543.0,3654546.0,3654547.0,3654549.0,3654551.0,3654773.0,5506136.0,5515512.0,7432694.0,7459214.0,7477624.0,7477626.0,7506161.0],"skipIndex":0,"section_code":"gallery","featured_images":"7506161,7477626,7477624,7459214,7432694,5515512,5506136,3654773,3654551,3654549","id":217269,"singleSection":false});				  						galleries[82050] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"country","link":"gallery_82050.html","maxRecords":0.0,"photoIDs":[1012979.0,1122722.0,1524991.0,1524992.0,1723316.0,1795647.0,1823660.0,1823662.0,1823667.0,2350310.0,2612337.0,2751712.0,2848581.0,5478978.0,8087037.0,8145098.0,8994535.0],"skipIndex":0,"section_code":"gallery","featured_images":"8994535,8145098,8087037,5478978,2848581,2751712,2612337,2350310,1823667,1823662","id":82050,"singleSection":false});				  						galleries[159473] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"dublin - in progress...","link":"gallery_159473.html","maxRecords":0.0,"photoIDs":[2484802.0,2650845.0,2728890.0,2728899.0,2736340.0,2749167.0,2749184.0,2749252.0,3343517.0,3343532.0,3343534.0,5271659.0,5343541.0,5344092.0,5345062.0,5345173.0,6287029.0,6614301.0,7283563.0,8157267.0,8157320.0,8200121.0],"skipIndex":0,"section_code":"gallery","featured_images":"8200121,8157320,8157267,7283563,6614301,6287029,5345173,5345062,5344092,5343541","id":159473,"singleSection":false});				  						galleries[201693] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"letters - in progress...","link":"gallery_201693.html","maxRecords":0.0,"photoIDs":[2811644.0,3450046.0,3483945.0,3483950.0,3504470.0,3546213.0,3577858.0,3577859.0,3577862.0,3654791.0,3925515.0,4074874.0,4313335.0,4313347.0,4886592.0,5170600.0,5170676.0,5698944.0,5739707.0,5959328.0,6195835.0,6286118.0,6875824.0,7025359.0,7091549.0,7350101.0,7410824.0,7667929.0],"skipIndex":0,"section_code":"gallery","featured_images":"7667929,7410824,7350101,7091549,7025359,6875824,6286118,6195835,5959328,5739707","id":201693,"singleSection":false});				  						galleries[250705] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"llandudno - in progress","link":"gallery_250705.html","maxRecords":0.0,"photoIDs":[4227246.0,4227252.0,4227258.0,4227264.0,4227268.0,4227272.0,4227277.0,4227346.0,4227448.0],"skipIndex":0,"section_code":"gallery","featured_images":"4227448,4227346,4227277,4227272,4227268,4227264,4227258,4227252,4227246","id":250705,"singleSection":false});				  						galleries[285901] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Manchespool","link":"gallery_285901.html","maxRecords":0.0,"photoIDs":[5053020.0,5053024.0,5053030.0,5053033.0,5053035.0,5053037.0,5053038.0,5053040.0,5053144.0,5053146.0,5053158.0,7516620.0,7516665.0,7845061.0,7846728.0,7850551.0,7909736.0,8594564.0],"skipIndex":0,"section_code":"gallery","featured_images":"8594564,7909736,7850551,7846728,7845061,7516665,7516620,5053158,5053146,5053144","id":285901,"singleSection":false});				  						galleries[84244] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"out of season - in progress...","link":"gallery_84244.html","maxRecords":0.0,"photoIDs":[1997958.0,3004639.0,3029885.0,3206797.0,3206799.0,3764483.0,4227599.0,4227610.0,4227614.0,4634263.0,5719501.0,6715582.0,7349593.0,7349603.0,8149127.0,8156074.0,8156284.0,8913792.0],"skipIndex":0,"section_code":"gallery","featured_images":"8913792,8156284,8156074,8149127,7349603,7349593,6715582,5719501,4634263,4227614","id":84244,"singleSection":false});				  						galleries[301409] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"st helens, mon amour - in progress...","link":"gallery_301409.html","maxRecords":0.0,"photoIDs":[4478444.0,4478451.0,4478464.0,4479429.0,6842491.0,6843021.0,7583778.0,7611982.0],"skipIndex":0,"section_code":"gallery","featured_images":"7611982,7583778,6843021,6842491,4479429,4478464,4478451,4478444","id":301409,"singleSection":false});				  						galleries[82044] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"urban","link":"gallery_82044.html","maxRecords":0.0,"photoIDs":[1389545.0,1389547.0,1389608.0,2026284.0,2097838.0,2776225.0,2904404.0,3546210.0,3650986.0,3674556.0,3925521.0,4023436.0,4074871.0,5339051.0,5699477.0,5703301.0,5703305.0,6183838.0,6195058.0,6200844.0,6248694.0,7025365.0,7246988.0,7247584.0,7267742.0,7268633.0,7410840.0,8029188.0,8116226.0,8157443.0,8199941.0,8267868.0,8913790.0],"skipIndex":0,"section_code":"gallery","featured_images":"8913790,8267868,8199941,8157443,8116226,8029188,7410840,7268633,7267742,7247584","id":82044,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8994535,8913792,8913790,8594564,8267868,8200121,8199941,8157443,8157320,8157267,8156284,8156074,8149127,8145098,8116226,8087037,8029188,7909736,7850551,7846728,7845061,7667929,7611982,7583778,7516665,7516620,7506161,7477626,7477624,7459214,7432694,7410840,7410824,7350101,7349603,7349593,7283563,7268633,7267742,7247584,7246988,7091549,7025365,7025359,6875824,6843021,6842491,6715582,6614301,6287029';
imageSets[3] = '8994535,8913792,8913790,8594564,8267868,8200121,8199941,8157443,8157320,8157267,8156284,8156074,8149127,8145098,8116226,8087037,8029188,7909736,7850551,7846728,7845061,7667929,7611982,7583778,7516665,7516620,7506161,7477626,7477624,7459214,7432694,7410840,7410824,7350101,7349603,7349593,7283563,7268633,7267742,7247584,7246988,7091549,7025365,7025359,6875824,6843021,6842491,6715582,6614301,6287029';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/mark_2931/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/mark_2931/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 = 'mark peachey photography: ' + 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> &pound;' + (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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="premonitionimages@yahoo.co.uk">';
					temp += '<input type="hidden" name="currency_code" value="GBP">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="premonitionimages@yahoo.co.uk">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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;
	}
}

			

