window.thumbnails = {};
															thumbnails[5440155] = clik.newPhoto({"id":5440155,"src":"New_York__Statue_of_Liberty_and_Battleship_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5440155.html","width":130,"caption":"The statue of Liberty and Battleship, New York","height":80});
															thumbnails[5440191] = clik.newPhoto({"id":5440191,"src":"Ellis_Island_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5440191.html","width":130,"caption":"Ellis Island, main reception hall, New York","height":196});
															thumbnails[5440218] = clik.newPhoto({"id":5440218,"src":"Brooklyn_Bridge__Lower_Manhatten_BW_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5440218.html","width":130,"caption":"Brooklyn Bridge, Lower Manhatten, New york","height":124});
															thumbnails[5440225] = clik.newPhoto({"id":5440225,"src":"Brooklyn_Bridge_1lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5440225.html","width":130,"caption":"Brooklyn Bridge, New York","height":87});
															thumbnails[5440287] = clik.newPhoto({"id":5440287,"src":"Lower_Manhatten_Skyline_2_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5440287.html","width":130,"caption":"Lower Manhatten Skyline, New York","height":63});
															thumbnails[5456712] = clik.newPhoto({"id":5456712,"src":"New_York__St_Pauls_Chapel_Cemetery_Ground_Zero_2_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5456712.html","width":130,"caption":"Cemetery St. Pauls Chapel, at Ground Zero, New York","height":118});
															thumbnails[5472373] = clik.newPhoto({"id":5472373,"src":"Times_square_New_York_Oct_2008_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5472373.html","width":130,"caption":"Times Square New York Oct 2008","height":106});
															thumbnails[5473561] = clik.newPhoto({"id":5473561,"src":"Park_Fountain__Lower_Manhatten_New_York_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5473561.html","width":130,"caption":"Park Fountain, Lower Manhatten, New York","height":85});
															thumbnails[5473580] = clik.newPhoto({"id":5473580,"src":"Shop_window_New_York_2_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_5473580.html","width":130,"caption":"Shop Window detail, Manhatten, New York","height":153});
															thumbnails[5525836] = clik.newPhoto({"id":5525836,"src":"Ballygarth_castle__trees_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525836.html","width":130,"caption":"Ballygarth Castle & trees, Julianstown, co. Meath. Ireland","height":84});
															thumbnails[5525860] = clik.newPhoto({"id":5525860,"src":"Louth_Hall_Castle_Co_Louth_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525860.html","width":130,"caption":"Louth Hall castle, Tallanstown, Co. Louth. Ireland","height":86});
															thumbnails[5525884] = clik.newPhoto({"id":5525884,"src":"Louth_Hall_Castle__tree_study_1_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525884.html","width":130,"caption":"Tree in Wind, at Louth Hall Castle, Tallanstown, Co. Louth. Ireland","height":120});
															thumbnails[5525885] = clik.newPhoto({"id":5525885,"src":"Louth_Hall_Castle_study_2_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525885.html","width":130,"caption":"Louth Hall Castle, study 2, Tallanstown, Co. Louth. Ireland","height":63});
															thumbnails[5525889] = clik.newPhoto({"id":5525889,"src":"tree_in_Barley_field_1_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525889.html","width":130,"caption":"Tree in Barley Field, Co. Louth","height":176});
															thumbnails[5525896] = clik.newPhoto({"id":5525896,"src":"Cooley_mountains_lone_tree_feb_09_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525896.html","width":130,"caption":"Tree in Snow, Cooley Mountains, Co. Louth, Ireland","height":118});
															thumbnails[5525909] = clik.newPhoto({"id":5525909,"src":"Cooley_mountains_feb_09_Lone_tree_in_snow_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_5525909.html","width":130,"caption":"Tree in snow, Cooley Mountains, Co. Louth. study 2","height":119});
															thumbnails[5868121] = clik.newPhoto({"id":5868121,"src":"Nanny_Cottege_Laytown_4_Apr_2010_lr3_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5868121.html","width":130,"caption":"The Nanny Cottage, Laytown, Co. Meath. Ireland study 3","height":80});
															thumbnails[6057490] = clik.newPhoto({"id":6057490,"src":"Dead_Tree_Laytown_May_2010_lr2_thumb.jpg","galleries_id":313003,"server_id":5,"link":"photo_6057490.html","width":130,"caption":"Dead tree, Laytown, Co. Meath","height":156});
															thumbnails[6057578] = clik.newPhoto({"id":6057578,"src":"New_York__Empire_st_Building_-_from_6th_Ave_lr2_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_6057578.html","width":130,"caption":"The Empire State Building from 6th Ave. Manhatten, New York","height":87});
															thumbnails[6057671] = clik.newPhoto({"id":6057671,"src":"The_Metropolitan_Museum_of_Art_New_York_lr1_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_6057671.html","width":130,"caption":"The Metropolitan Museum of Art, Manhatten, New York","height":127});
															thumbnails[6057702] = clik.newPhoto({"id":6057702,"src":"Sculpture_at_Metropolitan_Museum_of_Art_New_York_lr1_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_6057702.html","width":130,"caption":"Sculpture at The Metropolitan Museum of Art, New York","height":180});
															thumbnails[6062763] = clik.newPhoto({"id":6062763,"src":"Statue_of_Liberty_New_York_lr1_thumb.jpg","galleries_id":307638,"server_id":5,"link":"photo_6062763.html","width":130,"caption":"Statue of Liberty, New York","height":164});
															thumbnails[6646590] = clik.newPhoto({"id":6646590,"src":"Laytown_Races_09_lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6646590.html","width":130,"caption":"Laytown Races, 2009","height":102});
															thumbnails[6693553] = clik.newPhoto({"id":6693553,"src":"Laytown_Races_Sept_2010_study_1_lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6693553.html","width":130,"caption":"Laytown Races Sept 2010","height":115});
															thumbnails[6970404] = clik.newPhoto({"id":6970404,"src":"Laytown_Races_archive___1990s_15x9___lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970404.html","width":130,"caption":"Laytown Races 1990s","height":84});
															thumbnails[6970501] = clik.newPhoto({"id":6970501,"src":"Laytown_Races_Archive_145__15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970501.html","width":130,"caption":"Laytown Races 1994","height":85});
															thumbnails[6970509] = clik.newPhoto({"id":6970509,"src":"Laytown_Races_Archive_142___15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970509.html","width":130,"caption":"Laytown Races 1994","height":86});
															thumbnails[6970533] = clik.newPhoto({"id":6970533,"src":"Laytown_Races_Archive_137___15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970533.html","width":130,"caption":"Laytown Races 1980s","height":85});
															thumbnails[6970538] = clik.newPhoto({"id":6970538,"src":"Laytown_races_Archive_195___15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970538.html","width":130,"caption":"Laytown Races 1980s","height":86});
															thumbnails[6970611] = clik.newPhoto({"id":6970611,"src":"Laytown_Races_Archive_111__15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970611.html","width":130,"caption":"Laytown Races 1990s","height":86});
															thumbnails[6970661] = clik.newPhoto({"id":6970661,"src":"Laytown_Races_Archive_28__15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970661.html","width":130,"caption":"Laytown Races 1980s","height":98});
															thumbnails[6970677] = clik.newPhoto({"id":6970677,"src":"Laytown_Races_Archive_76__11x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970677.html","width":130,"caption":"Laytown Races 2003 or 2004","height":107});
															thumbnails[6970736] = clik.newPhoto({"id":6970736,"src":"Laytown_Races_Archive_65___15x10__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970736.html","width":130,"caption":"Laytown Races 1980s","height":84});
															thumbnails[6970745] = clik.newPhoto({"id":6970745,"src":"Laytown_Races_Archive_9__15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970745.html","width":130,"caption":"Laytown Races 1990s","height":88});
															thumbnails[6970827] = clik.newPhoto({"id":6970827,"src":"Laytown_Races_Archive_98___15x9__lr1_thumb.jpg","galleries_id":363620,"server_id":5,"link":"photo_6970827.html","width":130,"caption":"Jockey, Ruby Walsh celebrates his win, with dad Ted Walsh. Date unknown","height":86});
															thumbnails[7646930] = clik.newPhoto({"id":7646930,"src":"Daffodil_Study_3__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7646930.html","width":130,"caption":"Daffodil Study 2","height":184});
															thumbnails[7646934] = clik.newPhoto({"id":7646934,"src":"Dancing_Fuschias_1_Sept_2010_lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7646934.html","width":130,"caption":"Fuschia Study 1","height":115});
															thumbnails[7646941] = clik.newPhoto({"id":7646941,"src":"Lilies_study_4__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7646941.html","width":130,"caption":"Lilies Study 2","height":195});
															thumbnails[7646945] = clik.newPhoto({"id":7646945,"src":"Rose_study_1__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7646945.html","width":130,"caption":"Rose Study 1","height":118});
															thumbnails[7647443] = clik.newPhoto({"id":7647443,"src":"Garden_shed_and_shrub_Sept_2010_lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7647443.html","width":130,"caption":"Garden shed and shrub","height":115});
															thumbnails[7647470] = clik.newPhoto({"id":7647470,"src":"Garden_Shed__Daffodils_lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7647470.html","width":130,"caption":"Garden shed and Daffodils","height":149});
															thumbnails[7747738] = clik.newPhoto({"id":7747738,"src":"Laytown_Archive_21__Chipperfields_Circus_1990_5__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747738.html","width":130,"caption":"Children at Chipperfields Circus, Laytown 1980s","height":88});
															thumbnails[7747843] = clik.newPhoto({"id":7747843,"src":"Laytown_Archive_32__Laytown_N_S_Change_day_1_15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747843.html","width":130,"caption":"Mr Roache's Class. Laytown N. S. 1995","height":85});
															thumbnails[7747859] = clik.newPhoto({"id":7747859,"src":"Laytown_Archive_43_Senior_Citizens_Party__Ozanam_Home_3__15x9__lr1_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747859.html","width":130,"caption":"Senior Citizens Party, Ozanam Home Dec. 1990","height":85});
															thumbnails[7747865] = clik.newPhoto({"id":7747865,"src":"Laytown_Archive_47_Ballet_Class_Parochial_hall_2___15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747865.html","width":130,"caption":"Ballet Class, Laytown Parocial Hall, 1990","height":82});
															thumbnails[7747871] = clik.newPhoto({"id":7747871,"src":"Laytown_Archive_52_Children_at_play_Alverno_Heights_3__15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747871.html","width":130,"caption":"Children at play, Alverno Heights, Laytown 1990s","height":86});
															thumbnails[7747877] = clik.newPhoto({"id":7747877,"src":"Laytown_Races_Archive_50__15x10_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747877.html","width":130,"caption":"At Laytown Races 1987","height":86});
															thumbnails[7747883] = clik.newPhoto({"id":7747883,"src":"Laytown_Archive__34_New_Years_eve_1980s_5____15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747883.html","width":130,"caption":"Cottage Inn, Laytown, New Year's eve. 1990","height":85});
															thumbnails[7751189] = clik.newPhoto({"id":7751189,"src":"Connemara_sunset_Lettergesh_Beach_1_Apr_2011_lr2_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7751189.html","width":130,"caption":"Connemara Sunset at Lettergesh Beach April 2011","height":75});
															thumbnails[7751213] = clik.newPhoto({"id":7751213,"src":"Bunlough_Point_Connemara_2_Apr_2011_lr2_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7751213.html","width":130,"caption":"Bunlough Point, Connemara, Ireland April 2011","height":119});
															thumbnails[7779881] = clik.newPhoto({"id":7779881,"src":"Gaby_Taylor_4_11x8_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7779881.html","width":130,"caption":"Gabriel Taylor   Entertainer","height":166});
															thumbnails[7779933] = clik.newPhoto({"id":7779933,"src":"Laytown_Archive_30_on_the_set_of_The_Crying_Game_Frst_Wht__S_Rea__M_Rch__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7779933.html","width":130,"caption":"On the Set of Film 'The Crying Game' Laytown 1991","height":87});
															thumbnails[7779940] = clik.newPhoto({"id":7779940,"src":"Laytown_Archive_32__Laytown_N_S_6th_Class_Girls__Sr_Rosemary_2__11x7_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7779940.html","width":130,"caption":"Sr Rosemary, with 6th Class Girls, Laytown N.S. June 1995","height":89});
															thumbnails[7779952] = clik.newPhoto({"id":7779952,"src":"Laytown_Archive_41_Gilnas_pub_after_fire_2___15x10_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7779952.html","width":130,"caption":"The Cottage Inn Pub, Laytown, after fire, Oct 1995","height":85});
															thumbnails[7790403] = clik.newPhoto({"id":7790403,"src":"Laytown_Archive_49_Mr__Mrs_Deane_in_their_shop__11x7_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790403.html","width":130,"caption":"Mr & Mrs Deane in their shop 1990","height":86});
															thumbnails[7790423] = clik.newPhoto({"id":7790423,"src":"Laytown_Archive_Mick_Ward_2__15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790423.html","width":130,"caption":"Michael Ward  Historian","height":175});
															thumbnails[7790432] = clik.newPhoto({"id":7790432,"src":"Laytown_Archive_30_on_the_set_of_The_Crying_Game_3__15x10_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790432.html","width":130,"caption":"On the set of Film 'The Crying Game'  1991","height":85});
															thumbnails[7790453] = clik.newPhoto({"id":7790453,"src":"Laytown_Archive_39_Craig_Collins_1__15x10_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790453.html","width":130,"caption":"Craig Collins & bike 1994","height":85});
															thumbnails[7790671] = clik.newPhoto({"id":7790671,"src":"Laytown_Archive_32__Laytown_N_S__Boysgirls_change_day_28_15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790671.html","width":130,"caption":"Laytown National School June 1995","height":85});
															thumbnails[7791486] = clik.newPhoto({"id":7791486,"src":"Laytown__Archive_7__Chipperfields_Circus_1_15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791486.html","width":130,"caption":"Tigers in Laytown. Chipperfields Circus 1980s","height":84});
															thumbnails[7791492] = clik.newPhoto({"id":7791492,"src":"Laytown_Archive_33_Laytown_Train_Station_Mosney_20_M_Meegan__15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791492.html","width":130,"caption":"Michael Meegan Signalman, Mosney Signal Cabin 1994","height":199});
															thumbnails[7791515] = clik.newPhoto({"id":7791515,"src":"Laytown_Archive_48__Patrick_Gogarty__mam___15x10_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791515.html","width":130,"caption":"Patrick Gogarty & his Mam 1990","height":88});
															thumbnails[7791523] = clik.newPhoto({"id":7791523,"src":"Laytown_Archive_43_Senior_Citizens_Party__Ozanam_Home_6__15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791523.html","width":130,"caption":"Senior Citizens Party, Ozanam Home, Dec 1990","height":86});
															thumbnails[7791800] = clik.newPhoto({"id":7791800,"src":"Laytown_Archive_33_M_Meegan_1_Mosney_12__15x9_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791800.html","width":130,"caption":"Michael Meegan, Mosney Signal Cabin 1994","height":190});
															thumbnails[7792345] = clik.newPhoto({"id":7792345,"src":"Laytown_Archive_31_Film_set_in_Gilnas_pub_11__11x7__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7792345.html","width":130,"caption":"Scene from the film 'Fatal Inheritance'. Filmed in the bar of The Cottage Inn, Laytown 1980s","height":86});
															thumbnails[7792352] = clik.newPhoto({"id":7792352,"src":"Laytown_Archive_31_Film_set_in_Gilnas_pub_26___11x7_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7792352.html","width":130,"caption":"Scene from film 'Fatal Inheritance' Filmed in the bar of The Cottage Inn, Laytown 1980s ","height":86});
															thumbnails[7792358] = clik.newPhoto({"id":7792358,"src":"Laytown_Archive_15_Pats_Shop_2__11x7__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7792358.html","width":130,"caption":"'Lotto' comes to Laytown. Pat Boshells Shop, Laytown 1990","height":86});
															thumbnails[7796614] = clik.newPhoto({"id":7796614,"src":"Laytown_Archive_52_Children_at_play_Marian_Villas_6_Brothers__15x9_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7796614.html","width":130,"caption":"Brothers  Marian Villas","height":89});
															thumbnails[7796615] = clik.newPhoto({"id":7796615,"src":"Laytown_Archive_52_Hands__Marian_Villas___15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7796615.html","width":130,"caption":"Hands   Marian Villas","height":85});
															thumbnails[7796616] = clik.newPhoto({"id":7796616,"src":"Laytown_Races_Archive_161__15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7796616.html","width":130,"caption":"Children at Laytown Races 2004","height":88});
															thumbnails[7796617] = clik.newPhoto({"id":7796617,"src":"Niamhs_First_Confession__15x9_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7796617.html","width":130,"caption":"First Confession Laytown Church1995","height":197});
															thumbnails[7796618] = clik.newPhoto({"id":7796618,"src":"Laytown_Archive_40__Bronagh__Pauls_wedding_5____15x9_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7796618.html","width":130,"caption":"Bronagh and Paul Cody Wedding Celebrations  ","height":85});
															thumbnails[7796619] = clik.newPhoto({"id":7796619,"src":"Laytown_Archive_44_Christmas_Choir_practice_3___7x5__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7796619.html","width":130,"caption":"Christmas Choir Practice  Dec. 1990","height":88});
															thumbnails[7819782] = clik.newPhoto({"id":7819782,"src":"Connemara_Derelict_House_Lettergesh__Apr_2011_lr2_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_7819782.html","width":130,"caption":"Derelict House, Lettergesh, Connemara April 2011","height":87});
															thumbnails[8184265] = clik.newPhoto({"id":8184265,"src":"Sunset_River_Boyne_at_Mornington_June_2011_lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8184265.html","width":130,"caption":"Sunset River Boyne Mornington, Co. Meath. Ireland","height":127});
															thumbnails[8184277] = clik.newPhoto({"id":8184277,"src":"The_ship_Arklow_Raider_stuck_on_sand_Mornington_Nov_17th_2010__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8184277.html","width":130,"caption":"The cargo boat Arklow Raider Grounded on Sandbank, Nov. 2010 Mornington, Co, Meath. Ireland","height":122});
															thumbnails[8579885] = clik.newPhoto({"id":8579885,"src":"Fishermen_Mornington_2_July_2011__15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579885.html","width":130,"caption":"Salmon Fishermen, Mornington Aug 2011","height":87});
															thumbnails[8579887] = clik.newPhoto({"id":8579887,"src":"Salmon_Fishermen_Mornington_6_July_2011__15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579887.html","width":130,"caption":"Salmon Fishing, Mornington, Meath. 2","height":87});
															thumbnails[8579889] = clik.newPhoto({"id":8579889,"src":"Salmon_Fishermen_Mornington_Aug_2011__2__15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579889.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":94});
															thumbnails[8579891] = clik.newPhoto({"id":8579891,"src":"Salmon_Fishermen_Mornington_Aug_2011__10__15x10_lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579891.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":85});
															thumbnails[8579893] = clik.newPhoto({"id":8579893,"src":"Salmon_Fishermen_Mornington_Aug_2011__11_15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579893.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":76});
															thumbnails[8579895] = clik.newPhoto({"id":8579895,"src":"Salmon_Fishermen_Mornington_Aug_2011__20__11x11lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579895.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":117});
															thumbnails[8579899] = clik.newPhoto({"id":8579899,"src":"Salmon_Fishermen_Mornington_Aug_2011__25_15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579899.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":83});
															thumbnails[8579900] = clik.newPhoto({"id":8579900,"src":"Salmon_Fishermen_Mornington_Aug_2011__27__11x11_lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8579900.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":120});
															thumbnails[8579903] = clik.newPhoto({"id":8579903,"src":"Salmon_Fishermen_Mornington_Aug_2011_19__15x10_lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8579903.html","width":130,"caption":"Salmon Fishing, Mornington, Meath","height":87});
															thumbnails[8587337] = clik.newPhoto({"id":8587337,"src":"Salmon_Fishermen_Mornington_Aug_2011_6__15x9__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8587337.html","width":130,"caption":"Salmon Fishing, Mornington, Meath, Aug. 2011","height":195});
															thumbnails[8587411] = clik.newPhoto({"id":8587411,"src":"Salmon_Fishermen_Mornington_7_July_2011__15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8587411.html","width":130,"caption":"Salmon Fishing, Mornington, Meath, July 2011","height":87});
															thumbnails[8587440] = clik.newPhoto({"id":8587440,"src":"Salmon_Fishermen_Mornington_Aug_2011_23__Vet_11x11_lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8587440.html","width":130,"caption":"SalmonFishing, Mornington, Meath, Aug. 2011","height":114});
															thumbnails[8594426] = clik.newPhoto({"id":8594426,"src":"Salmon_Fishermen_Mornington_Aug_2011__8__15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8594426.html","width":130,"caption":"Salmon Fishing Mornington, Meath aug. 2011","height":115});
															thumbnails[8597166] = clik.newPhoto({"id":8597166,"src":"Salmon_Fishermen_Mornington_Aug_2011__Leo_Boyle__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8597166.html","width":130,"caption":"Salmon Fishermen Mornington. Meath Aug 2011","height":195});
															thumbnails[8597172] = clik.newPhoto({"id":8597172,"src":"Salmon_Fishermen_Mornington_Aug_2011__22_15x10_lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8597172.html","width":130,"caption":"Salmon Fishing, Mornington, Meath. Aug 2011","height":87});
															thumbnails[8597178] = clik.newPhoto({"id":8597178,"src":"Salmon_Fishermen_Mornington_Aug_2011_Michael_Reynolds_lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8597178.html","width":130,"caption":"Salmon Fishermen, Mornington, Meath. Aug 2011","height":87});
															thumbnails[8597187] = clik.newPhoto({"id":8597187,"src":"Salmon_Fishermen_Mornington_Aug_2011__3__15x10__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8597187.html","width":130,"caption":"Salmon Fishing, Mornington, Meath. Aug. 2011","height":87});
															thumbnails[8597261] = clik.newPhoto({"id":8597261,"src":"Salmon_Fishermen_Mornington_Aug_2011_Twier_16_15x10_lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8597261.html","width":130,"caption":"Salmon Fishermen, Mornington, Meath. Aug 2011","height":85});
															thumbnails[8643018] = clik.newPhoto({"id":8643018,"src":"Port_Donegal_Sept_2011_1_v2__15x10__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8643018.html","width":130,"caption":"Port, Donegal, Ireland 2011","height":83});
															thumbnails[8643032] = clik.newPhoto({"id":8643032,"src":"Turf_stack_1_Donegal_Sept_2011_11x11_lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8643032.html","width":130,"caption":"Turf Stack, Donegal, Ireland","height":122});
															thumbnails[8807377] = clik.newPhoto({"id":8807377,"src":"elli_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8807377.html","width":130,"caption":"Cover of book ELLI, By Livia E. Bitton Jackson","height":210});
															thumbnails[8831896] = clik.newPhoto({"id":8831896,"src":"Trafalger_Square_London_Nov_2011__1__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8831896.html","width":130,"caption":"Trafalger Square, London Nov 2011","height":82});
															thumbnails[8832002] = clik.newPhoto({"id":8832002,"src":"Port_Donegal_Sept_2011_2__11x11_lr2_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8832002.html","width":130,"caption":"An Port, Donegal, Sept 2011","height":129});
															thumbnails[8930663] = clik.newPhoto({"id":8930663,"src":"St_Jamess_Park_London_Nov_2011__lr1_thumb.jpg","galleries_id":414593,"server_id":5,"link":"photo_8930663.html","width":130,"caption":"The Wind - in St James's Park London Nov 2011","height":127});
															thumbnails[5425814] = clik.newPhoto({"id":5425814,"src":"Clogherhead_July_2009_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425814.html","width":130,"caption":"Clogherhead Pier, Co. Louth. Ireland","height":133});
															thumbnails[5512767] = clik.newPhoto({"id":5512767,"src":"Barcelona__Gaudi_Figure_1lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512767.html","width":130,"caption":"Gaudi Figure, Barcelona, Spain 2007","height":209});
															thumbnails[5910864] = clik.newPhoto({"id":5910864,"src":"Galway_2008_study_3_lr2_thumb.jpg","galleries_id":333592,"server_id":5,"link":"photo_5910864.html","width":130,"caption":"Street Artist, Galway, Ireland","height":102});
															thumbnails[7790679] = clik.newPhoto({"id":7790679,"src":"Laytown_Archive_42__First_Communion_day_1990_19____15x9_lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790679.html","width":130,"caption":"First Communion Day, Laytown Church 1990","height":196});
															thumbnails[8797045] = clik.newPhoto({"id":8797045,"src":"Birkenau_Camp_Auschwitz_2__Aug_2011__2__11x11_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797045.html","width":130,"caption":"Cattle Car in Birkenau Camp","height":126});
															thumbnails[5425847] = clik.newPhoto({"id":5425847,"src":"Clogherhead_pier_Co_Louth_09_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425847.html","width":130,"caption":"Clogherhead Pier study 2. Co. Louth. Ireland","height":128});
															thumbnails[5512977] = clik.newPhoto({"id":5512977,"src":"Sagrada_Familia_Barcelona_2007_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512977.html","width":130,"caption":"Sagrada Familia, Barcelona, Spain","height":86});
															thumbnails[7747665] = clik.newPhoto({"id":7747665,"src":"Laytown__Archive_1_1__11x7__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747665.html","width":130,"caption":"Marian Year Procession Aug.1990","height":89});
															thumbnails[8597306] = clik.newPhoto({"id":8597306,"src":"Salmon_Fishermen_Mornington_July_2011_4__15x9__lr1_thumb.jpg","galleries_id":453600,"server_id":5,"link":"photo_8597306.html","width":130,"caption":"Salmon Fishing, Mornington, Meath July 2011","height":72});
															thumbnails[8752336] = clik.newPhoto({"id":8752336,"src":"The_Watchtower_overlooking_Birkenau__Auschwitz_2__Concentration_Camp_Poland__Aug_2011__lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8752336.html","width":130,"caption":"The main Watchtower at Birkenau Concentration and Extermination Camp","height":89});
															thumbnails[5425860] = clik.newPhoto({"id":5425860,"src":"Clogherhead_Pier_Co_LOuth_2007lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425860.html","width":130,"caption":"Clogherhead Pier study 3. Co. Louth. Ireland","height":119});
															thumbnails[5513025] = clik.newPhoto({"id":5513025,"src":"Sagrada_Familia_8_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5513025.html","width":130,"caption":"Statues, Sagrada Familia, Barcelona, Spain","height":86});
															thumbnails[5530178] = clik.newPhoto({"id":5530178,"src":"WW2_Lookout_Post_Clogherhead_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5530178.html","width":130,"caption":"World war 2 lookout Post, Clogherhead, Co. Louth. Ireland","height":118});
															thumbnails[5549349] = clik.newPhoto({"id":5549349,"src":"WW_2_Lookout_Tower_2_Clogherhead_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5549349.html","width":130,"caption":"World war Two Lookout Post, study 2, Clogherhead, Co. Louth. Ireland","height":76});
															thumbnails[5910909] = clik.newPhoto({"id":5910909,"src":"Connamara_bog__Turf__Apr_2010_lr1_thumb.jpg","galleries_id":333592,"server_id":5,"link":"photo_5910909.html","width":130,"caption":"Connemara Landscape, Galway, Ireland","height":131});
															thumbnails[7747986] = clik.newPhoto({"id":7747986,"src":"Laytown_Archive__34_Ordination_of_Fr_Brendan_Ferris_9__15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747986.html","width":130,"caption":"The Ordination of Fr Brendan Ferris, Laytown Church, 1993","height":86});
															thumbnails[8797091] = clik.newPhoto({"id":8797091,"src":"Birkenau_Concentration_Camp__Auschwitz_2_Poland_Aug_2011_15x10_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797091.html","width":130,"caption":"Watchtower at Birkenau Concentration and Extermination Camp","height":87});
															thumbnails[5513041] = clik.newPhoto({"id":5513041,"src":"Sagrada_Familia_Barcelona_2007_study_6_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5513041.html","width":130,"caption":"Statues, Sagrada Familia, Barcelona, Spain","height":111});
															thumbnails[7747737] = clik.newPhoto({"id":7747737,"src":"Laytown_Archive_17__Irish_Dancing_11__15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747737.html","width":130,"caption":"Irish Dancing Class 1995 Laytown Parocial hall","height":85});
															thumbnails[8797032] = clik.newPhoto({"id":8797032,"src":"Birkenau_Gates_of_Hell_Auschwitz_2_Poland_Aug_2011__3__11x7_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797032.html","width":130,"caption":"Birkenau (The Gates of Hell) Auschwitz 2 Concentration and Extermination Camp, Poland","height":87});
															thumbnails[5425779] = clik.newPhoto({"id":5425779,"src":"Boat_leaving_Drogheda_May_09_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425779.html","width":130,"caption":"Cargo boat on the Boyne River, Heading for sea.","height":224});
															thumbnails[5512894] = clik.newPhoto({"id":5512894,"src":"Barcelona__Gaudi_figure_2_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512894.html","width":130,"caption":"Gaudi Sculpture, Barcelona, Spain ","height":91});
															thumbnails[5910936] = clik.newPhoto({"id":5910936,"src":"Connemara__Apr_2010_lr1_thumb.jpg","galleries_id":333592,"server_id":5,"link":"photo_5910936.html","width":130,"caption":"Connemara Landscape, Galway, Ireland","height":127});
															thumbnails[7747666] = clik.newPhoto({"id":7747666,"src":"Laytown_Archive_17__Irish_Dancing_1___15x9__lr1_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747666.html","width":130,"caption":"Irish Dancing Class, Laytown Parocial Hall 1995","height":84});
															thumbnails[8752297] = clik.newPhoto({"id":8752297,"src":"The_entrance_gate_to_Auschwitz_Concentration_and_Extermination_Camp_Poland__Aug_2011_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8752297.html","width":130,"caption":"The Entrance Gate into Auschwitz Concentration and Extermination Camp","height":128});
															thumbnails[5425760] = clik.newPhoto({"id":5425760,"src":"Baltray__Boatwreck_Co_Louth_09_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425760.html","width":130,"caption":"Boat wreck at Baltray, Co. Louth. Ireland","height":86});
															thumbnails[5512875] = clik.newPhoto({"id":5512875,"src":"Barcelona_pics__shutters_b_w_1_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512875.html","width":130,"caption":"Window shutters, Barcelona, Spain","height":86});
															thumbnails[5632691] = clik.newPhoto({"id":5632691,"src":"Mornington_Dunes__beach_4_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5632691.html","width":130,"caption":"The Co. Meath Coast at Mornington. Ireland","height":66});
															thumbnails[7747857] = clik.newPhoto({"id":7747857,"src":"Laytown_Archive_42__First_Communion_day_1990s_15__15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747857.html","width":130,"caption":"First Communion Day, Laytown Church 1990","height":194});
															thumbnails[8752351] = clik.newPhoto({"id":8752351,"src":"Birkenau__Auschwitz_2_Aug_2011__1__11x7_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8752351.html","width":130,"caption":"Birkenau Concentration and Extermination Camp","height":87});
															thumbnails[5425937] = clik.newPhoto({"id":5425937,"src":"Stormy_sea_Laytown_2_lr3_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425937.html","width":130,"caption":"Nanny Cottege, Laytown, Co. Meath. Ireland","height":86});
															thumbnails[5513048] = clik.newPhoto({"id":5513048,"src":"Sagrada_Familia_Barcelona_2007_study_7_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5513048.html","width":130,"caption":"Statues, Sagrada Familia, Spain                ","height":105});
															thumbnails[7791891] = clik.newPhoto({"id":7791891,"src":"Laytown_Archive_35_Dan_Bennett_2__15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791891.html","width":130,"caption":"Dan Bennett 1990","height":195});
															thumbnails[8797030] = clik.newPhoto({"id":8797030,"src":"Anna__Victim_of_Auschwitz_Concentration_and_Extermination_Camp_in_1943___Auschwitz_Poland__Aug_2011_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797030.html","width":130,"caption":"Anna - one of the thousands of victims of Auschwitz Camp 1943","height":87});
															thumbnails[5425969] = clik.newPhoto({"id":5425969,"src":"Nanny_Cottege_Laytown_in_Fog_Mar_2009_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425969.html","width":130,"caption":"Nanny Cottege study 2, Laytown, co. Meath. Ireland","height":76});
															thumbnails[5632694] = clik.newPhoto({"id":5632694,"src":"Balbriggan_Pier_and_boats_Mar_2010_lr_2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5632694.html","width":130,"caption":"Balbriggan Pier and boats, Co. Dublin","height":75});
															thumbnails[7747886] = clik.newPhoto({"id":7747886,"src":"Laytown_Archive__33_Laytown_train_station_10___15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7747886.html","width":130,"caption":"Laytown train Station 1994","height":86});
															thumbnails[5425977] = clik.newPhoto({"id":5425977,"src":"Lambay_Island_from_Portrane_Dublin_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425977.html","width":130,"caption":"Lambay Island, from Portrane, Co. Dublin","height":122});
															thumbnails[5516872] = clik.newPhoto({"id":5516872,"src":"Statue_and_Poster_barcelona_2007_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5516872.html","width":130,"caption":"Statue and Poster, Catalonia Square,  Barcelona, Spain 2007","height":101});
															thumbnails[7790412] = clik.newPhoto({"id":7790412,"src":"Laytown_Archive__33_Laytown_train_station_20__15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790412.html","width":130,"caption":"Billy Martin  in Laytown Signal Cabin 1994","height":86});
															thumbnails[8752337] = clik.newPhoto({"id":8752337,"src":"Victims_Luggage_Cases__Auschwitz_Concentration_and_Extermination_Camp_Poland__Aug_2011_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8752337.html","width":130,"caption":"Victims luggage, Auschwitz Concentration and Extermination Camp","height":117});
															thumbnails[5426027] = clik.newPhoto({"id":5426027,"src":"Lambay_Island_from_Portrane_study_two_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5426027.html","width":130,"caption":"Lambay Island study 2, from Portrane, Co.Dublin","height":118});
															thumbnails[5512943] = clik.newPhoto({"id":5512943,"src":"Catalonia_Square_Barcelona_2007_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512943.html","width":130,"caption":"Pigeon feeder, Catalonia Square, Barcelona, Spain","height":107});
															thumbnails[7790417] = clik.newPhoto({"id":7790417,"src":"Laytown_Archive_Leo_Duffy__15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790417.html","width":130,"caption":"Leo Duffy  1990","height":191});
															thumbnails[8752299] = clik.newPhoto({"id":8752299,"src":"Auschwitz__Aug_2011__9__15x10_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8752299.html","width":130,"caption":"Auschwitz Concentration and Extermination camp","height":84});
															thumbnails[5425995] = clik.newPhoto({"id":5425995,"src":"Portrane_Rocks__sea_1_lr2_thumb.jpg","galleries_id":305430,"server_id":5,"link":"photo_5425995.html","width":130,"caption":"Rocks and sea, Portrane, Co. Dublin","height":68});
															thumbnails[5512809] = clik.newPhoto({"id":5512809,"src":"Barcelona_La_Rambla_1_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512809.html","width":130,"caption":"Street Artist, La Rambla, Barcelona, Spain","height":117});
															thumbnails[7791815] = clik.newPhoto({"id":7791815,"src":"Laytown_Archive__33_Laytown_train_station_13___15x9__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7791815.html","width":130,"caption":"Laytown Signal Cabin, Co. Meath 1990s","height":85});
															thumbnails[8752341] = clik.newPhoto({"id":8752341,"src":"Victims_artificial_Limbs__Auschwitz_Concentration_and_Extermination_Camp_11x11_Poland__Aug_2011__lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8752341.html","width":130,"caption":"Artificial Limbs of Victims. Auschwitz Concentration Camp","height":123});
															thumbnails[5512792] = clik.newPhoto({"id":5512792,"src":"Street_dancers_Barcelona_lr21_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512792.html","width":130,"caption":"Street Dancers, La Rambla, Barcelona , Spain","height":173});
															thumbnails[7790409] = clik.newPhoto({"id":7790409,"src":"Laytown_Archive_53_Hugh_O_Donoghue_Stationmaster__15x10__lr2_thumb.jpg","galleries_id":418924,"server_id":5,"link":"photo_7790409.html","width":130,"caption":"Hugh O' Donaghue  Station Foreman  1990","height":186});
															thumbnails[8797130] = clik.newPhoto({"id":8797130,"src":"Nazi_Helmet_Oscar_Schindler_Museum_Crakow__Aug_2011__lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797130.html","width":130,"caption":"Nazi Helmets","height":87});
															thumbnails[5512826] = clik.newPhoto({"id":5512826,"src":"La_Rambla_Barcelona_2007_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512826.html","width":130,"caption":"Street Artist, La Rambla, Barcelona, Spain","height":116});
															thumbnails[8797034] = clik.newPhoto({"id":8797034,"src":"Birkenau_Concentration_and_Extermination_Camp_Auschwitz_2_Poland_Aug_2011_8_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797034.html","width":130,"caption":"Electrified Barbed Wire Fence at Birkenau Concentration and Extermination Camp","height":87});
															thumbnails[5512775] = clik.newPhoto({"id":5512775,"src":"Beach__Barcelona_2_lr2_thumb.jpg","galleries_id":312145,"server_id":5,"link":"photo_5512775.html","width":130,"caption":"Barcelona beach, Spain 2007","height":87});
															thumbnails[8797125] = clik.newPhoto({"id":8797125,"src":"Metal_Pots_Oscar_Schindlers_Factory_Museum_Crakow_Poland_Aug_2011_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797125.html","width":130,"caption":"Metal Pots and Pans Exhibit. Oskar Schindler's Enamel Factory, Krakow","height":116});
															thumbnails[8797127] = clik.newPhoto({"id":8797127,"src":"Nazi_Flag_Oscar_Schindler_Museum_Crakow__Aug_2011_lr1_thumb.jpg","galleries_id":461067,"server_id":5,"link":"photo_8797127.html","width":130,"caption":"Nazi Flag and photo","height":87});
															thumbnails[6646573] = clik.newPhoto({"id":6646573,"src":"Dunmoe_Castle_July_2010_study__lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_6646573.html","width":130,"caption":"Dunmoe Castle, co. Meath. Ireland","height":88});
															thumbnails[7819755] = clik.newPhoto({"id":7819755,"src":"Newgrange_May_2011__lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_7819755.html","width":130,"caption":"Newgrange, Co. Meath May 2011","height":127});
															thumbnails[7819770] = clik.newPhoto({"id":7819770,"src":"The_Boyne_with_swans_at_Newgrange__2_May_2011__lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_7819770.html","width":130,"caption":"The Boyne River with Swans at Newgrange May 2011","height":122});
															thumbnails[7934319] = clik.newPhoto({"id":7934319,"src":"Lia_Fail__Tara__May_2011__lr1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_7934319.html","width":130,"caption":"Lia Fail (Stone of Destiny) Tara. Meath. Ireland","height":122});
															thumbnails[7934326] = clik.newPhoto({"id":7934326,"src":"Mound_of_the_Hostages_Tara_May_2011_lr1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_7934326.html","width":130,"caption":"Mound of the Hostages, Tara. Meath. Ireland","height":120});
															thumbnails[7934344] = clik.newPhoto({"id":7934344,"src":"Stone_Circle_Lough_Crew_Co_Meath_3_May_2011_15x8__lr1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_7934344.html","width":130,"caption":"Stone Circle Loughcrew. Meath. Ireland","height":72});
															thumbnails[5412204] = clik.newPhoto({"id":5412204,"src":"Round_Tower_Monasterboice_Jul_09_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5412204.html","width":130,"caption":"Monasterboice Round Tower Co Louth May 2009","height":124});
															thumbnails[5412590] = clik.newPhoto({"id":5412590,"src":"Ard_Mulchan_statue_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5412590.html","width":130,"caption":"Statue, Ard Mulchan, Co. Meath. Ireland","height":119});
															thumbnails[5699991] = clik.newPhoto({"id":5699991,"src":"Tara_3_Mar_2010_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5699991.html","width":130,"caption":"Tara, Co. Meath, Ireland. study 3","height":120});
															thumbnails[5833247] = clik.newPhoto({"id":5833247,"src":"Bective_Abbey_at_dawn_2008_lr1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5833247.html","width":130,"caption":"Bective Abbey, Co. Meath. Ireland","height":60});
															thumbnails[5465756] = clik.newPhoto({"id":5465756,"src":"Hags_Chair_Lough_Crew_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5465756.html","width":130,"caption":"Hags Chair, Lough Crew, Co. Meath. Ireland","height":120});
															thumbnails[5413048] = clik.newPhoto({"id":5413048,"src":"Sun_symbols_in_Cairn_T_Lough_Crew_Co_Meath_2009_lr2_1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5413048.html","width":130,"caption":"Sun symbols, Lough Crew, Co. Meath. Ireland","height":123});
															thumbnails[5412974] = clik.newPhoto({"id":5412974,"src":"Tree_in_Boyne_Dunmoe_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5412974.html","width":130,"caption":"Tree in Boyne River at Dunmoe, Co. Meath","height":115});
															thumbnails[5998035] = clik.newPhoto({"id":5998035,"src":"Mellifont_Abbey_study_4_lr1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5998035.html","width":130,"caption":"Mellifont Abbey, study 2, Co. Meath. Ireland ","height":80});
															thumbnails[5412825] = clik.newPhoto({"id":5412825,"src":"Yellow_steeple_Trim__Jonathon_Swifts_hse_2_July_09_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5412825.html","width":130,"caption":"The Yellow Steeple, Trim, Co. Meath. Ireland","height":71});
															thumbnails[5421177] = clik.newPhoto({"id":5421177,"src":"Sunset_Newgrange_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5421177.html","width":130,"caption":"Newgrange in snow, Co. Meath, Ireland","height":119});
															thumbnails[5421305] = clik.newPhoto({"id":5421305,"src":"Slane_hill_church_in_fog__snow_feb_09_lr2_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5421305.html","width":130,"caption":"Church Ruin and crosses, Slane. Co. Meath. Ireland","height":168});
															thumbnails[5832696] = clik.newPhoto({"id":5832696,"src":"Mornington_Tower_2_lr1_thumb.jpg","galleries_id":305429,"server_id":5,"link":"photo_5832696.html","width":130,"caption":"Mornington Tower, Co. Meath. Ireland","height":87});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[461067] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Auschwitz","link":"gallery_461067.html","maxRecords":0.0,"photoIDs":[8807377.0,8797045.0,8752336.0,8797091.0,8797032.0,8752297.0,8752351.0,8797030.0,8752337.0,8752299.0,8752341.0,8797130.0,8797034.0,8797125.0,8797127.0],"skipIndex":0,"section_code":"gallery","featured_images":8807377,"id":461067,"singleSection":false});				  						galleries[312145] = clik.newGallery({"parentGallery":305657,"usePopups":false,"title":"Barcelona","link":"gallery_312145.html","maxRecords":0.0,"photoIDs":[5512767.0,5512977.0,5513025.0,5513041.0,5512894.0,5512875.0,5513048.0,5516872.0,5512943.0,5512809.0,5512792.0,5512826.0,5512775.0],"skipIndex":0,"section_code":"gallery","featured_images":5512792.0,"id":312145,"singleSection":false});				  						galleries[313003] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Castles and Trees","link":"gallery_313003.html","maxRecords":0.0,"photoIDs":[5525836.0,5525860.0,5525884.0,5525885.0,5525889.0,5525896.0,5525909.0,6057490.0],"skipIndex":0,"section_code":"gallery","featured_images":"5525896,5525860","id":313003,"singleSection":false});				  						galleries[333592] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Galway and Connemara","link":"gallery_333592.html","maxRecords":0.0,"photoIDs":[5910864.0,5910909.0,5910936.0],"skipIndex":0,"section_code":"gallery","featured_images":"5910936,5910909,5910864","id":333592,"singleSection":false});				  						galleries[414593] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Latest Images","link":"gallery_414593.html","maxRecords":0.0,"photoIDs":[7646930.0,7646934.0,7646941.0,7646945.0,7647443.0,7647470.0,7751189.0,7751213.0,7819782.0,8184265.0,8184277.0,8579900.0,8643018.0,8643032.0,8831896.0,8832002.0,8930663.0],"skipIndex":0,"section_code":"gallery","featured_images":"8930663,8832002,8831896,8643032,7751213,7751189,7646934","id":414593,"singleSection":false});				  						galleries[363620] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Laytown Races, Co. Meath","link":"gallery_363620.html","maxRecords":0.0,"photoIDs":[6646590.0,6693553.0,6970404.0,6970501.0,6970509.0,6970533.0,6970538.0,6970611.0,6970661.0,6970677.0,6970736.0,6970745.0,6970827.0],"skipIndex":0,"section_code":"gallery","featured_images":"6970533,6693553","id":363620,"singleSection":false});				  						galleries[418924] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Laytown. Co. Meath. A pictorial record 1987 - 1996","link":"gallery_418924.html","maxRecords":0.0,"photoIDs":[7747738.0,7747843.0,7747859.0,7747865.0,7747871.0,7747877.0,7747883.0,7779881.0,7779933.0,7779940.0,7779952.0,7790403.0,7790423.0,7790432.0,7790453.0,7790671.0,7791486.0,7791492.0,7791515.0,7791523.0,7791800.0,7792345.0,7792352.0,7792358.0,7796614.0,7796615.0,7796616.0,7796617.0,7796618.0,7796619.0,7790679.0,7747665.0,7747986.0,7747737.0,7747666.0,7747857.0,7791891.0,7747886.0,7790412.0,7790417.0,7791815.0,7790409.0],"skipIndex":0,"section_code":"gallery","featured_images":"7796617,7796616,7791523,7790679,7790453,7779933,7747886,7747843,7747737","id":418924,"singleSection":false});				  						galleries[307638] = clik.newGallery({"parentGallery":305657,"usePopups":false,"title":"New York","link":"gallery_307638.html","maxRecords":0.0,"photoIDs":[5440155.0,5440191.0,5440218.0,5440225.0,5440287.0,5456712.0,5472373.0,5473561.0,5473580.0,6057578.0,6057671.0,6057702.0,6062763.0],"skipIndex":0,"section_code":"gallery","featured_images":"5473561,5440191","id":307638,"singleSection":false});				  						galleries[453600] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Salmon Fishermen, Mornington, Co. Meath","link":"gallery_453600.html","maxRecords":0.0,"photoIDs":[8579885.0,8579887.0,8579889.0,8579891.0,8579893.0,8579895.0,8579899.0,8579903.0,8587337.0,8587411.0,8587440.0,8594426.0,8597166.0,8597172.0,8597178.0,8597187.0,8597261.0,8597306.0],"skipIndex":0,"section_code":"gallery","featured_images":"8597306,8597178,8597172,8597166","id":453600,"singleSection":false});				  						galleries[305429] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Boyne Valley Project","link":"section394214.html","maxRecords":0.0,"photoIDs":[6646573.0,7819755.0,7819770.0,7934319.0,7934326.0,7934344.0,5412204.0,5412590.0,5699991.0,5833247.0,5465756.0,5413048.0,5412974.0,5998035.0,5412825.0,5421177.0,5421305.0,5832696.0],"skipIndex":0,"section_code":"section394214","featured_images":7819770.0,"id":305429,"singleSection":true});				  						galleries[305657] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Cities","link":"gallery_305657.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"5512792,5473561,5440191","id":305657,"singleSection":false});				  						galleries[305430] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Coast","link":"gallery_305430.html","maxRecords":0.0,"photoIDs":[5868121.0,5425814.0,5425847.0,5425860.0,5530178.0,5549349.0,5425779.0,5425760.0,5632691.0,5425937.0,5425969.0,5632694.0,5425977.0,5426027.0,5425995.0],"skipIndex":0,"section_code":"gallery","featured_images":"5868121,5632694,5632691,5549349,5530178,5426027,5425995,5425977,5425969,5425937","id":305430,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8930663,8832002,8831896,8643018,8597261,8597187,8579900,8579899,8579893,8579891,8579889,8579887,8184277,8184265,7934344,7934326,7934319,7819770,7796617,7796616,7791523,7790453,7779933,7751213,7751189,7747843,7646934,6970533,6693553,5525896,5525860,5473561,5440191,8797045,7790679,5910864,8797091,5910909,8797032,7747737,8752297,5910936,8752351,7747886,5512792';
imageSets[2] = '8930663,8832002,8831896,8643032,8597178,8597172,8597166,7819770,7796617,7796616,7791523,7790453,7779933,7751213,7751189,7747843,7646934,6970533,6693553,5525896,5525860,5473561,5440191,8797045,7790679,5910864,8597306,8797091,5910909,8797032,7747737,8752297,5910936,8752351,8797030,7747886,8752337,8752299,8752341,8797130,5512792,8797125';
imageSets[3] = '8594426,8587440,8587411,8587337,8579903,8579895,5525889,8752336,8797030';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/patburns/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/patburns/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/patburns/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/patburns/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/patburns/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/patburns/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/patburns/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/patburns/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Pat Burns 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.item_price !== '') {
																		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="burnspa@eircom.net">';
					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="burnspa@eircom.net">';
				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({					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;
	}
}

			

