window.thumbnails = {};
															thumbnails[3698034] = clik.newPhoto({"id":3698034,"src":"LHP_Posterized_for_Web_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Artist in Youth","height":198});
															thumbnails[3700951] = clik.newPhoto({"id":3700951,"src":"Logo_Prints_Red_bkgd_v412_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":130});
															thumbnails[3790149] = clik.newPhoto({"id":3790149,"src":"Poole-card-1_copy_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":88});
															thumbnails[3790153] = clik.newPhoto({"id":3790153,"src":"les_images_de_paris_large_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":88});
															thumbnails[4092670] = clik.newPhoto({"id":4092670,"src":"Scan_of_Etched_Plate_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Etched Plate","height":193});
															thumbnails[4102234] = clik.newPhoto({"id":4102234,"src":"7444_logo_for_web_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":156});
															thumbnails[4571899] = clik.newPhoto({"id":4571899,"src":"Batman_Snap_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Original Photo","height":98});
															thumbnails[4571900] = clik.newPhoto({"id":4571900,"src":"Batman_-_Mary_Lou_for_Web_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Custom Print","height":93});
															thumbnails[4827316] = clik.newPhoto({"id":4827316,"src":"bluseed_logo_for_web_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"BluSeed Studios","height":130});
															thumbnails[4838089] = clik.newPhoto({"id":4838089,"src":"Georgeanne_Gaffney_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Georgeanne Gaffney - Fine Art","height":130});
															thumbnails[4849005] = clik.newPhoto({"id":4849005,"src":"artworkslogo_member_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"Saranac Lake ArtWorks","height":130});
															thumbnails[6904158] = clik.newPhoto({"id":6904158,"src":"Two_Artists_-_Two_Views_Show_Card_for_website_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":191});
															thumbnails[6904658] = clik.newPhoto({"id":6904658,"src":"larry_8-2010_threshold2_for_web1_thumb.jpg","galleries_id":"","server_id":15,"link":"#","width":130,"caption":"","height":182});
															thumbnails[3697333] = clik.newPhoto({"id":3697333,"src":"BW_Orchid_Girl_for_web_thumb.jpg","galleries_id":225847,"server_id":15,"link":"photo_3697333.html","width":130,"caption":"Miss Eyebrows","height":190});
															thumbnails[3697890] = clik.newPhoto({"id":3697890,"src":"Feeding_Birds1_thumb.jpg","galleries_id":225847,"server_id":15,"link":"photo_3697890.html","width":130,"caption":"Daily Kindness","height":182});
															thumbnails[3697897] = clik.newPhoto({"id":3697897,"src":"Masquerade_thumb.jpg","galleries_id":225847,"server_id":15,"link":"photo_3697897.html","width":130,"caption":"Masquerade I","height":93});
															thumbnails[3697898] = clik.newPhoto({"id":3697898,"src":"Store_Front_Hats_thumb.jpg","galleries_id":225847,"server_id":15,"link":"photo_3697898.html","width":130,"caption":"Boutique","height":195});
															thumbnails[3697906] = clik.newPhoto({"id":3697906,"src":"NYC_Early_Morning_thumb.jpg","galleries_id":225847,"server_id":15,"link":"photo_3697906.html","width":130,"caption":"City Awakens","height":218});
															thumbnails[3697915] = clik.newPhoto({"id":3697915,"src":"BW_Orchid_for_web1_thumb.jpg","galleries_id":225847,"server_id":15,"link":"photo_3697915.html","width":130,"caption":"Nature's Work","height":179});
															thumbnails[3728809] = clik.newPhoto({"id":3728809,"src":"Mannequins_II_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_3728809.html","width":130,"caption":"mannequins II - 10x14 intaglio print (non-toxic) 2009","height":182});
															thumbnails[3728981] = clik.newPhoto({"id":3728981,"src":"Hot_Shop_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_3728981.html","width":130,"caption":"hot shop - 10x14 intaglio print (non-toxic) 2009","height":93});
															thumbnails[3752526] = clik.newPhoto({"id":3752526,"src":"Adirondack_Moon3_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_3752526.html","width":130,"caption":"Adirondack Moon - 7x10 Intaglio Print (Non-Toxic) 2009","height":177});
															thumbnails[3752529] = clik.newPhoto({"id":3752529,"src":"Parisian_Icon2_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3752529.html","width":130,"caption":"Parisian Icon - 5x7 Intaglio Print (Non-Toxic) 2008","height":169});
															thumbnails[3753557] = clik.newPhoto({"id":3753557,"src":"Abandoned_Keys_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_3753557.html","width":130,"caption":"Abandoned Keys - 7 x 10 Intaglio Print (Non-Toxic) 2009","height":178});
															thumbnails[3753560] = clik.newPhoto({"id":3753560,"src":"Abandoned_Strings_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_3753560.html","width":130,"caption":"Abandoned Strings - 7 x10 Intaglio Print (Non-Toxic) 2006","height":190});
															thumbnails[3753562] = clik.newPhoto({"id":3753562,"src":"Haute_Couture_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753562.html","width":130,"caption":"Haute Couture - 5 x 7 Intaglio Print (Non-Toxic) 2008","height":99});
															thumbnails[3753563] = clik.newPhoto({"id":3753563,"src":"Mother_Daughter_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753563.html","width":130,"caption":"Mother\/Daughter - 5 x 7 Intaglio Print (Non-Toxic) 2008","height":99});
															thumbnails[3753564] = clik.newPhoto({"id":3753564,"src":"Parisian_Commuter1_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753564.html","width":130,"caption":"Parisian Commuter - 5 x 7 Intaglio Print (Non-Toxic) 2008","height":170});
															thumbnails[3753565] = clik.newPhoto({"id":3753565,"src":"Passion__thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753565.html","width":130,"caption":"Passion - 5 x 7 Intaglio Print (Non-Toxic) 2008","height":172});
															thumbnails[3753566] = clik.newPhoto({"id":3753566,"src":"Resignation__thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753566.html","width":130,"caption":"Resignation - 5 x 7 Intaglio Print (Non-Toxic) 2008","height":98});
															thumbnails[3753567] = clik.newPhoto({"id":3753567,"src":"Sailboats_at_des_Toileries_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753567.html","width":130,"caption":"Sailboats des Toileries - 7 x 10 Intaglio Print  (Non-Toxic) with watercolor 2008","height":97});
															thumbnails[3822279] = clik.newPhoto({"id":3822279,"src":"Apollo_thumb.jpg","galleries_id":232940,"server_id":15,"link":"photo_3822279.html","width":130,"caption":"Apollo - 5x7 Intaglio Print (Non-Toxic) on Handmade Paper 2008","height":98});
															thumbnails[3822280] = clik.newPhoto({"id":3822280,"src":"Greek_God_thumb.jpg","galleries_id":232940,"server_id":15,"link":"photo_3822280.html","width":130,"caption":"Greek God - 5x7 Intaglio Print (Non-Toxic) on Handmade Paper 2008","height":171});
															thumbnails[3822281] = clik.newPhoto({"id":3822281,"src":"Goddess_of_Motherhood_thumb.jpg","galleries_id":232940,"server_id":15,"link":"photo_3822281.html","width":130,"caption":"Goddess of Motherhood - 5 x 7 Intaglio Print (Non-Toxic) on Handmade Paper 2008","height":171});
															thumbnails[3822283] = clik.newPhoto({"id":3822283,"src":"Reclining_Muse_thumb.jpg","galleries_id":232940,"server_id":15,"link":"photo_3822283.html","width":130,"caption":"Reclining Muse - 5x7 Intaglio Print (Non-Toxic) on Handmade Paper 2008","height":99});
															thumbnails[3822284] = clik.newPhoto({"id":3822284,"src":"Fontaine_Latona_thumb.jpg","galleries_id":232940,"server_id":15,"link":"photo_3822284.html","width":130,"caption":"Fontaine of Latona - 5x7 Intaglio Print (Non-Toxic) on Handmade Paper 2008","height":171});
															thumbnails[3822299] = clik.newPhoto({"id":3822299,"src":"Lemonade_Day_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_3822299.html","width":130,"caption":"Lemonade Day - 7x10 Intaglio Print (Non-Toxic) 2006","height":174});
															thumbnails[3822300] = clik.newPhoto({"id":3822300,"src":"Street_Band_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3822300.html","width":130,"caption":"Street Band - 7x10 Intaglio Print (Non-Toxic) 2008","height":98});
															thumbnails[3822301] = clik.newPhoto({"id":3822301,"src":"Connies_Barn_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_3822301.html","width":130,"caption":"Connie's Barn - 6x10 Intaglio Print (Non-Toxic) 2007","height":85});
															thumbnails[3822302] = clik.newPhoto({"id":3822302,"src":"Fifties_Sophistication_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_3822302.html","width":130,"caption":"Fifties Sophistication - 7x10 Intaglio Print (Non-Toxic) 2007","height":179});
															thumbnails[3822303] = clik.newPhoto({"id":3822303,"src":"Playtimes_Past_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_3822303.html","width":130,"caption":"Playtimes Past - 5x7 Intaglio Print (Non-Toxic) 2006 ","height":98});
															thumbnails[3822304] = clik.newPhoto({"id":3822304,"src":"Vanity_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_3822304.html","width":130,"caption":"Vanity - 7x10 Intaglio Print (Non-Toxic) 2009","height":165});
															thumbnails[3846763] = clik.newPhoto({"id":3846763,"src":"Escape_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_3846763.html","width":130,"caption":"Escape - 7x10 Intaglio Print (Non-Toxic) 2006","height":187});
															thumbnails[3846800] = clik.newPhoto({"id":3846800,"src":"Ironwork_x_4_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_3846800.html","width":130,"caption":"Ironwork x 4 - 8x13 Intaglio Print (Non-Toxic) 2005","height":192});
															thumbnails[4016007] = clik.newPhoto({"id":4016007,"src":"Bal_Masque_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4016007.html","width":130,"caption":"Bal Masque - 5 x 7 Intaglio Print (Non-Toxic) 2008","height":173});
															thumbnails[4016474] = clik.newPhoto({"id":4016474,"src":"Une_Boutique_dans_Paris_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4016474.html","width":130,"caption":"Une Boutique dans Paris - Intaglio Print with chine collé (Non-Toxic) 2008","height":164});
															thumbnails[4022714] = clik.newPhoto({"id":4022714,"src":"Daily_Kindness_with_Chine_Colle_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4022714.html","width":130,"caption":"Daily Kindness - 5 x 7 Intaglio Pint with Chine Collé (Non-Toxic) 2007","height":168});
															thumbnails[4022738] = clik.newPhoto({"id":4022738,"src":"Masquerade_1_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4022738.html","width":130,"caption":"Masquerade - 5 x 7 Intaglio Print (Non-Toxic) 2007","height":98});
															thumbnails[4022741] = clik.newPhoto({"id":4022741,"src":"Masquerade_II_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4022741.html","width":130,"caption":"Masquerade II - 5 x 7 Intaglio Print using two plates (Non-Toxic) 2008","height":98});
															thumbnails[4022788] = clik.newPhoto({"id":4022788,"src":"Morning_Brew_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_4022788.html","width":130,"caption":"Morning Brew - 4 x 6 Intaglio Print (Non-Toxic) 2007","height":181});
															thumbnails[4022798] = clik.newPhoto({"id":4022798,"src":"Window_Shopping_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_4022798.html","width":130,"caption":"Window Shopping - 4 x 6 Intaglio Print (Non-Toxic) 2007","height":179});
															thumbnails[4022812] = clik.newPhoto({"id":4022812,"src":"Olive_Oil_and_More_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4022812.html","width":130,"caption":"Olive Oil and More - 8 x 10 Intaglio Print (Non-Toxic) 2008","height":167});
															thumbnails[4022816] = clik.newPhoto({"id":4022816,"src":"Une_Librairie_du_Rive_Gauche_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4022816.html","width":130,"caption":"Une Librairie du Rive Gauche - 8 x 10 Intaglio Print with Chine Collé and Watercolor (Non-Toxic) 2008","height":167});
															thumbnails[4022831] = clik.newPhoto({"id":4022831,"src":"Neighborhood_Stop_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_4022831.html","width":130,"caption":"Neighborhood Stop - 7 x 10 Intaglio Print (Non-Toxic) 2006","height":91});
															thumbnails[4023403] = clik.newPhoto({"id":4023403,"src":"La_Rue_Pietonne_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_4023403.html","width":130,"caption":"La Rue Piétonne - 5 x 7 Intaglio Print with Viscosity Roll (Non-Toxic) 2008","height":175});
															thumbnails[4090611] = clik.newPhoto({"id":4090611,"src":"Notre_Dame_thumb.jpg","galleries_id":232940,"server_id":15,"link":"photo_4090611.html","width":130,"caption":"Notre Dame - 4.5 x 16 Intaglio Print (Non-Toxic) on Handmade Paper 2008","height":388});
															thumbnails[4755571] = clik.newPhoto({"id":4755571,"src":"Fractured_Faith_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_4755571.html","width":130,"caption":"Fractured Faith - 8x10 Intaglio Print (non-toxic) 2009","height":161});
															thumbnails[4755800] = clik.newPhoto({"id":4755800,"src":"Waiting_for_Summer_for_Web_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_4755800.html","width":130,"caption":"Waiting for Summer - 5x7 Intaglio Print (non-toxic) 2009","height":175});
															thumbnails[4755823] = clik.newPhoto({"id":4755823,"src":"Water__Lily_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_4755823.html","width":130,"caption":"Water Lily - 5x7 Intaglio Print (non-toxic) 2009","height":99});
															thumbnails[7072566] = clik.newPhoto({"id":7072566,"src":"Reflections_for_web_sm_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7072566.html","width":130,"caption":"reflexiones - 6.5x9 intaglio print (non-toxic) 2010","height":189});
															thumbnails[7073366] = clik.newPhoto({"id":7073366,"src":"Windows_in_Perspective_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7073366.html","width":130,"caption":"perspectiva de la calle - 6.5x10 intagio print (non-toxic) 2010","height":200});
															thumbnails[7074711] = clik.newPhoto({"id":7074711,"src":"Symbolismo_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7074711.html","width":130,"caption":"sybolismo - 6x9 intaglio print (non-toxic) 2010","height":91});
															thumbnails[7074713] = clik.newPhoto({"id":7074713,"src":"Patio_de_ayer_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7074713.html","width":130,"caption":"patio de ayer - 6x9 intaglio print (non-toxic) 2010","height":194});
															thumbnails[7074714] = clik.newPhoto({"id":7074714,"src":"Puertas_de_la_historia_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7074714.html","width":130,"caption":"puertas de la historia - 6x9 intaglio print (non-toxic) 2010","height":196});
															thumbnails[7074729] = clik.newPhoto({"id":7074729,"src":"Barrio_cafe_for_Web11_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7074729.html","width":130,"caption":"barrio cafe - 6x9 intaglio print (non-toxic) 2010","height":195});
															thumbnails[7074730] = clik.newPhoto({"id":7074730,"src":"Puerta_de_carga_muella_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7074730.html","width":130,"caption":"puerta de carga muella - 6.5x9.5 intaglio print (non-toxic) 2010","height":192});
															thumbnails[7074732] = clik.newPhoto({"id":7074732,"src":"Llama_cinco_veces_for_Web_copy1_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7074732.html","width":130,"caption":"llama cinco veces - 8x14  intaglio print (non-toxic) 2010","height":73});
															thumbnails[7078414] = clik.newPhoto({"id":7078414,"src":"Todavia_mi_casa_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7078414.html","width":130,"caption":"todavia mi casa - 7.5x13 intaglio print (non-toxic) 2010","height":77});
															thumbnails[7078572] = clik.newPhoto({"id":7078572,"src":"Abandonado_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7078572.html","width":130,"caption":"abandonado - 6.5x6.5 intaglio print (non-toxic) 2010","height":127});
															thumbnails[7079120] = clik.newPhoto({"id":7079120,"src":"la_Ventana_con_postigos_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7079120.html","width":130,"caption":"la ventana con postigos - 5x7 intaglio print (non-toxic) 2010","height":171});
															thumbnails[7079151] = clik.newPhoto({"id":7079151,"src":"Caja_de_la_flor_protegio_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7079151.html","width":130,"caption":"caja de la flor protegio - 6x9 intaglio print (non-toxic) 2010","height":196});
															thumbnails[7079213] = clik.newPhoto({"id":7079213,"src":"Hay_alguien_ahi_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7079213.html","width":130,"caption":"¿hay alguien ahi? - 6x9 intaglio print (non-toxic) 2010","height":201});
															thumbnails[7079241] = clik.newPhoto({"id":7079241,"src":"Alegrin_a_usted_y_a_mi_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7079241.html","width":130,"caption":"alegrin a usted y a mi - 5x7 intaglio print (non-toxic) 2010","height":188});
															thumbnails[7079651] = clik.newPhoto({"id":7079651,"src":"la_Casa_de_la_jardinera_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7079651.html","width":130,"caption":"la casa de la jardinera - 6.5x10 intaglio print (non-toxic) 2010","height":195});
															thumbnails[7080424] = clik.newPhoto({"id":7080424,"src":"Angel_custodio_for_Web_thumb.jpg","galleries_id":382968,"server_id":15,"link":"photo_7080424.html","width":130,"caption":"angel custodio - 6x10 intaglio print (non-toxic) 2010","height":208});
															thumbnails[7080456] = clik.newPhoto({"id":7080456,"src":"Our_river_view_for_Web_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_7080456.html","width":130,"caption":"our river view - 5 x 7 intaglio print (non-toxic) 2009","height":95});
															thumbnails[7080494] = clik.newPhoto({"id":7080494,"src":"Another_perspective_for_Web_thumb.jpg","galleries_id":245654,"server_id":15,"link":"photo_7080494.html","width":130,"caption":"another perspective - itaglio print (non-toxic) 2009","height":79});
															thumbnails[7080515] = clik.newPhoto({"id":7080515,"src":"Ready_to_Fall_for__Web_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_7080515.html","width":130,"caption":"ready to fall - itagalio print (non-toxic) 2009","height":182});
															thumbnails[7080561] = clik.newPhoto({"id":7080561,"src":"Cornrows_for_Web_thumb.jpg","galleries_id":272654,"server_id":15,"link":"photo_7080561.html","width":130,"caption":"cornrows - intaglio print (non-toxic) 2009","height":92});
															thumbnails[3728130] = clik.newPhoto({"id":3728130,"src":"Mannequins-I_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_3728130.html","width":130,"caption":"mannequins I - 10x14 intaglio print (non-toxic) 2009","height":182});
															thumbnails[3753561] = clik.newPhoto({"id":3753561,"src":"Book_Seller_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753561.html","width":130,"caption":"Book Seller - 4 x 6 Intaglio Print (Non-Toxic) 2008","height":174});
															thumbnails[3753568] = clik.newPhoto({"id":3753568,"src":"Street_Vendor_thumb.jpg","galleries_id":225922,"server_id":15,"link":"photo_3753568.html","width":130,"caption":"Street Vendor - 4 x 6 Intaglio Print (Non-Toxic) 2008","height":175});
															thumbnails[4755556] = clik.newPhoto({"id":4755556,"src":"Cars_at_SAM_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_4755556.html","width":130,"caption":"sam's inopportune - 10x14 Intaglio Print (Non-Toxic) 2009","height":93});
															thumbnails[3728982] = clik.newPhoto({"id":3728982,"src":"Conversations1_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_3728982.html","width":130,"caption":"conversations - 10x14 intaglio print (non-toxic) 2009","height":93});
															thumbnails[4755543] = clik.newPhoto({"id":4755543,"src":"Union_Square_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_4755543.html","width":130,"caption":"union square - 10x14 intaglio print (non-toxic) 2009","height":93});
															thumbnails[7074632] = clik.newPhoto({"id":7074632,"src":"Houseboat_Environs_for_Web_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_7074632.html","width":130,"caption":"houseboat environs - 10 x 14 intaglio print (non-toxic) 2010","height":90});
															thumbnails[3728979] = clik.newPhoto({"id":3728979,"src":"Java_Country_thumb.jpg","galleries_id":225848,"server_id":15,"link":"photo_3728979.html","width":130,"caption":"java country - 10x14 intaglio print (non-toxic) 2009","height":93});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[225848] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"multiple image series","link":"gallery_225848.html","maxRecords":0.0,"photoIDs":[3728809.0,3728981.0,3728130.0,4755556.0,3728982.0,4755543.0,7074632.0,3728979.0],"skipIndex":0,"section_code":"gallery","featured_images":3728130.0,"id":225848,"singleSection":false});				  						galleries[382968] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"mazatlan","link":"gallery_382968.html","maxRecords":0.0,"photoIDs":[7072566.0,7073366.0,7074711.0,7074713.0,7074714.0,7074729.0,7074730.0,7074732.0,7078414.0,7078572.0,7079120.0,7079151.0,7079213.0,7079241.0,7079651.0,7080424.0],"skipIndex":0,"section_code":"gallery","featured_images":7074729.0,"id":382968,"singleSection":false});				  						galleries[225922] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"parisian prints I","link":"gallery_225922.html","maxRecords":0.0,"photoIDs":[3752529.0,3753562.0,3753563.0,3753564.0,3753565.0,3753566.0,3753567.0,3822300.0,4016007.0,4016474.0,4022714.0,4022738.0,4022741.0,4022812.0,4022816.0,4023403.0,3753561.0,3753568.0],"skipIndex":0,"section_code":"gallery","featured_images":4022714.0,"id":225922,"singleSection":false});				  						galleries[232940] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"parisian prints II","link":"gallery_232940.html","maxRecords":0.0,"photoIDs":[3822279.0,3822280.0,3822281.0,3822283.0,3822284.0,4090611.0],"skipIndex":0,"section_code":"gallery","featured_images":3822280.0,"id":232940,"singleSection":false});				  						galleries[245654] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"eclectic I","link":"gallery_245654.html","maxRecords":0.0,"photoIDs":[3752526.0,3753557.0,3753560.0,3846763.0,3846800.0,4022788.0,4022798.0,4022831.0,7080494.0],"skipIndex":0,"section_code":"gallery","featured_images":3753557.0,"id":245654,"singleSection":false});				  						galleries[272654] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"eclectic II","link":"gallery_272654.html","maxRecords":0.0,"photoIDs":[3822299.0,3822301.0,3822302.0,3822303.0,3822304.0,4755571.0,4755800.0,4755823.0,7080456.0,7080515.0,7080561.0],"skipIndex":0,"section_code":"gallery","featured_images":4755800.0,"id":272654,"singleSection":false});				  						galleries[225847] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"plate images      ","link":"gallery_225847.html","maxRecords":0.0,"photoIDs":[3697333.0,3697890.0,3697897.0,3697898.0,3697906.0,3697915.0],"skipIndex":0,"section_code":"gallery","featured_images":3697915.0,"id":225847,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7074729';
imageSets[2] = '7074729,4755800,4022714,3822280,3753557,3697915,3728130';
imageSets[3] = '7072566';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/LHPoole/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/LHPoole/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Intaglio Prints by Larry Poole: ' + 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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<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;
	}
}

			

