window.thumbnails = {};
															thumbnails[8591477] = clik.newPhoto({"id":8591477,"src":"Autumn_Portrait_Shoot_001_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_8591477.html","width":130,"caption":"Autumn Portrait Shoot","height":86});
															thumbnails[7400116] = clik.newPhoto({"id":7400116,"src":"Portraiture_057_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_7400116.html","width":130,"caption":"Portraiture 057","height":194});
															thumbnails[8918734] = clik.newPhoto({"id":8918734,"src":"Merry_Christmas_thumb.jpg","galleries_id":54451,"server_id":1,"link":"photo_8918734.html","width":130,"caption":"Merry Christmas","height":89});
															thumbnails[8604599] = clik.newPhoto({"id":8604599,"src":"Jess_Autumn_02_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_8604599.html","width":130,"caption":"Jess_Autumn_02","height":196});
															thumbnails[7561602] = clik.newPhoto({"id":7561602,"src":"Renewables_002_thumb.jpg","galleries_id":222322,"server_id":1,"link":"photo_7561602.html","width":130,"caption":"Renewables 002","height":87});
															thumbnails[3664218] = clik.newPhoto({"id":3664218,"src":"beach_stroll_6095_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_3664218.html","width":130,"caption":"beach stroll","height":130});
															thumbnails[8309392] = clik.newPhoto({"id":8309392,"src":"Trash_the_dress_4_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_8309392.html","width":130,"caption":"Trash_the_dress_4","height":196});
															thumbnails[3637284] = clik.newPhoto({"id":3637284,"src":"commercial1_8616_thumb.jpg","galleries_id":222322,"server_id":1,"link":"photo_3637284.html","width":130,"caption":"commercial 1","height":194});
															thumbnails[2677753] = clik.newPhoto({"id":2677753,"src":"throwleigh church_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_2677753.html","width":130,"caption":"Throwleigh Church","height":87});
															thumbnails[2749389] = clik.newPhoto({"id":2749389,"src":"pink_DSC_7757_thumb.jpg","galleries_id":172631,"server_id":1,"link":"photo_2749389.html","width":130,"caption":"pink","height":130});
															thumbnails[2677709] = clik.newPhoto({"id":2677709,"src":"auckland at night_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2677709.html","width":130,"caption":"Auckland at night","height":87});
															thumbnails[4878990] = clik.newPhoto({"id":4878990,"src":"Reportage_4147_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_4878990.html","width":130,"caption":"reportage","height":194});
															thumbnails[8841130] = clik.newPhoto({"id":8841130,"src":"Jess_Bridge_2_CCBDDB79-24E8-5EC4-4FB4C7386ADD42A1_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_8841130.html","width":130,"caption":"Jess Bridge 2","height":89});
															thumbnails[3637286] = clik.newPhoto({"id":3637286,"src":"commercial2_8623_thumb.jpg","galleries_id":222322,"server_id":1,"link":"photo_3637286.html","width":130,"caption":"commercial 2","height":91});
															thumbnails[2942372] = clik.newPhoto({"id":2942372,"src":"Alone_2376_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_2942372.html","width":130,"caption":"Alone","height":194});
															thumbnails[2749569] = clik.newPhoto({"id":2749569,"src":"abstract reeds_DSC_8103_thumb.jpg","galleries_id":172631,"server_id":1,"link":"photo_2749569.html","width":130,"caption":"abstract reeds","height":87});
															thumbnails[1817661] = clik.newPhoto({"id":1817661,"src":"pioneer_church_DSC_3164_thumb.jpg","galleries_id":54451,"server_id":1,"link":"photo_1817661.html","width":130,"caption":"Pioneer Church","height":89});
															thumbnails[708226] = clik.newPhoto({"id":708226,"src":"high_tide_0143_2A 0706_thumb.jpg","galleries_id":54444,"server_id":1,"link":"photo_708226.html","width":130,"caption":"high tide","height":87});
															thumbnails[946094] = clik.newPhoto({"id":946094,"src":"give_you_a_penny_0084C_1 0602_thumb.jpg","galleries_id":54449,"server_id":1,"link":"photo_946094.html","width":130,"caption":"give you a penny for your thoughts!","height":87});
															thumbnails[4516448] = clik.newPhoto({"id":4516448,"src":"weddings-006_3106_crop_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_4516448.html","width":130,"caption":"wedding reportage","height":130});
															thumbnails[3637290] = clik.newPhoto({"id":3637290,"src":"commercial3_8571_thumb.jpg","galleries_id":222322,"server_id":1,"link":"photo_3637290.html","width":130,"caption":"commercial 3","height":88});
															thumbnails[2677734] = clik.newPhoto({"id":2677734,"src":"coopers cottage_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_2677734.html","width":130,"caption":"coopers cottage","height":87});
															thumbnails[2641416] = clik.newPhoto({"id":2641416,"src":"jazzy_00121_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_2641416.html","width":130,"caption":"'Jazzy'","height":130});
															thumbnails[1817679] = clik.newPhoto({"id":1817679,"src":"Ocean Beach_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_1817679.html","width":130,"caption":"view from above Ocean Beach.","height":51});
															thumbnails[2677719] = clik.newPhoto({"id":2677719,"src":"clock museum_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2677719.html","width":130,"caption":"clock museum","height":194});
															thumbnails[8841129] = clik.newPhoto({"id":8841129,"src":"Jess_Bridge_1_CCBD7E93-24E8-5EC4-4F6FD26733540D81_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_8841129.html","width":130,"caption":"Jess Bridge 1","height":86});
															thumbnails[9035731] = clik.newPhoto({"id":9035731,"src":"Jess_99_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_9035731.html","width":130,"caption":"Jess 99","height":86});
															thumbnails[7561628] = clik.newPhoto({"id":7561628,"src":"Renewables_003_thumb.jpg","galleries_id":222322,"server_id":1,"link":"photo_7561628.html","width":130,"caption":"Renewables 003","height":87});
															thumbnails[2677760] = clik.newPhoto({"id":2677760,"src":"near tamaterau_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2677760.html","width":130,"caption":"near Tamaterau","height":87});
															thumbnails[8841131] = clik.newPhoto({"id":8841131,"src":"True_Love_1_CCBE6AC9-24E8-5EC4-4F0A5C2C8D8A8780_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_8841131.html","width":130,"caption":"True Love 1","height":196});
															thumbnails[7400091] = clik.newPhoto({"id":7400091,"src":"Portraiture_Photography_Fun_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_7400091.html","width":130,"caption":"Fun Portrait Photography","height":87});
															thumbnails[3479221] = clik.newPhoto({"id":3479221,"src":"All Smiles_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_3479221.html","width":130,"caption":"all smiles","height":194});
															thumbnails[1885300] = clik.newPhoto({"id":1885300,"src":"dark_secret_DSC_7756_thumb.jpg","galleries_id":54451,"server_id":1,"link":"photo_1885300.html","width":130,"caption":"dark secret","height":194});
															thumbnails[2677745] = clik.newPhoto({"id":2677745,"src":"kauri trunk_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2677745.html","width":130,"caption":"up a gum tree","height":87});
															thumbnails[8841132] = clik.newPhoto({"id":8841132,"src":"True_Love_2_CCBF0650-24E8-5EC4-4F849B09B82ECAA9_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_8841132.html","width":130,"caption":"True Love 2","height":196});
															thumbnails[2746952] = clik.newPhoto({"id":2746952,"src":"early morning sunshine_thumb.jpg","galleries_id":54449,"server_id":1,"link":"photo_2746952.html","width":130,"caption":"early morning sunshine","height":130});
															thumbnails[4516452] = clik.newPhoto({"id":4516452,"src":"weds_2957_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_4516452.html","width":130,"caption":"weddings","height":87});
															thumbnails[1852665] = clik.newPhoto({"id":1852665,"src":"wood_&_water_ DSC_3480_thumb.jpg","galleries_id":172631,"server_id":1,"link":"photo_1852665.html","width":130,"caption":"eye of the storm","height":87});
															thumbnails[1750299] = clik.newPhoto({"id":1750299,"src":"swamp_trees_DSC_2732_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_1750299.html","width":130,"caption":"swamp trees in NZ","height":91});
															thumbnails[708188] = clik.newPhoto({"id":708188,"src":"diagonal_huts_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_708188.html","width":130,"caption":"diagonal huts","height":86});
															thumbnails[2677757] = clik.newPhoto({"id":2677757,"src":"throwleigh sepia_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_2677757.html","width":130,"caption":"Throwleigh Sepia","height":87});
															thumbnails[7561591] = clik.newPhoto({"id":7561591,"src":"Renewables_thumb.jpg","galleries_id":222322,"server_id":1,"link":"photo_7561591.html","width":130,"caption":"Renewables","height":87});
															thumbnails[3479225] = clik.newPhoto({"id":3479225,"src":"Skye_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_3479225.html","width":130,"caption":"'Skye'","height":194});
															thumbnails[946098] = clik.newPhoto({"id":946098,"src":"Roadford Dam_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_946098.html","width":130,"caption":"Roadford Dam","height":97});
															thumbnails[2749201] = clik.newPhoto({"id":2749201,"src":"moor water_DSC_6985_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_2749201.html","width":130,"caption":"moor water","height":87});
															thumbnails[946104] = clik.newPhoto({"id":946104,"src":"Ghost Train_thumb.jpg","galleries_id":54451,"server_id":1,"link":"photo_946104.html","width":130,"caption":"ghost train","height":87});
															thumbnails[1852625] = clik.newPhoto({"id":1852625,"src":"waiting_for_the_sun 44k_logo_thumb.jpg","galleries_id":54449,"server_id":1,"link":"photo_1852625.html","width":130,"caption":"waiting for the sun","height":92});
															thumbnails[1852646] = clik.newPhoto({"id":1852646,"src":"sun comes up at Waipu Cove_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_1852646.html","width":130,"caption":"sunrise at Waipu Cove","height":87});
															thumbnails[2677751] = clik.newPhoto({"id":2677751,"src":"mystic kiwi_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2677751.html","width":130,"caption":"Mystic Kiwi","height":87});
															thumbnails[2096121] = clik.newPhoto({"id":2096121,"src":"Millook_Beach_Photo05_1_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_2096121.html","width":130,"caption":"Millook Beach","height":87});
															thumbnails[2749271] = clik.newPhoto({"id":2749271,"src":"Twolips_DSC_7764_thumb.jpg","galleries_id":54451,"server_id":1,"link":"photo_2749271.html","width":130,"caption":"twolips","height":87});
															thumbnails[946093] = clik.newPhoto({"id":946093,"src":"New Zealand sunrise_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_946093.html","width":130,"caption":"New Zealand sunrise","height":87});
															thumbnails[3664213] = clik.newPhoto({"id":3664213,"src":"asleep_on_the_beach_8873_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_3664213.html","width":130,"caption":"asleep on the beach","height":87});
															thumbnails[2782249] = clik.newPhoto({"id":2782249,"src":"Phoenix United Mine_1695_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_2782249.html","width":130,"caption":"Phoenix United Mine","height":87});
															thumbnails[2748287] = clik.newPhoto({"id":2748287,"src":"the early bird_thumb....jpg","galleries_id":54449,"server_id":1,"link":"photo_2748287.html","width":130,"caption":"the early bird...","height":87});
															thumbnails[9038294] = clik.newPhoto({"id":9038294,"src":"Jess_44_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_9038294.html","width":130,"caption":"Jess 44","height":201});
															thumbnails[4309694] = clik.newPhoto({"id":4309694,"src":"back_to_the_earth_1920_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_4309694.html","width":130,"caption":"back to the earth","height":108});
															thumbnails[2680699] = clik.newPhoto({"id":2680699,"src":"overflow_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2680699.html","width":130,"caption":"falls from below","height":87});
															thumbnails[2749724] = clik.newPhoto({"id":2749724,"src":"electric ladyDSC_0392_thumb.jpg","galleries_id":172631,"server_id":1,"link":"photo_2749724.html","width":130,"caption":"electric lady","height":87});
															thumbnails[946110] = clik.newPhoto({"id":946110,"src":"down_into_millook_06_11_thumb.jpg","galleries_id":54444,"server_id":1,"link":"photo_946110.html","width":130,"caption":"down into Millook","height":183});
															thumbnails[4309927] = clik.newPhoto({"id":4309927,"src":"the_last_glimpse_0964_thumb.jpg","galleries_id":54444,"server_id":1,"link":"photo_4309927.html","width":130,"caption":"the last glimpse","height":87});
															thumbnails[2749737] = clik.newPhoto({"id":2749737,"src":"misty_DSC_7142_thumb.jpg","galleries_id":172631,"server_id":1,"link":"photo_2749737.html","width":130,"caption":"misty","height":87});
															thumbnails[2680686] = clik.newPhoto({"id":2680686,"src":"me, myself & I_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2680686.html","width":130,"caption":"me, myself & I","height":82});
															thumbnails[4309993] = clik.newPhoto({"id":4309993,"src":"double_vision_8782_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_4309993.html","width":130,"caption":"double vision","height":108});
															thumbnails[948648] = clik.newPhoto({"id":948648,"src":"poundstock_guildhouse_1308-15_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_948648.html","width":130,"caption":"Poundstock Gild House,<br>the <em>only one<\/em> left in Cornwall!","height":87});
															thumbnails[708172] = clik.newPhoto({"id":708172,"src":"sunset_as_backdrop_0139_29 0606 _thumb.jpg","galleries_id":54444,"server_id":1,"link":"photo_708172.html","width":130,"caption":"sunset as a back-drop to the canal.  Bude.Cornwall.","height":197});
															thumbnails[2680608] = clik.newPhoto({"id":2680608,"src":"The Duke_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2680608.html","width":130,"caption":"The Duke","height":87});
															thumbnails[2680694] = clik.newPhoto({"id":2680694,"src":"Northland Polo_thumb.jpg","galleries_id":338663,"server_id":1,"link":"photo_2680694.html","width":130,"caption":"Northland Polo","height":94});
															thumbnails[710554] = clik.newPhoto({"id":710554,"src":"gull on a stick_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_710554.html","width":130,"caption":"gull on a stick","height":130});
															thumbnails[2680704] = clik.newPhoto({"id":2680704,"src":"wacca & wave_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2680704.html","width":130,"caption":"Waka & Wave","height":87});
															thumbnails[2782207] = clik.newPhoto({"id":2782207,"src":"Phoenix United Mine_1728_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_2782207.html","width":130,"caption":"Phoenix United Mine","height":87});
															thumbnails[2680720] = clik.newPhoto({"id":2680720,"src":"flat foot_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2680720.html","width":130,"caption":"flat foot","height":87});
															thumbnails[2680728] = clik.newPhoto({"id":2680728,"src":"Dargaville_thumb.jpg","galleries_id":168782,"server_id":1,"link":"photo_2680728.html","width":130,"caption":"Dargaville","height":87});
															thumbnails[3664222] = clik.newPhoto({"id":3664222,"src":"escape_7957_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_3664222.html","width":130,"caption":"escape!","height":87});
															thumbnails[1817514] = clik.newPhoto({"id":1817514,"src":"Christ_Church_DSC_5045_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_1817514.html","width":130,"caption":"Christ Church.","height":87});
															thumbnails[1817646] = clik.newPhoto({"id":1817646,"src":"tree_trunk_near_waiotira_DSC_4381_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_1817646.html","width":130,"caption":"tree trunk near Waiotira.NZ","height":87});
															thumbnails[2942380] = clik.newPhoto({"id":2942380,"src":"Clapper_Bridge_1403 B&Wcopy Tri-x 8x10 print_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_2942380.html","width":130,"caption":"Clapper Bridge","height":96});
															thumbnails[1817538] = clik.newPhoto({"id":1817538,"src":"Hundertwasser's Toilets, Kawakawa_thumb..jpg","galleries_id":54445,"server_id":1,"link":"photo_1817538.html","width":130,"caption":"Hundertwasser Public Toilets, Kawakawa, New Zealand.","height":195});
															thumbnails[2942485] = clik.newPhoto({"id":2942485,"src":"BlackATor_2368_thumb.jpg","galleries_id":54443,"server_id":1,"link":"photo_2942485.html","width":130,"caption":"Black-A-Tor Copse","height":87});
															thumbnails[2942824] = clik.newPhoto({"id":2942824,"src":"Meldon_2233 b&w_red_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_2942824.html","width":130,"caption":"Meldon Reservoir","height":96});
															thumbnails[4879006] = clik.newPhoto({"id":4879006,"src":"Portraiture_4066_thumb.jpg","galleries_id":167278,"server_id":1,"link":"photo_4879006.html","width":130,"caption":"wedding photography, reportage & portraiture","height":193});
															thumbnails[3746110] = clik.newPhoto({"id":3746110,"src":"Monkey_Puzzle_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_3746110.html","width":130,"caption":"monkey puzzle","height":130});
															thumbnails[3746114] = clik.newPhoto({"id":3746114,"src":"ghost_train_2_thumb.jpg","galleries_id":54445,"server_id":1,"link":"photo_3746114.html","width":130,"caption":"ghost train 2","height":87});
															thumbnails[8309380] = clik.newPhoto({"id":8309380,"src":"Trash_the_dress_2_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8309380.html","width":130,"caption":"Trash_the_dress_2","height":190});
															thumbnails[7400103] = clik.newPhoto({"id":7400103,"src":"Wedding_Photography_059_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400103.html","width":130,"caption":"Wedding Photography 059","height":87});
															thumbnails[7400107] = clik.newPhoto({"id":7400107,"src":"Wedding_photography_at_Widemouth_Bay_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400107.html","width":130,"caption":"Wedding Photography at Widemouth Bay.","height":86});
															thumbnails[4516451] = clik.newPhoto({"id":4516451,"src":"weddings-006_3022_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4516451.html","width":130,"caption":"wedding 3022","height":108});
															thumbnails[8309390] = clik.newPhoto({"id":8309390,"src":"Trash_the_dress_3_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8309390.html","width":130,"caption":"Trash_the_dress_3","height":196});
															thumbnails[4879058] = clik.newPhoto({"id":4879058,"src":"Weddings_4158_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4879058.html","width":130,"caption":"weddings and stunning dresses!","height":193});
															thumbnails[4486333] = clik.newPhoto({"id":4486333,"src":"Wedding-006_2813_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4486333.html","width":130,"caption":"wedding 9","height":108});
															thumbnails[8309384] = clik.newPhoto({"id":8309384,"src":"Trash_the_dress_1_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8309384.html","width":130,"caption":"Trash_the_dress_1","height":196});
															thumbnails[7400109] = clik.newPhoto({"id":7400109,"src":"Wedding_Photography_near_Bude_Cornwall_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400109.html","width":130,"caption":"Wedding Photography in Cornwall.","height":87});
															thumbnails[8309386] = clik.newPhoto({"id":8309386,"src":"Wedding_12_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8309386.html","width":130,"caption":"Wedding_12","height":196});
															thumbnails[4516449] = clik.newPhoto({"id":4516449,"src":"Weddings-006_2988_sepia2_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4516449.html","width":130,"caption":"sepia wedding","height":193});
															thumbnails[8309394] = clik.newPhoto({"id":8309394,"src":"Fashion_Bridal_5_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8309394.html","width":130,"caption":"Fashion_Bridal_5","height":86});
															thumbnails[7400119] = clik.newPhoto({"id":7400119,"src":"Wedding_Photography_769_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400119.html","width":130,"caption":"Wedding Photography 769","height":87});
															thumbnails[8316166] = clik.newPhoto({"id":8316166,"src":"Trash_the_dress_06_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8316166.html","width":130,"caption":"Trash the dress 06","height":196});
															thumbnails[4516453] = clik.newPhoto({"id":4516453,"src":"wedding_2693_mono_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4516453.html","width":130,"caption":"wedding reportage","height":76});
															thumbnails[3667216] = clik.newPhoto({"id":3667216,"src":"cool_chrome_8703_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_3667216.html","width":130,"caption":"cool chrome!","height":83});
															thumbnails[8320889] = clik.newPhoto({"id":8320889,"src":"Trash_the_dress_07_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8320889.html","width":130,"caption":"Trash_the_dress_07","height":190});
															thumbnails[7400097] = clik.newPhoto({"id":7400097,"src":"Typical_Wedding_Photography_Collage_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400097.html","width":130,"caption":"Typical Wedding Collage","height":95});
															thumbnails[3935648] = clik.newPhoto({"id":3935648,"src":"Wedding_photography-005_0116_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_3935648.html","width":130,"caption":"Wedding Reportage","height":130});
															thumbnails[4486319] = clik.newPhoto({"id":4486319,"src":"Weddings-006_3357_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4486319.html","width":130,"caption":"weddings 8","height":66});
															thumbnails[7400112] = clik.newPhoto({"id":7400112,"src":"Wedding_Photography_Reportage_48_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400112.html","width":130,"caption":"Wedding Photography Reportage.","height":87});
															thumbnails[4486351] = clik.newPhoto({"id":4486351,"src":"Weddings-006_3375_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4486351.html","width":130,"caption":"wedding 010","height":71});
															thumbnails[4486383] = clik.newPhoto({"id":4486383,"src":"weddings_006_3019_sepia_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4486383.html","width":130,"caption":"weddings 006","height":87});
															thumbnails[8460271] = clik.newPhoto({"id":8460271,"src":"trash_the_dress_08_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_8460271.html","width":130,"caption":"trash the dress 08","height":99});
															thumbnails[3667219] = clik.newPhoto({"id":3667219,"src":"polished_chrome_8713_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_3667219.html","width":130,"caption":"polished chrome","height":130});
															thumbnails[4486367] = clik.newPhoto({"id":4486367,"src":"Weddings-006_2854_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4486367.html","width":130,"caption":"weddings 011","height":87});
															thumbnails[3935690] = clik.newPhoto({"id":3935690,"src":"Wedding_photography-005_0209_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_3935690.html","width":130,"caption":"Wedding Photography","height":163});
															thumbnails[7400101] = clik.newPhoto({"id":7400101,"src":"Wedding_Photography_055_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_7400101.html","width":130,"caption":"Wedding Photography 055","height":194});
															thumbnails[4516445] = clik.newPhoto({"id":4516445,"src":"weddings006_30000_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4516445.html","width":130,"caption":"wedding 006","height":194});
															thumbnails[4878999] = clik.newPhoto({"id":4878999,"src":"Weddings_4376_1st_Dance_thumb.jpg","galleries_id":238721,"server_id":1,"link":"photo_4878999.html","width":130,"caption":"1st Dance","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[54449] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"At The Beach","link":"gallery_54449.html","maxRecords":0.0,"photoIDs":[946094.0,2746952.0,1852625.0,2748287.0],"skipIndex":0,"section_code":"gallery","featured_images":"2748287,2746952,1852625","id":54449,"singleSection":false});				  						galleries[54445] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Black & White","link":"gallery_54445.html","maxRecords":0.0,"photoIDs":[3664218.0,8841130.0,2677734.0,708188.0,2677757.0,946098.0,3664213.0,4309694.0,4309993.0,948648.0,2782207.0,3664222.0,1817514.0,1817646.0,2942380.0,1817538.0,2942824.0,3746110.0,3746114.0],"skipIndex":0,"section_code":"gallery","featured_images":"8841130,4309993,4309694,3746114,3664222,3664218,3664213,2782207,2677757,2677734,1817646,1817538,1817514,948648,946098,708188","id":54445,"singleSection":false});				  						galleries[222322] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commercial","link":"gallery_222322.html","maxRecords":0.0,"photoIDs":[7561602.0,3637284.0,3637286.0,3637290.0,7561628.0,7561591.0],"skipIndex":0,"section_code":"gallery","featured_images":"7561628,7561602,7561591,3637286","id":222322,"singleSection":false});				  						galleries[172631] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Creative Abstract","link":"gallery_172631.html","maxRecords":0.0,"photoIDs":[2749389.0,2749569.0,1852665.0,2749724.0,2749737.0],"skipIndex":0,"section_code":"gallery","featured_images":"2749569,2749389,1852665","id":172631,"singleSection":false});				  						galleries[338663] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Events","link":"gallery_338663.html","maxRecords":0.0,"photoIDs":[2680694.0],"skipIndex":0,"section_code":"gallery","featured_images":2680694.0,"id":338663,"singleSection":false});				  						galleries[54443] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Landscapes","link":"gallery_54443.html","maxRecords":0.0,"photoIDs":[2677753.0,2942372.0,1817679.0,1750299.0,2749201.0,1852646.0,2096121.0,2782249.0,2942485.0],"skipIndex":0,"section_code":"gallery","featured_images":"2942485,2942372,2782249,2749201,2677753,1852646,1817679,1750299","id":54443,"singleSection":false});				  						galleries[54451] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Other Images","link":"gallery_54451.html","maxRecords":0.0,"photoIDs":[8918734.0,1817661.0,1885300.0,946104.0,2749271.0],"skipIndex":0,"section_code":"gallery","featured_images":"8918734,2749271,1885300,1817661","id":54451,"singleSection":false});				  						galleries[167278] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraiture","link":"gallery_167278.html","maxRecords":0.0,"photoIDs":[8591477.0,7400116.0,8604599.0,8309392.0,4878990.0,4516448.0,2641416.0,8841129.0,9035731.0,8841131.0,7400091.0,3479221.0,8841132.0,4516452.0,3479225.0,9038294.0,4879006.0],"skipIndex":0,"section_code":"gallery","featured_images":"9038294,9035731,8841132,8841131,8841129,8604599,8591477,8309392,7400116,4879006,4516452,2641416","id":167278,"singleSection":false});				  						galleries[54444] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sunsets","link":"gallery_54444.html","maxRecords":0.0,"photoIDs":[708226.0,946110.0,4309927.0,708172.0],"skipIndex":0,"section_code":"gallery","featured_images":"4309927,946110","id":54444,"singleSection":false});				  						galleries[168782] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Land of The \"Long White Cloud\"","link":"gallery_168782.html","maxRecords":0.0,"photoIDs":[2677709.0,2677719.0,2677760.0,2677745.0,2677751.0,946093.0,2680699.0,2680686.0,2680608.0,710554.0,2680704.0,2680720.0,2680728.0],"skipIndex":0,"section_code":"gallery","featured_images":"2680728,2680704,2680686,2680608,2677760,2677745,2677719,2677709,946093,710554","id":168782,"singleSection":false});				  						galleries[238721] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Wedding Gallery","link":"section531800.html","maxRecords":0.0,"photoIDs":[8309380.0,7400103.0,7400107.0,4516451.0,8309390.0,4879058.0,4486333.0,8309384.0,7400109.0,8309386.0,4516449.0,8309394.0,7400119.0,8316166.0,4516453.0,3667216.0,8320889.0,7400097.0,3935648.0,4486319.0,7400112.0,4486351.0,4486383.0,8460271.0,3667219.0,4486367.0,3935690.0,7400101.0,4516445.0,4878999.0],"skipIndex":0,"section_code":"section531800","featured_images":"8460271,8320889,8316166,8309394,8309390,8309386,8309384,8309380,7400119,7400112,7400109,7400107,7400103,7400101,7400097,4878999,4516453,4516449,4486383,4486333,3935690,3935648,3667219","id":238721,"singleSection":true});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[231442] = '8460271';
