window.thumbnails = {};
															thumbnails[646960] = clik.newPhoto({"id":646960,"src":"JudeHome1.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[740336] = clik.newPhoto({"id":740336,"src":"IMG_7016-sml.jpg","galleries_id":"","server_id":1,"link":"#","width":86,"caption":"","height":130});
															thumbnails[1719740] = clik.newPhoto({"id":1719740,"src":"edi_321sm-canvas1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":195});
															thumbnails[1720128] = clik.newPhoto({"id":1720128,"src":"Ellie-merry-xmas1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":190});
															thumbnails[3135117] = clik.newPhoto({"id":3135117,"src":"sept_oct08_093a_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":130});
															thumbnails[960306] = clik.newPhoto({"id":960306,"src":"hil_159-150X80.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":69});
															thumbnails[741778] = clik.newPhoto({"id":741778,"src":"SHE_8221.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":69});
															thumbnails[717105] = clik.newPhoto({"id":717105,"src":"270560271s.jpg","galleries_id":54243,"server_id":1,"link":"photo_717105.html","width":130,"caption":"","height":87});
															thumbnails[4034291] = clik.newPhoto({"id":4034291,"src":"28068_904a_thumb.jpg","galleries_id":54243,"server_id":1,"link":"photo_4034291.html","width":87,"caption":"","height":130});
															thumbnails[4294460] = clik.newPhoto({"id":4294460,"src":"Jasmine-Hyde-2-500_thumb.jpg","galleries_id":54243,"server_id":1,"link":"photo_4294460.html","width":87,"caption":"","height":130});
															thumbnails[741751] = clik.newPhoto({"id":741751,"src":"kerry 1 small1.jpg","galleries_id":57307,"server_id":1,"link":"photo_741751.html","width":80,"caption":"","height":120});
															thumbnails[4020262] = clik.newPhoto({"id":4020262,"src":"BEZ09059_0425_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4020262.html","width":97,"caption":"","height":145});
															thumbnails[4294254] = clik.newPhoto({"id":4294254,"src":"Jasmine-Hyde-HP-400px_thumb.jpg","galleries_id":54243,"server_id":1,"link":"photo_4294254.html","width":86,"caption":"","height":130});
															thumbnails[741754] = clik.newPhoto({"id":741754,"src":"fran1small.jpg","galleries_id":57307,"server_id":1,"link":"photo_741754.html","width":120,"caption":"","height":79});
															thumbnails[4294289] = clik.newPhoto({"id":4294289,"src":"Julian-Rhind-Tutt-1_thumb.jpg","galleries_id":54243,"server_id":1,"link":"photo_4294289.html","width":130,"caption":"","height":87});
															thumbnails[741755] = clik.newPhoto({"id":741755,"src":"Kerry2small1.jpg","galleries_id":57307,"server_id":1,"link":"photo_741755.html","width":82,"caption":"","height":120});
															thumbnails[4020562] = clik.newPhoto({"id":4020562,"src":"BEZ09059_0463_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4020562.html","width":130,"caption":"","height":87});
															thumbnails[4034658] = clik.newPhoto({"id":4034658,"src":"28068_547a_thumb.jpg","galleries_id":57307,"server_id":1,"link":"photo_4034658.html","width":87,"caption":"","height":130});
															thumbnails[741773] = clik.newPhoto({"id":741773,"src":"ROB10950126a-sml.jpg","galleries_id":57307,"server_id":1,"link":"photo_741773.html","width":130,"caption":"","height":86});
															thumbnails[4020094] = clik.newPhoto({"id":4020094,"src":"BEZ09059_0458a_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4020094.html","width":130,"caption":"","height":87});
															thumbnails[4035178] = clik.newPhoto({"id":4035178,"src":"BEZ09059_0485_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4035178.html","width":130,"caption":"","height":130});
															thumbnails[4294303] = clik.newPhoto({"id":4294303,"src":"Julian-Rhind-Tutt-2_thumb.jpg","galleries_id":54243,"server_id":1,"link":"photo_4294303.html","width":87,"caption":"","height":130});
															thumbnails[740345] = clik.newPhoto({"id":740345,"src":"SHE_3381.jpg","galleries_id":242657,"server_id":1,"link":"photo_740345.html","width":130,"caption":"","height":87});
															thumbnails[740376] = clik.newPhoto({"id":740376,"src":"IMG_0175-sml.jpg","galleries_id":54243,"server_id":1,"link":"photo_740376.html","width":130,"caption":"","height":86});
															thumbnails[741768] = clik.newPhoto({"id":741768,"src":"ROB10950028a-sml.jpg","galleries_id":57307,"server_id":1,"link":"photo_741768.html","width":89,"caption":"","height":134});
															thumbnails[4035096] = clik.newPhoto({"id":4035096,"src":"SHE_411a_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4035096.html","width":87,"caption":"","height":130});
															thumbnails[740378] = clik.newPhoto({"id":740378,"src":"IMG_6984-sml.jpg","galleries_id":54243,"server_id":1,"link":"photo_740378.html","width":88,"caption":"","height":133});
															thumbnails[4020203] = clik.newPhoto({"id":4020203,"src":"SHE_414_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4020203.html","width":130,"caption":"","height":87});
															thumbnails[4035145] = clik.newPhoto({"id":4035145,"src":"SHE_505a_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4035145.html","width":87,"caption":"","height":130});
															thumbnails[740402] = clik.newPhoto({"id":740402,"src":"20750117c-2-sml.jpg","galleries_id":54243,"server_id":1,"link":"photo_740402.html","width":88,"caption":"","height":133});
															thumbnails[741779] = clik.newPhoto({"id":741779,"src":"IMG_6916-sml.jpg","galleries_id":57307,"server_id":1,"link":"photo_741779.html","width":89,"caption":"","height":135});
															thumbnails[4034822] = clik.newPhoto({"id":4034822,"src":"SHE_507_thumb.jpg","galleries_id":242657,"server_id":1,"link":"photo_4034822.html","width":130,"caption":"","height":87});
															thumbnails[740382] = clik.newPhoto({"id":740382,"src":"270560146-sml.jpg","galleries_id":54243,"server_id":1,"link":"photo_740382.html","width":130,"caption":"","height":86});
															thumbnails[741780] = clik.newPhoto({"id":741780,"src":"IMG_0033-sml.jpg","galleries_id":57307,"server_id":1,"link":"photo_741780.html","width":130,"caption":"","height":86});
															thumbnails[740410] = clik.newPhoto({"id":740410,"src":"SHE_151-sml.jpg","galleries_id":54243,"server_id":1,"link":"photo_740410.html","width":130,"caption":"","height":68});
															thumbnails[741781] = clik.newPhoto({"id":741781,"src":"SHE_206a-sml.jpg","galleries_id":57307,"server_id":1,"link":"photo_741781.html","width":86,"caption":"","height":130});
															thumbnails[4034753] = clik.newPhoto({"id":4034753,"src":"GRA20098_0620_thumb.jpg","galleries_id":54243,"server_id":1,"link":"photo_4034753.html","width":87,"caption":"","height":130});
															thumbnails[740348] = clik.newPhoto({"id":740348,"src":"IMG_7441-sml.jpg","galleries_id":57307,"server_id":1,"link":"photo_740348.html","width":86,"caption":"","height":130});
															thumbnails[3134874] = clik.newPhoto({"id":3134874,"src":"MIE500_thumb.jpg","galleries_id":72465,"server_id":1,"link":"photo_3134874.html","width":130,"caption":"","height":86});
															thumbnails[741500] = clik.newPhoto({"id":741500,"src":"21.05.50141b1.jpg","galleries_id":57193,"server_id":1,"link":"photo_741500.html","width":130,"caption":"","height":87});
															thumbnails[741526] = clik.newPhoto({"id":741526,"src":"T_F002.jpg","galleries_id":72465,"server_id":1,"link":"photo_741526.html","width":120,"caption":"","height":89});
															thumbnails[741759] = clik.newPhoto({"id":741759,"src":"THA25850079-sml.jpg","galleries_id":57290,"server_id":1,"link":"photo_741759.html","width":130,"caption":"","height":86});
															thumbnails[960248] = clik.newPhoto({"id":960248,"src":"hil_138abw-150x100.jpg","galleries_id":72465,"server_id":1,"link":"photo_960248.html","width":130,"caption":"","height":87});
															thumbnails[3517846] = clik.newPhoto({"id":3517846,"src":"hector6_thumb.jpg","galleries_id":57193,"server_id":1,"link":"photo_3517846.html","width":130,"caption":"","height":196});
															thumbnails[741516] = clik.newPhoto({"id":741516,"src":"bri_99_1101.jpg","galleries_id":57193,"server_id":1,"link":"photo_741516.html","width":106,"caption":"","height":160});
															thumbnails[741603] = clik.newPhoto({"id":741603,"src":"IMG_9457brn1.jpg","galleries_id":57290,"server_id":1,"link":"photo_741603.html","width":106,"caption":"","height":160});
															thumbnails[960358] = clik.newPhoto({"id":960358,"src":"SCO_061-100X150P.jpg","galleries_id":57290,"server_id":1,"link":"photo_960358.html","width":100,"caption":"","height":150});
															thumbnails[741608] = clik.newPhoto({"id":741608,"src":"IMG_97461.jpg","galleries_id":57290,"server_id":1,"link":"photo_741608.html","width":130,"caption":"","height":87});
															thumbnails[960254] = clik.newPhoto({"id":960254,"src":"hil_139-150X100.jpg","galleries_id":72465,"server_id":1,"link":"photo_960254.html","width":130,"caption":"","height":87});
															thumbnails[960257] = clik.newPhoto({"id":960257,"src":"hil_141-150X100.jpg","galleries_id":72465,"server_id":1,"link":"photo_960257.html","width":130,"caption":"","height":87});
															thumbnails[741533] = clik.newPhoto({"id":741533,"src":"T_F006.jpg","galleries_id":57193,"server_id":1,"link":"photo_741533.html","width":80,"caption":"","height":120});
															thumbnails[741657] = clik.newPhoto({"id":741657,"src":"220460081a.jpg","galleries_id":57290,"server_id":1,"link":"photo_741657.html","width":65,"caption":"","height":120});
															thumbnails[741548] = clik.newPhoto({"id":741548,"src":"WIL179050031b1.jpg","galleries_id":57193,"server_id":1,"link":"photo_741548.html","width":130,"caption":"","height":69});
															thumbnails[741660] = clik.newPhoto({"id":741660,"src":"isl_193-sml.jpg","galleries_id":57290,"server_id":1,"link":"photo_741660.html","width":130,"caption":"","height":88});
															thumbnails[960311] = clik.newPhoto({"id":960311,"src":"hil_159bw-150X80.jpg","galleries_id":72465,"server_id":1,"link":"photo_960311.html","width":130,"caption":"","height":69});
															thumbnails[741724] = clik.newPhoto({"id":741724,"src":"pip_0821.jpg","galleries_id":57290,"server_id":1,"link":"photo_741724.html","width":106,"caption":"","height":160});
															thumbnails[960356] = clik.newPhoto({"id":960356,"src":"hil_169-106X160P.jpg","galleries_id":72465,"server_id":1,"link":"photo_960356.html","width":106,"caption":"","height":160});
															thumbnails[741553] = clik.newPhoto({"id":741553,"src":"IMG_9196bwspot1.jpg","galleries_id":57193,"server_id":1,"link":"photo_741553.html","width":106,"caption":"","height":160});
															thumbnails[741562] = clik.newPhoto({"id":741562,"src":"T_009.jpg","galleries_id":57193,"server_id":1,"link":"photo_741562.html","width":120,"caption":"","height":79});
															thumbnails[741734] = clik.newPhoto({"id":741734,"src":"IMG_5516a-sml.jpg","galleries_id":57290,"server_id":1,"link":"photo_741734.html","width":130,"caption":"","height":69});
															thumbnails[741583] = clik.newPhoto({"id":741583,"src":"spr_096final-sml.jpg","galleries_id":57193,"server_id":1,"link":"photo_741583.html","width":130,"caption":"","height":129});
															thumbnails[741590] = clik.newPhoto({"id":741590,"src":"T_F005.jpg","galleries_id":57193,"server_id":1,"link":"photo_741590.html","width":120,"caption":"","height":80});
															thumbnails[741744] = clik.newPhoto({"id":741744,"src":"bri_363_1_10x8bw1.jpg","galleries_id":57290,"server_id":1,"link":"photo_741744.html","width":130,"caption":"","height":163});
															thumbnails[741746] = clik.newPhoto({"id":741746,"src":"WIL179050035b1.jpg","galleries_id":57290,"server_id":1,"link":"photo_741746.html","width":130,"caption":"","height":87});
															thumbnails[755904] = clik.newPhoto({"id":755904,"src":"T_fieldandsky.jpg","galleries_id":58411,"server_id":1,"link":"photo_755904.html","width":93,"caption":"","height":87});
															thumbnails[3628287] = clik.newPhoto({"id":3628287,"src":"27087_174web_thumb.jpg","galleries_id":58411,"server_id":1,"link":"photo_3628287.html","width":130,"caption":"","height":87});
															thumbnails[755906] = clik.newPhoto({"id":755906,"src":"T_provence.jpg","galleries_id":58411,"server_id":1,"link":"photo_755906.html","width":120,"caption":"","height":51});
															thumbnails[3628661] = clik.newPhoto({"id":3628661,"src":"IMG_6571web1_thumb.jpg","galleries_id":58411,"server_id":1,"link":"photo_3628661.html","width":130,"caption":"","height":75});
															thumbnails[755907] = clik.newPhoto({"id":755907,"src":"T_irish-sunrise.jpg","galleries_id":58411,"server_id":1,"link":"photo_755907.html","width":120,"caption":"","height":81});
															thumbnails[755911] = clik.newPhoto({"id":755911,"src":"T_Wells1.jpg","galleries_id":58411,"server_id":1,"link":"photo_755911.html","width":90,"caption":"","height":90});
															thumbnails[755927] = clik.newPhoto({"id":755927,"src":"IMG_36343.jpg","galleries_id":58411,"server_id":1,"link":"photo_755927.html","width":86,"caption":"","height":130});
															thumbnails[755933] = clik.newPhoto({"id":755933,"src":"IMG_33611.jpg","galleries_id":58411,"server_id":1,"link":"photo_755933.html","width":86,"caption":"","height":130});
															thumbnails[760632] = clik.newPhoto({"id":760632,"src":"Fra_225a-sml.jpg","galleries_id":58411,"server_id":1,"link":"photo_760632.html","width":130,"caption":"","height":86});
															thumbnails[760643] = clik.newPhoto({"id":760643,"src":"feb07_255-sml.jpg","galleries_id":58411,"server_id":1,"link":"photo_760643.html","width":130,"caption":"","height":86});
															thumbnails[755971] = clik.newPhoto({"id":755971,"src":"T_Tulip.jpg","galleries_id":58416,"server_id":1,"link":"photo_755971.html","width":120,"caption":"","height":80});
															thumbnails[755947] = clik.newPhoto({"id":755947,"src":"T-teasels.jpg","galleries_id":58416,"server_id":1,"link":"photo_755947.html","width":91,"caption":"","height":90});
															thumbnails[755961] = clik.newPhoto({"id":755961,"src":"21.06.0400401.jpg","galleries_id":58416,"server_id":1,"link":"photo_755961.html","width":128,"caption":"","height":128});
															thumbnails[755965] = clik.newPhoto({"id":755965,"src":"cllematis1.jpg","galleries_id":58416,"server_id":1,"link":"photo_755965.html","width":128,"caption":"","height":128});
															thumbnails[755968] = clik.newPhoto({"id":755968,"src":"T_poppy-centre.jpg","galleries_id":58416,"server_id":1,"link":"photo_755968.html","width":120,"caption":"","height":80});
															thumbnails[755942] = clik.newPhoto({"id":755942,"src":"tree-adjusted-rotated3.jpg","galleries_id":58416,"server_id":1,"link":"photo_755942.html","width":96,"caption":"","height":145});
															thumbnails[755974] = clik.newPhoto({"id":755974,"src":"T_thistle.jpg","galleries_id":58416,"server_id":1,"link":"photo_755974.html","width":90,"caption":"","height":97});
															thumbnails[755984] = clik.newPhoto({"id":755984,"src":"lily-black-background1.jpg","galleries_id":58416,"server_id":1,"link":"photo_755984.html","width":128,"caption":"","height":128});
															thumbnails[755990] = clik.newPhoto({"id":755990,"src":"T_Orchid.jpg","galleries_id":58416,"server_id":1,"link":"photo_755990.html","width":120,"caption":"","height":102});
															thumbnails[3077807] = clik.newPhoto({"id":3077807,"src":"Ellie-Xmas-08_thumb.jpg","galleries_id":58843,"server_id":1,"link":"photo_3077807.html","width":130,"caption":"","height":179});
															thumbnails[3138420] = clik.newPhoto({"id":3138420,"src":"Lurcher-Calendar-2009-L_thumb.jpg","galleries_id":58598,"server_id":1,"link":"photo_3138420.html","width":130,"caption":"Lurchers 2009 Calendar","height":87});
															thumbnails[757820] = clik.newPhoto({"id":757820,"src":"23-Jan-050024bw1.jpg","galleries_id":58598,"server_id":1,"link":"photo_757820.html","width":130,"caption":"","height":87});
															thumbnails[760727] = clik.newPhoto({"id":760727,"src":"Chablis-41.jpg","galleries_id":58843,"server_id":1,"link":"photo_760727.html","width":106,"caption":"","height":160});
															thumbnails[3628239] = clik.newPhoto({"id":3628239,"src":"RAN08048_166web_thumb.jpg","galleries_id":58843,"server_id":1,"link":"photo_3628239.html","width":130,"caption":"","height":130});
															thumbnails[3628295] = clik.newPhoto({"id":3628295,"src":"1_A050908_046web_thumb.jpg","galleries_id":58598,"server_id":1,"link":"photo_3628295.html","width":130,"caption":"","height":195});
															thumbnails[757837] = clik.newPhoto({"id":757837,"src":"SEPT0500451.jpg","galleries_id":58598,"server_id":1,"link":"photo_757837.html","width":130,"caption":"","height":130});
															thumbnails[760677] = clik.newPhoto({"id":760677,"src":"140660104bw1.jpg","galleries_id":58843,"server_id":1,"link":"photo_760677.html","width":130,"caption":"","height":196});
															thumbnails[3628312] = clik.newPhoto({"id":3628312,"src":"WAR08118_289web_thumb.jpg","galleries_id":58843,"server_id":1,"link":"photo_3628312.html","width":130,"caption":"","height":87});
															thumbnails[757831] = clik.newPhoto({"id":757831,"src":"isla_06a1.jpg","galleries_id":58598,"server_id":1,"link":"photo_757831.html","width":130,"caption":"","height":97});
															thumbnails[760716] = clik.newPhoto({"id":760716,"src":"1406600921.jpg","galleries_id":58843,"server_id":1,"link":"photo_760716.html","width":85,"caption":"","height":160});
															thumbnails[3628364] = clik.newPhoto({"id":3628364,"src":"Nov08_020aweb_thumb.jpg","galleries_id":58843,"server_id":1,"link":"photo_3628364.html","width":130,"caption":"","height":195});
															thumbnails[757835] = clik.newPhoto({"id":757835,"src":"Untitled-11.jpg","galleries_id":58598,"server_id":1,"link":"photo_757835.html","width":130,"caption":"","height":163});
															thumbnails[757975] = clik.newPhoto({"id":757975,"src":"110260105a1.jpg","galleries_id":58598,"server_id":1,"link":"photo_757975.html","width":130,"caption":"","height":87});
															thumbnails[760743] = clik.newPhoto({"id":760743,"src":"IMG_9392aspot1.jpg","galleries_id":58843,"server_id":1,"link":"photo_760743.html","width":130,"caption":"","height":87});
															thumbnails[757976] = clik.newPhoto({"id":757976,"src":"IMG_89561.jpg","galleries_id":58598,"server_id":1,"link":"photo_757976.html","width":85,"caption":"","height":128});
															thumbnails[760832] = clik.newPhoto({"id":760832,"src":"110502391.jpg","galleries_id":58843,"server_id":1,"link":"photo_760832.html","width":120,"caption":"","height":64});
															thumbnails[758007] = clik.newPhoto({"id":758007,"src":"bit_661.jpg","galleries_id":58598,"server_id":1,"link":"photo_758007.html","width":106,"caption":"","height":160});
															thumbnails[760854] = clik.newPhoto({"id":760854,"src":"260360114.jpg","galleries_id":58843,"server_id":1,"link":"photo_760854.html","width":120,"caption":"","height":120});
															thumbnails[758012] = clik.newPhoto({"id":758012,"src":"lew_2871.jpg","galleries_id":58598,"server_id":1,"link":"photo_758012.html","width":130,"caption":"","height":104});
															thumbnails[760858] = clik.newPhoto({"id":760858,"src":"4th-March-05-0095bw.jpg","galleries_id":58843,"server_id":1,"link":"photo_760858.html","width":120,"caption":"","height":80});
															thumbnails[758016] = clik.newPhoto({"id":758016,"src":"heart_0221.jpg","galleries_id":58598,"server_id":1,"link":"photo_758016.html","width":90,"caption":"","height":135});
															thumbnails[760886] = clik.newPhoto({"id":760886,"src":"feb07_248-sml.jpg","galleries_id":58843,"server_id":1,"link":"photo_760886.html","width":130,"caption":"","height":87});
															thumbnails[758003] = clik.newPhoto({"id":758003,"src":"heart_019a1.jpg","galleries_id":58598,"server_id":1,"link":"photo_758003.html","width":130,"caption":"","height":60});
															thumbnails[758032] = clik.newPhoto({"id":758032,"src":"ellie-and-wilbur-best2.jpg","galleries_id":58598,"server_id":1,"link":"photo_758032.html","width":130,"caption":"","height":87});
															thumbnails[762334] = clik.newPhoto({"id":762334,"src":"heart_275-sml.jpg","galleries_id":58843,"server_id":1,"link":"photo_762334.html","width":130,"caption":"","height":86});
															thumbnails[758053] = clik.newPhoto({"id":758053,"src":"isl_189a1.jpg","galleries_id":58598,"server_id":1,"link":"photo_758053.html","width":130,"caption":"","height":83});
															thumbnails[762296] = clik.newPhoto({"id":762296,"src":"heart_250-sml.jpg","galleries_id":58842,"server_id":1,"link":"photo_762296.html","width":93,"caption":"","height":140});
															thumbnails[2012934] = clik.newPhoto({"id":2012934,"src":"mot_008a_thumb.jpg","galleries_id":134948,"server_id":1,"link":"photo_2012934.html","width":130,"caption":"Front Cover Shot for Bedroom Catalogue","height":195});
															thumbnails[2012949] = clik.newPhoto({"id":2012949,"src":"LIF111207_006a_thumb.jpg","galleries_id":134952,"server_id":1,"link":"photo_2012949.html","width":130,"caption":"Brochure Photos","height":87});
															thumbnails[2012974] = clik.newPhoto({"id":2012974,"src":"IMG_0133a_thumb.jpg","galleries_id":134937,"server_id":1,"link":"photo_2012974.html","width":130,"caption":"Corporate identity & web photography","height":87});
															thumbnails[3126528] = clik.newPhoto({"id":3126528,"src":"FOXandHoundsPub_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126528.html","width":130,"caption":"","height":87});
															thumbnails[762299] = clik.newPhoto({"id":762299,"src":"heart_254a-sml.jpg","galleries_id":58842,"server_id":1,"link":"photo_762299.html","width":93,"caption":"","height":140});
															thumbnails[2012940] = clik.newPhoto({"id":2012940,"src":"mot_005a_thumb.jpg","galleries_id":134948,"server_id":1,"link":"photo_2012940.html","width":130,"caption":"","height":195});
															thumbnails[2012957] = clik.newPhoto({"id":2012957,"src":"LIF111207_190_thumb.jpg","galleries_id":134952,"server_id":1,"link":"photo_2012957.html","width":130,"caption":"","height":87});
															thumbnails[2012989] = clik.newPhoto({"id":2012989,"src":"IMG_0212_thumb.jpg","galleries_id":134937,"server_id":1,"link":"photo_2012989.html","width":130,"caption":"","height":194});
															thumbnails[2013037] = clik.newPhoto({"id":2013037,"src":"fox_033_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_2013037.html","width":130,"caption":"Christmas Card and web site photography","height":94});
															thumbnails[2013047] = clik.newPhoto({"id":2013047,"src":"fox_032a_card_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_2013047.html","width":130,"caption":"","height":89});
															thumbnails[762300] = clik.newPhoto({"id":762300,"src":"heart_258-sml.jpg","galleries_id":58842,"server_id":1,"link":"photo_762300.html","width":93,"caption":"","height":140});
															thumbnails[2012951] = clik.newPhoto({"id":2012951,"src":"LIF111207_044a_thumb.jpg","galleries_id":134952,"server_id":1,"link":"photo_2012951.html","width":130,"caption":"","height":195});
															thumbnails[2013006] = clik.newPhoto({"id":2013006,"src":"IMG_0231b_thumb.jpg","galleries_id":134937,"server_id":1,"link":"photo_2013006.html","width":130,"caption":"","height":194});
															thumbnails[2013014] = clik.newPhoto({"id":2013014,"src":"IMG_0241_thumb.jpg","galleries_id":134937,"server_id":1,"link":"photo_2013014.html","width":130,"caption":"","height":194});
															thumbnails[3126583] = clik.newPhoto({"id":3126583,"src":"Fox-and-Hounds-Wall-Art_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126583.html","width":100,"caption":"","height":150});
															thumbnails[2013019] = clik.newPhoto({"id":2013019,"src":"IMG_3981a_thumb.jpg","galleries_id":134937,"server_id":1,"link":"photo_2013019.html","width":130,"caption":"","height":194});
															thumbnails[3126621] = clik.newPhoto({"id":3126621,"src":"FoxHounds-desert-L_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126621.html","width":130,"caption":"","height":87});
															thumbnails[3126723] = clik.newPhoto({"id":3126723,"src":"FoxHoundsCoffee-L_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126723.html","width":100,"caption":"","height":150});
															thumbnails[2013022] = clik.newPhoto({"id":2013022,"src":"IMG_4015_thumb.jpg","galleries_id":134937,"server_id":1,"link":"photo_2013022.html","width":130,"caption":"","height":130});
															thumbnails[3126746] = clik.newPhoto({"id":3126746,"src":"FoxHoundsPumps-L_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126746.html","width":130,"caption":"","height":86});
															thumbnails[3126852] = clik.newPhoto({"id":3126852,"src":"FoxHoundsTables-L_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126852.html","width":100,"caption":"","height":150});
															thumbnails[3126884] = clik.newPhoto({"id":3126884,"src":"FoxHoundsDrink-L_thumb.jpg","galleries_id":134941,"server_id":1,"link":"photo_3126884.html","width":130,"caption":"","height":86});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[58598] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Animals 1","link":"section85376_58598.html","maxRecords":0.0,"photoIDs":[3138420.0,757820.0,3628295.0,757837.0,757831.0,757835.0,757975.0,757976.0,758007.0,758012.0,758016.0,758003.0,758032.0,758053.0],"skipIndex":0,"section_code":"section85376","featured_images":3628295.0,"id":58598,"singleSection":false});				  						galleries[134948] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate - Mothercare","link":"section85736_134948.html","maxRecords":0.0,"photoIDs":[2012934.0,2012940.0],"skipIndex":0,"section_code":"section85736","featured_images":2012934.0,"id":134948,"singleSection":false});				  						galleries[58416] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Flora","link":"section85158.html","maxRecords":0.0,"photoIDs":[755971.0,755947.0,755961.0,755965.0,755968.0,755942.0,755974.0,755984.0,755990.0],"skipIndex":0,"section_code":"section85158","featured_images":"755990,755984,755974,755971,755968,755965,755961,755947,755942","id":58416,"singleSection":true});				  						galleries[58411] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Scapes","link":"section85148.html","maxRecords":0.0,"photoIDs":[755904.0,3628287.0,755906.0,3628661.0,755907.0,755911.0,755927.0,755933.0,760632.0,760643.0],"skipIndex":0,"section_code":"section85148","featured_images":3628287.0,"id":58411,"singleSection":true});				  						galleries[242657] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings 1","link":"section79570_242657.html","maxRecords":0.0,"photoIDs":[4020262.0,4020562.0,4020094.0,4035178.0,740345.0,4035096.0,4020203.0,4035145.0,4034822.0],"skipIndex":0,"section_code":"section79570","featured_images":"4020262,4020094","id":242657,"singleSection":false});				  						galleries[58843] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Animals 2","link":"section85376_58843.html","maxRecords":0.0,"photoIDs":[3077807.0,760727.0,3628239.0,760677.0,3628312.0,760716.0,3628364.0,760743.0,760832.0,760854.0,760858.0,760886.0,762334.0],"skipIndex":0,"section_code":"section85376","featured_images":"3628239,3077807","id":58843,"singleSection":false});				  						galleries[58842] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate - Heart to Heart","link":"section85736_58842.html","maxRecords":0.0,"photoIDs":[762296.0,762299.0,762300.0],"skipIndex":0,"section_code":"section85736","featured_images":"762300,762299,762296","id":58842,"singleSection":false});				  						galleries[57193] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Family 1","link":"section83563_57193.html","maxRecords":0.0,"photoIDs":[741500.0,3517846.0,741516.0,741533.0,741548.0,741553.0,741562.0,741583.0,741590.0],"skipIndex":0,"section_code":"section83563","featured_images":3517846.0,"id":57193,"singleSection":false});				  						galleries[57290] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Family 2","link":"section83563_57290.html","maxRecords":0.0,"photoIDs":[741759.0,741603.0,960358.0,741608.0,741657.0,741660.0,741724.0,741734.0,741744.0,741746.0],"skipIndex":0,"section_code":"section83563","featured_images":"960358,741759,741746,741744,741734,741724,741660,741657,741608,741603","id":57290,"singleSection":false});				  						galleries[54243] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings 2","link":"section79570_54243.html","maxRecords":0.0,"photoIDs":[717105.0,4034291.0,4294460.0,4294254.0,4294289.0,4294303.0,740376.0,740378.0,740402.0,740382.0,740410.0,4034753.0],"skipIndex":0,"section_code":"section79570","featured_images":4294254.0,"id":54243,"singleSection":false});				  						galleries[72465] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Babies","link":"section83563_72465.html","maxRecords":0.0,"photoIDs":[3134874.0,741526.0,960248.0,960254.0,960257.0,960311.0,960356.0],"skipIndex":0,"section_code":"section83563","featured_images":960248.0,"id":72465,"singleSection":false});				  						galleries[134941] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate - Fox & Hounds","link":"section85736_134941.html","maxRecords":0.0,"photoIDs":[3126528.0,2013037.0,2013047.0,3126583.0,3126621.0,3126723.0,3126746.0,3126852.0,3126884.0],"skipIndex":0,"section_code":"section85736","featured_images":"3126528,2013037","id":134941,"singleSection":false});				  						galleries[57307] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Weddings 3","link":"section79570_57307.html","maxRecords":0.0,"photoIDs":[741751.0,741754.0,741755.0,4034658.0,741773.0,741768.0,741779.0,741780.0,741781.0,740348.0],"skipIndex":0,"section_code":"section79570","featured_images":"4034658,741781,741780,741779,741773,741768,741755,741754,741751,740348","id":57307,"singleSection":false});				  						galleries[134937] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate - Cape Gem","link":"section85736_134937.html","maxRecords":0.0,"photoIDs":[2012974.0,2012989.0,2013006.0,2013014.0,2013019.0,2013022.0],"skipIndex":0,"section_code":"section85736","featured_images":2012974.0,"id":134937,"singleSection":false});				  						galleries[134952] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Corporate - Life of Riley","link":"section85736_134952.html","maxRecords":0.0,"photoIDs":[2012949.0,2012957.0,2012951.0],"skipIndex":0,"section_code":"section85736","featured_images":2012949.0,"id":134952,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4034291,4294254,4020262,4294289,4020094,741779,740382';
imageSets[2] = '3077807,4294254,4020262,3628295,3628287,3628239,3517846,3126528,2012974,2012949,2012934,960248,2013037,4020094';
imageSets[3] = '4294460,4294303,4294289,4294254,4035178,4035145,4035096,4034822,4034753,4034658,4034291,4020562,4020262,4020203,4020094,3628661,3628364,3628312,3628295,3628287,3628239,3517846,3138420,3135117,3134874,3126884,3126852,3126746,3126723,3126621,3126583,3126528,3077807,2013047,2013037,2013022,2013019,2013014,2013006,2012989,2012974,2012957,2012951,2012949,2012940,2012934,1720128,1719740,960358,960356';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/simpleshots/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/simpleshots/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'SimpleShots: ' + 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>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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="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="SIMPLESHOTS">';
			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;
	}
}

			

