window.thumbnails = {};
															thumbnails[3813101] = clik.newPhoto({"id":3813101,"src":"Sample_1b_thumb.jpg","galleries_id":231435,"server_id":15,"link":"photo_3813101.html","width":130,"caption":"","height":98});
															thumbnails[3813103] = clik.newPhoto({"id":3813103,"src":"Sample_2b_thumb.jpg","galleries_id":231435,"server_id":15,"link":"photo_3813103.html","width":130,"caption":"","height":98});
															thumbnails[3813104] = clik.newPhoto({"id":3813104,"src":"Sample_3b_thumb.jpg","galleries_id":231435,"server_id":15,"link":"photo_3813104.html","width":130,"caption":"","height":98});
															thumbnails[3813105] = clik.newPhoto({"id":3813105,"src":"Sample_4b_thumb.jpg","galleries_id":231435,"server_id":15,"link":"photo_3813105.html","width":130,"caption":"","height":98});
															thumbnails[4109339] = clik.newPhoto({"id":4109339,"src":"_DSC6562_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_4109339.html","width":130,"caption":"Leamaneh Castle, Kilnaboy, father ted location, County Clare, ireland, black and white yellow daffodil","height":196});
															thumbnails[4109345] = clik.newPhoto({"id":4109345,"src":"3414469328_5336a259f9_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109345.html","width":130,"caption":"Amazing beautiful breathtaking irish connemara landscape, north west of Ireland","height":86});
															thumbnails[4109351] = clik.newPhoto({"id":4109351,"src":"3538876507_3cbb47d14e_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_4109351.html","width":130,"caption":"St Mary's Cathedral, Killarney","height":87});
															thumbnails[4109352] = clik.newPhoto({"id":4109352,"src":"749565942616fd84427bd3bd5a45f7f6fd49531206426d0c65ff1955b97b6dc02b961394_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109352.html","width":130,"caption":"Who needs a bike with variable ratio transmission system gears!  ;-)   , not the folks in county kerry, ireland ;-)","height":92});
															thumbnails[4109354] = clik.newPhoto({"id":4109354,"src":"6587400532b990bc3ffccfe8bf3535259fdb1a1b8b2f9863f0932f3a65dfb1fc55ea87e6_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109354.html","width":130,"caption":"DOUGH CASTLE beside Lahinch golf course, county clare, ireland. famous irish tourist holiday attraction.","height":92});
															thumbnails[4109356] = clik.newPhoto({"id":4109356,"src":"07249149bb5d9ba29d8da7bc70100dfde183e73eeadde0f50dbc997d7255b5dcfb488b03_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109356.html","width":130,"caption":"Bunratty Castle and Durty Nelly's, county clare, ireland","height":92});
															thumbnails[4109358] = clik.newPhoto({"id":4109358,"src":"412764818e2724fd588b18c7073a1943f1d066b1f93f134c3969ed31c055116ee5121444_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109358.html","width":130,"caption":"Different POV of the famous Bunratty Castle, county clare, ireland","height":92});
															thumbnails[4109359] = clik.newPhoto({"id":4109359,"src":"66014615a7121dc386f8e3ec9f789a948d82ccc5902d8c4aed1116f4dd92d0410498d327_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109359.html","width":130,"caption":"Dromoland Castle at night, county clare, ireland","height":86});
															thumbnails[4109361] = clik.newPhoto({"id":4109361,"src":"395871819ee620deb5509110c508e430347f98bc1a3ce4835c8a4348eba6a80fd51ac131_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109361.html","width":130,"caption":"Doonagore castle, doolin, county clare, ireland","height":92});
															thumbnails[4109362] = clik.newPhoto({"id":4109362,"src":"97690544037a7dc56352548bdacbfb40c8a2d870e0067b954af1e0cf441f660a201ed6c9_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109362.html","width":130,"caption":"Poulnabrone Portal Tomb, megalithic monuments, Karst limestone, in a field East of the Ballyvaughan, County Clare, Ireland","height":92});
															thumbnails[4109364] = clik.newPhoto({"id":4109364,"src":"3494259103_637c8afd6b_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109364.html","width":130,"caption":"amazing breathtaking view of cliffs of moher, hdr, county clare, ireland","height":86});
															thumbnails[4109365] = clik.newPhoto({"id":4109365,"src":"3558134830_6a0f44b59f_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109365.html","width":130,"caption":"beautiful amazing breathtaking view of cliffs of moher, hdr, county clare, ireland. famous irish tourist attractions","height":87});
															thumbnails[4109366] = clik.newPhoto({"id":4109366,"src":"86549758ffc2a4387ce680ca7517bfcf49136aeb204efbdacfd4470613d35b9df844f65b_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109366.html","width":130,"caption":"beautiful breathtaking amazing ireland landscape, north west of ireland Connemara Landscape, Ireland","height":92});
															thumbnails[4109367] = clik.newPhoto({"id":4109367,"src":"29525990f5345ea5f5985245642ecb16f3417c8b3fe4447ab441b6358301ae39dc81c3ac_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109367.html","width":130,"caption":"Poulnabrone Portal Tomb, megalithic monuments, Karst limestone, in a field East of the Ballyvaughan, County Clare, Ireland","height":92});
															thumbnails[4109368] = clik.newPhoto({"id":4109368,"src":"72699270761221e7affb72eff58ededcd5e657eff429b11f140abd4f5f9f6067f961552f_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109368.html","width":130,"caption":"Poulnabrone Portal Tomb, megalithic monuments, Karst limestone, in a field East of Ballyvaughan, Ireland","height":92});
															thumbnails[4109369] = clik.newPhoto({"id":4109369,"src":"9969052429033327d74232088546647bfb90b085c7f5946e72f314963123f5cdbcc9fe22_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109369.html","width":130,"caption":"Poulnabrone Portal Tomb, megalithic monuments, Karst limestone, in a field East of the Ballyvaughan, County Clare, Ireland","height":92});
															thumbnails[4109370] = clik.newPhoto({"id":4109370,"src":"996117202a02fc5726fbbd1a35c0df393f0b8281100e5c0b0c684fb4260110eecf07ac58_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109370.html","width":130,"caption":"scenic ireland, breathtaking west of ireland landscapes,rough cruel ocean, doolin, county clare","height":92});
															thumbnails[4109371] = clik.newPhoto({"id":4109371,"src":"961857286c808ae11d9cc8702884a3622ab34d0d4c33a50a30668e6bb8dc2fb7aafed99b_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109371.html","width":130,"caption":"Doonagore Castle during the winter,County Clare, Ireland","height":92});
															thumbnails[4109372] = clik.newPhoto({"id":4109372,"src":"4115512184_dfe4db03f0_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109372.html","width":130,"caption":"Dromoland Castle Ducks","height":97});
															thumbnails[4109373] = clik.newPhoto({"id":4109373,"src":"4407821777e9eaaba283fdbe845416c4a2b9158d68d46f411f5d9080e8e203440d97473c_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109373.html","width":130,"caption":"ireland waterfall, ennistymon water falls, county clare,ireland. famous irish tourist attractions","height":92});
															thumbnails[4109374] = clik.newPhoto({"id":4109374,"src":"3608060613_467fab4443_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109374.html","width":130,"caption":"Golf pond at Dromoland golf club, county clare, ireland","height":86});
															thumbnails[4109375] = clik.newPhoto({"id":4109375,"src":"3494118095_1654cd35b9_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109375.html","width":130,"caption":"liscannor beach,county clare, ireland. church grave, famous irish tourist holiday attraction","height":86});
															thumbnails[4109376] = clik.newPhoto({"id":4109376,"src":"213730030bd3f8ace081d364ea69fa6f3ddb6f1864c3776d98660657ad64f4df6bbfc0c8_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109376.html","width":130,"caption":"Countryside farming landscape","height":92});
															thumbnails[4109377] = clik.newPhoto({"id":4109377,"src":"52346296cd0304ebeeda66fe5fbbf879cbe583b1c90655219127247a59f37cbf442480ad_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109377.html","width":130,"caption":"Knappogue Castle, County Clare, Ireland","height":92});
															thumbnails[4109378] = clik.newPhoto({"id":4109378,"src":"3345156834_e154132ea6_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109378.html","width":130,"caption":"County Kerry Landscape","height":89});
															thumbnails[4109379] = clik.newPhoto({"id":4109379,"src":"77596014e75d849ca8f92ec55ba00add9238ab403402837c1d1d13d819831ae78293aa7e_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109379.html","width":130,"caption":"breathtaking amazing beautiful ring of kerry ireland, scenic irish tourist attraction","height":92});
															thumbnails[4109380] = clik.newPhoto({"id":4109380,"src":"3364149446_1b78577c5c_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109380.html","width":130,"caption":"Lahinch beach, county clare,ireland","height":86});
															thumbnails[4109381] = clik.newPhoto({"id":4109381,"src":"3452695433_24ac58c43c_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109381.html","width":130,"caption":"breathtaking amazing killarney church, county kerry, ireland. famous irish tourist holiday attraction","height":188});
															thumbnails[4109382] = clik.newPhoto({"id":4109382,"src":"224702879edf369410227397c4d026800ea0040458197c6ad8539dcf798b8c0ddf704d83_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109382.html","width":130,"caption":"Ladies view, ring of kerry, ireland","height":87});
															thumbnails[4109383] = clik.newPhoto({"id":4109383,"src":"16028327eaa9c296139a9e2e514efd6f330fb9cf4a550f3c8e36474329ef912a3b65a0e9_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109383.html","width":130,"caption":"Durty Nelly's Pub, Ireland most famous pub, county Clare, Ireland","height":87});
															thumbnails[4109384] = clik.newPhoto({"id":4109384,"src":"4143956309_4225d0cc04_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109384.html","width":130,"caption":"Ring of Kerry","height":100});
															thumbnails[4109385] = clik.newPhoto({"id":4109385,"src":"51982235fa02489467d191867f8eb14a5ddda78d4111551458c0d93a0aca25876afada7e_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109385.html","width":130,"caption":"quin abbey, county clare, ireland","height":91});
															thumbnails[4109386] = clik.newPhoto({"id":4109386,"src":"748525929599381da6fba270977610ce7116357097f31ea0727ecfa48471fd83fd74bed0_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109386.html","width":130,"caption":"Rusty Plassey Ship Wreck, Aran Islands, Father Ted, Craggy Island,Ireland","height":92});
															thumbnails[4109387] = clik.newPhoto({"id":4109387,"src":"99961351020293cf90e64e566bf939f315dbaf5f6b909c039146eb09fcb6fe3bb3683532_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109387.html","width":130,"caption":"Reflection Landscape","height":92});
															thumbnails[4109388] = clik.newPhoto({"id":4109388,"src":"559136304c349f992c79c8e211cd76aec989686acd4078950b6295344fa3eff12dd3e895_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109388.html","width":130,"caption":"Scenic lake landscape","height":93});
															thumbnails[4109389] = clik.newPhoto({"id":4109389,"src":"6739181786a9ee8f4304e5cc10ddd5e5452c556d962ed2740955bf5186008335afbe560a_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109389.html","width":130,"caption":"Valentia Island, light house, ring of kerry, ireland","height":92});
															thumbnails[4109400] = clik.newPhoto({"id":4109400,"src":"dolman_pov_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109400.html","width":130,"caption":"Poulnabrone Portal Tomb, megalithic monuments, Karst limestone, in a field East of the Ballyvaughan, County Clare, Ireland","height":86});
															thumbnails[4109402] = clik.newPhoto({"id":4109402,"src":"dromoland-castle_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4109402.html","width":130,"caption":"Dromoland Castle","height":86});
															thumbnails[4109465] = clik.newPhoto({"id":4109465,"src":"3320123837_95403c196d_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109465.html","width":130,"caption":"Durty Nelly's and Bunratty Castle, County Clare, Ireland","height":86});
															thumbnails[4110987] = clik.newPhoto({"id":4110987,"src":"070595255cfb0f77e879845c5a7d9131c1626d06d75af74c15d13dbc78b04cab26d03733_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4110987.html","width":130,"caption":"Scenic Quin Abbey, county clare, ireland","height":92});
															thumbnails[4112072] = clik.newPhoto({"id":4112072,"src":"304236144be85e4c3705355f62bb32bb3e55f2b08c16b739261dff8f75bf09592cfdcc80_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4112072.html","width":130,"caption":"Poulnabrone Portal Tomb, megalithic monuments, Karst limestone, in a field East of Ballyvaughan, Ireland","height":92});
															thumbnails[4170744] = clik.newPhoto({"id":4170744,"src":"937495935debcaf722b4751153cc0c65776a1feb8fad5aa4bece60ad8d31565822f3dd9b_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4170744.html","width":130,"caption":"Skellig Island Puffin","height":92});
															thumbnails[4170757] = clik.newPhoto({"id":4170757,"src":"68682040e997d1c567f2092f62cac7945fb1ce23214c2d9ec8355bd56978340e95f9a346_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4170757.html","width":130,"caption":"Rural Countryside Landscape","height":86});
															thumbnails[4170765] = clik.newPhoto({"id":4170765,"src":"4138575454_1fbacfd7f1_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4170765.html","width":130,"caption":"Cliffs of Moher","height":89});
															thumbnails[4170767] = clik.newPhoto({"id":4170767,"src":"348553746a8b17997ed26560de1a691b05dc539ceaaeb7546e2bc296b9cd435e317ad489_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4170767.html","width":130,"caption":"Cliffs of Moher","height":92});
															thumbnails[4177898] = clik.newPhoto({"id":4177898,"src":"760765169c160d189881a86e8d13c1cea66f5fa25b3e0c18886c70689d870298672c3a24_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4177898.html","width":130,"caption":"This is Leamanagh Castle between Corofin and Kilfenora , County Clare, Ireland","height":92});
															thumbnails[4426956] = clik.newPhoto({"id":4426956,"src":"beach_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4426956.html","width":130,"caption":"Lahinch Beach, County Clare, Ireland","height":88});
															thumbnails[4426957] = clik.newPhoto({"id":4426957,"src":"castle_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4426957.html","width":130,"caption":"This is Leamanagh Castle between Corofin and Kilfenora , County Clare, Ireland.","height":90});
															thumbnails[4426958] = clik.newPhoto({"id":4426958,"src":"cliffs_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_4426958.html","width":130,"caption":"Ireland, Cliffs of Moher, County Clare. ","height":88});
															thumbnails[4426961] = clik.newPhoto({"id":4426961,"src":"loop_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4426961.html","width":130,"caption":"loop head lighthouse, county clare, ireland","height":77});
															thumbnails[4961740] = clik.newPhoto({"id":4961740,"src":"3862622249_63621743e8_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_4961740.html","width":130,"caption":"Midtown NYC","height":86});
															thumbnails[4961741] = clik.newPhoto({"id":4961741,"src":"3884238341_3d4a4cf355_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_4961741.html","width":130,"caption":"Midtown NYC by night","height":86});
															thumbnails[4961742] = clik.newPhoto({"id":4961742,"src":"4005957909_5890bc3906_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_4961742.html","width":130,"caption":"Bodie, rusty wreck!","height":88});
															thumbnails[4961743] = clik.newPhoto({"id":4961743,"src":"4018753590_1cb2d7e307_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_4961743.html","width":130,"caption":"San Francisco","height":88});
															thumbnails[4961744] = clik.newPhoto({"id":4961744,"src":"3960649255_50e7426d28_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_4961744.html","width":130,"caption":"Arches National Park, Utah","height":91});
															thumbnails[4961745] = clik.newPhoto({"id":4961745,"src":"4172735640_00b0c697dc_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_4961745.html","width":130,"caption":"Golden Gate Bridge","height":108});
															thumbnails[4961746] = clik.newPhoto({"id":4961746,"src":"4155676530_82127640e5_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_4961746.html","width":130,"caption":"Monument Valley, Utah","height":93});
															thumbnails[4961764] = clik.newPhoto({"id":4961764,"src":"3399373451_e52384fd3a_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961764.html","width":130,"caption":"Auschwitz Birkenau German Nazi Concentration and Extermination death Camp. Holocaust Auschwitz Birkenau wire fence","height":189});
															thumbnails[4961765] = clik.newPhoto({"id":4961765,"src":"3328203517_a2fcdd2080_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961765.html","width":130,"caption":"Grandfathers are just antique little boys!","height":95});
															thumbnails[4961766] = clik.newPhoto({"id":4961766,"src":"3326173105_dc78ae8040_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961766.html","width":130,"caption":"The Red Door","height":208});
															thumbnails[4961768] = clik.newPhoto({"id":4961768,"src":"3314542413_e43a9666d4_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961768.html","width":130,"caption":"Copenhagen Denmark","height":98});
															thumbnails[4961769] = clik.newPhoto({"id":4961769,"src":"3363228613_f789942a3f_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961769.html","width":130,"caption":"Bellagio Italy, by lake Como","height":173});
															thumbnails[4961770] = clik.newPhoto({"id":4961770,"src":"3401514890_340f9ddebc_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961770.html","width":130,"caption":"Krakow Poland","height":82});
															thumbnails[4961772] = clik.newPhoto({"id":4961772,"src":"4225691076_00a6fdd1ff_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961772.html","width":130,"caption":"New York City Hot Dog","height":98});
															thumbnails[4961774] = clik.newPhoto({"id":4961774,"src":"3737080800_4c0958f9d9_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961774.html","width":130,"caption":"VW Camper Van","height":82});
															thumbnails[4961776] = clik.newPhoto({"id":4961776,"src":"3347110537_a5f38bb8e5_o_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961776.html","width":130,"caption":"Celtic Revival Cross, Ireland","height":191});
															thumbnails[4961777] = clik.newPhoto({"id":4961777,"src":"3333893676_2f266603e2_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961777.html","width":130,"caption":"Venice Gondola, Italy","height":92});
															thumbnails[4961778] = clik.newPhoto({"id":4961778,"src":"3347138871_0ce3710305_thumb.jpg","galleries_id":282106,"server_id":15,"link":"photo_4961778.html","width":130,"caption":"Ennis Abbey (Old Friary)","height":160});
															thumbnails[5361174] = clik.newPhoto({"id":5361174,"src":"4115987485_c2bb742139_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_5361174.html","width":130,"caption":"Ghost Town, Bodie","height":87});
															thumbnails[5361180] = clik.newPhoto({"id":5361180,"src":"4116739988_54debf42d5_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_5361180.html","width":130,"caption":"Bodie, Ghost Town","height":89});
															thumbnails[5361184] = clik.newPhoto({"id":5361184,"src":"4131715951_7f24d948f9_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_5361184.html","width":130,"caption":"","height":89});
															thumbnails[5361197] = clik.newPhoto({"id":5361197,"src":"4114981555_40a90db837_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_5361197.html","width":130,"caption":"Monument Valley, Utah","height":77});
															thumbnails[5361204] = clik.newPhoto({"id":5361204,"src":"4219505598_e2188de8f2_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_5361204.html","width":130,"caption":"Auschwitz Birkenau","height":86});
															thumbnails[5361264] = clik.newPhoto({"id":5361264,"src":"4277050898_c43be0f997_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361264.html","width":130,"caption":"New York Skyline","height":89});
															thumbnails[5361267] = clik.newPhoto({"id":5361267,"src":"3339234282_804eb2b397_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361267.html","width":130,"caption":"Yosemite, El Capitan ","height":90});
															thumbnails[5361272] = clik.newPhoto({"id":5361272,"src":"4116005807_db88a3a21c_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361272.html","width":130,"caption":"Bodie, Ghost Town","height":89});
															thumbnails[5361275] = clik.newPhoto({"id":5361275,"src":"4225441007_dede7510ce_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361275.html","width":130,"caption":"Sedona, Arizona","height":74});
															thumbnails[5361285] = clik.newPhoto({"id":5361285,"src":"3957144334_a1febfa1db_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361285.html","width":130,"caption":"Monument Valley, Utah","height":86});
															thumbnails[5361288] = clik.newPhoto({"id":5361288,"src":"4096340936_d81a23fceb_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361288.html","width":130,"caption":"New York Cityscape at Night","height":74});
															thumbnails[5361290] = clik.newPhoto({"id":5361290,"src":"4158131284_b4b83f6a15_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5361290.html","width":130,"caption":"Arches National Park, Utah","height":92});
															thumbnails[5462583] = clik.newPhoto({"id":5462583,"src":"222_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5462583.html","width":130,"caption":"Dromoland Castle At Winter","height":79});
															thumbnails[5462584] = clik.newPhoto({"id":5462584,"src":"333_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5462584.html","width":130,"caption":"Lahinch Beach","height":91});
															thumbnails[5462598] = clik.newPhoto({"id":5462598,"src":"444_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5462598.html","width":130,"caption":"Doolin , County Clare, Sunset","height":89});
															thumbnails[5502303] = clik.newPhoto({"id":5502303,"src":"pano-lahinch-1_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5502303.html","width":130,"caption":"Lahinch Beach Panoramic ","height":66});
															thumbnails[5502585] = clik.newPhoto({"id":5502585,"src":"4018100567_f6da0802da_thumb.jpg","galleries_id":282104,"server_id":15,"link":"photo_5502585.html","width":130,"caption":"Golden Gate Bridge","height":88});
															thumbnails[5502667] = clik.newPhoto({"id":5502667,"src":"4163361246_f7d3e2a26e_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5502667.html","width":130,"caption":"Connemara Ireland","height":76});
															thumbnails[5502675] = clik.newPhoto({"id":5502675,"src":"4316108109_4f89491289_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5502675.html","width":130,"caption":"Ring of Kerry","height":85});
															thumbnails[5502683] = clik.newPhoto({"id":5502683,"src":"4181409265_cebedba1f9_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5502683.html","width":130,"caption":"Ring Of Kerry","height":77});
															thumbnails[5502797] = clik.newPhoto({"id":5502797,"src":"4206720862_f65775ff1f_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_5502797.html","width":130,"caption":"Leamaneh Castle, County Clare","height":196});
															thumbnails[5703415] = clik.newPhoto({"id":5703415,"src":"55_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5703415.html","width":130,"caption":"","height":143});
															thumbnails[5703417] = clik.newPhoto({"id":5703417,"src":"97_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5703417.html","width":130,"caption":"","height":170});
															thumbnails[5933514] = clik.newPhoto({"id":5933514,"src":"rh_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5933514.html","width":130,"caption":"","height":296});
															thumbnails[5944157] = clik.newPhoto({"id":5944157,"src":"ggs1_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944157.html","width":130,"caption":"","height":239});
															thumbnails[5944159] = clik.newPhoto({"id":5944159,"src":"ggs2_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944159.html","width":130,"caption":"","height":86});
															thumbnails[5944160] = clik.newPhoto({"id":5944160,"src":"ggs4_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944160.html","width":130,"caption":"","height":78});
															thumbnails[5944161] = clik.newPhoto({"id":5944161,"src":"ggs5_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944161.html","width":130,"caption":"","height":173});
															thumbnails[5944162] = clik.newPhoto({"id":5944162,"src":"ggs7_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944162.html","width":130,"caption":"","height":239});
															thumbnails[5944165] = clik.newPhoto({"id":5944165,"src":"_DSC1742_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944165.html","width":130,"caption":"","height":115});
															thumbnails[5944166] = clik.newPhoto({"id":5944166,"src":"lf2_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_5944166.html","width":130,"caption":"","height":91});
															thumbnails[6501105] = clik.newPhoto({"id":6501105,"src":"rk33_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6501105.html","width":130,"caption":"","height":98});
															thumbnails[6501293] = clik.newPhoto({"id":6501293,"src":"rk111_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6501293.html","width":130,"caption":"","height":198});
															thumbnails[6501295] = clik.newPhoto({"id":6501295,"src":"rk441_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6501295.html","width":130,"caption":"","height":167});
															thumbnails[6501297] = clik.newPhoto({"id":6501297,"src":"rk222_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6501297.html","width":130,"caption":"","height":181});
															thumbnails[6501298] = clik.newPhoto({"id":6501298,"src":"rk331_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6501298.html","width":130,"caption":"","height":98});
															thumbnails[6501302] = clik.newPhoto({"id":6501302,"src":"_3DSC3007_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6501302.html","width":130,"caption":"","height":125});
															thumbnails[6634260] = clik.newPhoto({"id":6634260,"src":"_55DSCeOO5619_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6634260.html","width":130,"caption":"","height":111});
															thumbnails[6634272] = clik.newPhoto({"id":6634272,"src":"_55DOOSCd5516_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6634272.html","width":130,"caption":"","height":175});
															thumbnails[6873250] = clik.newPhoto({"id":6873250,"src":"_DSCFVD66_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6873250.html","width":130,"caption":"","height":138});
															thumbnails[7293333] = clik.newPhoto({"id":7293333,"src":"_333D5SC8107_copy_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7293333.html","width":130,"caption":"","height":196});
															thumbnails[7293352] = clik.newPhoto({"id":7293352,"src":"_DSC8ee631_copy_2_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7293352.html","width":130,"caption":"","height":176});
															thumbnails[7376982] = clik.newPhoto({"id":7376982,"src":"_DSC8CM5153_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_7376982.html","width":130,"caption":"","height":86});
															thumbnails[7376994] = clik.newPhoto({"id":7376994,"src":"1scotty_landscape_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_7376994.html","width":130,"caption":"","height":79});
															thumbnails[7526297] = clik.newPhoto({"id":7526297,"src":"1jirgrnfrirkr_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_7526297.html","width":130,"caption":"","height":116});
															thumbnails[7526298] = clik.newPhoto({"id":7526298,"src":"hygrnhyret66_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_7526298.html","width":130,"caption":"","height":165});
															thumbnails[7526299] = clik.newPhoto({"id":7526299,"src":"Untertf54lpq1_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_7526299.html","width":130,"caption":"","height":207});
															thumbnails[7526301] = clik.newPhoto({"id":7526301,"src":"he4_thumb.jpg","galleries_id":335359,"server_id":15,"link":"photo_7526301.html","width":130,"caption":"","height":86});
															thumbnails[7528735] = clik.newPhoto({"id":7528735,"src":"_3DSC1550cc_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7528735.html","width":130,"caption":"","height":90});
															thumbnails[7531234] = clik.newPhoto({"id":7531234,"src":"_DSC1gf626_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531234.html","width":130,"caption":"","height":213});
															thumbnails[7531235] = clik.newPhoto({"id":7531235,"src":"_DSC1482cc_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531235.html","width":130,"caption":"","height":237});
															thumbnails[7531237] = clik.newPhoto({"id":7531237,"src":"_DSC1581cc_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531237.html","width":130,"caption":"","height":164});
															thumbnails[7531239] = clik.newPhoto({"id":7531239,"src":"_DSCgf1639_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531239.html","width":130,"caption":"","height":223});
															thumbnails[7531240] = clik.newPhoto({"id":7531240,"src":"_3DSC1550cc_B98D15ED-1E4F-37DC-7181A358E5F33471_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531240.html","width":130,"caption":"","height":90});
															thumbnails[7531242] = clik.newPhoto({"id":7531242,"src":"_DC166442_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531242.html","width":130,"caption":"","height":211});
															thumbnails[7531245] = clik.newPhoto({"id":7531245,"src":"_DSC3416474_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531245.html","width":130,"caption":"","height":139});
															thumbnails[7531248] = clik.newPhoto({"id":7531248,"src":"1DSC16FLP50_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531248.html","width":130,"caption":"","height":134});
															thumbnails[7531249] = clik.newPhoto({"id":7531249,"src":"hygrnhyret66_B98EE1F2-1E4F-37DC-71AE0B570DC5EFCD_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531249.html","width":130,"caption":"","height":165});
															thumbnails[7531251] = clik.newPhoto({"id":7531251,"src":"Untertf54lpq1_B98F7F0A-1E4F-37DC-712002649B3B8819_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531251.html","width":130,"caption":"","height":207});
															thumbnails[7531252] = clik.newPhoto({"id":7531252,"src":"ttrichenry5_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531252.html","width":130,"caption":"","height":107});
															thumbnails[7531262] = clik.newPhoto({"id":7531262,"src":"-1rgth_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531262.html","width":130,"caption":"","height":86});
															thumbnails[7531263] = clik.newPhoto({"id":7531263,"src":"-1er_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531263.html","width":130,"caption":"","height":246});
															thumbnails[7531264] = clik.newPhoto({"id":7531264,"src":"-1rh_thumb.jpg","galleries_id":408194,"server_id":15,"link":"photo_7531264.html","width":130,"caption":"","height":296});
															thumbnails[7695626] = clik.newPhoto({"id":7695626,"src":"_1cliffs_of_moher_sunset_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_7695626.html","width":130,"caption":"","height":86});
															thumbnails[7695628] = clik.newPhoto({"id":7695628,"src":"_1redbubblecliff_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_7695628.html","width":130,"caption":"Cliffs Of Moher, Sunset, County Clare, Ireland","height":77});
															thumbnails[4177899] = clik.newPhoto({"id":4177899,"src":"376927474faf6dbaac03c66a6a948addc1347c089d81e92ddb64939387f426228ab95467_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4177899.html","width":130,"caption":"Quin Abbey","height":94});
															thumbnails[7293337] = clik.newPhoto({"id":7293337,"src":"Untitled-1_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7293337.html","width":130,"caption":"","height":98});
															thumbnails[5360948] = clik.newPhoto({"id":5360948,"src":"4206526624_63af071e26_thumb.jpg","galleries_id":302031,"server_id":15,"link":"photo_5360948.html","width":130,"caption":"Irish Castle, Bunratty Castle, County Clare, Irealnd","height":84});
															thumbnails[6625822] = clik.newPhoto({"id":6625822,"src":"_DSCOO5686_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6625822.html","width":130,"caption":"","height":243});
															thumbnails[7293340] = clik.newPhoto({"id":7293340,"src":"_DSC8156_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7293340.html","width":130,"caption":"","height":196});
															thumbnails[7072878] = clik.newPhoto({"id":7072878,"src":"_DSC7022_IJFR_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7072878.html","width":130,"caption":"","height":196});
															thumbnails[5360949] = clik.newPhoto({"id":5360949,"src":"4197694501_34dda0b7e5_thumb.jpg","galleries_id":302031,"server_id":15,"link":"photo_5360949.html","width":130,"caption":"NYC Cityscape Grunge","height":72});
															thumbnails[6873254] = clik.newPhoto({"id":6873254,"src":"Untertf54lpq14_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6873254.html","width":130,"caption":"","height":188});
															thumbnails[7293342] = clik.newPhoto({"id":7293342,"src":"_DSC80394_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7293342.html","width":130,"caption":"","height":86});
															thumbnails[4112023] = clik.newPhoto({"id":4112023,"src":"327160836f1e83be0921c4b326fa03e24c3af2a3c92982ead00cd4b217620880c6f8e158_thumb.jpg","galleries_id":302039,"server_id":15,"link":"photo_4112023.html","width":130,"caption":"Bunratty Castle at night, county clare, ireland","height":92});
															thumbnails[4109342] = clik.newPhoto({"id":4109342,"src":"44_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109342.html","width":130,"caption":"Cliffs of Moher","height":91});
															thumbnails[5360950] = clik.newPhoto({"id":5360950,"src":"4196752473_5557b30a22_thumb.jpg","galleries_id":302031,"server_id":15,"link":"photo_5360950.html","width":130,"caption":"Cliffs Of Moher","height":86});
															thumbnails[7293348] = clik.newPhoto({"id":7293348,"src":"_11DSC8052_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_7293348.html","width":130,"caption":"","height":173});
															thumbnails[5462579] = clik.newPhoto({"id":5462579,"src":"111_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_5462579.html","width":130,"caption":"Bunratty Castle At Night","height":98});
															thumbnails[5360953] = clik.newPhoto({"id":5360953,"src":"4196782923_a7151e6601_thumb.jpg","galleries_id":302031,"server_id":15,"link":"photo_5360953.html","width":130,"caption":"Yosemite National Park","height":86});
															thumbnails[6961297] = clik.newPhoto({"id":6961297,"src":"Untitled-3_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6961297.html","width":130,"caption":"","height":196});
															thumbnails[5360954] = clik.newPhoto({"id":5360954,"src":"3501669822_8943e618d1_thumb.jpg","galleries_id":302031,"server_id":15,"link":"photo_5360954.html","width":130,"caption":"Cottage view of Doolin","height":101});
															thumbnails[4426960] = clik.newPhoto({"id":4426960,"src":"field_thumb.jpg","galleries_id":302031,"server_id":15,"link":"photo_4426960.html","width":130,"caption":"Countryside Landscape","height":98});
															thumbnails[6634271] = clik.newPhoto({"id":6634271,"src":"_55DSC1OO5797_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6634271.html","width":130,"caption":"","height":217});
															thumbnails[6873251] = clik.newPhoto({"id":6873251,"src":"ttrichenry555_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6873251.html","width":130,"caption":"","height":111});
															thumbnails[6634263] = clik.newPhoto({"id":6634263,"src":"_55DSCO4O5766_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6634263.html","width":130,"caption":"","height":107});
															thumbnails[6625826] = clik.newPhoto({"id":6625826,"src":"_DSCOO5696_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6625826.html","width":130,"caption":"","height":223});
															thumbnails[6634269] = clik.newPhoto({"id":6634269,"src":"_55DSOOC5726_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6634269.html","width":130,"caption":"","height":196});
															thumbnails[6873189] = clik.newPhoto({"id":6873189,"src":"busserda65_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6873189.html","width":130,"caption":"","height":112});
															thumbnails[4109344] = clik.newPhoto({"id":4109344,"src":"3414469572_6d25642ac0_thumb.jpg","galleries_id":231434,"server_id":15,"link":"photo_4109344.html","width":130,"caption":"Connemara river landscape","height":86});
															thumbnails[5433220] = clik.newPhoto({"id":5433220,"src":"r1_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5433220.html","width":130,"caption":"","height":117});
															thumbnails[5909354] = clik.newPhoto({"id":5909354,"src":"111_680B34A5-1D09-001F-99D050469D045649_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5909354.html","width":130,"caption":"","height":239});
															thumbnails[5433223] = clik.newPhoto({"id":5433223,"src":"r3_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5433223.html","width":130,"caption":"","height":173});
															thumbnails[5433955] = clik.newPhoto({"id":5433955,"src":"h9_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5433955.html","width":130,"caption":"","height":86});
															thumbnails[5361211] = clik.newPhoto({"id":5361211,"src":"4190176771_4c85110e88_thumb.jpg","galleries_id":302036,"server_id":15,"link":"photo_5361211.html","width":130,"caption":"","height":95});
															thumbnails[5909363] = clik.newPhoto({"id":5909363,"src":"1112_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5909363.html","width":130,"caption":"","height":196});
															thumbnails[6228649] = clik.newPhoto({"id":6228649,"src":"3_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6228649.html","width":130,"caption":"","height":120});
															thumbnails[5728298] = clik.newPhoto({"id":5728298,"src":"6ytbw_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5728298.html","width":130,"caption":"","height":105});
															thumbnails[5909368] = clik.newPhoto({"id":5909368,"src":"1115_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5909368.html","width":130,"caption":"","height":186});
															thumbnails[5909374] = clik.newPhoto({"id":5909374,"src":"1113_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5909374.html","width":130,"caption":"","height":98});
															thumbnails[5933523] = clik.newPhoto({"id":5933523,"src":"rh7_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5933523.html","width":130,"caption":"","height":107});
															thumbnails[5728301] = clik.newPhoto({"id":5728301,"src":"sezwady_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5728301.html","width":130,"caption":"","height":118});
															thumbnails[5943012] = clik.newPhoto({"id":5943012,"src":"rgth_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5943012.html","width":130,"caption":"","height":86});
															thumbnails[5703464] = clik.newPhoto({"id":5703464,"src":"_DSC11115_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5703464.html","width":130,"caption":"","height":107});
															thumbnails[5933604] = clik.newPhoto({"id":5933604,"src":"dc5_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5933604.html","width":130,"caption":"","height":196});
															thumbnails[5933606] = clik.newPhoto({"id":5933606,"src":"er_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5933606.html","width":130,"caption":"","height":246});
															thumbnails[6228754] = clik.newPhoto({"id":6228754,"src":"6_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6228754.html","width":130,"caption":"","height":112});
															thumbnails[6228648] = clik.newPhoto({"id":6228648,"src":"2_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6228648.html","width":130,"caption":"","height":167});
															thumbnails[5728300] = clik.newPhoto({"id":5728300,"src":"_bwbDSC8166_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5728300.html","width":130,"caption":"","height":115});
															thumbnails[6228669] = clik.newPhoto({"id":6228669,"src":"5_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_6228669.html","width":130,"caption":"","height":111});
															thumbnails[5909366] = clik.newPhoto({"id":5909366,"src":"1116_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5909366.html","width":130,"caption":"","height":184});
															thumbnails[5933601] = clik.newPhoto({"id":5933601,"src":"dc4_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5933601.html","width":130,"caption":"","height":237});
															thumbnails[5948500] = clik.newPhoto({"id":5948500,"src":"lfp_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5948500.html","width":130,"caption":"","height":103});
															thumbnails[5944144] = clik.newPhoto({"id":5944144,"src":"_DSC1540_thumb.jpg","galleries_id":303624,"server_id":15,"link":"photo_5944144.html","width":130,"caption":"","height":94});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[302039] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ancient Ireland","link":"gallery_302039.html","maxRecords":0.0,"photoIDs":[4109356.0,4109358.0,4109359.0,4109361.0,4109362.0,4109367.0,4109368.0,4109369.0,4109371.0,4109375.0,4109377.0,4109381.0,4109385.0,4109400.0,4109402.0,4110987.0,4112072.0,4177898.0,4426957.0,5502797.0,4177899.0,4112023.0],"skipIndex":0,"section_code":"gallery","featured_images":"4109400,4109385","id":302039,"singleSection":false});				  						galleries[302036] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Black and White","link":"gallery_302036.html","maxRecords":0.0,"photoIDs":[4109339.0,4109351.0,4426958.0,4961742.0,5361174.0,5361180.0,5361184.0,5361197.0,5361204.0,5361211.0],"skipIndex":0,"section_code":"gallery","featured_images":4426958.0,"id":302036,"singleSection":false});				  						galleries[408194] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Communions or Confirmations","link":"gallery_408194.html","maxRecords":0.0,"photoIDs":[7528735.0,7531234.0,7531235.0,7531237.0,7531239.0,7531240.0,7531242.0,7531245.0,7531248.0,7531249.0,7531251.0,7531252.0,7531262.0,7531263.0,7531264.0],"skipIndex":0,"section_code":"gallery","featured_images":"7531264,7531263,7531262,7531252,7531251,7531249,7531248,7531245,7531242,7531240","id":408194,"singleSection":false});				  						galleries[335359] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Green Screen","link":"gallery_335359.html","maxRecords":0.0,"photoIDs":[5944157.0,5944159.0,5944160.0,5944161.0,5944162.0,5944165.0,5944166.0,7526297.0,7526298.0,7526299.0,7526301.0],"skipIndex":0,"section_code":"gallery","featured_images":5944157.0,"id":335359,"singleSection":false});				  						galleries[303624] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits","link":"gallery_303624.html","maxRecords":0.0,"photoIDs":[5703415.0,5703417.0,5933514.0,6501105.0,6501293.0,6501295.0,6501297.0,6501298.0,6501302.0,6634260.0,6634272.0,6873250.0,7293333.0,7293352.0,7293337.0,6625822.0,7293340.0,7072878.0,6873254.0,7293342.0,7293348.0,6961297.0,6634271.0,6873251.0,6634263.0,6625826.0,6634269.0,6873189.0,5433220.0,5909354.0,5433223.0,5433955.0,5909363.0,6228649.0,5728298.0,5909368.0,5909374.0,5933523.0,5728301.0,5943012.0,5703464.0,5933604.0,5933606.0,6228754.0,6228648.0,5728300.0,6228669.0,5909366.0,5933601.0,5948500.0,5944144.0],"skipIndex":0,"section_code":"gallery","featured_images":5703417.0,"id":303624,"singleSection":false});				  						galleries[231434] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ireland Gallery","link":"gallery_231434.html","maxRecords":0.0,"photoIDs":[4109345.0,4109352.0,4109354.0,4109364.0,4109365.0,4109366.0,4109370.0,4109372.0,4109373.0,4109374.0,4109376.0,4109378.0,4109379.0,4109380.0,4109382.0,4109383.0,4109384.0,4109386.0,4109387.0,4109388.0,4109389.0,4109465.0,4170744.0,4170757.0,4170765.0,4170767.0,4426956.0,4426961.0,5462583.0,5462584.0,5462598.0,5502303.0,5502667.0,5502675.0,5502683.0,7376982.0,7376994.0,7695626.0,7695628.0,4109342.0,5462579.0,4109344.0],"skipIndex":0,"section_code":"gallery","featured_images":4109352.0,"id":231434,"singleSection":false});				  						galleries[231435] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Digital Photo Restoration Examples","link":"gallery_231435.html","maxRecords":0.0,"photoIDs":[3813101.0,3813103.0,3813104.0,3813105.0],"skipIndex":0,"section_code":"gallery","featured_images":3813103.0,"id":231435,"singleSection":false});				  						galleries[282104] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"USA Gallery","link":"gallery_282104.html","maxRecords":0.0,"photoIDs":[4961740.0,4961741.0,4961743.0,4961744.0,4961745.0,4961746.0,5361264.0,5361267.0,5361272.0,5361275.0,5361285.0,5361288.0,5361290.0,5502585.0],"skipIndex":0,"section_code":"gallery","featured_images":4961740.0,"id":282104,"singleSection":false});				  						galleries[302031] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Grunge Textures","link":"gallery_302031.html","maxRecords":0.0,"photoIDs":[5360948.0,5360949.0,5360950.0,5360953.0,5360954.0,4426960.0],"skipIndex":0,"section_code":"gallery","featured_images":5360948.0,"id":302031,"singleSection":false});				  						galleries[282106] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"My Personal Favs","link":"gallery_282106.html","maxRecords":0.0,"photoIDs":[4961764.0,4961765.0,4961766.0,4961768.0,4961769.0,4961770.0,4961772.0,4961774.0,4961776.0,4961777.0,4961778.0],"skipIndex":0,"section_code":"gallery","featured_images":4961764.0,"id":282106,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5462579';
