window.thumbnails = {};
															thumbnails[8874925] = clik.newPhoto({"id":8874925,"src":"proud_mother_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8874925.html","width":130,"caption":"\"Proud Mother\" Limited Edition","height":90});
															thumbnails[8882109] = clik.newPhoto({"id":8882109,"src":"stroller_A4_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8882109.html","width":130,"caption":"\"Stroller\" Limited Edition","height":92});
															thumbnails[8891827] = clik.newPhoto({"id":8891827,"src":"Mr_Fox_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8891827.html","width":130,"caption":"\"Mr Fox\" Limited Edition","height":184});
															thumbnails[8840227] = clik.newPhoto({"id":8840227,"src":"lord_of_the_sky_C7B55F88-1EC9-D45B-1CE470EC299FB530_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8840227.html","width":130,"caption":"\"Lord Of The Sky\" Limited Edition","height":197});
															thumbnails[8851916] = clik.newPhoto({"id":8851916,"src":"Lone_Ranger_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851916.html","width":130,"caption":"\"Lone Ranger\" Limited Edition","height":90});
															thumbnails[8877126] = clik.newPhoto({"id":8877126,"src":"this_way_boys_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8877126.html","width":130,"caption":"\"This Way Boys\" Limited Edition","height":92});
															thumbnails[8882129] = clik.newPhoto({"id":8882129,"src":"striped_sisters_A4_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8882129.html","width":130,"caption":"\"Striped Sisters\" Limited Edition","height":92});
															thumbnails[8840341] = clik.newPhoto({"id":8840341,"src":"silent_hunter_C8809A79-1EC9-D45B-1C2D7633DDFC22D2_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8840341.html","width":130,"caption":"\"Silent Hunter\" Limited Edition","height":197});
															thumbnails[8851913] = clik.newPhoto({"id":8851913,"src":"Head_Long_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851913.html","width":130,"caption":"\"Head Long\" Limited Edition","height":197});
															thumbnails[8874873] = clik.newPhoto({"id":8874873,"src":"High_and_Mighty_3A7B6360-1E4F-37DC-717B7B98720B78AA_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8874873.html","width":130,"caption":"\"High and Mighty\" Limited edition ","height":185});
															thumbnails[8877135] = clik.newPhoto({"id":8877135,"src":"explorer_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8877135.html","width":130,"caption":"\"Explorer\" Limited Edition","height":92});
															thumbnails[8840358] = clik.newPhoto({"id":8840358,"src":"sisters_in_the_sky_C916B8C7-1EC9-D45B-1C820316D2170C36_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8840358.html","width":130,"caption":"\"Sisters In The Sky\" Limited Edition","height":198});
															thumbnails[8851857] = clik.newPhoto({"id":8851857,"src":"high_and_mighty_5C9920A0-1EC9-DFB6-0921C75271CD7ECE_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851857.html","width":130,"caption":"\"High and Mighty\" Limited Edition","height":197});
															thumbnails[8877143] = clik.newPhoto({"id":8877143,"src":"running_wild_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8877143.html","width":130,"caption":"\"Running Wild\" Limited Edition","height":96});
															thumbnails[8882185] = clik.newPhoto({"id":8882185,"src":"Head_Long_A4_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8882185.html","width":130,"caption":"\"Head Long\" Limited Edition","height":184});
															thumbnails[8830744] = clik.newPhoto({"id":8830744,"src":"catch_me_if_you_can_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8830744.html","width":130,"caption":"\"Catch Me If You Can\" Limited Edition","height":90});
															thumbnails[8874817] = clik.newPhoto({"id":8874817,"src":"dagga_boy_A3_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8874817.html","width":130,"caption":"\"Dagga Boy\" Limited edition","height":90});
															thumbnails[8875219] = clik.newPhoto({"id":8875219,"src":"brer_rabbit_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8875219.html","width":130,"caption":"\"Brer Rabbit\" Limited Edition","height":92});
															thumbnails[8882171] = clik.newPhoto({"id":8882171,"src":"Dagga_boy_A4_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8882171.html","width":130,"caption":"\"Dagga Boy\" Limited Edition","height":92});
															thumbnails[8830830] = clik.newPhoto({"id":8830830,"src":"silent_flight_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8830830.html","width":130,"caption":"\"Silent Flight\" Limited Edition","height":90});
															thumbnails[8851932] = clik.newPhoto({"id":8851932,"src":"stroller_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851932.html","width":130,"caption":"\"Stroller\" Limited Edition","height":90});
															thumbnails[8877083] = clik.newPhoto({"id":8877083,"src":"lord_of_the_sky_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8877083.html","width":130,"caption":"\"Lord Of The Sky\" Limited Edition","height":184});
															thumbnails[8882191] = clik.newPhoto({"id":8882191,"src":"Lone_Ranger_A4_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8882191.html","width":130,"caption":"\"Lone Ranger\" Limited Edition","height":92});
															thumbnails[8851918] = clik.newPhoto({"id":8851918,"src":"Painted_Wolf_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851918.html","width":130,"caption":"\"Painted Wolf\" Limited Edition","height":130});
															thumbnails[8876838] = clik.newPhoto({"id":8876838,"src":"this_way_boys_A3_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8876838.html","width":130,"caption":"\"This Way Boys\" Limited Edition","height":90});
															thumbnails[8882120] = clik.newPhoto({"id":8882120,"src":"wild_thing_A4_thumb.jpg","galleries_id":466736,"server_id":18,"link":"photo_8882120.html","width":130,"caption":"\"Wild Thing\" Limited Edition","height":184});
															thumbnails[8913586] = clik.newPhoto({"id":8913586,"src":"tiny_tawny_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8913586.html","width":130,"caption":"\"Tiny Tawny\" Limited Edition","height":184});
															thumbnails[8829662] = clik.newPhoto({"id":8829662,"src":"king_of_all_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8829662.html","width":130,"caption":"\"King Of All\" Limited Edition","height":301});
															thumbnails[8840216] = clik.newPhoto({"id":8840216,"src":"young_explorer_paint_C7853F1E-1EC9-D45B-1C8FF2A22482718A_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8840216.html","width":130,"caption":"\"Explorer\"        Limited Edition\"","height":90});
															thumbnails[8891956] = clik.newPhoto({"id":8891956,"src":"Born_to_run_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8891956.html","width":130,"caption":"\"Born To Run\" Limited Edition","height":92});
															thumbnails[8829709] = clik.newPhoto({"id":8829709,"src":"close_encounter_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8829709.html","width":130,"caption":"\"Close Encounter\" Limited Edition","height":301});
															thumbnails[8839940] = clik.newPhoto({"id":8839940,"src":"hide__seek_C6913135-1EC9-D45B-1C1ACB416C767E88_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8839940.html","width":130,"caption":"\"Hide & Seek\" Limited Edition","height":90});
															thumbnails[8891958] = clik.newPhoto({"id":8891958,"src":"Born_to_be_wild_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8891958.html","width":130,"caption":"\"Born To Be Wild\" Limited Edition","height":92});
															thumbnails[8830012] = clik.newPhoto({"id":8830012,"src":"midnight_hunter_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8830012.html","width":130,"caption":"\"Midnight Hunter\" Limited Edition","height":301});
															thumbnails[8840204] = clik.newPhoto({"id":8840204,"src":"love_on_the_hill_C75A8928-1EC9-D45B-1C67CE8270B56469_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8840204.html","width":130,"caption":"\"Love On The Hill\" Limited Edition","height":69});
															thumbnails[8891960] = clik.newPhoto({"id":8891960,"src":"Foxy_fellow_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8891960.html","width":130,"caption":"\"Foxy Fellow\" Limited Edition","height":92});
															thumbnails[8830126] = clik.newPhoto({"id":8830126,"src":"eye_to_eye12345_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8830126.html","width":130,"caption":"\"Eye To Eye\" Limited Edition","height":303});
															thumbnails[8840196] = clik.newPhoto({"id":8840196,"src":"king_of_the_hill_C73372E3-1EC9-D45B-1CE1988A08D23423_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8840196.html","width":130,"caption":"\"King Of The Hill\" Limited Edition","height":57});
															thumbnails[8891952] = clik.newPhoto({"id":8891952,"src":"Alone_on_the_hill_A4_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_8891952.html","width":130,"caption":"\"Alone On The Hill\" Limited Edition","height":92});
															thumbnails[8830790] = clik.newPhoto({"id":8830790,"src":"floating_along_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8830790.html","width":130,"caption":"\"Floating Along\" Limited Edition","height":63});
															thumbnails[8851922] = clik.newPhoto({"id":8851922,"src":"rumble_in_the_jungle_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851922.html","width":130,"caption":"\"Rumble In The Jungle\" Limited Edition","height":130});
															thumbnails[8839792] = clik.newPhoto({"id":8839792,"src":"wild_thing_C60D3849-1EC9-D45B-1C70C026AAD6712B_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8839792.html","width":130,"caption":"\"Wild Thing\" Limited Edition","height":197});
															thumbnails[8840556] = clik.newPhoto({"id":8840556,"src":"gentle_giants_CA49E83C-1EC9-D45B-1C08D92FED6EAC08_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8840556.html","width":130,"caption":"\"Gentle Giants\" Limited Edition","height":50});
															thumbnails[8840590] = clik.newPhoto({"id":8840590,"src":"leading_the_way_CA6A5EAB-1EC9-D45B-1C1AAFF2A00A6A81_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8840590.html","width":130,"caption":"\"Leading The Way\" Limited Edition","height":54});
															thumbnails[8840707] = clik.newPhoto({"id":8840707,"src":"drinking_on_the_delta_CAB2F80A-1EC9-D45B-1C460A6E85BBFF04_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8840707.html","width":130,"caption":"\"Drinking On The Delta\" Limited edition","height":53});
															thumbnails[8851930] = clik.newPhoto({"id":8851930,"src":"striped_sisters_thumb.jpg","galleries_id":464383,"server_id":18,"link":"photo_8851930.html","width":130,"caption":"\"Striped Sisters\" Limited Edition","height":90});
															thumbnails[9001964] = clik.newPhoto({"id":9001964,"src":"game_bird_7x9_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001964.html","width":130,"caption":"\"Game Bird\" Limited Edition","height":100});
															thumbnails[9001947] = clik.newPhoto({"id":9001947,"src":"woodland_chaffy_7x9_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001947.html","width":130,"caption":"\"Woodland Chaffy\" Limited Edition","height":100});
															thumbnails[9001948] = clik.newPhoto({"id":9001948,"src":"spring_time_7x9_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001948.html","width":130,"caption":"\"Spring Time\" Limited Edition","height":100});
															thumbnails[9001950] = clik.newPhoto({"id":9001950,"src":"moorland_grazers_10x8_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001950.html","width":130,"caption":"\"Moorland Grazers\"    Limited Edition","height":101});
															thumbnails[9001954] = clik.newPhoto({"id":9001954,"src":"houndtor_12x16_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001954.html","width":130,"caption":"\"Hound Tor\"  Limited Edition.","height":97});
															thumbnails[9001956] = clik.newPhoto({"id":9001956,"src":"homeward_bound_10x8_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001956.html","width":130,"caption":"\"Homeward Bound\" Limited Edition.","height":101});
															thumbnails[9001957] = clik.newPhoto({"id":9001957,"src":"heads_or_tails_7x9_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001957.html","width":130,"caption":"\"Heads or Tails\" Limited Edition","height":100});
															thumbnails[9001963] = clik.newPhoto({"id":9001963,"src":"haytor_12x16_thumb.jpg","galleries_id":466735,"server_id":18,"link":"photo_9001963.html","width":130,"caption":"\"HayTor\" Limited Edition","height":97});
															thumbnails[8825356] = clik.newPhoto({"id":8825356,"src":"aerodynamics_thumb.jpg","galleries_id":464384,"server_id":18,"link":"photo_8825356.html","width":130,"caption":"\"Aerodynamics\" Limited Edition ","height":268});
															thumbnails[8415741] = clik.newPhoto({"id":8415741,"src":"02L_thumb.jpg","galleries_id":445932,"server_id":18,"link":"photo_8415741.html","width":130,"caption":"","height":92});
															thumbnails[8416318] = clik.newPhoto({"id":8416318,"src":"24L_thumb.jpg","galleries_id":445939,"server_id":18,"link":"photo_8416318.html","width":130,"caption":"","height":92});
															thumbnails[8428291] = clik.newPhoto({"id":8428291,"src":"29L_thumb.jpg","galleries_id":445941,"server_id":18,"link":"photo_8428291.html","width":130,"caption":"","height":92});
															thumbnails[8428485] = clik.newPhoto({"id":8428485,"src":"12L_thumb.jpg","galleries_id":445940,"server_id":18,"link":"photo_8428485.html","width":130,"caption":"","height":92});
															thumbnails[8428565] = clik.newPhoto({"id":8428565,"src":"24L_4003EB99-1E4F-37DC-719476AF4CAC91B2_thumb.jpg","galleries_id":446248,"server_id":18,"link":"photo_8428565.html","width":130,"caption":"","height":92});
															thumbnails[8431195] = clik.newPhoto({"id":8431195,"src":"36L_thumb.jpg","galleries_id":446340,"server_id":18,"link":"photo_8431195.html","width":130,"caption":"","height":92});
															thumbnails[8432490] = clik.newPhoto({"id":8432490,"src":"45L_thumb.jpg","galleries_id":446422,"server_id":18,"link":"photo_8432490.html","width":130,"caption":"","height":92});
															thumbnails[8432555] = clik.newPhoto({"id":8432555,"src":"23P_thumb.jpg","galleries_id":446423,"server_id":18,"link":"photo_8432555.html","width":130,"caption":"","height":183});
															thumbnails[8432738] = clik.newPhoto({"id":8432738,"src":"64L_thumb.jpg","galleries_id":446424,"server_id":18,"link":"photo_8432738.html","width":130,"caption":"","height":92});
															thumbnails[8432784] = clik.newPhoto({"id":8432784,"src":"33L_thumb.jpg","galleries_id":446425,"server_id":18,"link":"photo_8432784.html","width":130,"caption":"","height":92});
															thumbnails[8433114] = clik.newPhoto({"id":8433114,"src":"49L_44901C5E-24E8-5EC4-4F12A79D6C654AEE_thumb.jpg","galleries_id":446427,"server_id":18,"link":"photo_8433114.html","width":130,"caption":"","height":92});
															thumbnails[8433137] = clik.newPhoto({"id":8433137,"src":"09L_thumb.jpg","galleries_id":446428,"server_id":18,"link":"photo_8433137.html","width":130,"caption":"","height":92});
															thumbnails[8433151] = clik.newPhoto({"id":8433151,"src":"02P_thumb.jpg","galleries_id":446429,"server_id":18,"link":"photo_8433151.html","width":130,"caption":"","height":183});
															thumbnails[8435255] = clik.newPhoto({"id":8435255,"src":"01L_thumb.jpg","galleries_id":446430,"server_id":18,"link":"photo_8435255.html","width":130,"caption":"","height":92});
															thumbnails[8435262] = clik.newPhoto({"id":8435262,"src":"61L_thumb.jpg","galleries_id":446431,"server_id":18,"link":"photo_8435262.html","width":130,"caption":"","height":92});
															thumbnails[8435442] = clik.newPhoto({"id":8435442,"src":"35L_thumb.jpg","galleries_id":446432,"server_id":18,"link":"photo_8435442.html","width":130,"caption":"","height":92});
															thumbnails[8435725] = clik.newPhoto({"id":8435725,"src":"08P_thumb.jpg","galleries_id":446458,"server_id":18,"link":"photo_8435725.html","width":130,"caption":"","height":183});
															thumbnails[8435726] = clik.newPhoto({"id":8435726,"src":"29P_thumb.jpg","galleries_id":446459,"server_id":18,"link":"photo_8435726.html","width":130,"caption":"","height":183});
															thumbnails[8437555] = clik.newPhoto({"id":8437555,"src":"22L1_thumb.jpg","galleries_id":446460,"server_id":18,"link":"photo_8437555.html","width":130,"caption":"","height":92});
															thumbnails[8437620] = clik.newPhoto({"id":8437620,"src":"18L_thumb.jpg","galleries_id":446461,"server_id":18,"link":"photo_8437620.html","width":130,"caption":"","height":92});
															thumbnails[8437665] = clik.newPhoto({"id":8437665,"src":"31L_thumb.jpg","galleries_id":446462,"server_id":18,"link":"photo_8437665.html","width":130,"caption":"","height":92});
															thumbnails[8437736] = clik.newPhoto({"id":8437736,"src":"10L_thumb.jpg","galleries_id":446463,"server_id":18,"link":"photo_8437736.html","width":130,"caption":"","height":92});
															thumbnails[8437823] = clik.newPhoto({"id":8437823,"src":"40P_thumb.jpg","galleries_id":446464,"server_id":18,"link":"photo_8437823.html","width":130,"caption":"","height":183});
															thumbnails[8493314] = clik.newPhoto({"id":8493314,"src":"shop_image_thumb.jpg","galleries_id":448990,"server_id":18,"link":"photo_8493314.html","width":130,"caption":"","height":92});
															thumbnails[8415742] = clik.newPhoto({"id":8415742,"src":"03L_thumb.jpg","galleries_id":445932,"server_id":18,"link":"photo_8415742.html","width":130,"caption":"","height":92});
															thumbnails[8416315] = clik.newPhoto({"id":8416315,"src":"08L_thumb.jpg","galleries_id":445939,"server_id":18,"link":"photo_8416315.html","width":130,"caption":"","height":92});
															thumbnails[8425098] = clik.newPhoto({"id":8425098,"src":"04L_thumb.jpg","galleries_id":445941,"server_id":18,"link":"photo_8425098.html","width":130,"caption":"","height":92});
															thumbnails[8428489] = clik.newPhoto({"id":8428489,"src":"16L_thumb.jpg","galleries_id":445940,"server_id":18,"link":"photo_8428489.html","width":130,"caption":"","height":92});
															thumbnails[8428571] = clik.newPhoto({"id":8428571,"src":"16L1_thumb.jpg","galleries_id":446248,"server_id":18,"link":"photo_8428571.html","width":130,"caption":"","height":92});
															thumbnails[8431198] = clik.newPhoto({"id":8431198,"src":"37L_thumb.jpg","galleries_id":446340,"server_id":18,"link":"photo_8431198.html","width":130,"caption":"","height":92});
															thumbnails[8432494] = clik.newPhoto({"id":8432494,"src":"15L_thumb.jpg","galleries_id":446422,"server_id":18,"link":"photo_8432494.html","width":130,"caption":"","height":92});
															thumbnails[8432559] = clik.newPhoto({"id":8432559,"src":"22P_thumb.jpg","galleries_id":446423,"server_id":18,"link":"photo_8432559.html","width":130,"caption":"","height":183});
															thumbnails[8432746] = clik.newPhoto({"id":8432746,"src":"49L_thumb.jpg","galleries_id":446424,"server_id":18,"link":"photo_8432746.html","width":130,"caption":"","height":92});
															thumbnails[8432797] = clik.newPhoto({"id":8432797,"src":"34L_thumb.jpg","galleries_id":446425,"server_id":18,"link":"photo_8432797.html","width":130,"caption":"","height":92});
															thumbnails[8433116] = clik.newPhoto({"id":8433116,"src":"11L_44912246-24E8-5EC4-4F9180A17BA12E53_thumb.jpg","galleries_id":446427,"server_id":18,"link":"photo_8433116.html","width":130,"caption":"","height":92});
															thumbnails[8433140] = clik.newPhoto({"id":8433140,"src":"25L_thumb.jpg","galleries_id":446428,"server_id":18,"link":"photo_8433140.html","width":130,"caption":"","height":92});
															thumbnails[8433153] = clik.newPhoto({"id":8433153,"src":"09P1_thumb.jpg","galleries_id":446429,"server_id":18,"link":"photo_8433153.html","width":130,"caption":"","height":183});
															thumbnails[8435256] = clik.newPhoto({"id":8435256,"src":"23L_thumb.jpg","galleries_id":446430,"server_id":18,"link":"photo_8435256.html","width":130,"caption":"","height":92});
															thumbnails[8435316] = clik.newPhoto({"id":8435316,"src":"05L1_thumb.jpg","galleries_id":446431,"server_id":18,"link":"photo_8435316.html","width":130,"caption":"","height":92});
															thumbnails[8435446] = clik.newPhoto({"id":8435446,"src":"51L_thumb.jpg","galleries_id":446432,"server_id":18,"link":"photo_8435446.html","width":130,"caption":"","height":92});
															thumbnails[8435709] = clik.newPhoto({"id":8435709,"src":"19L_thumb.jpg","galleries_id":446458,"server_id":18,"link":"photo_8435709.html","width":130,"caption":"","height":92});
															thumbnails[8435727] = clik.newPhoto({"id":8435727,"src":"27P_thumb.jpg","galleries_id":446459,"server_id":18,"link":"photo_8435727.html","width":130,"caption":"","height":183});
															thumbnails[8437559] = clik.newPhoto({"id":8437559,"src":"55L_thumb.jpg","galleries_id":446460,"server_id":18,"link":"photo_8437559.html","width":130,"caption":"","height":92});
															thumbnails[8437685] = clik.newPhoto({"id":8437685,"src":"04P_thumb.jpg","galleries_id":446462,"server_id":18,"link":"photo_8437685.html","width":130,"caption":"","height":183});
															thumbnails[8437740] = clik.newPhoto({"id":8437740,"src":"26L_thumb.jpg","galleries_id":446463,"server_id":18,"link":"photo_8437740.html","width":130,"caption":"","height":92});
															thumbnails[8437827] = clik.newPhoto({"id":8437827,"src":"41P_thumb.jpg","galleries_id":446464,"server_id":18,"link":"photo_8437827.html","width":130,"caption":"","height":183});
															thumbnails[8442715] = clik.newPhoto({"id":8442715,"src":"65L_thumb.jpg","galleries_id":446461,"server_id":18,"link":"photo_8442715.html","width":130,"caption":"","height":92});
															thumbnails[8415747] = clik.newPhoto({"id":8415747,"src":"17L_thumb.jpg","galleries_id":445932,"server_id":18,"link":"photo_8415747.html","width":130,"caption":"","height":92});
															thumbnails[8416310] = clik.newPhoto({"id":8416310,"src":"06L_thumb.jpg","galleries_id":445939,"server_id":18,"link":"photo_8416310.html","width":130,"caption":"","height":92});
															thumbnails[8428306] = clik.newPhoto({"id":8428306,"src":"07L_thumb.jpg","galleries_id":445941,"server_id":18,"link":"photo_8428306.html","width":130,"caption":"","height":92});
															thumbnails[8428491] = clik.newPhoto({"id":8428491,"src":"39L_thumb.jpg","galleries_id":445940,"server_id":18,"link":"photo_8428491.html","width":130,"caption":"","height":92});
															thumbnails[8428596] = clik.newPhoto({"id":8428596,"src":"29L1_thumb.jpg","galleries_id":446248,"server_id":18,"link":"photo_8428596.html","width":130,"caption":"","height":92});
															thumbnails[8431199] = clik.newPhoto({"id":8431199,"src":"43L_thumb.jpg","galleries_id":446340,"server_id":18,"link":"photo_8431199.html","width":130,"caption":"","height":92});
															thumbnails[8432498] = clik.newPhoto({"id":8432498,"src":"46L_thumb.jpg","galleries_id":446422,"server_id":18,"link":"photo_8432498.html","width":130,"caption":"","height":92});
															thumbnails[8432561] = clik.newPhoto({"id":8432561,"src":"07P_thumb.jpg","galleries_id":446423,"server_id":18,"link":"photo_8432561.html","width":130,"caption":"","height":183});
															thumbnails[8432757] = clik.newPhoto({"id":8432757,"src":"53L_thumb.jpg","galleries_id":446424,"server_id":18,"link":"photo_8432757.html","width":130,"caption":"","height":92});
															thumbnails[8432885] = clik.newPhoto({"id":8432885,"src":"36L1_thumb.jpg","galleries_id":446425,"server_id":18,"link":"photo_8432885.html","width":130,"caption":"","height":92});
															thumbnails[8433117] = clik.newPhoto({"id":8433117,"src":"48L_4491EEBF-24E8-5EC4-4F93E4E42A09A858_thumb.jpg","galleries_id":446427,"server_id":18,"link":"photo_8433117.html","width":130,"caption":"","height":92});
															thumbnails[8433142] = clik.newPhoto({"id":8433142,"src":"06P_thumb.jpg","galleries_id":446428,"server_id":18,"link":"photo_8433142.html","width":130,"caption":"","height":183});
															thumbnails[8433160] = clik.newPhoto({"id":8433160,"src":"25P_thumb.jpg","galleries_id":446429,"server_id":18,"link":"photo_8433160.html","width":130,"caption":"","height":183});
															thumbnails[8435257] = clik.newPhoto({"id":8435257,"src":"28L_thumb.jpg","galleries_id":446430,"server_id":18,"link":"photo_8435257.html","width":130,"caption":"","height":92});
															thumbnails[8435335] = clik.newPhoto({"id":8435335,"src":"09L_480041EA-1E4F-37DC-71ACDCF8BE19D09C_thumb.jpg","galleries_id":446431,"server_id":18,"link":"photo_8435335.html","width":130,"caption":"","height":92});
															thumbnails[8435449] = clik.newPhoto({"id":8435449,"src":"06P_4808005F-1E4F-37DC-71C9D6EAF663BD03_thumb.jpg","galleries_id":446432,"server_id":18,"link":"photo_8435449.html","width":130,"caption":"","height":183});
															thumbnails[8435456] = clik.newPhoto({"id":8435456,"src":"14L_thumb.jpg","galleries_id":446458,"server_id":18,"link":"photo_8435456.html","width":130,"caption":"","height":92});
															thumbnails[8435740] = clik.newPhoto({"id":8435740,"src":"28P_thumb.jpg","galleries_id":446459,"server_id":18,"link":"photo_8435740.html","width":130,"caption":"","height":183});
															thumbnails[8437561] = clik.newPhoto({"id":8437561,"src":"16P1_thumb.jpg","galleries_id":446460,"server_id":18,"link":"photo_8437561.html","width":130,"caption":"","height":183});
															thumbnails[8437622] = clik.newPhoto({"id":8437622,"src":"03P_thumb.jpg","galleries_id":446461,"server_id":18,"link":"photo_8437622.html","width":130,"caption":"","height":183});
															thumbnails[8437688] = clik.newPhoto({"id":8437688,"src":"17P_497F4357-24E8-5EC4-4FE48480D4B6B472_thumb.jpg","galleries_id":446462,"server_id":18,"link":"photo_8437688.html","width":130,"caption":"","height":183});
															thumbnails[8437745] = clik.newPhoto({"id":8437745,"src":"57L_thumb.jpg","galleries_id":446463,"server_id":18,"link":"photo_8437745.html","width":130,"caption":"","height":92});
															thumbnails[8437830] = clik.newPhoto({"id":8437830,"src":"42P_thumb.jpg","galleries_id":446464,"server_id":18,"link":"photo_8437830.html","width":130,"caption":"","height":183});
															thumbnails[8415805] = clik.newPhoto({"id":8415805,"src":"20L_thumb.jpg","galleries_id":445932,"server_id":18,"link":"photo_8415805.html","width":130,"caption":"","height":92});
															thumbnails[8416319] = clik.newPhoto({"id":8416319,"src":"42L_thumb.jpg","galleries_id":445939,"server_id":18,"link":"photo_8416319.html","width":130,"caption":"","height":92});
															thumbnails[8428337] = clik.newPhoto({"id":8428337,"src":"30L_thumb.jpg","galleries_id":445941,"server_id":18,"link":"photo_8428337.html","width":130,"caption":"","height":92});
															thumbnails[8428604] = clik.newPhoto({"id":8428604,"src":"58L_thumb.jpg","galleries_id":446248,"server_id":18,"link":"photo_8428604.html","width":130,"caption":"","height":92});
															thumbnails[8431200] = clik.newPhoto({"id":8431200,"src":"44L_thumb.jpg","galleries_id":446340,"server_id":18,"link":"photo_8431200.html","width":130,"caption":"","height":92});
															thumbnails[8432513] = clik.newPhoto({"id":8432513,"src":"47L_thumb.jpg","galleries_id":446422,"server_id":18,"link":"photo_8432513.html","width":130,"caption":"","height":92});
															thumbnails[8432578] = clik.newPhoto({"id":8432578,"src":"11P_thumb.jpg","galleries_id":446423,"server_id":18,"link":"photo_8432578.html","width":130,"caption":"","height":183});
															thumbnails[8432764] = clik.newPhoto({"id":8432764,"src":"06L_44235514-1E4F-37DC-71A44D1AB573210A_thumb.jpg","galleries_id":446424,"server_id":18,"link":"photo_8432764.html","width":130,"caption":"","height":92});
															thumbnails[8432888] = clik.newPhoto({"id":8432888,"src":"63L_thumb.jpg","galleries_id":446425,"server_id":18,"link":"photo_8432888.html","width":130,"caption":"","height":92});
															thumbnails[8433120] = clik.newPhoto({"id":8433120,"src":"53L_4492E043-24E8-5EC4-4F0B11E6FB2ABE97_thumb.jpg","galleries_id":446427,"server_id":18,"link":"photo_8433120.html","width":130,"caption":"","height":92});
															thumbnails[8433146] = clik.newPhoto({"id":8433146,"src":"09P_thumb.jpg","galleries_id":446428,"server_id":18,"link":"photo_8433146.html","width":130,"caption":"","height":183});
															thumbnails[8433162] = clik.newPhoto({"id":8433162,"src":"30P_thumb.jpg","galleries_id":446429,"server_id":18,"link":"photo_8433162.html","width":130,"caption":"","height":183});
															thumbnails[8435258] = clik.newPhoto({"id":8435258,"src":"32L_thumb.jpg","galleries_id":446430,"server_id":18,"link":"photo_8435258.html","width":130,"caption":"","height":92});
															thumbnails[8435336] = clik.newPhoto({"id":8435336,"src":"13L_thumb.jpg","galleries_id":446431,"server_id":18,"link":"photo_8435336.html","width":130,"caption":"","height":92});
															thumbnails[8435453] = clik.newPhoto({"id":8435453,"src":"12P_thumb.jpg","galleries_id":446432,"server_id":18,"link":"photo_8435453.html","width":130,"caption":"","height":183});
															thumbnails[8435741] = clik.newPhoto({"id":8435741,"src":"56L_thumb.jpg","galleries_id":446459,"server_id":18,"link":"photo_8435741.html","width":130,"caption":"","height":92});
															thumbnails[8437583] = clik.newPhoto({"id":8437583,"src":"39P_thumb.jpg","galleries_id":446460,"server_id":18,"link":"photo_8437583.html","width":130,"caption":"","height":183});
															thumbnails[8437624] = clik.newPhoto({"id":8437624,"src":"14P_thumb.jpg","galleries_id":446461,"server_id":18,"link":"photo_8437624.html","width":130,"caption":"","height":183});
															thumbnails[8437695] = clik.newPhoto({"id":8437695,"src":"31P_thumb.jpg","galleries_id":446462,"server_id":18,"link":"photo_8437695.html","width":130,"caption":"","height":183});
															thumbnails[8437767] = clik.newPhoto({"id":8437767,"src":"13P_thumb.jpg","galleries_id":446463,"server_id":18,"link":"photo_8437767.html","width":130,"caption":"","height":183});
															thumbnails[8437832] = clik.newPhoto({"id":8437832,"src":"05P_thumb.jpg","galleries_id":446464,"server_id":18,"link":"photo_8437832.html","width":130,"caption":"","height":183});
															thumbnails[8442687] = clik.newPhoto({"id":8442687,"src":"66L_thumb.jpg","galleries_id":445940,"server_id":18,"link":"photo_8442687.html","width":130,"caption":"","height":92});
															thumbnails[8502395] = clik.newPhoto({"id":8502395,"src":"69L_thumb.jpg","galleries_id":446458,"server_id":18,"link":"photo_8502395.html","width":130,"caption":"","height":92});
															thumbnails[8415809] = clik.newPhoto({"id":8415809,"src":"21L_thumb.jpg","galleries_id":445932,"server_id":18,"link":"photo_8415809.html","width":130,"caption":"","height":92});
															thumbnails[8416320] = clik.newPhoto({"id":8416320,"src":"24P_thumb.jpg","galleries_id":445939,"server_id":18,"link":"photo_8416320.html","width":130,"caption":"","height":183});
															thumbnails[8428385] = clik.newPhoto({"id":8428385,"src":"41L_thumb.jpg","galleries_id":445941,"server_id":18,"link":"photo_8428385.html","width":130,"caption":"","height":92});
															thumbnails[8428607] = clik.newPhoto({"id":8428607,"src":"15P_thumb.jpg","galleries_id":446248,"server_id":18,"link":"photo_8428607.html","width":130,"caption":"","height":183});
															thumbnails[8431201] = clik.newPhoto({"id":8431201,"src":"62L_thumb.jpg","galleries_id":446340,"server_id":18,"link":"photo_8431201.html","width":130,"caption":"","height":92});
															thumbnails[8432525] = clik.newPhoto({"id":8432525,"src":"59L_thumb.jpg","galleries_id":446422,"server_id":18,"link":"photo_8432525.html","width":130,"caption":"","height":92});
															thumbnails[8432632] = clik.newPhoto({"id":8432632,"src":"17P_thumb.jpg","galleries_id":446423,"server_id":18,"link":"photo_8432632.html","width":130,"caption":"","height":183});
															thumbnails[8432769] = clik.newPhoto({"id":8432769,"src":"27L_thumb.jpg","galleries_id":446424,"server_id":18,"link":"photo_8432769.html","width":130,"caption":"","height":92});
															thumbnails[8432889] = clik.newPhoto({"id":8432889,"src":"05L_thumb.jpg","galleries_id":446425,"server_id":18,"link":"photo_8432889.html","width":130,"caption":"","height":92});
															thumbnails[8433121] = clik.newPhoto({"id":8433121,"src":"63L_44939ABA-24E8-5EC4-4FD4DD632F592A00_thumb.jpg","galleries_id":446427,"server_id":18,"link":"photo_8433121.html","width":130,"caption":"","height":92});
															thumbnails[8433147] = clik.newPhoto({"id":8433147,"src":"21P_thumb.jpg","galleries_id":446428,"server_id":18,"link":"photo_8433147.html","width":130,"caption":"","height":183});
															thumbnails[8433165] = clik.newPhoto({"id":8433165,"src":"32P1_thumb.jpg","galleries_id":446429,"server_id":18,"link":"photo_8433165.html","width":130,"caption":"","height":183});
															thumbnails[8435259] = clik.newPhoto({"id":8435259,"src":"40L_thumb.jpg","galleries_id":446430,"server_id":18,"link":"photo_8435259.html","width":130,"caption":"","height":92});
															thumbnails[8435380] = clik.newPhoto({"id":8435380,"src":"25L_4801C3A6-1E4F-37DC-71DA90F00143E3BE_thumb.jpg","galleries_id":446431,"server_id":18,"link":"photo_8435380.html","width":130,"caption":"","height":92});
															thumbnails[8435454] = clik.newPhoto({"id":8435454,"src":"21P_48097D99-1E4F-37DC-71860F9982D70FB2_thumb.jpg","galleries_id":446432,"server_id":18,"link":"photo_8435454.html","width":130,"caption":"","height":183});
															thumbnails[8437591] = clik.newPhoto({"id":8437591,"src":"43P_thumb.jpg","galleries_id":446460,"server_id":18,"link":"photo_8437591.html","width":130,"caption":"","height":183});
															thumbnails[8437649] = clik.newPhoto({"id":8437649,"src":"26P_thumb.jpg","galleries_id":446461,"server_id":18,"link":"photo_8437649.html","width":130,"caption":"","height":183});
															thumbnails[8437698] = clik.newPhoto({"id":8437698,"src":"36P1_thumb.jpg","galleries_id":446462,"server_id":18,"link":"photo_8437698.html","width":130,"caption":"","height":183});
															thumbnails[8437779] = clik.newPhoto({"id":8437779,"src":"19P_thumb.jpg","galleries_id":446463,"server_id":18,"link":"photo_8437779.html","width":130,"caption":"","height":183});
															thumbnails[8437834] = clik.newPhoto({"id":8437834,"src":"17P_498E0DA4-24E8-5EC4-4F1620B856AF919B_thumb.jpg","galleries_id":446464,"server_id":18,"link":"photo_8437834.html","width":130,"caption":"","height":183});
															thumbnails[8442680] = clik.newPhoto({"id":8442680,"src":"67L_thumb.jpg","galleries_id":446459,"server_id":18,"link":"photo_8442680.html","width":130,"caption":"","height":92});
															thumbnails[8442690] = clik.newPhoto({"id":8442690,"src":"47P_thumb.jpg","galleries_id":445940,"server_id":18,"link":"photo_8442690.html","width":130,"caption":"","height":183});
															thumbnails[8502397] = clik.newPhoto({"id":8502397,"src":"70L_thumb.jpg","galleries_id":446458,"server_id":18,"link":"photo_8502397.html","width":130,"caption":"","height":92});
															thumbnails[8415810] = clik.newPhoto({"id":8415810,"src":"52L_thumb.jpg","galleries_id":445932,"server_id":18,"link":"photo_8415810.html","width":130,"caption":"","height":92});
															thumbnails[8416322] = clik.newPhoto({"id":8416322,"src":"37P_thumb.jpg","galleries_id":445939,"server_id":18,"link":"photo_8416322.html","width":130,"caption":"","height":183});
															thumbnails[8428387] = clik.newPhoto({"id":8428387,"src":"38L_thumb.jpg","galleries_id":445941,"server_id":18,"link":"photo_8428387.html","width":130,"caption":"","height":92});
															thumbnails[8428509] = clik.newPhoto({"id":8428509,"src":"10P_thumb.jpg","galleries_id":445940,"server_id":18,"link":"photo_8428509.html","width":130,"caption":"","height":183});
															thumbnails[8428612] = clik.newPhoto({"id":8428612,"src":"10P1_thumb.jpg","galleries_id":446248,"server_id":18,"link":"photo_8428612.html","width":130,"caption":"","height":183});
															thumbnails[8431204] = clik.newPhoto({"id":8431204,"src":"45P_thumb.jpg","galleries_id":446340,"server_id":18,"link":"photo_8431204.html","width":130,"caption":"","height":183});
															thumbnails[8432527] = clik.newPhoto({"id":8432527,"src":"60L_thumb.jpg","galleries_id":446422,"server_id":18,"link":"photo_8432527.html","width":130,"caption":"","height":92});
															thumbnails[8432686] = clik.newPhoto({"id":8432686,"src":"18P_thumb.jpg","galleries_id":446423,"server_id":18,"link":"photo_8432686.html","width":130,"caption":"","height":183});
															thumbnails[8432771] = clik.newPhoto({"id":8432771,"src":"48L_thumb.jpg","galleries_id":446424,"server_id":18,"link":"photo_8432771.html","width":130,"caption":"","height":92});
															thumbnails[8432890] = clik.newPhoto({"id":8432890,"src":"11L_thumb.jpg","galleries_id":446425,"server_id":18,"link":"photo_8432890.html","width":130,"caption":"","height":92});
															thumbnails[8433127] = clik.newPhoto({"id":8433127,"src":"64L_44947230-24E8-5EC4-4F774CB0AE001819_thumb.jpg","galleries_id":446427,"server_id":18,"link":"photo_8433127.html","width":130,"caption":"","height":92});
															thumbnails[8433149] = clik.newPhoto({"id":8433149,"src":"32P_thumb.jpg","galleries_id":446428,"server_id":18,"link":"photo_8433149.html","width":130,"caption":"","height":183});
															thumbnails[8433167] = clik.newPhoto({"id":8433167,"src":"36P_thumb.jpg","galleries_id":446429,"server_id":18,"link":"photo_8433167.html","width":130,"caption":"","height":183});
															thumbnails[8435261] = clik.newPhoto({"id":8435261,"src":"50L_thumb.jpg","galleries_id":446430,"server_id":18,"link":"photo_8435261.html","width":130,"caption":"","height":92});
															thumbnails[8435432] = clik.newPhoto({"id":8435432,"src":"54L_thumb.jpg","galleries_id":446431,"server_id":18,"link":"photo_8435432.html","width":130,"caption":"","height":92});
															thumbnails[8435455] = clik.newPhoto({"id":8435455,"src":"38P_thumb.jpg","galleries_id":446432,"server_id":18,"link":"photo_8435455.html","width":130,"caption":"","height":183});
															thumbnails[8437595] = clik.newPhoto({"id":8437595,"src":"44P1_thumb.jpg","galleries_id":446460,"server_id":18,"link":"photo_8437595.html","width":130,"caption":"","height":183});
															thumbnails[8437655] = clik.newPhoto({"id":8437655,"src":"35P_thumb.jpg","galleries_id":446461,"server_id":18,"link":"photo_8437655.html","width":130,"caption":"","height":183});
															thumbnails[8437703] = clik.newPhoto({"id":8437703,"src":"38P_49829739-24E8-5EC4-4F14F02267CE101F_thumb.jpg","galleries_id":446462,"server_id":18,"link":"photo_8437703.html","width":130,"caption":"","height":183});
															thumbnails[8437814] = clik.newPhoto({"id":8437814,"src":"20P_thumb.jpg","galleries_id":446463,"server_id":18,"link":"photo_8437814.html","width":130,"caption":"","height":183});
															thumbnails[8437835] = clik.newPhoto({"id":8437835,"src":"31P1_thumb.jpg","galleries_id":446464,"server_id":18,"link":"photo_8437835.html","width":130,"caption":"","height":183});
															thumbnails[8442682] = clik.newPhoto({"id":8442682,"src":"68L_thumb.jpg","galleries_id":446459,"server_id":18,"link":"photo_8442682.html","width":130,"caption":"","height":92});
															thumbnails[8502400] = clik.newPhoto({"id":8502400,"src":"71L_thumb.jpg","galleries_id":446458,"server_id":18,"link":"photo_8502400.html","width":130,"caption":"","height":92});
															thumbnails[4827532] = clik.newPhoto({"id":4827532,"src":"00163_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_4827532.html","width":130,"caption":"Mave","height":189});
															thumbnails[2489791] = clik.newPhoto({"id":2489791,"src":"00168_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489791.html","width":130,"caption":"Zulu","height":189});
															thumbnails[2698012] = clik.newPhoto({"id":2698012,"src":"00093_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2698012.html","width":130,"caption":"Toby","height":189});
															thumbnails[3268622] = clik.newPhoto({"id":3268622,"src":"00136_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_3268622.html","width":130,"caption":"Herbie","height":189});
															thumbnails[3268625] = clik.newPhoto({"id":3268625,"src":"00137_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_3268625.html","width":130,"caption":"Ebony","height":189});
															thumbnails[4827533] = clik.newPhoto({"id":4827533,"src":"00166_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_4827533.html","width":130,"caption":"Biff","height":189});
															thumbnails[5206719] = clik.newPhoto({"id":5206719,"src":"poppy_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_5206719.html","width":130,"caption":"Poppy","height":189});
															thumbnails[2489724] = clik.newPhoto({"id":2489724,"src":"00079_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489724.html","width":130,"caption":"Golden Boys","height":90});
															thumbnails[2489759] = clik.newPhoto({"id":2489759,"src":"00081_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489759.html","width":130,"caption":"Loyal Friends","height":90});
															thumbnails[2489717] = clik.newPhoto({"id":2489717,"src":"00072_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489717.html","width":130,"caption":"Two Black Labs","height":90});
															thumbnails[2489760] = clik.newPhoto({"id":2489760,"src":"00082_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489760.html","width":130,"caption":"loving companions","height":90});
															thumbnails[3268694] = clik.newPhoto({"id":3268694,"src":"00135_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_3268694.html","width":130,"caption":"Chewy","height":189});
															thumbnails[2489782] = clik.newPhoto({"id":2489782,"src":"00167_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489782.html","width":130,"caption":"Kiera","height":90});
															thumbnails[2697255] = clik.newPhoto({"id":2697255,"src":"00086_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2697255.html","width":130,"caption":"Merlot","height":90});
															thumbnails[2489769] = clik.newPhoto({"id":2489769,"src":"00165_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489769.html","width":130,"caption":"On Lookout","height":90});
															thumbnails[2697260] = clik.newPhoto({"id":2697260,"src":"00087_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2697260.html","width":130,"caption":"Merlot","height":90});
															thumbnails[2489776] = clik.newPhoto({"id":2489776,"src":"000061_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_2489776.html","width":130,"caption":"Murray","height":90});
															thumbnails[4827534] = clik.newPhoto({"id":4827534,"src":"00164_thumb.jpg","galleries_id":467957,"server_id":18,"link":"photo_4827534.html","width":130,"caption":"Ladies In Waiting","height":57});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[467957] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Previous Commissions","link":"section567286.html","maxRecords":0.0,"photoIDs":[4827532.0,2489791.0,2698012.0,3268622.0,3268625.0,4827533.0,5206719.0,2489724.0,2489759.0,2489717.0,2489760.0,3268694.0,2489782.0,2697255.0,2489769.0,2697260.0,2489776.0,4827534.0],"skipIndex":0,"section_code":"section567286","featured_images":"5206719,4827534,4827533,4827532,3268694,3268625,3268622,2698012,2697260,2697255","id":467957,"singleSection":true});				  						galleries[464383] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"African Wildlife Bespoke Prints","link":"gallery_464383.html","maxRecords":0.0,"photoIDs":[8874925.0,8851916.0,8851913.0,8851857.0,8874817.0,8851932.0,8851918.0,8829662.0,8829709.0,8830012.0,8830126.0,8851922.0,8839792.0,8840556.0,8840590.0,8840707.0,8851930.0],"skipIndex":0,"section_code":"gallery","featured_images":8839792.0,"id":464383,"singleSection":false});				  						galleries[446459] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Shire Horse Pack","link":"section535834_446459.html","maxRecords":12.0,"photoIDs":[8435726.0,8435727.0,8435740.0,8435741.0,8442680.0,8442682.0],"skipIndex":0,"section_code":"section535834","featured_images":8435726.0,"id":446459,"singleSection":false});				  						galleries[466736] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"African Wildlife Small Prints","link":"gallery_466736.html","maxRecords":0.0,"photoIDs":[8882109.0,8882129.0,8874873.0,8882185.0,8882171.0,8882191.0,8882120.0],"skipIndex":0,"section_code":"gallery","featured_images":8882185.0,"id":466736,"singleSection":false});				  						galleries[464384] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"British Wildlife Bespoke Prints","link":"gallery_464384.html","maxRecords":0.0,"photoIDs":[8840227.0,8840341.0,8840358.0,8830744.0,8830830.0,8876838.0,8840216.0,8839940.0,8840204.0,8840196.0,8830790.0,8825356.0],"skipIndex":0,"section_code":"gallery","featured_images":8840358.0,"id":464384,"singleSection":false});				  						galleries[445940] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Red Deer Pack","link":"section535834_445940.html","maxRecords":12.0,"photoIDs":[8428485.0,8428489.0,8428491.0,8442687.0,8442690.0,8428509.0],"skipIndex":0,"section_code":"section535834","featured_images":8428485.0,"id":445940,"singleSection":false});				  						galleries[445939] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Roe Deer Pack","link":"section535834_445939.html","maxRecords":12.0,"photoIDs":[8416318.0,8416315.0,8416310.0,8416319.0,8416320.0,8416322.0],"skipIndex":0,"section_code":"section535834","featured_images":8416318,"id":445939,"singleSection":false});				  						galleries[466735] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"British Wildlife Small Prints","link":"gallery_466735.html","maxRecords":0.0,"photoIDs":[8891827.0,8877126.0,8877135.0,8877143.0,8875219.0,8877083.0,8913586.0,8891956.0,8891958.0,8891960.0,8891952.0,9001964.0,9001947.0,9001948.0,9001950.0,9001954.0,9001956.0,9001957.0,9001963.0],"skipIndex":0,"section_code":"gallery","featured_images":8891827.0,"id":466735,"singleSection":false});				  						galleries[445941] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Fallow Deer Pack","link":"section535834_445941.html","maxRecords":12.0,"photoIDs":[8428291.0,8425098.0,8428306.0,8428337.0,8428385.0,8428387.0],"skipIndex":0,"section_code":"section535834","featured_images":8428291.0,"id":445941,"singleSection":false});				  						galleries[446248] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Mixed Deer Pack","link":"section535834_446248.html","maxRecords":12.0,"photoIDs":[8428565.0,8428571.0,8428596.0,8428604.0,8428607.0,8428612.0],"skipIndex":0,"section_code":"section535834","featured_images":8428571.0,"id":446248,"singleSection":false});				  						galleries[446458] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dolphin Pack","link":"section535834_446458.html","maxRecords":12.0,"photoIDs":[8435725.0,8435709.0,8435456.0,8502395.0,8502397.0,8502400.0],"skipIndex":0,"section_code":"section535834","featured_images":8502397.0,"id":446458,"singleSection":false});				  						galleries[446423] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Countryside Pack I","link":"section535834_446423.html","maxRecords":12.0,"photoIDs":[8432555.0,8432559.0,8432561.0,8432578.0,8432632.0,8432686.0],"skipIndex":0,"section_code":"section535834","featured_images":8432555.0,"id":446423,"singleSection":false});				  						galleries[446424] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Countryside Pack II","link":"section535834_446424.html","maxRecords":12.0,"photoIDs":[8432738.0,8432746.0,8432757.0,8432764.0,8432769.0,8432771.0],"skipIndex":0,"section_code":"section535834","featured_images":8432757.0,"id":446424,"singleSection":false});				  						galleries[446425] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Countryside Pack III","link":"section535834_446425.html","maxRecords":12.0,"photoIDs":[8432784.0,8432797.0,8432885.0,8432888.0,8432889.0,8432890.0],"skipIndex":0,"section_code":"section535834","featured_images":8432888.0,"id":446425,"singleSection":false});				  						galleries[446427] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wildlife Pack","link":"section535834_446427.html","maxRecords":12.0,"photoIDs":[8433114.0,8433116.0,8433117.0,8433120.0,8433121.0,8433127.0],"skipIndex":0,"section_code":"section535834","featured_images":8433114.0,"id":446427,"singleSection":false});				  						galleries[446460] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dog Pack I","link":"section535834_446460.html","maxRecords":12.0,"photoIDs":[8437555.0,8437559.0,8437561.0,8437583.0,8437591.0,8437595.0],"skipIndex":0,"section_code":"section535834","featured_images":8437555.0,"id":446460,"singleSection":false});				  						galleries[446461] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dog Pack II","link":"section535834_446461.html","maxRecords":12.0,"photoIDs":[8437620.0,8442715.0,8437622.0,8437624.0,8437649.0,8437655.0],"skipIndex":0,"section_code":"section535834","featured_images":8442715.0,"id":446461,"singleSection":false});				  						galleries[446429] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bird Pack I","link":"section535834_446429.html","maxRecords":12.0,"photoIDs":[8433151.0,8433153.0,8433160.0,8433162.0,8433165.0,8433167.0],"skipIndex":0,"section_code":"section535834","featured_images":8433165.0,"id":446429,"singleSection":false});				  						galleries[446430] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bird Pack II","link":"section535834_446430.html","maxRecords":12.0,"photoIDs":[8435255.0,8435256.0,8435257.0,8435258.0,8435259.0,8435261.0],"skipIndex":0,"section_code":"section535834","featured_images":8435259.0,"id":446430,"singleSection":false});				  						galleries[446431] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bird Pack III","link":"section535834_446431.html","maxRecords":12.0,"photoIDs":[8435262.0,8435316.0,8435335.0,8435336.0,8435380.0,8435432.0],"skipIndex":0,"section_code":"section535834","featured_images":8435316.0,"id":446431,"singleSection":false});				  						galleries[446432] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bird Pack IV","link":"section535834_446432.html","maxRecords":12.0,"photoIDs":[8435442.0,8435446.0,8435449.0,8435453.0,8435454.0,8435455.0],"skipIndex":0,"section_code":"section535834","featured_images":8435446.0,"id":446432,"singleSection":false});				  						galleries[446428] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bird Of Prey Pack","link":"section535834_446428.html","maxRecords":12.0,"photoIDs":[8433137.0,8433140.0,8433142.0,8433146.0,8433147.0,8433149.0],"skipIndex":0,"section_code":"section535834","featured_images":8433140.0,"id":446428,"singleSection":false});				  						galleries[446340] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dartmoor Pack","link":"section535834_446340.html","maxRecords":12.0,"photoIDs":[8431195.0,8431198.0,8431199.0,8431200.0,8431201.0,8431204.0],"skipIndex":0,"section_code":"section535834","featured_images":8431200.0,"id":446340,"singleSection":false});				  						galleries[446464] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Africa Pack I","link":"section535834_446464.html","maxRecords":12.0,"photoIDs":[8437823.0,8437827.0,8437830.0,8437832.0,8437834.0,8437835.0],"skipIndex":0,"section_code":"section535834","featured_images":8437823.0,"id":446464,"singleSection":false});				  						galleries[446463] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Africa Pack II","link":"section535834_446463.html","maxRecords":12.0,"photoIDs":[8437736.0,8437740.0,8437745.0,8437767.0,8437779.0,8437814.0],"skipIndex":0,"section_code":"section535834","featured_images":8437736.0,"id":446463,"singleSection":false});				  						galleries[446462] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Africa Pack III","link":"section535834_446462.html","maxRecords":12.0,"photoIDs":[8437665.0,8437685.0,8437688.0,8437695.0,8437698.0,8437703.0],"skipIndex":0,"section_code":"section535834","featured_images":8437665.0,"id":446462,"singleSection":false});				  						galleries[446422] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dartmoor Pony Pack","link":"section535834_446422.html","maxRecords":12.0,"photoIDs":[8432490.0,8432494.0,8432498.0,8432513.0,8432525.0,8432527.0],"skipIndex":0,"section_code":"section535834","featured_images":8432498.0,"id":446422,"singleSection":false});				  						galleries[445932] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Puffin Pack","link":"section535834_445932.html","maxRecords":12.0,"photoIDs":[8415741.0,8415742.0,8415747.0,8415805.0,8415809.0,8415810.0],"skipIndex":0,"section_code":"section535834","featured_images":8415747,"id":445932,"singleSection":false});				  						galleries[448990] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Click to Purchase","link":"section535834_448990.html","maxRecords":12.0,"photoIDs":[8493314.0],"skipIndex":0,"section_code":"section535834","featured_images":8493314.0,"id":448990,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8874925,8851916,8875219,8874817,8830744,8876838,8851918,8891956,2489724,8839940,2489759,8891960,2489769,2697260,8851930,4827534,9001964,9001947,9001957';
imageSets[2] = '8891827,8493314,8437823,8437736,8437665,8437555,8435726,8433114,8432555,8428485,8428291,8416318,8442715,8435446,8435316,8433140,8428571,8432757,8432498,8415747,8882185,8840358,8432888,8431200,8502397,8435259,8433165,8839792';
imageSets[3] = '9001964,9001963,9001957,9001956,9001954,9001950,9001948,9001947,8913586,8891960,8891958,8891956,8891952,8891827,8882191,8882185,8882171,8882129,8882120,8882109,8877143,8877135,8877126,8877083,8876838,8875219,8874925,8874873,8874817,8851932,8851930,8851922,8851918,8851916,8851913,8851857,8840707,8840590,8840556,8840358,8840341,8840227,8840216,8840204,8840196,8839940,8839792,8830830,8830790,8830744';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/BRIANSEDGBEER/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/BRIANSEDGBEER/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 = 'BRS images: ' + 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>';
	}
				
	temp += this.fnGetPaymentInfo();
				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>Buy now using PayPal:</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.payment_groups_id !== '') {
		temp += '<p>Purchase this print now</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="BRIANSEDGBEER">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

