function thumbnail(g,e,b,f,d,a,c){this.id=g;this.galleries_id=e;this.caption=b;this.src=getServerPath(c)+"/"+f;this.width=d;this.height=a}function gallery(e,c,d,b,a){this.id=e;this.featured_images=c;this.title=d;this.section_code=b;this.photoIDs=a}var thumbnails=new Object();thumbnails[1239438]=new thumbnail(1239438,"88018","Sunrise(2), Sanda Island","anothersunrise4_thumb.jpg",130,195,1);thumbnails[1239442]=new thumbnail(1239442,"88603","Southwards ","beachneardaliburghlookingtowardsbarra1_thumb.jpg",130,87,1);thumbnails[1239447]=new thumbnail(1239447,"88603","Beach, North Barra","beachnorthbarra1_thumb.jpg",130,87,1);thumbnails[1239453]=new thumbnail(1239453,"88603","Beach, Barra<br>\r\n","beachnorthwestbarra1_thumb.jpg",130,95,1);thumbnails[1239454]=new thumbnail(1239454,"88018","Misty New Year","BenLawersinsnow1_thumb.jpg",130,98,1);thumbnails[1239458]=new thumbnail(1239458,"88018","Christmas Eve","Christmaseve1_thumb.jpg",130,86,1);thumbnails[1239465]=new thumbnail(1239465,"88603","Brooding","Church, Mingulay, altered blanck and white clickpik_thumb.jpg",130,88,1);thumbnails[1239472]=new thumbnail(1239472,"88603","The Schoolhouse","buttercupsandschoolhousemingulay1_thumb.jpg",130,87,1);thumbnails[1239486]=new thumbnail(1239486,"88034","Who Knows Where the Time Goes?","dandelionclock1_thumb.jpg",130,87,1);thumbnails[1239491]=new thumbnail(1239491,"88603","Close to the Edge","mingulay cliffs 6_thumb.jpg",130,87,1);thumbnails[1239496]=new thumbnail(1239496,"88603","Eoligarry, Barra","eoligarrybarra1_thumb.jpg",130,87,1);thumbnails[1239500]=new thumbnail(1239500,"88018","Elie","EliefromoutsideShipInn1_thumb.jpg",130,98,1);thumbnails[1239505]=new thumbnail(1239505,"88018","Sunrise, Sanda Island","finalsunrise21_thumb.jpg",130,87,1);thumbnails[1239507]=new thumbnail(1239507,"88034","One in a Million","harebellsbaghbhatarsaighjpg1_thumb.jpg",130,123,1);thumbnails[1239508]=new thumbnail(1239508,"88603","Harebells, Bhatersaigh","harebellsbaghbhatarsaigh1_thumb.jpg",130,116,1);thumbnails[1239515]=new thumbnail(1239515,"88018","River Exe, Topsham","lightandboats1_thumb.jpg",130,90,1);thumbnails[1239523]=new thumbnail(1239523,"330008","MacArthur's Head Lighthouse, Islay","macarthurs headclikpick_thumb.jpg",130,121,1);thumbnails[1239525]=new thumbnail(1239525,"88603","Mingulay Church","mingulaychurch1_thumb.jpg",130,110,1);thumbnails[1239527]=new thumbnail(1239527,"330008","Morning Mist","mistportnangallan1_thumb.jpg",130,81,1);thumbnails[1239535]=new thumbnail(1239535,"88603","The Mites and the Mighty","peopleonmingulaycliffs1_thumb.jpg",130,89,1);thumbnails[1239537]=new thumbnail(1239537,"88603","Standing Stone, Pol a'Char","Pol a'Char Standing Stone5 clikpik_thumb.jpg",130,98,1);thumbnails[1239541]=new thumbnail(1239541,"88603","Red Clover, North-west Barra","redcloverandbeachnorthwestbarra1_thumb.jpg",130,87,1);thumbnails[1239548]=new thumbnail(1239548,"330008","The Longest Day","saligosunsetlongestday1_thumb.jpg",130,87,1);thumbnails[1239552]=new thumbnail(1239552,"88034","Poppy Field","smudgedpoppies1_thumb.jpg",130,173,1);thumbnails[1239553]=new thumbnail(1239553,"88034","Harebell - Watercolour Meadow","solitaryharebellbaghbhatarsaigh1_thumb.jpg",130,144,1);thumbnails[1239554]=new thumbnail(1239554,"88034","Solitary Harebell","solitaryharebellbaghbhatarsaighagainjpg1_thumb.jpg",130,138,1);thumbnails[1239556]=new thumbnail(1239556,"330017","The Same, Yet Different","stonestraighsiarbhatarsaigh1_thumb.jpg",130,195,1);thumbnails[1239559]=new thumbnail(1239559,"330017","Terraces","terraces1_thumb.jpg",130,98,1);thumbnails[1239563]=new thumbnail(1239563,"88603","Tràigh Sgùrabhal, Barra","traighsgurabhalbarra1_thumb.jpg",130,87,1);thumbnails[1239564]=new thumbnail(1239564,"88603","Tràigh Sgùrabhal (2), Barra","traighsgurabhalbarraagain2_thumb.jpg",130,87,1);thumbnails[1239566]=new thumbnail(1239566,"330017","Ivy Wall","IVYWAL~121_thumb.jpg",130,98,1);thumbnails[1239572]=new thumbnail(1239572,"88034","Thrift","Thrift1_thumb.jpg",130,98,1);thumbnails[1254753]=new thumbnail(1254753,"330017","Gull and Waves","gull and waves, Saligo_thumb.jpg",130,87,1);thumbnails[1282780]=new thumbnail(1282780,"","","Becky and her drumsquare_thumb.jpg",130,134,1);thumbnails[1319620]=new thumbnail(1319620,"330008","Colonsay Mist","Colonsay mist2_thumb.jpg",130,87,1);thumbnails[1581636]=new thumbnail(1581636,"330008","Colourful Stones, Lower Killeyan","colourful stones_thumb.jpg",130,86,1);thumbnails[1581641]=new thumbnail(1581641,"330008","Sunset over Atlantic","shade landscape_thumb.jpg",130,95,1);thumbnails[1581645]=new thumbnail(1581645,"330017","Autumn in Templeton Woods","templeton woods2_thumb.jpg",130,87,1);thumbnails[1950364]=new thumbnail(1950364,"330015","Charles Bridge, Prague","charles bridge blueish clikpik_thumb.jpg",130,77,1);thumbnails[1950365]=new thumbnail(1950365,"330015","Skyline with St Nicholas Church, Prague","skyline2 small_thumb.jpg",130,109,1);thumbnails[1950367]=new thumbnail(1950367,"330015","The Castle and St Vitus Cathedral at night, Prague","the palace2 small_thumb.jpg",130,70,1);thumbnails[1950375]=new thumbnail(1950375,"330008","Port nan Gallan, Islay","port nana gallan shade faithful_thumb.jpg",130,87,1);thumbnails[1950377]=new thumbnail(1950377,"330008","Sunset, Portintruan","sunset port ellen2_thumb.jpg",130,87,1);thumbnails[2035292]=new thumbnail(2035292,"330008","Lossit Bay, Islay","Lossit bay_thumb.jpg",130,91,1);thumbnails[2152736]=new thumbnail(2152736,"330013","Guirdil Bothy and Bloodstone Hill, Rum","bothy Rum bothyclickpick_thumb.jpg",130,87,1);thumbnails[2152741]=new thumbnail(2152741,"330017","Ripples","ripples1-01 clikpic_thumb.jpg",130,87,1);thumbnails[2152744]=new thumbnail(2152744,"330013","Solitude and sunset","sunset over Canna-01 clickpick_thumb.jpg",130,87,1);thumbnails[2152800]=new thumbnail(2152800,"330013","Camus Mor, Muck","camus mor small_thumb.jpg",130,87,1);thumbnails[2152806]=new thumbnail(2152806,"330013","Early morning at Guirdil Bay, Rum","early morning over Bloodstone Hill-01clickpiick_thumb.jpg",130,87,1);thumbnails[2152813]=new thumbnail(2152813,"330013","Guirdil Bay and Bothy, Rum","Guirdil bothy from hill-01small_thumb.jpg",130,82,1);thumbnails[2152847]=new thumbnail(2152847,"330013","Guirdil Bothy (2), Rum","bothy and hill, rum-01clikpik_thumb.jpg",130,87,1);thumbnails[2161326]=new thumbnail(2161326,"330017","Seaweed Lace","seaweed on Muck2 small_thumb.jpg",130,120,1);thumbnails[2162606]=new thumbnail(2162606,"330017","Roots","roots small_thumb.jpg",130,87,1);thumbnails[2164393]=new thumbnail(2164393,"330017","Green Splash","spleenwort-02 small_thumb.jpg",130,88,1);thumbnails[2322141]=new thumbnail(2322141,"330008","Glen Battrick, Jura","Glen Battrick 06 small_thumb.jpg",130,107,1);thumbnails[2322346]=new thumbnail(2322346,"330008","Mute Swan and family","mute swan and family, craighouse-01 small_thumb.jpg",130,184,1);thumbnails[2322370]=new thumbnail(2322370,"330008","Evan's Walk (2)","paps and cloud 02 small_thumb.jpg",130,80,1);thumbnails[2322386]=new thumbnail(2322386,"330008","Sunrise, Craighouse","sunrise, craighouse 01-01 small_thumb.jpg",130,57,1);thumbnails[2322475]=new thumbnail(2322475,"330008","Sunrise at Small Isles Bay","sunrise, craighuse 04-01small_thumb.jpg",130,69,1);thumbnails[2322488]=new thumbnail(2322488,"330008","Evan's walk","paps and pool small_thumb.jpg",130,88,1);thumbnails[2322495]=new thumbnail(2322495,"330008","Craighouse at Sunrise","craighouse at sunrise 02-01 small_thumb.jpg",130,87,1);thumbnails[2522288]=new thumbnail(2522288,"88603","Old and Worn, Taransay","Standing stone, Tarasaiogh stone-02 small_thumb.jpg",130,83,1);thumbnails[2522293]=new thumbnail(2522293,"330017","Seaweed and Shipwreck","seaweed and shipwreck, Lochmaddy-01 small_thumb.jpg",130,185,1);thumbnails[2522300]=new thumbnail(2522300,"88603","Redundant","old boat, west Lewis boat-02 small_thumb.jpg",130,157,1);thumbnails[2522303]=new thumbnail(2522303,"88603","Chapel at Taobh Tuath, Harris","Church at Northton small_thumb.jpg",130,87,1);thumbnails[2522308]=new thumbnail(2522308,"88603","Corran Rà from slopes of Beinn Rà,Taransay","Corran Raa small_thumb.jpg",130,87,1);thumbnails[2522313]=new thumbnail(2522313,"88603","Ready To Go","glorious beach, Tarsaigh-01 small_thumb.jpg",130,82,1);thumbnails[2522319]=new thumbnail(2522319,"88603","View North From Niosa Mhòr, Lewis","Niosa Mhor view_thumb.jpg",130,83,1);thumbnails[2522329]=new thumbnail(2522329,"88603","Bosta Beach, Lewis","Bosta beach 02 small_thumb.jpg",130,83,1);thumbnails[2522330]=new thumbnail(2522330,"88603","Chapel at Taobh Tuath (2),Harris","Chapel at Northton small_thumb.jpg",130,87,1);thumbnails[2522332]=new thumbnail(2522332,"88603","Stones at Callanish, Lewis","CallanisH STONES small_thumb.jpg",130,87,1);thumbnails[2522334]=new thumbnail(2522334,"88603","Beach at Taobh Tuath, Harris","beach at Taobh Tuath-01 small_thumb.jpg",130,87,1);thumbnails[2522335]=new thumbnail(2522335,"88603","Chapel at Taobh Tuath (3), Harris","Church at Northton-02 small_thumb.jpg",130,83,1);thumbnails[2522356]=new thumbnail(2522356,"88603","Redundant (2)","old boat, west Lewis-02 small_thumb.jpg",130,71,1);thumbnails[2522424]=new thumbnail(2522424,"88603","Rainbow over Loch na h-Uidhe, Taransay","rainbow over yacht in Loch na h-Uidhe, Tarasaigh-02 small_thumb.jpg",130,66,1);thumbnails[2552354]=new thumbnail(2552354,"330008","The Sun My Next Door Neighbour","30 july sunset small_thumb.jpg",130,87,1);thumbnails[2569720]=new thumbnail(2569720,"330008","A Camp Sunset","Bolsa sunset 14-01 small_thumb.jpg",130,125,1);thumbnails[2569734]=new thumbnail(2569734,"330008","Morning Glory","Bolsa arch small_thumb.jpg",130,85,1);thumbnails[2658694]=new thumbnail(2658694,"88034","Watercolour Meadow, Isle of Gigha","Purple Loosestrife, Gigha2-01 watercolour, small_thumb.jpg",130,99,1);thumbnails[2658699]=new thumbnail(2658699,"330016","Twin Beaches (South), Isle of Gigha","twin beaches south gigha small_thumb.jpg",130,84,1);thumbnails[2658751]=new thumbnail(2658751,"330016","Daisies","Daisies, twin beaches, gigha 02 small_thumb.jpg",130,79,1);thumbnails[2658752]=new thumbnail(2658752,"","Daisies, Gigha","Daisies, Gigha. North Beach small_thumb.jpg",130,87,1);thumbnails[2658753]=new thumbnail(2658753,"330016","Twin Beaches (South), Isle of Gigha","Twin beach south gigha 02 small_thumb.jpg",130,87,1);thumbnails[2658770]=new thumbnail(2658770,"88034","Watercolour Meadow, Isle of Gigha 2","Purple Loosestrife, Gigha-01watercolour small_thumb.jpg",130,89,1);thumbnails[3167790]=new thumbnail(3167790,"330008","Snow at last!","close up paps with snow sepia small_thumb.jpg",130,87,1);thumbnails[3167799]=new thumbnail(3167799,"330008","View from an Ice Rink","islay snow small_thumb.jpg",130,85,1);thumbnails[3167813]=new thumbnail(3167813,"330008","Adorned","paps snow small_thumb.jpg",130,87,1);thumbnails[3167896]=new thumbnail(3167896,"330008","Sun, snow and Paps","paps snow colour-01 small_thumb.jpg",130,87,1);thumbnails[3286675]=new thumbnail(3286675,"88018","Sunset over Loch Kishorn","39_thumb..jpg",130,82,1);thumbnails[3286686]=new thumbnail(3286686,"88018","The night before Christmas","21_thumb..jpg",130,85,1);thumbnails[3286696]=new thumbnail(3286696,"88018","The night before Christmas (2)","22_thumb..jpg",130,80,1);thumbnails[3286716]=new thumbnail(3286716,"88018","The End of the Old","59_thumb..jpg",130,179,1);thumbnails[3436078]=new thumbnail(3436078,"330008","Giùr-bheinn and Loch, Islay","Ghiur-bheinn and loch-01small_thumb.jpg",130,87,1);thumbnails[3436082]=new thumbnail(3436082,"330008","Giùr-bheinn and Loch (2), Islay","Ghiur-bheinn and loch colour-01_thumb.jpg",130,87,1);thumbnails[3436088]=new thumbnail(3436088,"330008","Just the Tops","Gruinart in Feb 2009 b&wsmall_thumb.jpg",130,87,1);thumbnails[4373644]=new thumbnail(4373644,"330008","Orsay Lighthouse, Islay","Orsay_lighthouse_blck_and_white_thumb.jpg",130,196,1);thumbnails[4373651]=new thumbnail(4373651,"330008","Lighthouse through the window ","lighthouse_through_the_window_thumb.jpg",130,197,1);thumbnails[4373681]=new thumbnail(4373681,"330008","Portnahaven from Orsay","Portnahaven_from_Orsay_thumb.jpg",130,87,1);thumbnails[4374626]=new thumbnail(4374626,"330013","The Conquest","11someone_atop_the_Sgurr_black_and_white_thumb.jpg",130,87,1);thumbnails[4374628]=new thumbnail(4374628,"330013","View from Sanday School, Small Isles","20_view_from_Sanday_black_and_white_thumb.jpg",130,86,1);thumbnails[4374630]=new thumbnail(4374630,"330013","Blurry Sgurr","daisies_and_the_Sgurr_6_thumb.jpg",130,86,1);thumbnails[4374631]=new thumbnail(4374631,"330013","View from the Sgurr of Eigg","The_trig_on_the_Sgurr_of_Eigg_thumb.jpg",130,85,1);thumbnails[4374634]=new thumbnail(4374634,"330013","Going with the Flow","32_view_from_Compassill_black_and_white_thumb.jpg",130,82,1);thumbnails[4374635]=new thumbnail(4374635,"330008","Port Wemyss","Port_Wemyss_from_Orsay_thumb.jpg",130,85,1);thumbnails[4374639]=new thumbnail(4374639,"88034","Washed out with Colour","washed_out_with_colour_thumb.jpg",130,195,1);thumbnails[4374641]=new thumbnail(4374641,"330008","Vast Expanses","vast_expanses_thumb.jpg",130,81,1);thumbnails[4374643]=new thumbnail(4374643,"330008","Kilinallan River","hareblls_and_Kilinallan_river_thumb.jpg",130,87,1);thumbnails[4374644]=new thumbnail(4374644,"330008","Westwards","Kilinallan_thumb.jpg",130,86,1);thumbnails[4374646]=new thumbnail(4374646,"330017","Lichen and Pier","lichen_on_pier_Ardlussa_thumb.jpg",130,129,1);thumbnails[4374647]=new thumbnail(4374647,"330017","Boat and Pier","boat_and_pier_at_Ardlussa_jura2_thumb.jpg",130,95,1);thumbnails[4374648]=new thumbnail(4374648,"330008","Ardlussa, Jura","Ardlussa_black_and_white_thumb.jpg",130,86,1);thumbnails[4374656]=new thumbnail(4374656,"330013","A Hole in the World","hole_at_singing_sands_black_and_white_thumb.jpg",130,80,1);thumbnails[4374657]=new thumbnail(4374657,"330013","The Finger of God","the_finger_of_God_black_and_white_thumb.jpg",130,86,1);thumbnails[4374662]=new thumbnail(4374662,"330013","The Chair of the Gods","12_massive_rock_black_and_white_thumb.jpg",130,83,1);thumbnails[4374663]=new thumbnail(4374663,"330013","Dramatic skyline from Laig Bay, Eigg","dramatic_skyoine_on_Eigg_thumb.jpg",130,86,1);thumbnails[4374665]=new thumbnail(4374665,"330013","View of Sanday and Rum from Carn a'Ghail, Canna","39_coming_down_the_hill_thumb.jpg",130,85,1);thumbnails[4374666]=new thumbnail(4374666,"330008","Cirrus","Sirrus_Port_Ellen_black_and_white_thumb.jpg",130,84,1);thumbnails[4388990]=new thumbnail(4388990,"88018","Blue and White","chalky_cliffs_thumb.jpg",130,64,1);thumbnails[4388992]=new thumbnail(4388992,"330008","Port Ellen Panorama","Port_Ellen_panorama_thumb.jpg",130,34,1);thumbnails[4388993]=new thumbnail(4388993,"88018","Farm at Compton Down, Isle of Wight","House_at_Compton_Down_thumb.jpg",130,87,1);thumbnails[4388995]=new thumbnail(4388995,"88018","St Abbs Cliffs","St_Abbs_panorama_thumb.jpg",130,77,1);thumbnails[4388996]=new thumbnail(4388996,"330017","You're the Top","top_of_Isle_of_May_lighthouse_thumb.jpg",130,90,1);thumbnails[5728388]=new thumbnail(5728388,"324519","Islay's Coastline ","Ilsay_book_thumb.jpg",130,87,1);thumbnails[5827359]=new thumbnail(5827359,"330008","Unnamed mountain, Islay (1)","Beinn_Uraraidh_2_from_NR_38_511_thumb.jpg",130,85,1);thumbnails[5829906]=new thumbnail(5829906,"330008","Unnamed mountain, Islay (2)","Beinn_Uraraidh_2_from_NR_39_50_black_and_white_2_thumb.jpg",130,86,1);thumbnails[5829922]=new thumbnail(5829922,"330008","Unnamed mountain, Islay (3)","Beinn_Uraraidh_from_NR_39_50_black_and_white_thumb.jpg",130,85,1);thumbnails[5829949]=new thumbnail(5829949,"330008","Unnamed mountain, Islay (4)","Beinn_Uraraidh_from_NR_39_50_black_and_white3_thumb.jpg",130,75,1);thumbnails[5829959]=new thumbnail(5829959,"330008","Unnamed mountain from Glenegedale Moor","Beinn_Uraraidh_with_lochan_HDR_black_and_white_thumb.jpg",130,87,1);thumbnails[5829967]=new thumbnail(5829967,"330008","Castlehill Farm","Castlehill_black_and_white_HDR_thumb.jpg",130,86,1);thumbnails[5829970]=new thumbnail(5829970,"330008","Castlehill from Glenegedale Moor","Castlehill_from_a_distance_thumb.jpg",130,85,1);thumbnails[5829973]=new thumbnail(5829973,"330008","Castlehill Farm from Glenegedale Moor","Castlehill_not_HDR_thumb.jpg",130,87,1);thumbnails[5829975]=new thumbnail(5829975,"330008","Castlehill Farm and Track","Castlehioll_HDR_and_track_thumb.jpg",130,83,1);thumbnails[5829976]=new thumbnail(5829976,"330008","Clouds over Glenegedale Moor","clouds_over_Glenegedale_thumb.jpg",130,87,1);thumbnails[5829980]=new thumbnail(5829980,"330008","Gleann a'Ghormlaich, Islay","Gleann_a_Ghormlaich_black_and_white_thumb.jpg",130,85,1);thumbnails[5829983]=new thumbnail(5829983,"330008","Gleann a'Ghormlaich, Islay","Gleann_a_Ghormlaich_NR_3850_thumb.jpg",130,87,1);thumbnails[5830023]=new thumbnail(5830023,"330013","Camus Mòr, Isle of Muck","camus_mor3_thumb.jpg",130,82,1);thumbnails[5830030]=new thumbnail(5830030,"330007","Flying By","ducks_and_lighthouse_thumb.jpg",130,128,1);thumbnails[5830041]=new thumbnail(5830041,"330007","The Lagoon, Venice","it_was_quite_choppy_thumb.jpg",130,59,1);thumbnails[5830069]=new thumbnail(5830069,"330007","The Grand Canal, Venice","The_Grand_Canal2jpg_thumb.jpg",130,79,1);thumbnails[5830081]=new thumbnail(5830081,"330007","Santa Maria della Salute and the Grand Canal, Venice","Santa_Maria_della_Salute2__thumb.jpg",130,195,1);thumbnails[5830202]=new thumbnail(5830202,"330007","Drying Colours","washing_in_venice10_thumb.jpg",130,87,1);thumbnails[5830444]=new thumbnail(5830444,"330008","Beinn Uraraidh","Beinn_Uraraidh_3_from_NR_39_50_HDR_thumb.jpg",130,87,1);thumbnails[5830469]=new thumbnail(5830469,"330007","Caught in the Wind","washing_in_venice4_4_thumb.jpg",130,199,1);thumbnails[5830473]=new thumbnail(5830473,"330007","Side by side","two_gondolas_thumb.jpg",130,122,1);thumbnails[5830491]=new thumbnail(5830491,"330007","View from Accademia Bridge at night.","Accademia_bridge_atn_ight_thumb.jpg",130,124,1);thumbnails[5830516]=new thumbnail(5830516,"330006","Last Port of Call","old_boat2_thumb.jpg",130,97,1);thumbnails[5830524]=new thumbnail(5830524,"330006","Rocks at Mull Head, Papa Westray","rocks_at_Mull_Head_thumb.jpg",130,83,1);thumbnails[5830526]=new thumbnail(5830526,"330006","The Old Mill, Papa Westray, Orkney Isles","the_old_mill2_thumb.jpg",130,87,1);thumbnails[5830529]=new thumbnail(5830529,"330006","The Stonecrusher, Papa Westray","the_stonecrusher_north_hill_thumb.jpg",130,86,1);thumbnails[5830539]=new thumbnail(5830539,"330006","Moclett Bay, Papa Westray","Moclett_Bay_thumb.jpg",130,93,1);thumbnails[5830543]=new thumbnail(5830543,"330006","Traction Engine, Papa Westray","traction_engine_square_thumb.jpg",130,128,1);thumbnails[5830573]=new thumbnail(5830573,"330017","Through the Keyhole","through_the_keyhole_thumb.jpg",130,87,1);thumbnails[5830581]=new thumbnail(5830581,"330006","Gold over Papay","rainbow_over_papay_thumb.jpg",130,87,1);thumbnails[5830590]=new thumbnail(5830590,"330008","Rubh a'Mhail Lighthouse","Rubh_a_Mhail_lighthouse4_thumb.jpg",130,175,1);thumbnails[5830597]=new thumbnail(5830597,"330008","Rubh a'Mhail Lighthouse","Rubh_a_Mhail_lighthouse5_thumb.jpg",130,186,1);thumbnails[5830604]=new thumbnail(5830604,"330008","Waterfall on way to Rubh a'Mhail Lighthouse, Islay","waterfall_on_way_to_Rubh_aMhail_thumb.jpg",130,195,1);thumbnails[5830612]=new thumbnail(5830612,"330008","Sanaigmore from Sanaig Rocks","looking_north_black_and_white3_thumb.jpg",130,86,1);thumbnails[5830656]=new thumbnail(5830656,"330008","Panorama of Frederick Crescent, Port Ellen, Islay","Port_Ellen_panorama1_thumb.jpg",130,47,1);thumbnails[5830660]=new thumbnail(5830660,"330008","Panorama of Frederick Crescent, Port Ellen, Islay","Port_Ellen_panorama_black_and_white_thumb.jpg",130,47,1);thumbnails[5830669]=new thumbnail(5830669,"330008","Frederick Crescent, Port Ellen, Islay","Columba_hall_situation_thumb.jpg",130,129,1);thumbnails[5830672]=new thumbnail(5830672,"330008","Frederick Crescent, Port Ellen, Islay","Port_Ellen_black_and_white_thumb.jpg",130,84,1);thumbnails[5830674]=new thumbnail(5830674,"330008","Frederick Crescent, Port Ellen, Islay","Port_Ellen_thumb.jpg",130,87,1);thumbnails[5831080]=new thumbnail(5831080,"330017","Colours of Venice","colours_of_venice_thumb.jpg",130,89,1);thumbnails[5831081]=new thumbnail(5831081,"330007","","rialto5_thumb.jpg",130,131,1);thumbnails[5917311]=new thumbnail(5917311,"333950","Islay Calendar 2011 - example of page","Calendar_20112_thumb.JPG",130,170,1);thumbnails[5917313]=new thumbnail(5917313,"333950","Islay Calendar 2011","Calendar_2011_thumb.JPG",130,161,1);var galleries=new Object();galleries[330017]=new gallery(330017,"5831080,5830573,4388996,4374647,4374646,2522293,2164393,2162606,2161326,2152741,1254753,1239566,1239559,1239556","Abstract","gallery",[1239556,1239559,1239566,1254753,1581645,2152741,2161326,2162606,2164393,2522293,4374646,4374647,4388996,5830573,5831080]);galleries[333950]=new gallery(333950,"5917313,5917311","Calendars","gallery",[5917311,5917313]);galleries[88034]=new gallery(88034,"4374639,2658770,2658694","Flowers ","gallery",[1239486,1239507,1239552,1239553,1239554,1239572,2658694,2658770,4374639]);galleries[330016]=new gallery(330016,"2658753,2658751,2658699","Gigha","gallery",[2658699,2658751,2658753]);galleries[324519]=new gallery(324519,"5728388","Islay's Coastline Book","gallery",[5728388]);galleries[330008]=new gallery(330008,"5830674,5830672,5830669,5830660,5830656,5830612,5830604,5830597,5830590,5830444,5829983,5829980,5829976,5829975,5829973,5829970,5829967,5829959,5829949,5829922,5829906,5827359,4388992,4374666,4374648,4374644,4374643,4374641,4374635,4373681,4373651,4373644,3436088,3436082,3436078,3167896,3167813,3167799,3167790,2569734,2569720,2552354,2322495,2322488,2322475,2322386,2322370,2322346,2322141,2035292,1950377,1950375,1581641,1581636,1239548,1239527,1239523","Islay, Jura and Colonsay","gallery",[1239523,1239527,1239548,1319620,1581636,1581641,1950375,1950377,2035292,2322141,2322346,2322370,2322386,2322475,2322488,2322495,2552354,2569720,2569734,3167790,3167799,3167813,3167896,3436078,3436082,3436088,4373644,4373651,4373681,4374635,4374641,4374643,4374644,4374648,4374666,4388992,5827359,5829906,5829922,5829949,5829959,5829967,5829970,5829973,5829975,5829976,5829980,5829983,5830444,5830590,5830597,5830604,5830612,5830656,5830660,5830669,5830672,5830674]);galleries[88018]=new gallery(88018,"4388995,4388993,4388990,3286716,3286696,3286686,3286675,1239515,1239505,1239500,1239454,1239438","Landscapes","gallery",[1239438,1239454,1239458,1239500,1239505,1239515,3286675,3286686,3286696,3286716,4388990,4388993,4388995]);galleries[330006]=new gallery(330006,"5830581,5830543,5830539,5830529,5830526,5830524,5830516","Orkney Isles","gallery",[5830516,5830524,5830526,5830529,5830539,5830543,5830581]);galleries[88603]=new gallery(88603,"2522424,2522356,2522335,2522334,2522332,2522330,2522329,2522319,2522313,2522308,2522303,2522300,2522288,1239537,1239535,1239508,1239465,1239442","Outer Hebrides","gallery",[1239442,1239447,1239453,1239465,1239472,1239491,1239496,1239508,1239525,1239535,1239537,1239541,1239563,1239564,2522288,2522300,2522303,2522308,2522313,2522319,2522329,2522330,2522332,2522334,2522335,2522356,2522424]);galleries[330015]=new gallery(330015,"1950367,1950365,1950364","Prague","gallery",[1950364,1950365,1950367]);galleries[330013]=new gallery(330013,"5830023,4374665,4374663,4374662,4374657,4374656,4374634,4374631,4374630,4374628,4374626,2152847,2152813,2152806,2152800,2152744,2152736","The Small Isles","gallery",[2152736,2152744,2152800,2152806,2152813,2152847,4374626,4374628,4374630,4374631,4374634,4374656,4374657,4374662,4374663,4374665,5830023]);galleries[330007]=new gallery(330007,"5831081,5830491,5830473,5830469,5830202,5830081,5830069,5830041,5830030","Venice","gallery",[5830030,5830041,5830069,5830081,5830202,5830469,5830473,5830491,5831081]);var imageSets=new Object();imageSets[1]="5831081,5831080,5830674,5830672,5830669,5830660,5830656,5830612,5830604,5830597,5830590,5830581,5830573,5830543,5830539,5830529,5830526,5830524,5830516,5830491,5830473,5830469,5830444,5830202,5830081,5830069,5830041,5830030,5830023,5829983,5829980,5829976,5829975,5829973,5829970,5829967,5829959,5829949,5829922,5829906,5827359,5728388,4388996,4388995,4388993,4388992,4388990,4374666,4374665,4374663,4374662,4374657,4374656,4374648,4374647,4374646,4374644,4374643,4374641,4374639,4374635,4374634,4374631,4374630,4374628,4374626,4373681,4373651,4373644,3436088,3436082,3436078,3286716,3286696,3286686,3286675,3167896,3167813,3167799,3167790,2658770,2658753,2658752,2658751,2658699,2658694,2569734,2569720,2552354,2522424,2522356,2522335,2522334,2522332,2522330,2522329,2522319,2522313,2522308,2522303,2522300,2522293,2522288,2322495,2322488,2322475,2322386,2322370,2322346,2322141,2164393,2162606,2161326,2152847,2152813,2152806,2152800,2152744,2152741,2152736,2035292,1950377,1950375,1950367,1950365,1950364,1581641,1581636,1319620,1254753,1239572,1239566,1239564,1239563,1239559,1239556,1239554,1239553,1239552,1239548,1239541,1239537,1239535,1239527,1239525,1239523,1239515,1239508,1239507,1239505,1239500,1239496,1239491,1239486,1239472,1239465,1239458,1239454,1239453,1239447,1239442,1239438";imageSets[2]="5831081,5831080,5830674,5830672,5830669,5830660,5830656,5830612,5830604,5830597,5830590,5830581,5830573,5830543,5830539,5830529,5830526,5830524,5830516,5830491,5830473,5830469,5830444,5830202,5830081,5830069,5830041,5830030,5830023,5829983,5829980,5829976,5829975,5829973,5829970,5829967,5829959,5829949,5829922,5829906,5827359,5728388,4388996,4388995,4388993,4388992,4388990,4374666,4374665,4374663,4374662,4374657,4374656,4374648,4374647,4374646,4374644,4374643,4374641,4374639,4374635,4374634,4374631,4374630,4374628,4374626,4373681,4373651,4373644,3436088,3436082,3436078,3286716,3286696,3286686,3286675,3167896,3167813,3167799,3167790,2658770,2658753,2658752,2658751,2658699,2658694,2569734,2569720,2552354,2522424,2522356,2522335,2522334,2522332,2522330,2522329,2522319,2522313,2522308,2522303,2522300,2522293,2522288,2322495,2322488,2322475,2322386,2322370,2322346,2322141,2164393,2162606,2161326,2152847,2152813,2152806,2152800,2152744,2152741,2152736,2035292,1950377,1950375,1950367,1950365,1950364,1581641,1581636,1254753,1239566,1239559,1239556,1239548,1239537,1239535,1239527,1239523,1239515,1239508,1239505,1239500,1239465,1239454,1239442,1239438";imageSets[3]="5831081,5831080,5830674,5830672,5830669,5830660,5830656,5830612,5830604,5830597,5830590,5830581,5830573,5830543,5830539,5830529,5830526,5830524,5830516,5830491,5830473,5830469,5830444,5830202,5830081,5830069,5830041,5830030,5830023,5829983,5829980,5829976,5829975,5829973,5829970,5829967,5829959,5829949,5829922,5829906,5827359,5728388,4388996,4388995,4388993,4388992,4388990,4374666,4374665,4374663,4374662,4374657,4374656,4374648,4374647,4374646,4374644,4374643,4374641,4374639,4374635,4374634,4374631,4374630,4374628,4374626,4373681,4373651,3436082,3167896,2658751,2658699,2569734,2569720,2552354,2522356,2522332,2522330,2522319,2522308,2522303,2522300,2522293,2522288,2322495,2322488,2322475,2322386,2322370,2322346,2164393,2162606,2161326,2152847,2152813,2152806,2152744,2152741,2035292,1950377,1950375,1950365,1950364,1581641,1581636,1254753,1239566,1239559,1239556,1239548,1239527,1239523";function randomListVal(a){arrayVals=a.split(",");if(arrayVals.length){pos=Math.round(Math.random()*(arrayVals.length-1));val=arrayVals[pos]}else{val=0}return val}function getServerPath(a){var b=-1;switch(a){case 21:b="http://www6.clikpic.com/beckywilliamson/images";break}switch(a){case 1:b="http://www1.clikpic.com/beckywilliamson/images";break}switch(a){case 2:b="http://admin.clikpic.com/beckywilliamson/images";break}switch(a){case 24:b="http://tpc15/clikpic/beckywilliamson/images";break}switch(a){case 4:b="http://www.clikchurch.com/beckywilliamson/images";break}switch(a){case 5:b="http://www2.clikpic.com/beckywilliamson/images";break}switch(a){case 22:b="http://tpc5/clikpic/beckywilliamson/images";break}switch(a){case 23:b="http://tpc10/clikpic/beckywilliamson/images";break}switch(a){case 25:b="http://tpc16/clikpic/beckywilliamson/images";break}switch(a){case 15:b="http://www3.clikpic.com/beckywilliamson/images";break}switch(a){case 18:b="http://www4.clikpic.com/beckywilliamson/images";break}switch(a){case 19:b="http://www5.clikpic.com/beckywilliamson/images";break}switch(a){case 31:b="http://www7.clikpic.com/beckywilliamson/images";break}switch(a){case 32:b="http://admin2.clikpic.com/beckywilliamson/images";break}switch(a){case 33:b="http://www8.clikpic.com/beckywilliamson/images";break}switch(a){case 34:b="http://www9.clikpic.com/beckywilliamson/images";break}switch(a){case 35:b="http://admin3.clikpic.com/beckywilliamson/images";break}switch(a){case 37:b="http://admin4.clikpic.com/beckywilliamson/images";break}return b}function showHomeImage(a){imageID=randomListVal("");if(!basic){a.src=photos[imageID].src;a.width=photos[imageID].width;a.height=photos[imageID].height}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function showHomeImageInline(){html="";imageID=randomListVal(imageSets[1]);if("gallery"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="gallery.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+escape(backgrounds[imageID].caption)+'" border="0">';if("gallery"!=""){html+="</a>"}$("#homepageimage").html(html)}function getNextId(b,d,a){var c=getArrayPos(d,b);if(a){if(c==0){nextImgPos=d.length-1}else{nextImgPos=c-1}}else{if(c==d.length-1){nextImgPos=0}else{nextImgPos=c+1}}nextImg=d[nextImgPos];return nextImg}function next(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a);if(nextImg!=-1){updateImage(nextImg,d,b)}}function updateImage(f,e,b){if(!basic){document.getElementById("imagePhoto").innerHTML='<img class="mainphoto photo" src="'+photos[f].src+' " id="mainPic" name="mainPic" width="'+photos[f].width+'" height="'+photos[f].height+'" alt="'+photos[f].caption+'">';e.value=photos[f].id;$("#imageTitle").html(photos[f].caption);document.title="Becky Drew Pictures: "+photos[f].caption;if(photos[f].caption==""){document.getElementById("imageTitle").style.display="none"}else{document.getElementById("imageTitle").style.display="block"}var a=fnGetImageDetails(f);if(a==""){document.getElementById("imageDetails").style.display="none";var c=document.getElementById("infoWrap");var d=document.getElementById("photoInfo");if(photos[f].caption==""){if(c!=null){c.className="empty"}if(d!=null){d.className="empty"}}else{if(c!=null){c.className="noinfo"}if(d!=null){d.className="noinfo"}}}else{document.getElementById("imageDetails").style.display="block";var c=document.getElementById("infoWrap");if(c!=null){c.className="normal"}var d=document.getElementById("photoInfo");if(d!=null){d.className="normal"}}document.getElementById("imageDetails").innerHTML=a;toggleAddToCartConfirm()}else{window.location="photo_"+photos[f].id+".html"}}function toggleAddToCartConfirm(){if($("#paymentConfirm").size()){$("#paymentConfirm").hide();$("#paymentAddButton").unbind().click(function(){form=document.getElementById("paymentForm");option_id=0;if(form.item_option.value){option_id=form.item_option.value}if(addItemToBasket(form.item_number.value,photos,form.site.value,parseInt(form.quantity.value,10),option_id)){if($.browser.msie){$("#paymentConfirm").text("Item added to cart").show()}else{$("#paymentConfirm").text("Item added to cart").fadeIn()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}a=a+fnGetPaymentInfo(photos[b]);if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Buy now using PayPal:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 				&pound;"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Buy this item online</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<select class="paymentlink" name="payment_options_id" onchange="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';b=b+getPaymentOptions(c.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[c.payment_groups_id].options[0];if(paymentOptions[a]){var e=paymentOptions[a].payment_option;var d=paymentOptions[a].price}}else{}}if(c.item_price!==""||c.payment_groups_id!==""){b=b+'<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="item_name" value="'+e+'">';ref="";if(c.photo_ref!=""){ref=c.photo_ref+" - "+c.caption}else{ref=c.id+" - "+c.caption}price=d;b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="sales@solus-is-sith.co.uk">';b=b+'<input type="hidden" name="currency_code" value="GBP">';b=b+'<input type="hidden" name="add" value="1">';b=b+'<input type="hidden" name="amount" value="'+d+'">';b=b+'<input type="hidden" name="item_number" value="'+ref+'">';b=b+'<input type="Submit" value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="sales@solus-is-sith.co.uk">';b=b+'<input type="hidden" name="display" value="1">';b=b+'<input type="Submit" value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};