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[358626]=new thumbnail(358626,"7494","Daffodils","daffodils1_thumb.jpg",130,100,1);thumbnails[358627]=new thumbnail(358627,"7494","Footbridge and Stream","footbridgeatladew_thumb.jpg",130,100,1);thumbnails[358629]=new thumbnail(358629,"7494","Garden Stream","ladewgardenstream_thumb.jpg",130,100,1);thumbnails[358633]=new thumbnail(358633,"7494","Topiary Bird & Tulips","ladewtopiarygarden1_thumb.jpg",130,203,1);thumbnails[358634]=new thumbnail(358634,"7494","Topiary Pathway","ladewtopiartygardens22_thumb.jpg",130,100,1);thumbnails[358636]=new thumbnail(358636,"7494","Walkway with Tulips","ladewwalkwaywithtulips_thumb.jpg",130,100,1);thumbnails[358637]=new thumbnail(358637,"7494","White Blossom in Spring","ladewwhitebloom_thumb.jpg",130,203,1);thumbnails[358638]=new thumbnail(358638,"7494","Yellow Blossom in Spring","ladewyellowbloom_thumb.jpg",130,100,1);thumbnails[358639]=new thumbnail(358639,"7494","Pink Tulip Glowing","pinktulipglowing_thumb.jpg",130,115,1);thumbnails[358640]=new thumbnail(358640,"7494","Red Tulip","redtulip_thumb.jpg",130,115,1);thumbnails[358641]=new thumbnail(358641,"7494","Red Tulips in Sunlight","redtulips_thumb.jpg",130,100,1);thumbnails[358642]=new thumbnail(358642,"7494","Southern Blooms in Pink","southernblooms_thumb.jpg",130,100,1);thumbnails[358643]=new thumbnail(358643,"7494","Trees in Bloom","treesinbloom_thumb.jpg",130,203,1);thumbnails[358644]=new thumbnail(358644,"7494","Garden Waterfall","waterfallatladewtopiarygardens_thumb.jpg",130,203,1);thumbnails[358661]=new thumbnail(358661,"6354","Clouds<br>\r\nRocky Mountain National Park","cloudsontrailridgeroadB&W_thumb.jpg",130,96,1);thumbnails[358662]=new thumbnail(358662,"6354","Thundercloud<br>\r\nRocky Mountain National Park","thundercloudontrailridgeroad_thumb.jpg",130,99,1);thumbnails[360062]=new thumbnail(360062,"6356","Alluvial Falls<br>\r\nRocky Mountain National Park<br>\r\nColorado","AlluvialFalls_thumb.jpg",130,194,1);thumbnails[360063]=new thumbnail(360063,"6356","Waterfall<br>\r\nRocky Mountains<br>\r\nColorado","bearlakeroadwaterfall_thumb.jpg",130,113,1);thumbnails[360064]=new thumbnail(360064,"6356","Johnson Canyon Waterfall<br>\r\nBanff National Park","JohnsonCanyonWaterfall_thumb.jpg",130,160,1);thumbnails[360065]=new thumbnail(360065,"6356","waterfall<br>\r\nRocky Mountain National Park<br>\r\n","riverinbearlakeareaRMNP_thumb.jpg",130,203,1);thumbnails[360066]=new thumbnail(360066,"6356","Tequammenon Falls<br>\r\nLower Falls<br>\r\nUpper Peninsula, Michigan","TaquammenonLowerFalls_thumb.jpg",130,96,1);thumbnails[360088]=new thumbnail(360088,"9178","Abandoned Machinery","abandonedmachinery2_thumb.jpg",130,100,1);thumbnails[360089]=new thumbnail(360089,"9178","Abandoned Shed","abandonedshed1_thumb.jpg",130,171,1);thumbnails[360090]=new thumbnail(360090,"9178","Bricks, Light and Rainwater","brickslight&water toned1_thumb.jpg",130,247,1);thumbnails[360091]=new thumbnail(360091,"9178","Abandoned Work Glove","BrickworksGlovestoned1_thumb.jpg",130,199,1);thumbnails[360092]=new thumbnail(360092,"9178","Light and Shadow in the Tunnel","brickworkstunnel1_thumb.jpg",130,96,1);thumbnails[360093]=new thumbnail(360093,"9178","Bricks and Ladders","ladderandbricks1_thumb.jpg",130,102,1);thumbnails[360094]=new thumbnail(360094,"9178","Empty Spaces","openspace1_thumb.jpg",130,96,1);thumbnails[360095]=new thumbnail(360095,"9178","Prayer at the Tunnel","prayingatthetunnelduotone1_thumb.jpg",130,99,1);thumbnails[360096]=new thumbnail(360096,"9178","Sunbeams in the Old Factory","sunbeamsandindustry1_thumb.jpg",130,195,1);thumbnails[360097]=new thumbnail(360097,"9178","The Race for Dominance is Over","theracefordominanceisover1_thumb.jpg",130,100,1);thumbnails[361114]=new thumbnail(361114,"6358","Curved Leaf","curvedleafmacro1_thumb.jpg",130,101,1);thumbnails[361116]=new thumbnail(361116,"6358","Leaf in Sand","decemberleafupperpeninsula1_thumb.jpg",130,101,1);thumbnails[361120]=new thumbnail(361120,"6887","Ferns Pattern","fernsattequamennon1_thumb.jpg",130,97,1);thumbnails[361121]=new thumbnail(361121,"6358","Frosty Leaves at Sunrise","frostyfallleaves1_thumb.jpg",130,159,1);thumbnails[361125]=new thumbnail(361125,"6358","Old Man Tree Stump","oldmantreestump1_thumb.jpg",130,108,1);thumbnails[361131]=new thumbnail(361131,"6358","Sand Tree","sandtree2_thumb.jpg",130,102,1);thumbnails[361174]=new thumbnail(361174,"7494","Garden Color Riot","gardencolorriot_thumb.jpg",130,103,1);thumbnails[361177]=new thumbnail(361177,"7494","Garden Walkway in Glowing Light","glowinggardenwalkway_thumb.jpg",130,105,1);thumbnails[361179]=new thumbnail(361179,"6887","Orange & Red Bloom","sunflowermacro1_thumb.jpg",130,109,1);thumbnails[361180]=new thumbnail(361180,"6887","Orange & Red Bloom # 2","sunflowermacro2_thumb.jpg",130,105,1);thumbnails[361327]=new thumbnail(361327,"6353","Autumn Morning","autumnmorning_thumb.jpg",130,101,1);thumbnails[361334]=new thumbnail(361334,"6353","IceFields Parkway<br>\r\nBanff National Park","icefieldsparkway_thumb.jpg",130,108,1);thumbnails[361336]=new thumbnail(361336,"6353","Mt. Rundle<br>\r\nBanff National Park","mtrundlebanffnationalpark_thumb.jpg",130,108,1);thumbnails[361338]=new thumbnail(361338,"6353","Sunrise and Full Moon","sunrise&fullmoontrrrmnp_thumb.jpg",130,76,1);thumbnails[361339]=new thumbnail(361339,"6353","February Sunrise","sunrisekensingtonfebruary_thumb.jpg",130,92,1);thumbnails[361340]=new thumbnail(361340,"6353","Clearing Storm","sunsetbigbeavermeadowrmnp_thumb.jpg",130,96,1);thumbnails[361343]=new thumbnail(361343,"6353","Sunset<br>\r\nOld Mission Peninsula<br>\r\nMichigan","sunsetoldmissionpeninsula_thumb.jpg",130,98,1);thumbnails[361344]=new thumbnail(361344,"6353","Vermillion Lake<br>\r\nBanff National Park","vermillionlakebanffnatlpark_thumb.jpg",130,106,1);thumbnails[361347]=new thumbnail(361347,"6353","Going to the Sun in Clouds #1<br>\r\nGlacier National Park","goingtothesunroad1_thumb.jpg",130,111,1);thumbnails[361348]=new thumbnail(361348,"6353","Going to the Sun in Clouds #2<br>\r\nGlacier National Park","goingtothesunroad2_thumb.jpg",130,106,1);thumbnails[361393]=new thumbnail(361393,"6358","Dancing Tree Trunks","dancingtreetrunks_thumb.jpg",130,100,1);thumbnails[361395]=new thumbnail(361395,"6355","Foot Bridge and Autumn Color","autumnfootbridge_thumb.jpg",130,200,1);thumbnails[361396]=new thumbnail(361396,"6355","Birch Trees and Wildflowers<br>\r\nColorado","birchwoodsrmnp_thumb.jpg",130,100,1);thumbnails[361397]=new thumbnail(361397,"6355","Boathouse<br>\r\nLeland, Michigan","boathouse_thumb.jpg",130,204,1);thumbnails[361398]=new thumbnail(361398,"6355","Footbridge and Ice","curvedfootbridge&ice_thumb.jpg",130,102,1);thumbnails[361399]=new thumbnail(361399,"6355","Fall Color Reflecting<br>\r\nKensington Metro Park, Michigan","fallcolor_thumb.jpg",130,96,1);thumbnails[361400]=new thumbnail(361400,"6355","Frozen Waterfall","frozenwaterfall_thumb.jpg",130,203,1);thumbnails[361401]=new thumbnail(361401,"6355","Swans in Mist at Sunrise","mistyswansatsunrise_thumb.jpg",130,99,1);thumbnails[361402]=new thumbnail(361402,"6355","Old Forest Tree","oldforesttree_thumb.jpg",130,181,1);thumbnails[362877]=new thumbnail(362877,"9178","Framed in Snow","barnframe_thumb.jpg",130,94,1);thumbnails[362878]=new thumbnail(362878,"9178","Bicycle","bicycle_thumb.jpg",130,100,1);thumbnails[362879]=new thumbnail(362879,"9178","Child's Wagon","childswagon_thumb.jpg",130,108,1);thumbnails[362880]=new thumbnail(362880,"9178","Harper's Ferry # 2","dam_thumb.jpg",130,100,1);thumbnails[362881]=new thumbnail(362881,"9178","Framed Tree","framedtree_thumb.jpg",130,127,1);thumbnails[362882]=new thumbnail(362882,"9178","Harper's Ferry # 1","harpersferryhome_thumb.jpg",130,124,1);thumbnails[362883]=new thumbnail(362883,"9178","Farmhouse # 2","livingstoncountyfarmhouse_thumb.jpg",130,100,1);thumbnails[362885]=new thumbnail(362885,"9178","Remnants # 2","ruinedcivilwarhouse_thumb.jpg",130,200,1);thumbnails[362886]=new thumbnail(362886,"9178","Remnants","stonefoundationcivilwar_thumb.jpg",130,100,1);thumbnails[362887]=new thumbnail(362887,"9178","Farmhouse # 1","wintryfarmhouse_thumb.jpg",130,121,1);thumbnails[363197]=new thumbnail(363197,"6358","Wildflowers","wildsunflowersatkensington2_thumb.jpg",130,98,1);thumbnails[363338]=new thumbnail(363338,"6357","Coyote Pups<br>\r\nRocky Mountain National Park<br>\r\nColorado","coyotepuppiescolorado1_thumb.jpg",130,106,1);thumbnails[363339]=new thumbnail(363339,"6357","Deer in Meadow<br>\r\nKensington Metro Park<br>\r\nMichigan<br>\r\n","deerinmeadow1_thumb.jpg",130,118,1);thumbnails[363341]=new thumbnail(363341,"6357","Great Blue Heron","greatblueheron1_thumb.jpg",130,97,1);thumbnails[363342]=new thumbnail(363342,"6357","Heron, Tree & Cloud","heronintree&cloud1_thumb.jpg",130,106,1);thumbnails[363344]=new thumbnail(363344,"6357","Nesting Swan","nestingswan1_thumb.jpg",130,99,1);thumbnails[363345]=new thumbnail(363345,"6357","Sandhill Cranes","sandhillscranes1_thumb.jpg",130,82,1);thumbnails[363347]=new thumbnail(363347,"6357","Swan and Chicks","swan&chicks_thumb.jpg",130,124,1);thumbnails[363375]=new thumbnail(363375,"6357","Heron Reflecting","heronreflecting copy1_thumb.jpg",130,201,1);thumbnails[363451]=new thumbnail(363451,"6887","Graphic Cat","graphicskully_thumb.jpg",130,136,1);thumbnails[363452]=new thumbnail(363452,"6887","Honey Jar in Morning Light","honeyjarinmorninglight_thumb.jpg",130,203,1);thumbnails[363454]=new thumbnail(363454,"6887","Kiddush","kiddush2_thumb.jpg",130,203,1);thumbnails[363455]=new thumbnail(363455,"6887","Water Pitcher","pitcherinmorninglight_thumb.jpg",130,201,1);thumbnails[366511]=new thumbnail(366511,"6355","Swans on Lake in Winter","swansonice2_thumb.jpg",130,83,1);thumbnails[446571]=new thumbnail(446571,"6356","Chapel Falls<br>\r\nUpper Peninsula, Michigan","Chapel Falls B & W copy_thumb.jpg",130,104,1);thumbnails[446575]=new thumbnail(446575,"6353","Lake Superior Sunrise<br>\r\nUpper Peninsula, Michigan","Lake Superior sunrise August 20061_thumb.jpg",130,104,1);thumbnails[448138]=new thumbnail(448138,"6353","Lake Superior Sunset<br>\r\nUpper Peninsula, Michigan","Lake Superior sunset_thumb.jpg",130,105,1);thumbnails[468717]=new thumbnail(468717,"6355","Frost, Fog & Spiderweb","frost fog spiderweb web version_thumb.jpg",130,103,1);thumbnails[470962]=new thumbnail(470962,"6353","Rocky Mountain Rainbows","rainbows intense for web_thumb.jpg",130,105,1);thumbnails[500305]=new thumbnail(500305,"6358","Fall Wildflowers & Dew<br>\r\nKensington Metro Park<br>\r\nMichigan","fllwildflowers&dew1_thumb.jpg",130,114,1);thumbnails[504444]=new thumbnail(504444,"6355","Misty Dawn & Fallen Tree<br>\r\nKensington Metro Park<br>\r\nMichigan","mistydawnonfallentreeB&Wweb_thumb.jpg",130,100,1);thumbnails[559173]=new thumbnail(559173,"6356","Seven Bridges in August","Seven Bridges in August_thumb.jpg",130,105,1);thumbnails[591187]=new thumbnail(591187,"6355","Seven Bridges Towards the Light","woods at 7 bridges high key1_thumb.jpg",130,82,1);thumbnails[624645]=new thumbnail(624645,"6887","Rose in Light & Red","rose in light & red_thumb.jpg",130,202,1);thumbnails[711358]=new thumbnail(711358,"6353","Icy Tree at Sunrise","icy tree at sunrise_thumb.jpg",130,118,1);thumbnails[711359]=new thumbnail(711359,"6353","Storm on Lake Superior","storm on Lk Superior_thumb.jpg",130,105,1);thumbnails[711360]=new thumbnail(711360,"6353","Sunrise and Ice","sunrise no 1 copy_thumb.jpg",130,97,1);thumbnails[711361]=new thumbnail(711361,"6353","Sunrise on Lake Superior<br>\r\nDecember, 2006","sunrise on Lk Superior Dec 2006 copy_thumb.jpg",130,103,1);thumbnails[711362]=new thumbnail(711362,"6353","Self-Portrait","self portrait_thumb.jpg",130,205,1);thumbnails[735973]=new thumbnail(735973,"6353","Storm on Lake Superior no. 2<br>\r\nUpper Peninsula, Michigan","Storm on Lake Superior no_thumb.jpg",130,117,1);thumbnails[735974]=new thumbnail(735974,"6355","Icy Tree on Tequammenon River","icy tree on Tequammenon River_thumb.jpg",130,105,1);thumbnails[855371]=new thumbnail(855371,"9178","Old Barn - 7 Bridges Road","old barn - TC 2006_thumb.jpg",130,151,1);thumbnails[855374]=new thumbnail(855374,"9178","Old Schoolhouse - 7 Bridges Road","old school house - TC 2006_thumb.jpg",130,205,1);thumbnails[855375]=new thumbnail(855375,"9178","Crumbling Walls - 7 Bridges Road","stone wall sepia version - TC 2006_thumb.jpg",130,99,1);thumbnails[859299]=new thumbnail(859299,"9178","Abandoned Farmhouse in Moonlight","abandoned farmhouse in moonlight_thumb.jpg",130,214,1);thumbnails[953064]=new thumbnail(953064,"6353","Sunset Before Storm<br>\r\nKensington Metro Park<br>\r\nApril, 2007","Sunset Before Storm April 29 2007_thumb.jpg",130,102,1);thumbnails[1196256]=new thumbnail(1196256,"85920","Breezy Wildflowers","breezy wildflowers_thumb.jpg",130,105,1);thumbnails[1196257]=new thumbnail(1196257,"85920","First Sunrise","First Sunrise_thumb.jpg",130,105,1);thumbnails[1196260]=new thumbnail(1196260,"85920","Flowers & Painted Door","flowers and door_thumb.jpg",130,205,1);thumbnails[1196261]=new thumbnail(1196261,"85920","Frog on Lily Pad","frog on lily pad_thumb.jpg",130,101,1);thumbnails[1196262]=new thumbnail(1196262,"85920","In the Forest","In the Forest_thumb.jpg",130,205,1);thumbnails[1196263]=new thumbnail(1196263,"85920","Jordan Pond Trail","Jordon Pond Trail_thumb.jpg",130,97,1);thumbnails[1196264]=new thumbnail(1196264,"85920","Lake Reflections","Lake Reflections_thumb.jpg",130,99,1);thumbnails[1196265]=new thumbnail(1196265,"85920","Leaves & Rocks in Stream","Leaves Rocks & Water texture_thumb.jpg",130,105,1);thumbnails[1196266]=new thumbnail(1196266,"85920","Loon on Jordan Pond","Loon on Jordon Pond_thumb.jpg",130,82,1);thumbnails[1196267]=new thumbnail(1196267,"85920","Reflecting Tree","Reflecting Tree_thumb.jpg",130,205,1);thumbnails[1196269]=new thumbnail(1196269,"85920","Reflections at Jordan Pond","Reflections at Jordon Pond_thumb.jpg",130,205,1);thumbnails[1196271]=new thumbnail(1196271,"85920","Rockface & Falling Water","rockface and falling water_thumb.jpg",130,105,1);thumbnails[1196272]=new thumbnail(1196272,"85920","Sand Beach Landscape","Sand Beach landscape_thumb.jpg",130,205,1);thumbnails[1196274]=new thumbnail(1196274,"85920","Seagull over Atlantic","seagull over water_thumb.jpg",130,105,1);thumbnails[1196276]=new thumbnail(1196276,"85920","Seas & Rock Coast 1","seas & rock coast_thumb.jpg",130,105,1);thumbnails[1196277]=new thumbnail(1196277,"85920","Seas & Rock Coast 2","seas and rock coast 2_thumb.jpg",130,105,1);thumbnails[1196278]=new thumbnail(1196278,"85920","Seas & Rock Coast 3","seas and rock coast 3_thumb.jpg",130,107,1);thumbnails[1196280]=new thumbnail(1196280,"85920","Stone Bridge & Stream","stone bridge & stream_thumb.jpg",130,104,1);thumbnails[1196282]=new thumbnail(1196282,"85920","Sun Rise & Sea Fog","Sun Rising & Sea Fog_thumb.jpg",130,105,1);thumbnails[1196284]=new thumbnail(1196284,"85920","Sunrays & Seagull","sunrays and seagull_thumb.jpg",130,105,1);thumbnails[3753519]=new thumbnail(3753519,"7494","Turnberry Estates 1","Turnberry_1_thumb.jpg",130,205,1);thumbnails[3753521]=new thumbnail(3753521,"7494","Turnberry Estates 2","Turnberry_2_thumb.jpg",130,105,1);thumbnails[3753522]=new thumbnail(3753522,"7494","Turnberry Estates 3","Turnberry_3_thumb.jpg",130,105,1);thumbnails[3753523]=new thumbnail(3753523,"7494","Turnberry Estates 4","Turnberry_4_thumb.jpg",130,105,1);thumbnails[3804153]=new thumbnail(3804153,"231827","","Norhtport_Marina32_thumb.jpg",130,105,1);thumbnails[3804154]=new thumbnail(3804154,"231827","","Northport_Marina4_thumb.jpg",130,105,1);thumbnails[3804155]=new thumbnail(3804155,"231827","","Northport_Marina8_thumb.jpg",130,105,1);thumbnails[3804156]=new thumbnail(3804156,"231827","","Northport_Marina9_thumb.jpg",130,105,1);thumbnails[3804157]=new thumbnail(3804157,"231827","","Northport_Marina10_thumb.jpg",130,105,1);thumbnails[3804158]=new thumbnail(3804158,"231827","","Northport_Marina11_thumb.jpg",130,105,1);thumbnails[3804159]=new thumbnail(3804159,"231827","","Northport_Marina16_thumb.jpg",130,205,1);thumbnails[3804160]=new thumbnail(3804160,"231827","","Northport_Marina30_thumb.jpg",130,105,1);thumbnails[3804161]=new thumbnail(3804161,"231827","","Northport_Marina31_thumb.jpg",130,105,1);thumbnails[3804162]=new thumbnail(3804162,"231827","","Northport_Marina_18_thumb.jpg",130,105,1);thumbnails[3804163]=new thumbnail(3804163,"231827","","Northport_Marina_22_thumb.jpg",130,205,1);thumbnails[3804164]=new thumbnail(3804164,"231827","","Northport_Marina_24_thumb.jpg",130,105,1);thumbnails[3804167]=new thumbnail(3804167,"231827","","Northport_Marina_251_thumb.jpg",130,105,1);thumbnails[3804168]=new thumbnail(3804168,"231827","","Northport_Marina_26_thumb.jpg",130,105,1);thumbnails[3804169]=new thumbnail(3804169,"231827","","Northport_Marina_29_thumb.jpg",130,105,1);var galleries=new Object();galleries[85920]=new gallery(85920,"1196284,1196282,1196280,1196278,1196277,1196276,1196274,1196272,1196271,1196269","Acadia National Park","gallery",[1196256,1196257,1196260,1196261,1196262,1196263,1196264,1196265,1196266,1196267,1196269,1196271,1196272,1196274,1196276,1196277,1196278,1196280,1196282,1196284]);galleries[6354]=new gallery(6354,"358662","Cloudscapes","gallery",[358661,358662]);galleries[6358]=new gallery(6358,"500305,363197,361393,361131,361125,361121,361116,361114","Flora ","gallery",[361114,361116,361121,361125,361131,361393,363197,500305]);galleries[9178]=new gallery(9178,"362877","Forgotten","gallery",[360088,360089,360090,360091,360092,360093,360094,360095,360096,360097,362877,362878,362879,362880,362881,362882,362883,362885,362886,362887,855371,855374,855375,859299]);galleries[7494]=new gallery(7494,"358627","GARDENSCAPES Studio by Laurel Fink","gallery",[358626,358627,358629,358633,358634,358636,358637,358638,358639,358640,358641,358642,358643,358644,361174,361177,3753519,3753521,3753522,3753523]);galleries[6353]=new gallery(6353,"361344","Grand Landscapes","gallery",[361327,361334,361336,361338,361339,361340,361343,361344,361347,361348,446575,448138,470962,711358,711359,711360,711361,711362,735973,953064]);galleries[6355]=new gallery(6355,"735974,591187,504444,468717,366511,361402,361401,361400,361399,361398","Intimate Landscapes","gallery",[361395,361396,361397,361398,361399,361400,361401,361402,366511,468717,504444,591187,735974]);galleries[231827]=new gallery(231827,"3804169,3804168,3804167,3804164,3804163,3804162,3804161,3804160,3804159,3804158","Marina Reflections","gallery",[3804153,3804154,3804155,3804156,3804157,3804158,3804159,3804160,3804161,3804162,3804163,3804164,3804167,3804168,3804169]);galleries[6887]=new gallery(6887,"624645,363455,363454,363452,363451,361180,361179,361120","Still Life & Digital Imaging","gallery",[361120,361179,361180,363451,363452,363454,363455,624645]);galleries[6356]=new gallery(6356,"360062","Water in Motion","gallery",[360062,360063,360064,360065,360066,446571,559173]);galleries[6357]=new gallery(6357,"363375,363347,363345,363344,363342,363341,363339,363338","Wildlife","gallery",[363338,363339,363341,363342,363344,363345,363347,363375]);var imageSets=new Object();imageSets[1]="624645";imageSets[2]="362877,361344,360062,358662,358627";imageSets[3]="3804169,3804168,3804167,3804164,3804163,3804162,3804161,3804160,3804159,3804158,3804157,3804156,3804155,3804154,3804153,3753523,3753522,3753521,3753519,1196284,1196282,1196280,1196278,1196277,1196276,1196274,1196272,1196271,1196269,1196267,1196266,1196265,1196264,1196263,1196262,1196261,1196260,1196257,1196256,953064,859299,855375,855374,855371,735974,735973,711362,711361,711360,711359";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 34:b="http://www9.clikpic.com/laurelfink/images";break}switch(a){case 1:b="http://www1.clikpic.com/laurelfink/images";break}switch(a){case 2:b="http://admin.clikpic.com/laurelfink/images";break}switch(a){case 4:b="http://www.clikchurch.com/laurelfink/images";break}switch(a){case 5:b="http://www2.clikpic.com/laurelfink/images";break}switch(a){case 15:b="http://www3.clikpic.com/laurelfink/images";break}switch(a){case 21:b="http://www6.clikpic.com/laurelfink/images";break}switch(a){case 18:b="http://www4.clikpic.com/laurelfink/images";break}switch(a){case 19:b="http://www5.clikpic.com/laurelfink/images";break}switch(a){case 22:b="http://tpc5/clikpic/laurelfink/images";break}switch(a){case 23:b="http://tpc10/clikpic/laurelfink/images";break}switch(a){case 24:b="http://tpc15/clikpic/laurelfink/images";break}switch(a){case 25:b="http://tpc16/clikpic/laurelfink/images";break}switch(a){case 31:b="http://www7.clikpic.com/laurelfink/images";break}switch(a){case 32:b="http://admin2.clikpic.com/laurelfink/images";break}switch(a){case 33:b="http://www8.clikpic.com/laurelfink/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="'+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="Laurel Fink Photography: "+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> 				$"+(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 print online:</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';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">';b=b+'	<input type="hidden" name="item_option" value="'+a+'">';b=b+'	<input type="hidden" name="site" value="LAURELFINK">';b=b+'	<input type="hidden" name="item_number" value="'+c.id+'">';b=b+'	<input type="hidden" name="quantity" value="1">';b=b+'	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button">';b=b+'	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>';b=b+'<div id="confirmContainer">';b=b+'<div id="paymentConfirm">Item added to cart</div>';b=b+"</div>";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+'")'})}}};