imageSets[2] = '5944157,5703417,5360948,4961764,4961740,4426958,4109400,4109385,4109352,3813103';
imageSets[3] = '7695628,7695626,7531264,7531263,7531262,7531252,7531251,7531249,7531248,7531245,7531242,7531240,7531239,7531237,7531235,7531234,7528735,7526301,7526299,7526298,7526297,7376994,7376982,7293352,7293348,7293342,7293340,7293337,7293333,7072878,6961297,6873254,6873251,6873250,6873189,6634272,6634271,6634269,6634263,6634260,6625826,6625822,6501302,6501298,6501297,6501295,6501293,6501105,6228754,6228669';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/upthebanner/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/upthebanner/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 = 'Up The Banner Photography: ' + 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> &euro;' + (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 += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
			temp += '<input type="hidden" name="item_name" value="'+item_name+'">';
			ref = '';
			if(this.photo_ref != ''){
				ref = this.photo_ref+' - '+this.caption;
			}
			else{
				ref = this.id+' - '+this.caption;
			}
			price = amount;								temp += '<input type="hidden" name="cmd" value="_cart">';
					temp += '<input type="hidden" name="business" value="upthebanner@gmail.com">';
					temp += '<input type="hidden" name="currency_code" value="EUR">';
					temp += '<input type="hidden" name="add" value="1">';
													temp += '<input type="hidden" name="amount" value="'+amount+'">';
					temp += '<input type="hidden" name="item_number" value="'+ref+'">';
													temp += '<input type=\"Submit\" value=\"Add to cart\" id=\"paymentAddButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
										temp += '</form>';
										temp += '<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';
				temp += '<input type="hidden" name="cmd" value="_cart">';
				temp += '<input type="hidden" name="business" value="upthebanner@gmail.com">';
				temp += '<input type="hidden" name="display" value="1">';
				temp += '<input type=\"Submit\" value=\"View cart\" id=\"paymentViewButton\" class=\"button\" onmouseover=\"this.className=\'buttonHi\';\" onmouseout=\"this.className=\'button\';\">';
				temp += '</form>';
						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({					href: thumbnails[imageID].fnGalleryLink(gallery_id),					title: galleries[gallery_id].title				});
			}
		}
	}
}

/***************************************************************************
* 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;
	}
}

			

