window.thumbnails = {};
															thumbnails[2078008] = clik.newPhoto({"id":2078008,"src":"britishartslogo_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":66});
															thumbnails[3128347] = clik.newPhoto({"id":3128347,"src":"JACK NICHOLSONj1_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Lewis Hamilton","height":87});
															thumbnails[6490529] = clik.newPhoto({"id":6490529,"src":"DSC_2905_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490548] = clik.newPhoto({"id":6490548,"src":"DSC_2903_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"Sofa Indian Bed","height":87});
															thumbnails[6490624] = clik.newPhoto({"id":6490624,"src":"DSC_2893_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":67});
															thumbnails[6490625] = clik.newPhoto({"id":6490625,"src":"DSC_2902_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490630] = clik.newPhoto({"id":6490630,"src":"DSC_2907_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490632] = clik.newPhoto({"id":6490632,"src":"DSC_2910_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490633] = clik.newPhoto({"id":6490633,"src":"DSC_29101_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490639] = clik.newPhoto({"id":6490639,"src":"DSC_2922_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490644] = clik.newPhoto({"id":6490644,"src":"DSC_2933_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":92});
															thumbnails[6490647] = clik.newPhoto({"id":6490647,"src":"DSC_2914_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490649] = clik.newPhoto({"id":6490649,"src":"DSC_2918_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490652] = clik.newPhoto({"id":6490652,"src":"DSC_2920_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490655] = clik.newPhoto({"id":6490655,"src":"DSC_2926_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490659] = clik.newPhoto({"id":6490659,"src":"DSC_2924_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490661] = clik.newPhoto({"id":6490661,"src":"DSC_2925_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490669] = clik.newPhoto({"id":6490669,"src":"DSC_2916_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490671] = clik.newPhoto({"id":6490671,"src":"DSC_2889_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490672] = clik.newPhoto({"id":6490672,"src":"DSC_2906_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490724] = clik.newPhoto({"id":6490724,"src":"DSC_2887_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":81});
															thumbnails[6490761] = clik.newPhoto({"id":6490761,"src":"DSC_2884_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490769] = clik.newPhoto({"id":6490769,"src":"DSC_2890_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490851] = clik.newPhoto({"id":6490851,"src":"DSC_2894_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490853] = clik.newPhoto({"id":6490853,"src":"DSC_2895_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490856] = clik.newPhoto({"id":6490856,"src":"DSC_2898_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":171});
															thumbnails[6490857] = clik.newPhoto({"id":6490857,"src":"DSC_2897_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490859] = clik.newPhoto({"id":6490859,"src":"DSC_2899_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":76});
															thumbnails[6490885] = clik.newPhoto({"id":6490885,"src":"DSC_2934_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490886] = clik.newPhoto({"id":6490886,"src":"DSC_2939_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490893] = clik.newPhoto({"id":6490893,"src":"DSC_2943_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6490894] = clik.newPhoto({"id":6490894,"src":"DSC_2944_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":87});
															thumbnails[6490895] = clik.newPhoto({"id":6490895,"src":"DSC_2938_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"","height":194});
															thumbnails[6212542] = clik.newPhoto({"id":6212542,"src":"17_firebird__thumb.jpg","galleries_id":346305,"server_id":5,"link":"photo_6212542.html","width":130,"caption":"Firebird<br>\r\nDetail of painting <br>\r\noil on canvas","height":185});
															thumbnails[6212547] = clik.newPhoto({"id":6212547,"src":"55_saddleback__thumb.jpg","galleries_id":346305,"server_id":5,"link":"photo_6212547.html","width":130,"caption":"Saddleback","height":99});
															thumbnails[6212548] = clik.newPhoto({"id":6212548,"src":"21_no_fixed_abode__thumb.jpg","galleries_id":346305,"server_id":5,"link":"photo_6212548.html","width":130,"caption":"No fixed Above<br>\r\n<br>\r\nSOLD ","height":100});
															thumbnails[6212574] = clik.newPhoto({"id":6212574,"src":"13_heatwave__thumb.jpg","galleries_id":346305,"server_id":5,"link":"photo_6212574.html","width":130,"caption":"Heatwave","height":185});
															thumbnails[1995564] = clik.newPhoto({"id":1995564,"src":"Escape_thumb.jpg","galleries_id":132904,"server_id":5,"link":"photo_1995564.html","width":130,"caption":"Escape Oil on Canvas 120 x 60","height":290});
															thumbnails[2049196] = clik.newPhoto({"id":2049196,"src":"Sofia[1]_thumb.jpg","galleries_id":132986,"server_id":5,"link":"photo_2049196.html","width":130,"caption":"Sophia sculptures by Anna Izzo","height":87});
															thumbnails[3124541] = clik.newPhoto({"id":3124541,"src":"Flashsteel _thumb.jpg","galleries_id":132986,"server_id":5,"link":"photo_3124541.html","width":130,"caption":"Flash by Anna Izzo","height":228});
															thumbnails[3124570] = clik.newPhoto({"id":3124570,"src":"Shadow_thumb.jpg","galleries_id":132986,"server_id":5,"link":"photo_3124570.html","width":130,"caption":"Shadow by Anna Izzo","height":87});
															thumbnails[3124648] = clik.newPhoto({"id":3124648,"src":"sofia_thumb.jpg","galleries_id":132986,"server_id":5,"link":"photo_3124648.html","width":130,"caption":"Sofia by Anna Izzo","height":92});
															thumbnails[3124666] = clik.newPhoto({"id":3124666,"src":"new Lolita_thumb.jpg","galleries_id":132904,"server_id":5,"link":"photo_3124666.html","width":130,"caption":"Lolita by Anna Izzo","height":200});
															thumbnails[1995579] = clik.newPhoto({"id":1995579,"src":"Caroline kneeling on chair 2005_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995579.html","width":130,"caption":"Caroline kneeling","height":183});
															thumbnails[1995587] = clik.newPhoto({"id":1995587,"src":"Emily Marilyn catsuit 20011_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995587.html","width":130,"caption":"Emily Marilyn","height":181});
															thumbnails[1995588] = clik.newPhoto({"id":1995588,"src":"Erica (Loaded shoot) 2005_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995588.html","width":130,"caption":"Erica loaded","height":178});
															thumbnails[1995590] = clik.newPhoto({"id":1995590,"src":"Harlot Rouge Catsuit(forest) 20061_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995590.html","width":130,"caption":"Harlot Rouge","height":181});
															thumbnails[1995592] = clik.newPhoto({"id":1995592,"src":"Kitty nude 20001_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995592.html","width":130,"caption":"Kitty Nude","height":179});
															thumbnails[1995593] = clik.newPhoto({"id":1995593,"src":"Lois 20071_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995593.html","width":130,"caption":"Emma 2007","height":87});
															thumbnails[1995594] = clik.newPhoto({"id":1995594,"src":"Ulorin Vex green latex 2007_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995594.html","width":130,"caption":"Ulinor Vex","height":87});
															thumbnails[1995596] = clik.newPhoto({"id":1995596,"src":"UlorinVex&Rose 2005 (1)_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995596.html","width":130,"caption":"Ulinor Vex and Rose","height":87});
															thumbnails[1995597] = clik.newPhoto({"id":1995597,"src":"Emma 2007_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995597.html","width":130,"caption":"Emma 2007","height":87});
															thumbnails[1995598] = clik.newPhoto({"id":1995598,"src":"Emily by wall 2002_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995598.html","width":130,"caption":"Emily by wall","height":95});
															thumbnails[1995667] = clik.newPhoto({"id":1995667,"src":"A2 Emily with paddle 1998_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995667.html","width":130,"caption":"Emily with paddle","height":181});
															thumbnails[1995668] = clik.newPhoto({"id":1995668,"src":"Valeria in tree 2002_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995668.html","width":130,"caption":"Valeria in tree 2002","height":95});
															thumbnails[1995674] = clik.newPhoto({"id":1995674,"src":"Seaside 2002_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995674.html","width":130,"caption":"Seaside","height":93});
															thumbnails[1995675] = clik.newPhoto({"id":1995675,"src":"Amanda 2000_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995675.html","width":130,"caption":"Amanda 2000","height":178});
															thumbnails[1995681] = clik.newPhoto({"id":1995681,"src":"Lorraine Catsuit 2002_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995681.html","width":130,"caption":"Lorraine catsuit","height":178});
															thumbnails[1995683] = clik.newPhoto({"id":1995683,"src":"Valeria on bed 2001_thumb.jpg","galleries_id":132984,"server_id":5,"link":"photo_1995683.html","width":130,"caption":"Valeria on bed","height":94});
															thumbnails[3125041] = clik.newPhoto({"id":3125041,"src":"STILL L IFE PASTEL_thumb.jpg","galleries_id":191665,"server_id":5,"link":"photo_3125041.html","width":130,"caption":"Still Life (Pastels) with vase<br>\r\n<br>\r\n<br>\r\n  ","height":176});
															thumbnails[3125059] = clik.newPhoto({"id":3125059,"src":"STILL LIFE WITH LEAFjj_thumb.jpg","galleries_id":191665,"server_id":5,"link":"photo_3125059.html","width":130,"caption":"Still life (with leaf) Pastels","height":104});
															thumbnails[4920732] = clik.newPhoto({"id":4920732,"src":"cellist_thumb.jpg","galleries_id":191681,"server_id":5,"link":"photo_4920732.html","width":130,"caption":"Cellist- Bronze","height":196});
															thumbnails[4920768] = clik.newPhoto({"id":4920768,"src":"Juggler_thumb.jpg","galleries_id":191681,"server_id":5,"link":"photo_4920768.html","width":130,"caption":"The Juggler -Bronze","height":200});
															thumbnails[2005099] = clik.newPhoto({"id":2005099,"src":"dinner at La galleria_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005099.html","width":130,"caption":"","height":98});
															thumbnails[2005187] = clik.newPhoto({"id":2005187,"src":"unit 30 signs_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005187.html","width":130,"caption":"","height":76});
															thumbnails[2005196] = clik.newPhoto({"id":2005196,"src":"galleria 2 _thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005196.html","width":130,"caption":"","height":98});
															thumbnails[2005199] = clik.newPhoto({"id":2005199,"src":"IMG_0971_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005199.html","width":130,"caption":"","height":87});
															thumbnails[2005357] = clik.newPhoto({"id":2005357,"src":"Map_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005357.html","width":130,"caption":"","height":92});
															thumbnails[2005360] = clik.newPhoto({"id":2005360,"src":"DSCF2730_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005360.html","width":130,"caption":"","height":86});
															thumbnails[2005361] = clik.newPhoto({"id":2005361,"src":"dinner with art_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005361.html","width":130,"caption":"","height":98});
															thumbnails[2005363] = clik.newPhoto({"id":2005363,"src":"cocktail galleria_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005363.html","width":130,"caption":"","height":98});
															thumbnails[2005368] = clik.newPhoto({"id":2005368,"src":"DSCF2727_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005368.html","width":130,"caption":"","height":87});
															thumbnails[2005380] = clik.newPhoto({"id":2005380,"src":"dinner set_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005380.html","width":130,"caption":"","height":87});
															thumbnails[2005395] = clik.newPhoto({"id":2005395,"src":"dimensions galleria_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005395.html","width":130,"caption":"","height":179});
															thumbnails[2005398] = clik.newPhoto({"id":2005398,"src":"DSCF2652_thumb.jpg","galleries_id":132981,"server_id":5,"link":"photo_2005398.html","width":130,"caption":"","height":87});
															thumbnails[2013990] = clik.newPhoto({"id":2013990,"src":"DSC_0074_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2013990.html","width":130,"caption":"Staircase","height":87});
															thumbnails[2014004] = clik.newPhoto({"id":2014004,"src":"DSC_0101_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2014004.html","width":130,"caption":"Lower Level hanging area","height":87});
															thumbnails[2014009] = clik.newPhoto({"id":2014009,"src":"DSC_0083_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2014009.html","width":130,"caption":"First floor Gallery","height":87});
															thumbnails[2014021] = clik.newPhoto({"id":2014021,"src":"DSC_0007_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2014021.html","width":130,"caption":"Londons most central gallery","height":87});
															thumbnails[2013981] = clik.newPhoto({"id":2013981,"src":"corbis16-10-7-000053_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2013981.html","width":130,"caption":"Corbis exhibition","height":86});
															thumbnails[2013984] = clik.newPhoto({"id":2013984,"src":"DSC_0008_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2013984.html","width":130,"caption":"Window onto Pall Mall","height":89});
															thumbnails[2005388] = clik.newPhoto({"id":2005388,"src":"web ROA Gallery floor plan_thumb.jpg","galleries_id":132980,"server_id":5,"link":"photo_2005388.html","width":130,"caption":"","height":106});
															thumbnails[5254132] = clik.newPhoto({"id":5254132,"src":"6_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254132.html","width":130,"caption":"Title: Gifts","height":117});
															thumbnails[5254144] = clik.newPhoto({"id":5254144,"src":"5_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254144.html","width":130,"caption":"Autum","height":111});
															thumbnails[5254160] = clik.newPhoto({"id":5254160,"src":"2_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254160.html","width":130,"caption":"","height":114});
															thumbnails[5254168] = clik.newPhoto({"id":5254168,"src":"3_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254168.html","width":130,"caption":"","height":112});
															thumbnails[5254170] = clik.newPhoto({"id":5254170,"src":"DSC_8702_thumb.JPG","galleries_id":295904,"server_id":5,"link":"photo_5254170.html","width":130,"caption":"","height":118});
															thumbnails[5254172] = clik.newPhoto({"id":5254172,"src":"23_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254172.html","width":130,"caption":"","height":123});
															thumbnails[5254431] = clik.newPhoto({"id":5254431,"src":"canvas_1_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254431.html","width":130,"caption":"vase","height":132});
															thumbnails[5254434] = clik.newPhoto({"id":5254434,"src":"21_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254434.html","width":130,"caption":"Zante Beach wreck","height":127});
															thumbnails[5254436] = clik.newPhoto({"id":5254436,"src":"19_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254436.html","width":130,"caption":" The scape","height":190});
															thumbnails[5254440] = clik.newPhoto({"id":5254440,"src":"20_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254440.html","width":130,"caption":"Farm Buildings","height":96});
															thumbnails[5254465] = clik.newPhoto({"id":5254465,"src":"14_thumb.jpg","galleries_id":295924,"server_id":5,"link":"photo_5254465.html","width":130,"caption":"Audrey","height":173});
															thumbnails[5254476] = clik.newPhoto({"id":5254476,"src":"alicia_by_isabel_otero_thumb.jpg","galleries_id":295924,"server_id":5,"link":"photo_5254476.html","width":130,"caption":"Alicia","height":126});
															thumbnails[5254479] = clik.newPhoto({"id":5254479,"src":"13_thumb.jpg","galleries_id":295904,"server_id":5,"link":"photo_5254479.html","width":130,"caption":" Vases on table","height":135});
															thumbnails[5254485] = clik.newPhoto({"id":5254485,"src":"amy_thumb.jpg","galleries_id":295924,"server_id":5,"link":"photo_5254485.html","width":130,"caption":"Amy ","height":173});
															thumbnails[5254419] = clik.newPhoto({"id":5254419,"src":"Isabel_Otero_thumb.JPG","galleries_id":295904,"server_id":5,"link":"photo_5254419.html","width":130,"caption":"Isabel Otero","height":206});
															thumbnails[5254205] = clik.newPhoto({"id":5254205,"src":"Stiletto_red_bottles_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254205.html","width":130,"caption":"RED ","height":201});
															thumbnails[5254207] = clik.newPhoto({"id":5254207,"src":"black_stilletto_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254207.html","width":130,"caption":"Black ","height":201});
															thumbnails[5254208] = clik.newPhoto({"id":5254208,"src":"1091_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254208.html","width":130,"caption":"White","height":201});
															thumbnails[5254211] = clik.newPhoto({"id":5254211,"src":"stilletto4_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254211.html","width":130,"caption":"Silver ","height":201});
															thumbnails[5254212] = clik.newPhoto({"id":5254212,"src":"run3_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254212.html","width":130,"caption":"White ","height":201});
															thumbnails[5254214] = clik.newPhoto({"id":5254214,"src":"footybeer_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254214.html","width":130,"caption":"Black Football","height":201});
															thumbnails[5254215] = clik.newPhoto({"id":5254215,"src":"stilletto2_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254215.html","width":130,"caption":" Green","height":201});
															thumbnails[5254216] = clik.newPhoto({"id":5254216,"src":"stilletto3_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254216.html","width":130,"caption":"Pink","height":201});
															thumbnails[5254220] = clik.newPhoto({"id":5254220,"src":"0157_thumb.jpg","galleries_id":295913,"server_id":5,"link":"photo_5254220.html","width":130,"caption":"Stiletto outdoor","height":201});
															thumbnails[5254224] = clik.newPhoto({"id":5254224,"src":"fish21_thumb_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254224.html","width":130,"caption":"Salmon","height":201});
															thumbnails[5254226] = clik.newPhoto({"id":5254226,"src":"w7828_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254226.html","width":130,"caption":"Baseball Bat","height":201});
															thumbnails[5254232] = clik.newPhoto({"id":5254232,"src":"sword5_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254232.html","width":130,"caption":"Sword<br>\r\n","height":201});
															thumbnails[5254236] = clik.newPhoto({"id":5254236,"src":"sword4_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254236.html","width":130,"caption":"Sword","height":201});
															thumbnails[5254238] = clik.newPhoto({"id":5254238,"src":"w7804_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254238.html","width":130,"caption":"Cricket bat","height":201});
															thumbnails[5254239] = clik.newPhoto({"id":5254239,"src":"sword2_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254239.html","width":130,"caption":"Sword","height":201});
															thumbnails[5254242] = clik.newPhoto({"id":5254242,"src":"DVD_Holder_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254242.html","width":130,"caption":"DVD Holder ","height":201});
															thumbnails[5254244] = clik.newPhoto({"id":5254244,"src":"CD_holder_thumb.jpg","galleries_id":295914,"server_id":5,"link":"photo_5254244.html","width":130,"caption":"Cricket Cd Holder","height":84});
															thumbnails[6150168] = clik.newPhoto({"id":6150168,"src":"rindt_rindt_thumb.jpg","galleries_id":344201,"server_id":5,"link":"photo_6150168.html","width":130,"caption":"Rindt and Rindt","height":63});
															thumbnails[6150169] = clik.newPhoto({"id":6150169,"src":"headstart_thumb.jpg","galleries_id":344201,"server_id":5,"link":"photo_6150169.html","width":130,"caption":"Headstart","height":87});
															thumbnails[6150171] = clik.newPhoto({"id":6150171,"src":"rapide_1_thumb.jpg","galleries_id":344201,"server_id":5,"link":"photo_6150171.html","width":130,"caption":"Rapide","height":72});
															thumbnails[6150172] = clik.newPhoto({"id":6150172,"src":"monaco-33-10_thumb.jpg","galleries_id":344201,"server_id":5,"link":"photo_6150172.html","width":130,"caption":"Monaco 33-10","height":89});
															thumbnails[6150173] = clik.newPhoto({"id":6150173,"src":"p4_monza__thumb.jpg","galleries_id":344201,"server_id":5,"link":"photo_6150173.html","width":130,"caption":"P4 Monza","height":70});
															thumbnails[6150174] = clik.newPhoto({"id":6150174,"src":"GT40_thumb.jpg","galleries_id":344201,"server_id":5,"link":"photo_6150174.html","width":130,"caption":"Gt40","height":77});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[132904] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Anna Izzo Paintings","link":"gallery_132904.html","maxRecords":0.0,"photoIDs":[1995564.0,3124666.0],"skipIndex":0,"section_code":"gallery","featured_images":"3124666,1995564","id":132904,"singleSection":false});				  						galleries[191681] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Leonardo Lucchi","link":"section236798.html","maxRecords":0.0,"photoIDs":[4920732.0,4920768.0],"skipIndex":0,"section_code":"section236798","featured_images":4920732.0,"id":191681,"singleSection":false});				  						galleries[132986] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Anna Izzo Sculptures","link":"gallery_132986.html","maxRecords":0.0,"photoIDs":[2049196.0,3124541.0,3124570.0,3124648.0],"skipIndex":0,"section_code":"gallery","featured_images":"3124648,3124570,3124541,2049196","id":132986,"singleSection":false});				  						galleries[346305] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Colin S. Frooms","link":"section413548.html","maxRecords":0.0,"photoIDs":[6212542.0,6212547.0,6212548.0,6212574.0],"skipIndex":0,"section_code":"section413548","featured_images":6212547.0,"id":346305,"singleSection":false});				  						galleries[132984] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Emma Delves-Broughton","link":"section172463.html","maxRecords":0.0,"photoIDs":[1995579.0,1995587.0,1995588.0,1995590.0,1995592.0,1995593.0,1995594.0,1995596.0,1995597.0,1995598.0,1995667.0,1995668.0,1995674.0,1995675.0,1995681.0,1995683.0],"skipIndex":0,"section_code":"section172463","featured_images":"1995594,1995590","id":132984,"singleSection":false});				  						galleries[295904] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Isabel Otero ","link":"section353750_295904.html","maxRecords":0.0,"photoIDs":[5254132.0,5254144.0,5254160.0,5254168.0,5254170.0,5254172.0,5254431.0,5254434.0,5254436.0,5254440.0,5254479.0,5254419.0],"skipIndex":0,"section_code":"section353750","featured_images":5254419.0,"id":295904,"singleSection":false});				  						galleries[344201] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Klaus Wagger","link":"section411152.html","maxRecords":0.0,"photoIDs":[6150168.0,6150169.0,6150171.0,6150172.0,6150173.0,6150174.0],"skipIndex":0,"section_code":"section411152","featured_images":6150171.0,"id":344201,"singleSection":false});				  						galleries[132981] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"La Galleria Pall Mall","link":"section172467.html","maxRecords":0.0,"photoIDs":[2005099.0,2005187.0,2005196.0,2005199.0,2005357.0,2005360.0,2005361.0,2005363.0,2005368.0,2005380.0,2005395.0,2005398.0],"skipIndex":0,"section_code":"section172467","featured_images":"2005196,2005187","id":132981,"singleSection":false});				  						galleries[191665] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Miklos Paintings","link":"section236796.html","maxRecords":0.0,"photoIDs":[3125041.0,3125059.0],"skipIndex":0,"section_code":"section236796","featured_images":"3125059,3125041","id":191665,"singleSection":false});				  						galleries[295924] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"section353750_295924.html","maxRecords":0.0,"photoIDs":[5254465.0,5254476.0,5254485.0],"skipIndex":0,"section_code":"section353750","featured_images":5254465.0,"id":295924,"singleSection":false});				  						galleries[132980] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"ROA Gallery","link":"section172474.html","maxRecords":0.0,"photoIDs":[2013990.0,2014004.0,2014009.0,2014021.0,2013981.0,2013984.0,2005388.0],"skipIndex":0,"section_code":"section172474","featured_images":2013984.0,"id":132980,"singleSection":false});				  						galleries[295914] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sport ","link":"section353764_295914.html","maxRecords":0.0,"photoIDs":[5254212.0,5254214.0,5254224.0,5254226.0,5254232.0,5254236.0,5254238.0,5254239.0,5254242.0,5254244.0],"skipIndex":0,"section_code":"section353764","featured_images":5254212.0,"id":295914,"singleSection":false});				  						galleries[295913] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Stiletto ","link":"section353764_295913.html","maxRecords":0.0,"photoIDs":[5254205.0,5254207.0,5254208.0,5254211.0,5254215.0,5254216.0,5254220.0],"skipIndex":0,"section_code":"section353764","featured_images":"5254220,5254216,5254215,5254211,5254208,5254207,5254205","id":295913,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '6150174,6150173,6150171,6150169,5254205,3128347,3125059,3125041,1995593';
imageSets[2] = '6490885,6490851,6490671,6490644,6490639,6490624,6490529,6212547,6150171,5254465,5254212,4920732,3128347,2005196,2005187,1995594,1995590,5254419,2013984';
imageSets[3] = '6490895,6490894,6490893,6490886,6490859,6490857,6490856,6490853,6490769,6490761,6490724,6490672,6490669,6490661,6490659,6490655,6490652,6490649,6490647,6490633,6490632,6490630,6490625,6212574,6212548,5254485,5254479,5254476,5254440,5254434,5254431,5254242,5254239,5254238,5254236,5254232,5254226,5254224,5254220,5254216,5254215,5254214,5254211,5254208,5254207,5254172,5254170,5254168,5254160,5254144,5254132,4920768';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/fifteen/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/fifteen/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/fifteen/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/fifteen/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/fifteen/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/fifteen/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/fifteen/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/fifteen/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 += 'section413548.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 && 'section413548' != '') {
					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 = 'www.fifteenminutesgallery.com: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			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;
	}
}

			