imageSets[1] = '8591477,8309380,2677709,8309390,8309384,2677719,8841129,9035731,7400109,2677760,8841131,8841132,8316166,7561591,9038294,2748287,2680704,7400101';
imageSets[2] = '8591477,8309380,7400116,7400103,8918734,7400107,8604599,7561602,3664218,8309392,2749389,2677753,2677709,8309390,8841130,3637286,2942372,2749569,1817661,4486333,8309384,2677734,2677719,2641416,1817679,8841129,9035731,7400109,7561628,2677760,8841131,8309386,4516449,2677745,1885300,8841132,4516452,2746952,8309394,1852665,1750299,708188,7400119,2677757,8316166,7561591,2749201,1852646,1852625,946098,4516453,8320889,7400097,3935648,2749271,946093,9038294,3664213,2782249,2748287,7400112,4309694,946110,4486383,8460271,3667219,4309927,2680686,4309993,948648,2680608,2680694,3935690,710554,2680704,7400101,2782207,2680728,3664222,1817646,1817514,1817538,4879006,2942485,4878999,3746114';
imageSets[3] = '8460271';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/pwimages/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/pwimages/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/pwimages/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/pwimages/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/pwimages/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/pwimages/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/pwimages/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/pwimages/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 = 'Paul Wright 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('your item has been added to cart').show();}
				else{
					$('#paymentConfirm', root).text('your item has been 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>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="PWIMAGES">';
			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">your item has been 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;
	}
}

			

