window.thumbnails = {};
															thumbnails[4015725] = clik.newPhoto({"id":4015725,"src":"janelewis_marionettes_frpage_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"MARIONETTES","height":97});
															thumbnails[4021935] = clik.newPhoto({"id":4021935,"src":"janelewis_singular_vision_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"A Singular Vision","height":159});
															thumbnails[5019040] = clik.newPhoto({"id":5019040,"src":"janelewis_2009_01_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":168});
															thumbnails[8798575] = clik.newPhoto({"id":8798575,"src":"janelewis_Janus_Automaton_web_edited-1_2710C7F2-1EC9-D45B-1CE24F71F4F05903_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"JANUS AUTOMATON","height":96});
															thumbnails[8799885] = clik.newPhoto({"id":8799885,"src":"janelewis_wings_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"WINGS","height":111});
															thumbnails[8363962] = clik.newPhoto({"id":8363962,"src":"janelewis_Marionettes_study__thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_8363962.html","width":130,"caption":"MARIONETTES STUDY","height":96});
															thumbnails[7663609] = clik.newPhoto({"id":7663609,"src":"janelewis_ventriloquists1_web_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_7663609.html","width":130,"caption":"VENTRILOQUIST I","height":189});
															thumbnails[7663605] = clik.newPhoto({"id":7663605,"src":"janelewis_ventriloquists2_web_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_7663605.html","width":130,"caption":"VENTRILOQUIST II","height":147});
															thumbnails[7663615] = clik.newPhoto({"id":7663615,"src":"janelewis_toybox_web_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_7663615.html","width":130,"caption":"BOX OF TOYS","height":144});
															thumbnails[7663619] = clik.newPhoto({"id":7663619,"src":"janelewis_plaits_web_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_7663619.html","width":130,"caption":"PLAITS","height":174});
															thumbnails[7663627] = clik.newPhoto({"id":7663627,"src":"janelewis_greenman_drawing_web_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_7663627.html","width":130,"caption":"GREEN MAN","height":165});
															thumbnails[7663623] = clik.newPhoto({"id":7663623,"src":"janelewis_harpy_web_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_7663623.html","width":130,"caption":"HARPY","height":174});
															thumbnails[5119006] = clik.newPhoto({"id":5119006,"src":"janelewis_Janus_Automaton_web_edited-1_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5119006.html","width":130,"caption":"JANUS AUTOMATON","height":96});
															thumbnails[5112533] = clik.newPhoto({"id":5112533,"src":"janelewis_sekhmet1_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5112533.html","width":130,"caption":"SEKHMET I","height":188});
															thumbnails[5112527] = clik.newPhoto({"id":5112527,"src":"janelewis_Unicorn_drawing_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5112527.html","width":130,"caption":"UNICORN","height":172});
															thumbnails[5112530] = clik.newPhoto({"id":5112530,"src":"janelewis_Wings_drawing_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5112530.html","width":130,"caption":"WINGS","height":170});
															thumbnails[5112536] = clik.newPhoto({"id":5112536,"src":"janelewis_sekhmet2_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5112536.html","width":130,"caption":"SEKHMET II","height":184});
															thumbnails[5116712] = clik.newPhoto({"id":5116712,"src":"janelewis_blue_veil_drawing_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5116712.html","width":130,"caption":"VEIL STUDY","height":184});
															thumbnails[5116709] = clik.newPhoto({"id":5116709,"src":"janelewis_statue_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5116709.html","width":130,"caption":"STATUE","height":178});
															thumbnails[5116731] = clik.newPhoto({"id":5116731,"src":"janelewis_lilies_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5116731.html","width":130,"caption":"LILIES","height":164});
															thumbnails[8795157] = clik.newPhoto({"id":8795157,"src":"janelewis_jester_F4E5C80A-24E8-5EC4-4FAA7A6234A6FC32_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795157.html","width":130,"caption":"JESTER","height":172});
															thumbnails[5116734] = clik.newPhoto({"id":5116734,"src":"janelewis_missgarnet_drawing1_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5116734.html","width":130,"caption":"MISS GARNET'S ANGEL","height":177});
															thumbnails[5118720] = clik.newPhoto({"id":5118720,"src":"janelewis_turnban_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5118720.html","width":130,"caption":"TURBAN","height":191});
															thumbnails[8795161] = clik.newPhoto({"id":8795161,"src":"janelewis_harpy_web_F4FBB26C-24E8-5EC4-4F3F985078D6FA01_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795161.html","width":130,"caption":"HARPY","height":174});
															thumbnails[5118743] = clik.newPhoto({"id":5118743,"src":"janelewis_GirlDog_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5118743.html","width":130,"caption":"GIRL WITH A DOG","height":258});
															thumbnails[8795166] = clik.newPhoto({"id":8795166,"src":"janelewis_plaits_web_F5032787-24E8-5EC4-4F35F1E1515F8393_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795166.html","width":130,"caption":"PLAITS","height":174});
															thumbnails[4032724] = clik.newPhoto({"id":4032724,"src":"janelewis_spirals_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032724.html","width":130,"caption":"SPIRALS","height":194});
															thumbnails[5118746] = clik.newPhoto({"id":5118746,"src":"janelewis_vase_of_tulips_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5118746.html","width":130,"caption":"VASE OF TULIPS","height":178});
															thumbnails[8795171] = clik.newPhoto({"id":8795171,"src":"janelewis_Marionettes_study__F526D102-24E8-5EC4-4F6E2D7829671055_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795171.html","width":130,"caption":"MARIONETTES STUDY","height":96});
															thumbnails[4032726] = clik.newPhoto({"id":4032726,"src":"05janelewis_Mandolin_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032726.html","width":130,"caption":"MANDOLIN","height":163});
															thumbnails[5118903] = clik.newPhoto({"id":5118903,"src":"janelewis_pompeii_still_life_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5118903.html","width":130,"caption":"POMPEII STILL LIFE","height":218});
															thumbnails[8795172] = clik.newPhoto({"id":8795172,"src":"janelewis_moment_of_grace_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795172.html","width":130,"caption":"MOMENT OF GRACE","height":193});
															thumbnails[4032809] = clik.newPhoto({"id":4032809,"src":"18janelewis_The_Persistent_Dream_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032809.html","width":130,"caption":"THE PERSISTENT DREAM","height":170});
															thumbnails[5119004] = clik.newPhoto({"id":5119004,"src":"janelewis_egyptian_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5119004.html","width":130,"caption":"THE EGYPTIAN","height":186});
															thumbnails[8795178] = clik.newPhoto({"id":8795178,"src":"janelewis_transformer_F5731C9A-24E8-5EC4-4F8D7A1FDCDFB37F_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795178.html","width":130,"caption":"TRANSFORMER","height":243});
															thumbnails[4032734] = clik.newPhoto({"id":4032734,"src":"08janelewis_Flute_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032734.html","width":130,"caption":"FLUTE","height":163});
															thumbnails[5119012] = clik.newPhoto({"id":5119012,"src":"janelewis_bride_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5119012.html","width":130,"caption":"BRIDE","height":184});
															thumbnails[8795197] = clik.newPhoto({"id":8795197,"src":"janelewis_blueveil_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8795197.html","width":130,"caption":"BLUE VEIL","height":183});
															thumbnails[4254238] = clik.newPhoto({"id":4254238,"src":"janelewis_carnivalfloat_thumb.JPG","galleries_id":242474,"server_id":15,"link":"photo_4254238.html","width":130,"caption":"CARNIVAL FLOAT","height":109});
															thumbnails[4607899] = clik.newPhoto({"id":4607899,"src":"JLewis162_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4607899.html","width":130,"caption":"MOMENT OF GRACE","height":167});
															thumbnails[4607907] = clik.newPhoto({"id":4607907,"src":"janelewis_secondskin_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4607907.html","width":130,"caption":"SECOND SKIN","height":165});
															thumbnails[5308338] = clik.newPhoto({"id":5308338,"src":"janelewis_tableau_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5308338.html","width":130,"caption":"TABLEAU","height":218});
															thumbnails[8799856] = clik.newPhoto({"id":8799856,"src":"janelewis_ventriloquists1_web_33D3BC91-1E4F-37DC-71A1DF7EAE886058_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8799856.html","width":130,"caption":"VENTRILOQUIST I","height":189});
															thumbnails[5308346] = clik.newPhoto({"id":5308346,"src":"janelewis_fishtattoo_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5308346.html","width":130,"caption":"FISH TATTOO","height":146});
															thumbnails[8799883] = clik.newPhoto({"id":8799883,"src":"janelewis_ventriloquists2_web_33DB658F-1E4F-37DC-71389C777D023447_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8799883.html","width":130,"caption":"VENTRILOQUIST II","height":147});
															thumbnails[5308344] = clik.newPhoto({"id":5308344,"src":"janelewis_jester_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_5308344.html","width":130,"caption":"JESTER","height":172});
															thumbnails[4254194] = clik.newPhoto({"id":4254194,"src":"janelewis_maskslizard_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4254194.html","width":130,"caption":"MASKS AND LIZARD","height":102});
															thumbnails[8391750] = clik.newPhoto({"id":8391750,"src":"janelewis_lascultura_thumb.jpg","galleries_id":288932,"server_id":15,"link":"photo_8391750.html","width":130,"caption":"LA SCULTURA","height":139});
															thumbnails[8799888] = clik.newPhoto({"id":8799888,"src":"janelewis_toybox_web_3405CAF8-1E4F-37DC-71F8116F272C30C9_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8799888.html","width":130,"caption":"BOX OF TOYS","height":144});
															thumbnails[4607904] = clik.newPhoto({"id":4607904,"src":"JLewis159_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4607904.html","width":130,"caption":"ACTOR","height":169});
															thumbnails[4607910] = clik.newPhoto({"id":4607910,"src":"janelewis_StarsClouds_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4607910.html","width":130,"caption":"STARS AND CLOUDS","height":195});
															thumbnails[4254184] = clik.newPhoto({"id":4254184,"src":"janelewis_transformer_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4254184.html","width":130,"caption":"TRANSFORMER","height":243});
															thumbnails[5058815] = clik.newPhoto({"id":5058815,"src":"janelewis_the_looking_glass_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_5058815.html","width":130,"caption":"THE LOOKING GLASS","height":167});
															thumbnails[4032729] = clik.newPhoto({"id":4032729,"src":"janelewis_maskedangel_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032729.html","width":130,"caption":"MASKED ANGEL","height":101});
															thumbnails[8834412] = clik.newPhoto({"id":8834412,"src":"janelewis_Leila_in_Profile__8C70D6D5-1EC9-DFB6-099909164832BD0E_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8834412.html","width":130,"caption":"LEILA IN PROFILE","height":159});
															thumbnails[4191036] = clik.newPhoto({"id":4191036,"src":"janelewis_eggshells_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4191036.html","width":130,"caption":"EGGSHELLS","height":93});
															thumbnails[8834394] = clik.newPhoto({"id":8834394,"src":"janelewis_greenman_drawing_web_8C6402A4-1EC9-DFB6-09491D4D792968D3_thumb.jpg","galleries_id":460792,"server_id":15,"link":"photo_8834394.html","width":130,"caption":"GREEN MAN","height":165});
															thumbnails[4191011] = clik.newPhoto({"id":4191011,"src":"janelewis_fragmentsofthesenses_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4191011.html","width":130,"caption":"FRAGMENTS OF THE SENSES","height":93});
															thumbnails[4032721] = clik.newPhoto({"id":4032721,"src":"janelewis_icarus_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032721.html","width":130,"caption":"ICARUS","height":102});
															thumbnails[4032705] = clik.newPhoto({"id":4032705,"src":"janelewis_theharlequinscat12_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032705.html","width":130,"caption":"THE HARLEQUIN'S CAT","height":244});
															thumbnails[4032691] = clik.newPhoto({"id":4032691,"src":"janelewis_goblinmarket_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032691.html","width":130,"caption":"GOBLIN MARKET","height":168});
															thumbnails[4032688] = clik.newPhoto({"id":4032688,"src":"janelewis_stoneglass_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032688.html","width":130,"caption":"STONE & GLASS","height":166});
															thumbnails[4032677] = clik.newPhoto({"id":4032677,"src":"janelewis_thewakingdream_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_4032677.html","width":130,"caption":"THE WAKING DREAM","height":232});
															thumbnails[8412662] = clik.newPhoto({"id":8412662,"src":"janelewis_japaneseblind_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_8412662.html","width":130,"caption":"JAPANESE BLIND","height":195});
															thumbnails[8412765] = clik.newPhoto({"id":8412765,"src":"janelewis_brokendoll_thumb.jpg","galleries_id":242474,"server_id":15,"link":"photo_8412765.html","width":130,"caption":"BROKEN DOLL","height":129});
															thumbnails[4608257] = clik.newPhoto({"id":4608257,"src":"janelewis_banjomandolin_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4608257.html","width":130,"caption":"THE BANJO-MANDOLIN","height":161});
															thumbnails[5876762] = clik.newPhoto({"id":5876762,"src":"janelewis_veiled_angel_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_5876762.html","width":130,"caption":"VEILED ANGEL","height":101});
															thumbnails[5876773] = clik.newPhoto({"id":5876773,"src":"janelewis_theservant_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_5876773.html","width":130,"caption":"THE SERVANT","height":97});
															thumbnails[5876744] = clik.newPhoto({"id":5876744,"src":"janelewis_librettist_2_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_5876744.html","width":130,"caption":"THE LIBRETTIST","height":172});
															thumbnails[4607973] = clik.newPhoto({"id":4607973,"src":"JLewis160_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4607973.html","width":130,"caption":"MASKERS","height":171});
															thumbnails[4607970] = clik.newPhoto({"id":4607970,"src":"janelewis_papagenoII_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4607970.html","width":130,"caption":"PAPAGENO II","height":329});
															thumbnails[4607962] = clik.newPhoto({"id":4607962,"src":"janelewis_beecharmer_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4607962.html","width":130,"caption":"BEE-CHARMER","height":318});
															thumbnails[5876768] = clik.newPhoto({"id":5876768,"src":"janelewis_thegirlfriends_2_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_5876768.html","width":130,"caption":"THE GIRLFRIENDS ","height":165});
															thumbnails[4028638] = clik.newPhoto({"id":4028638,"src":"janelewis_catmask_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028638.html","width":130,"caption":"CAT-MASK","height":186});
															thumbnails[4028636] = clik.newPhoto({"id":4028636,"src":"janelewis_angel3_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028636.html","width":130,"caption":"ANGEL","height":129});
															thumbnails[4028601] = clik.newPhoto({"id":4028601,"src":"janelewis_sculptor_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028601.html","width":130,"caption":"SCULPTOR","height":193});
															thumbnails[4028626] = clik.newPhoto({"id":4028626,"src":"janelewis_beehat_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028626.html","width":130,"caption":"BEE-HAT","height":164});
															thumbnails[4028597] = clik.newPhoto({"id":4028597,"src":"janelewis_magicflute_2_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028597.html","width":130,"caption":"MAGIC FLUTE II","height":192});
															thumbnails[4028604] = clik.newPhoto({"id":4028604,"src":"janelewis_dressingthecat_1_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028604.html","width":130,"caption":"DRESSING THE CAT","height":172});
															thumbnails[4028634] = clik.newPhoto({"id":4028634,"src":"janelewis_nudewithgrapes_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028634.html","width":130,"caption":"NUDE WITH GRAPES","height":165});
															thumbnails[4028602] = clik.newPhoto({"id":4028602,"src":"janelewis_dressingthecat_2_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028602.html","width":130,"caption":"DRESSING THE CAT II","height":192});
															thumbnails[4028595] = clik.newPhoto({"id":4028595,"src":"janelewis_thegeometrist_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028595.html","width":130,"caption":"THE GEOMETRIST","height":201});
															thumbnails[4028592] = clik.newPhoto({"id":4028592,"src":"janelewis_writtenonthebody_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028592.html","width":130,"caption":"WRITTEN ON THE BODY","height":165});
															thumbnails[4028590] = clik.newPhoto({"id":4028590,"src":"janelewis_thewigmaker_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028590.html","width":130,"caption":"THE WIG-MAKER","height":171});
															thumbnails[4028683] = clik.newPhoto({"id":4028683,"src":"janelewis_papermask_thumb.jpg","galleries_id":242713,"server_id":15,"link":"photo_4028683.html","width":130,"caption":"BRUISE & PAPER MASK","height":163});
															thumbnails[4025950] = clik.newPhoto({"id":4025950,"src":"janelewis_juggler_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4025950.html","width":130,"caption":"JUGGLER","height":195});
															thumbnails[4025953] = clik.newPhoto({"id":4025953,"src":"janelewis_childtoys_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4025953.html","width":130,"caption":"CHILD & TOYS","height":142});
															thumbnails[4025957] = clik.newPhoto({"id":4025957,"src":"janelewis_fruithat_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4025957.html","width":130,"caption":"FRUIT HAT","height":184});
															thumbnails[4026009] = clik.newPhoto({"id":4026009,"src":"janelewis_tablemusic_2_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026009.html","width":130,"caption":"TABLE MUSIC II","height":208});
															thumbnails[4026013] = clik.newPhoto({"id":4026013,"src":"janelewis_bacchus_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026013.html","width":130,"caption":"BACCHUS","height":188});
															thumbnails[4026071] = clik.newPhoto({"id":4026071,"src":"janelewis_cherubim_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026071.html","width":130,"caption":"CHERUBIM","height":186});
															thumbnails[4026027] = clik.newPhoto({"id":4026027,"src":"janelewis_fruittattoo_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026027.html","width":130,"caption":"FRUIT TATTOO","height":179});
															thumbnails[4026031] = clik.newPhoto({"id":4026031,"src":"janelewis_turbanmirror_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026031.html","width":130,"caption":"TURBAN & MIRROR","height":193});
															thumbnails[4608759] = clik.newPhoto({"id":4608759,"src":"janelewis_japanesemask_2_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4608759.html","width":130,"caption":"JAPANESE MASK II","height":169});
															thumbnails[4608762] = clik.newPhoto({"id":4608762,"src":"JLewis168_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4608762.html","width":130,"caption":"HYPNOS","height":115});
															thumbnails[4608766] = clik.newPhoto({"id":4608766,"src":"janelewis_reflection_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4608766.html","width":130,"caption":"REFLECTION","height":160});
															thumbnails[4608764] = clik.newPhoto({"id":4608764,"src":"janelewis_thekiss_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4608764.html","width":130,"caption":"THE KISS","height":184});
															thumbnails[4026035] = clik.newPhoto({"id":4026035,"src":"JLewis166_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026035.html","width":130,"caption":"STAR-GAZER","height":212});
															thumbnails[4026036] = clik.newPhoto({"id":4026036,"src":"janelewis_fetish_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026036.html","width":130,"caption":"FETISH","height":271});
															thumbnails[4026068] = clik.newPhoto({"id":4026068,"src":"janelewis_panpipes_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026068.html","width":130,"caption":"PAN PIPES","height":190});
															thumbnails[4026019] = clik.newPhoto({"id":4026019,"src":"JLewis165_thumb.jpg","galleries_id":242475,"server_id":15,"link":"photo_4026019.html","width":130,"caption":"PISCES","height":211});
															thumbnails[8749340] = clik.newPhoto({"id":8749340,"src":"janelewis_tattooed_self_portrait_edited-1_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_8749340.html","width":130,"caption":"TATTOOED SELF PORTRAIT","height":156});
															thumbnails[4024220] = clik.newPhoto({"id":4024220,"src":"janelewis_birdkeeper_1_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024220.html","width":130,"caption":"BIRD-KEEPER I","height":198});
															thumbnails[4024232] = clik.newPhoto({"id":4024232,"src":"janelewis_gorgon_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024232.html","width":130,"caption":"GORGON","height":165});
															thumbnails[4024227] = clik.newPhoto({"id":4024227,"src":"janelewis_maskedfigurefruit_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024227.html","width":130,"caption":"MASKED FIGURE & FRUIT","height":181});
															thumbnails[4024247] = clik.newPhoto({"id":4024247,"src":"janelewis_tattooedchildfruit_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024247.html","width":130,"caption":"TATTOOED CHILD & FRUIT","height":158});
															thumbnails[4024259] = clik.newPhoto({"id":4024259,"src":"janelewis_portrait1_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024259.html","width":130,"caption":"PORTRAIT","height":142});
															thumbnails[4024257] = clik.newPhoto({"id":4024257,"src":"janelewis_wheeledautomaton_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024257.html","width":130,"caption":"WHEELED AUTOMATON","height":140});
															thumbnails[4024250] = clik.newPhoto({"id":4024250,"src":"janelewis_tattooedhead_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024250.html","width":130,"caption":"TATTOOED HEAD","height":157});
															thumbnails[5876628] = clik.newPhoto({"id":5876628,"src":"janelewis_miroslava_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_5876628.html","width":130,"caption":"MIROSLAVA","height":168});
															thumbnails[5876621] = clik.newPhoto({"id":5876621,"src":"janelewis_childrentoys_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_5876621.html","width":130,"caption":"CHILDREN WITH TOYS","height":97});
															thumbnails[5876601] = clik.newPhoto({"id":5876601,"src":"janelewis_boywitharibbonedcap_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_5876601.html","width":130,"caption":"BOY WITH A RIBBONED CAP","height":144});
															thumbnails[5876642] = clik.newPhoto({"id":5876642,"src":"janelewis_twins_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_5876642.html","width":130,"caption":"TWINS","height":152});
															thumbnails[4024254] = clik.newPhoto({"id":4024254,"src":"janelewis_masquerade-wc_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024254.html","width":130,"caption":"MASQUERADE","height":95});
															thumbnails[4024262] = clik.newPhoto({"id":4024262,"src":"janelewis_pandora_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024262.html","width":130,"caption":"PANDORA","height":159});
															thumbnails[4618778] = clik.newPhoto({"id":4618778,"src":"janelewis_3women_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4618778.html","width":130,"caption":"THREE WOMEN","height":130});
															thumbnails[4608628] = clik.newPhoto({"id":4608628,"src":"janelewis_animalstilllife_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4608628.html","width":130,"caption":"STILL LIFE MENAGERIE","height":111});
															thumbnails[4024275] = clik.newPhoto({"id":4024275,"src":"janelewis_mausoleum_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024275.html","width":130,"caption":"MAUSOLEUM","height":94});
															thumbnails[4024271] = clik.newPhoto({"id":4024271,"src":"janelewis_thegoldeneggs_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024271.html","width":130,"caption":"THE GOLDEN EGGS","height":90});
															thumbnails[7891882] = clik.newPhoto({"id":7891882,"src":"janelewis_marionettes_web1_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_7891882.html","width":130,"caption":"MARIONETTES","height":97});
															thumbnails[4024277] = clik.newPhoto({"id":4024277,"src":"janelewis_severedhead_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024277.html","width":130,"caption":"SEVERED HEAD","height":123});
															thumbnails[4024266] = clik.newPhoto({"id":4024266,"src":"janelewis_theatre_thumb.jpg","galleries_id":242641,"server_id":15,"link":"photo_4024266.html","width":130,"caption":"THEATRE","height":109});
															thumbnails[8363955] = clik.newPhoto({"id":8363955,"src":"janelewis_Leila_in_Profile__thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_8363955.html","width":130,"caption":"LEILA IN PROFILE","height":159});
															thumbnails[8363911] = clik.newPhoto({"id":8363911,"src":"janelewis_Bocca_della_Verita__thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_8363911.html","width":130,"caption":"LA BOCCA DELLA VERITA","height":105});
															thumbnails[8678968] = clik.newPhoto({"id":8678968,"src":"janelewis_angel_of_time_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_8678968.html","width":130,"caption":"ANGEL OF TIME","height":194});
															thumbnails[6701822] = clik.newPhoto({"id":6701822,"src":"janelewis_Mephisto_Kiss_copyright_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_6701822.html","width":130,"caption":"MEPHISTO KISS","height":101});
															thumbnails[6979129] = clik.newPhoto({"id":6979129,"src":"janelewis_Picture_Hat_web_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_6979129.html","width":130,"caption":"PICTURE HAT","height":206});
															thumbnails[5426288] = clik.newPhoto({"id":5426288,"src":"janelewis_third_eye_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5426288.html","width":130,"caption":"THE THIRD EYE","height":174});
															thumbnails[8637163] = clik.newPhoto({"id":8637163,"src":"janelewis_wings_edited-1_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_8637163.html","width":130,"caption":"WINGS","height":111});
															thumbnails[5738428] = clik.newPhoto({"id":5738428,"src":"janelewis_rabbits_doll123_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5738428.html","width":130,"caption":"THE RABBIT'S DOLL","height":97});
															thumbnails[5844750] = clik.newPhoto({"id":5844750,"src":"janelewis_devil_doll_72dpi_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5844750.html","width":130,"caption":"DEVIL DOLL","height":139});
															thumbnails[5058904] = clik.newPhoto({"id":5058904,"src":"janelewis_Red_Hair_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5058904.html","width":130,"caption":"RED HAIR","height":182});
															thumbnails[5058913] = clik.newPhoto({"id":5058913,"src":"janelewis_Medusa_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5058913.html","width":130,"caption":"MEDUSA STUDY","height":124});
															thumbnails[5426285] = clik.newPhoto({"id":5426285,"src":"janelewis_medusa_71E37B54-2219-B5B5-4CEEE010F9023756_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5426285.html","width":130,"caption":"MEDUSA","height":171});
															thumbnails[5058910] = clik.newPhoto({"id":5058910,"src":"janelewis_Deity_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5058910.html","width":130,"caption":"DEITY","height":137});
															thumbnails[5058917] = clik.newPhoto({"id":5058917,"src":"janelewis_Pulcinella_c1_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5058917.html","width":130,"caption":"PULCINELLA","height":211});
															thumbnails[5427002] = clik.newPhoto({"id":5427002,"src":"janelewis_magiciansdaughter1_thumb.jpg","galleries_id":425786,"server_id":15,"link":"photo_5427002.html","width":130,"caption":"THE MAGICIAN'S DAUGHTER","height":98});
															thumbnails[7891931] = clik.newPhoto({"id":7891931,"src":"janelewis_marionettes_web2_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7891931.html","width":130,"caption":"MARIONETTES","height":97});
															thumbnails[7891893] = clik.newPhoto({"id":7891893,"src":"janelewis_marionettesdetail_01_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7891893.html","width":130,"caption":"MARIONETTES DETAIL 01","height":195});
															thumbnails[7891945] = clik.newPhoto({"id":7891945,"src":"janelewis_marionettesdetail_02_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7891945.html","width":130,"caption":"MARIONETTES DETAIL 02","height":195});
															thumbnails[7891950] = clik.newPhoto({"id":7891950,"src":"janelewis_marionettesdetail_03_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7891950.html","width":130,"caption":"MARIONETTES DETAIL 03","height":195});
															thumbnails[7891951] = clik.newPhoto({"id":7891951,"src":"janelewis_marionettesdetail_04_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7891951.html","width":130,"caption":"MARIONETTES DETAIL 04","height":195});
															thumbnails[7891955] = clik.newPhoto({"id":7891955,"src":"janelewis_marionettesdetail_05_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7891955.html","width":130,"caption":"MARIONETTES DETAIL 05","height":195});
															thumbnails[7892098] = clik.newPhoto({"id":7892098,"src":"janelewis_marionettesdetail_06_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7892098.html","width":130,"caption":"MARIONETTES DETAIL 06","height":195});
															thumbnails[7892101] = clik.newPhoto({"id":7892101,"src":"janelewis_marionettesdetail_07_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7892101.html","width":130,"caption":"MARIONETTES DETAIL 07","height":195});
															thumbnails[7892104] = clik.newPhoto({"id":7892104,"src":"janelewis_marionettesdetail_08_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7892104.html","width":130,"caption":"MARIONETTES DETAIL 08","height":195});
															thumbnails[7892107] = clik.newPhoto({"id":7892107,"src":"janelewis_marionettesdetail_09_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7892107.html","width":130,"caption":"MARIONETTES DETAIL 09","height":115});
															thumbnails[7892111] = clik.newPhoto({"id":7892111,"src":"janelewis_marionettesdetail_10_thumb.jpg","galleries_id":461667,"server_id":15,"link":"photo_7892111.html","width":130,"caption":"MARIONETTES DETAIL 10","height":106});
															thumbnails[5742694] = clik.newPhoto({"id":5742694,"src":"janelewis_portait_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742694.html","width":130,"caption":"DOUBLE PORTRAIT","height":181});
															thumbnails[5742692] = clik.newPhoto({"id":5742692,"src":"janelewis_metronome_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742692.html","width":130,"caption":"METRONOME","height":132});
															thumbnails[5742704] = clik.newPhoto({"id":5742704,"src":"JLewis157_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742704.html","width":130,"caption":"CATCHING FISH","height":131});
															thumbnails[5742683] = clik.newPhoto({"id":5742683,"src":"janelewis_falstaff_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742683.html","width":130,"caption":"FALSTAFF","height":188});
															thumbnails[5742567] = clik.newPhoto({"id":5742567,"src":"janelewis_adrian-pastel_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742567.html","width":130,"caption":"ADRIAN","height":198});
															thumbnails[5742506] = clik.newPhoto({"id":5742506,"src":"JLewis161_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742506.html","width":130,"caption":"CHESS","height":98});
															thumbnails[5742689] = clik.newPhoto({"id":5742689,"src":"janelewis_Leila_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742689.html","width":130,"caption":"LEILA","height":164});
															thumbnails[5742687] = clik.newPhoto({"id":5742687,"src":"janelewis_fishfruit_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742687.html","width":130,"caption":"FISH AND FRUIT","height":103});
															thumbnails[5742702] = clik.newPhoto({"id":5742702,"src":"janelewis_theageofjazz_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742702.html","width":130,"caption":"THE AGE OF JAZZ LINGERS ON","height":171});
															thumbnails[9095576] = clik.newPhoto({"id":9095576,"src":"janelewis_Girl_with_Mandolin_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9095576.html","width":130,"caption":"GIRL WITH A MANDOLIN","height":180});
															thumbnails[5754525] = clik.newPhoto({"id":5754525,"src":"janelewis_paperdragon_600dpi_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5754525.html","width":130,"caption":"PAPER DRAGON","height":332});
															thumbnails[9095580] = clik.newPhoto({"id":9095580,"src":"janelewis_Underdrawing5_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9095580.html","width":130,"caption":"GIRL WITH A MANDOLIN","height":182});
															thumbnails[5742568] = clik.newPhoto({"id":5742568,"src":"janelewis_birdkeeper_2_thumb.jpg","galleries_id":325234,"server_id":15,"link":"photo_5742568.html","width":130,"caption":"BIRD-KEEPER II","height":199});
															thumbnails[9086076] = clik.newPhoto({"id":9086076,"src":"janelewis_CarnivalCostume1_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9086076.html","width":130,"caption":"CARNIVAL COSTUME I","height":287});
															thumbnails[9086095] = clik.newPhoto({"id":9086095,"src":"janelewis_Underdrawing3_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9086095.html","width":130,"caption":"CARNIVAL COSTUME I","height":284});
															thumbnails[9086081] = clik.newPhoto({"id":9086081,"src":"janelewis_CarnivalCostume2_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9086081.html","width":130,"caption":"CARNIVAL COSTUME II","height":276});
															thumbnails[9086112] = clik.newPhoto({"id":9086112,"src":"janelewis_Underdrawing4_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9086112.html","width":130,"caption":"CARNIVAL COSTUME II","height":280});
															thumbnails[9086070] = clik.newPhoto({"id":9086070,"src":"janelewis_BoywithFeltHat_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9086070.html","width":130,"caption":"BOY WITH A FELT HAT","height":176});
															thumbnails[9086086] = clik.newPhoto({"id":9086086,"src":"janelewis_Underdrawing1_web_1_thumb.jpg","galleries_id":479267,"server_id":15,"link":"photo_9086086.html","width":130,"caption":"BOY WITH A FELT HAT","height":174});
															thumbnails[5757643] = clik.newPhoto({"id":5757643,"src":"janelewis_falstaff_D354919F-1EC9-D45B-1CE9A5A30A70B4FD_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757643.html","width":130,"caption":"FALSTAFF","height":188});
															thumbnails[5757648] = clik.newPhoto({"id":5757648,"src":"janelewis_falstaff_drawing1_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757648.html","width":130,"caption":"FALSTAFF UNDER-DRAWING I","height":174});
															thumbnails[5757649] = clik.newPhoto({"id":5757649,"src":"janelewis_falstaff_drawing2_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757649.html","width":130,"caption":"FALSTAFF UNDER-DRAWING II","height":182});
															thumbnails[5757653] = clik.newPhoto({"id":5757653,"src":"FS01_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757653.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY I","height":190});
															thumbnails[5757657] = clik.newPhoto({"id":5757657,"src":"FS02_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757657.html","width":130,"caption":"FALSTAFF SKECTHBOOK STUDY II","height":191});
															thumbnails[5757663] = clik.newPhoto({"id":5757663,"src":"FS03_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757663.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY III","height":191});
															thumbnails[5757666] = clik.newPhoto({"id":5757666,"src":"FS04_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757666.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY IV","height":191});
															thumbnails[5757672] = clik.newPhoto({"id":5757672,"src":"FS05_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757672.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY V","height":190});
															thumbnails[5757673] = clik.newPhoto({"id":5757673,"src":"FS06_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757673.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY VI","height":190});
															thumbnails[5757675] = clik.newPhoto({"id":5757675,"src":"FS07_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757675.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY VII","height":190});
															thumbnails[5757676] = clik.newPhoto({"id":5757676,"src":"FS08_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757676.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY VIII","height":190});
															thumbnails[5757677] = clik.newPhoto({"id":5757677,"src":"FS09_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757677.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY IX","height":190});
															thumbnails[5757679] = clik.newPhoto({"id":5757679,"src":"FS10_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757679.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY X","height":190});
															thumbnails[5757681] = clik.newPhoto({"id":5757681,"src":"FS11_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757681.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XI","height":189});
															thumbnails[5757688] = clik.newPhoto({"id":5757688,"src":"FS12_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757688.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XII","height":191});
															thumbnails[5757691] = clik.newPhoto({"id":5757691,"src":"FS13_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757691.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XIII","height":193});
															thumbnails[5757700] = clik.newPhoto({"id":5757700,"src":"FS15_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757700.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XIV","height":190});
															thumbnails[5757702] = clik.newPhoto({"id":5757702,"src":"FS16_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757702.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XV","height":191});
															thumbnails[5757724] = clik.newPhoto({"id":5757724,"src":"FS19_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757724.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XVI","height":189});
															thumbnails[5757730] = clik.newPhoto({"id":5757730,"src":"FS20_thumb.jpg","galleries_id":326227,"server_id":15,"link":"photo_5757730.html","width":130,"caption":"FALSTAFF SKETCHBOOK STUDY XVII","height":189});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[425786] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PAINTINGS SINCE 2010","link":"gallery_425786.html","maxRecords":0.0,"photoIDs":[7891882.0,8363955.0,8363911.0,8678968.0,6701822.0,6979129.0,5426288.0,8637163.0,5738428.0,5844750.0,5058904.0,5058913.0,5426285.0,5058910.0,5058917.0,5427002.0],"skipIndex":0,"section_code":"gallery","featured_images":6979129.0,"id":425786,"singleSection":false});				  						galleries[461667] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"MARIONETTES","link":"gallery_461667.html","maxRecords":0.0,"photoIDs":[7891931.0,7891893.0,7891945.0,7891950.0,7891951.0,7891955.0,7892098.0,7892101.0,7892104.0,7892107.0,7892111.0],"skipIndex":0,"section_code":"gallery","featured_images":7891951.0,"id":461667,"singleSection":false});				  						galleries[479267] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"NEW PASTELS & STUDIES","link":"gallery_479267.html","maxRecords":0.0,"photoIDs":[9095576.0,9095580.0,9086076.0,9086095.0,9086081.0,9086112.0,9086070.0,9086086.0],"skipIndex":0,"section_code":"gallery","featured_images":9086076.0,"id":479267,"singleSection":false});				  						galleries[460792] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"WORKS FOR SALE","link":"gallery_460792.html","maxRecords":0.0,"photoIDs":[8795157.0,8795161.0,8795166.0,8795171.0,8795172.0,8795178.0,8795197.0,8799856.0,8799883.0,8799888.0,8834412.0,8834394.0],"skipIndex":0,"section_code":"gallery","featured_images":8795197.0,"id":460792,"singleSection":false});				  						galleries[242474] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PAINTINGS 2000-2009","link":"gallery_242474.html","maxRecords":0.0,"photoIDs":[4032724.0,4032726.0,4032809.0,4032734.0,4254238.0,4607899.0,4607907.0,4254194.0,4607904.0,4607910.0,4254184.0,5058815.0,4032729.0,4191036.0,4191011.0,4032721.0,4032705.0,4032691.0,4032688.0,4032677.0,8412662.0,8412765.0],"skipIndex":0,"section_code":"gallery","featured_images":4032677.0,"id":242474,"singleSection":false});				  						galleries[242713] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PAINTINGS 1990-1999","link":"gallery_242713.html","maxRecords":0.0,"photoIDs":[4608257.0,5876762.0,5876773.0,5876744.0,4607973.0,4607970.0,4607962.0,5876768.0,4028638.0,4028636.0,4028601.0,4028626.0,4028597.0,4028604.0,4028634.0,4028602.0,4028595.0,4028592.0,4028590.0,4028683.0],"skipIndex":0,"section_code":"gallery","featured_images":4607973.0,"id":242713,"singleSection":false});				  						galleries[242475] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PASTELS 1992-2006","link":"gallery_242475.html","maxRecords":0.0,"photoIDs":[4025950.0,4025953.0,4025957.0,4026009.0,4026013.0,4026071.0,4026027.0,4026031.0,4608759.0,4608762.0,4608766.0,4608764.0,4026035.0,4026036.0,4026068.0,4026019.0],"skipIndex":0,"section_code":"gallery","featured_images":4025950.0,"id":242475,"singleSection":false});				  						galleries[288932] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"DRAWINGS","link":"gallery_288932.html","maxRecords":0.0,"photoIDs":[8363962.0,7663609.0,7663605.0,7663615.0,7663619.0,7663627.0,7663623.0,5119006.0,5112533.0,5112527.0,5112530.0,5112536.0,5116712.0,5116709.0,5116731.0,5116734.0,5118720.0,5118743.0,5118746.0,5118903.0,5119004.0,5119012.0,5308338.0,5308346.0,5308344.0,8391750.0],"skipIndex":0,"section_code":"gallery","featured_images":5308338.0,"id":288932,"singleSection":false});				  						galleries[326226] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"PORTRAITS","link":"gallery_326226.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5757643,5742694","id":326226,"singleSection":false});				  						galleries[325234] = clik.newGallery({"parentGallery":326226,"usePopups":true,"title":"PORTRAIT PAINTINGS","link":"gallery_325234.html","maxRecords":0.0,"photoIDs":[5742694.0,5742692.0,5742704.0,5742683.0,5742567.0,5742506.0,5742689.0,5742687.0,5742702.0,5754525.0,5742568.0],"skipIndex":0,"section_code":"gallery","featured_images":5742694.0,"id":325234,"singleSection":false});				  						galleries[326227] = clik.newGallery({"parentGallery":326226,"usePopups":true,"title":"FALSTAFF STUDIES","link":"gallery_326227.html","maxRecords":0.0,"photoIDs":[5757643.0,5757648.0,5757649.0,5757653.0,5757657.0,5757663.0,5757666.0,5757672.0,5757673.0,5757675.0,5757676.0,5757677.0,5757679.0,5757681.0,5757688.0,5757691.0,5757700.0,5757702.0,5757724.0,5757730.0],"skipIndex":0,"section_code":"gallery","featured_images":5757643.0,"id":326227,"singleSection":false});				  						galleries[242641] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"ARCHIVE","link":"gallery_242641.html","maxRecords":0.0,"photoIDs":[8749340.0,4024220.0,4024232.0,4024227.0,4024247.0,4024259.0,4024257.0,4024250.0,5876628.0,5876621.0,5876601.0,5876642.0,4024254.0,4024262.0,4618778.0,4608628.0,4024275.0,4024271.0,4024277.0,4024266.0],"skipIndex":0,"section_code":"gallery","featured_images":5876642.0,"id":242641,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '4015725';
imageSets[2] = '8795197,5308338,4032677,4607973,4025950,5876642,6979129,7891951,5742694,9086076,5757643';
imageSets[3] = '9095580,9095576,9086112,9086095,9086086,9086081,9086076,9086070,8834412,8834394,8799888,8799885,8799883,8799856,8798575,8795197,8795178,8795172,8795171,8795166,8795161,8795157,8749340,8678968,8637163,8412765,8412662,8391750,8363962,8363955,8363911,7892111,7892107,7892104,7892101,7892098,7891955,7891951,7891950,7891945,7891931,7891893,7891882,7663627,7663623,7663619,7663615,7663609,7663605,6979129';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/janeart/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/janeart/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/janeart/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/janeart/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/janeart/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/janeart/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/janeart/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/janeart/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 = 'Jane Lewis - Artist: ' + 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.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.item_price !== '') {
											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="JANEART">';
			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;
	}
}

			

