",{class:"btn",text:o.cookiePolicyAgree}).on("click",function(){e("#cookiepolicy").fadeOut(500,function(){e(this).remove()}),e.cookie("cookiePolicy",!0,36e6)})),a.fadeIn(500),setTimeout(function(){e("#cookiepolicy").fadeOut(500,function(){e(this).remove()})},1e3*t.cookiePolicyStay)}},2e3)):(l=e(this),function(){d=e("."+i.gallery),h=e("."+i.navigation),u=e("."+i.controls),w=e("."+i.img),p=e("."+i.bottom),l=w.children("."+i.main),T=0,f=e("."+i.scrollbox),m=f.find("li > a");var n=l.find("img:first");t.mapAll&&(F=m.collectMarkers()),function(){var a=f.find("."+i.cont),n=0;m.addTooltip({delay:500}).each(function(){n+=e(this).outerWidth()}),n+=2*m.length,a.width(n),a.scrollThumbs({enableMouseWheel:t.enableMouseWheel}),m.on("click",function(){return!e(this).parents("[data-custom-scroll]").data("scrolling")}),a.trigger("setactive"),t.thumbsOn||h.css("top",-f.outerHeight()-10)}(),v.prev=u.children("."+i.prev),v.up=u.children("."+i.up),v.noresize=u.children("."+i.noresize),v.resize=u.children("."+i.resize),v.hideInfo=u.children("."+i.hideInfo),v.showInfo=u.children("."+i.showInfo),v.hideThumbs=u.children("."+i.hideThumbs),v.showThumbs=u.children("."+i.showThumbs),v.play=u.children("."+i.play),v.pause=u.children("."+i.pause),v.next=u.children("."+i.next),f.find("."+i.cont+" a").length>1?(v.play.togglein(!t.slideshowAuto),v.pause.togglein(t.slideshowAuto)):v.play.add(v.pause).hide(),t.hideFitBtn&&v.resize.add(v.noresize).hide(),v.up&&v.up.on("click",De),v.noresize.on("click",Le),v.resize.on("click",Be),v.hideInfo.on("click",Ee),v.showInfo.on("click",ze),v.hideThumbs.on("click",Ae),v.showThumbs.on("click",He),v.play.on("click",Ue),v.pause.on("click",Re),v.next.on("click",je),Me(),t.thumbsOn?(v.showThumbs.hide(),v.hideThumbs.showin(),h.css({top:0}).removeClass("hide")):(v.hideThumbs.hide(),v.showThumbs.showin(),h.css({top:-f.outerHeight()-10}).removeClass("hide")),t.infoOn?(v.showInfo.hide(),v.hideInfo.showin(),p.show().css({bottom:0})):(v.hideInfo.hide(),v.showInfo.showin(),p.css({bottom:-p.outerHeight()}).hide()),t.hideFitBtn||(t.fitImage?(v.resize.hide(),v.noresize.showin()):(v.noresize.hide(),v.resize.showin())),n.length&&(l.hasClass(i.image)&&!n[0].complete?(n.on("load",function(){n.data("cached",!0),Ie()}).attr({src:n.attr("src")}),(c=e("",{class:i.wait}).appendTo(d)).fadeIn()):(n.data("cached",!0),Ie()),Oe(n)),(e.isFunction(t.enableKeyboard)||t.enableKeyboard)&&a.on("keydown",A),t.clickBesideForIndex&&w.on("click",function(t){return!e(t.target).hasClass(i.img)||(U(),!1)})}()),(l.length&&O||!I)&&a.on("resize orientationchange",function(){clearTimeout(N),N=setTimeout(function(){if(!e(".jp-video-full").length){var t=a.width(),n=a.height();t===D&&n===L||(ue(),D=t,L=n)}},100)}),this},e.fn.turtle.defaults={header:"#main header",slides:"slides",thumbs:"thumbs",linkSlides:!1,loadImg:"blank.png",hash:"fileName",resPath:"res/",relPath:"",level:0,skipIndex:!1,showStart:!0,keepPrefs:600,speed:600,controlbarOpacity:0,controlOutOpacity:0,transitions:!0,preScale:.95,slideshowDelay:4e3,slideshowLoop:!1,slideshowAuto:!1,slideshowFullScreen:!1,markNewDays:0,afterLast:"ask",thumbsOn:!1,fitImage:!1,fitShrinkonly:!1,fitFreespace:!0,hideFitBtn:!1,fitPadding:15,borderWidth:10,clickForNext:!0,clickBesideForIndex:!1,rightClickProtect:!1,cookiePolicyStay:8,showImageNumbers:!0,buttonLabels:!1,infoOn:!0,metaOn:!1,mapOn:!1,mapOnIndex:!1,mapOnSlide:!1,mapType:"roadmap",mapZoom:18,mapAll:!1,shopOn:!0,shopGateway:"paypal",shopCurrency:"USD",shareOn:!1,commentOn:!1,printOn:!1,regionsOn:!1,downloadNonImages:!1,enableKeyboard:!0,enableMouseWheel:!0,videoAuto:!1,videoMaximize:!1,videoTitleOn:!1,prioritizeFlash:!1,scrollDuration:1e3},e.fn.turtle.ids={gallery:"gallery",items:"items",folders:"folders",thumbs:"thumbs",navigation:"navigation",scrollbox:"scrollbox",active:"active",parent:"parent",bottom:"bottom",img:"img",main:"main",image:"image",video:"video",audio:"audio",other:"other",wait:"wait",cont:"cont",panel:"panel",icon:"icon",caption:"caption",meta:"meta",map:"map",mapcont:"mapcont",mapid:"mapid",shop:"shop",shopAll:"shopall",discount:"discount",fotomoto:"fotomoto",mostphotos:"mostphotos",share:"share",shares:"shares",print:"print",comments:"comments",link:"link",custom:"custom",poster:"poster",isoriginal:"isoriginal",content:"content",width:"width",height:"height",src:"src",ext:"ext",thumbExt:"thumbext",regions:"regions",isimage:"isimage",isvideo:"isvideo",isaudio:"isaudio",isother:"isother",modified:"modified",startShow:"startshow",startBtn:"startbtn",startTxt:"starttxt",controls:"controls",prev:"prev",next:"next",up:"up",noresize:"noresize",resize:"resize",hideInfo:"hideinfo",showInfo:"showinfo",hideThumbs:"hidethumbs",showThumbs:"showthumbs",play:"play",pause:"pause",newItem:"newlabel",kill:"kill",load:"load",toload:"toload",feedback:"feedback",checkbox:"checkbox",selectAll:"selectall",selectNone:"selectnone"},e.fn.turtle.text={startSlideshow:"Start slideshow",close:"Close",atLastPage:"At last page",atLastPageQuestion:"Where to go next?",startOver:"Start over",backToHome:"Back to home",stop:"Stop",upOneLevel:"Up one level",backToIndex:"Back to index page",previousPicture:"Previous picture",nextPicture:"Next picture",previousFolder:"Previous folder",nextFolder:"Next folder",changeSpeed:"Change speed",oneToOneSize:"1:1 size",fitToScreen:"Fit to screen",showInfo:"Show caption / info",hideInfo:"Hide caption / info",showThumbs:"Show thumbnails",hideThumbs:"Hide thumbnails",startAutoplay:"Start autoplay",stopAutoplay:"Stop autoplay",newItem:"NEW",clickToOpen:"Click to open this document with the associated viewer",commentsBtn:"Comments",commentsLabel:"Add a comment, view other's comments",metaBtn:"Photo data",metaLabel:"Display photograpic (Exif/Iptc) data",mapBtn:"Map",mapLabel:"Show the photo location on map",printBtn:"Print",printLabel:"Print out this photo on your printer",shopBtn:"Buy",shopLabel:"Show options to buy this item",shareBtn:"Share",shareLabel:"Share this photo over social sites",download:"Download",original:"Original",hiRes:"Hi res.",saveTip:"Use Right click -> Save link as... to download",fotomotoBtn:"Buy / Share",fotomotoLabel:"Buy prints or digital files, send free eCard through Fotomoto",mostphotosBtn:"Purchase",mostphotosLabel:"Download this image from mostphotos.com!",people:"People",sendFeedback:"Send feedback",message:"Message",subject:"Subject",comment:"Comment",yourEmail:"Your email address",send:"Send",messageSent:"Message sent",errorSending:"Error sending email!",tooLong:"Text is too long or too many items!",emailMissing:"Email is misssing or wrong!",noItemsSelected:"No items selected!",selectItemsHint:"Select the desired items first!",nonShoppableItems:"The selected items have no or have proprietary shopping options, or different discount rates.",buyNItems:"Buy {0} items",locationWarning:"Works only when uploaded",cookiePolicyText:"This album uses cookies to remember user preferences. By using it, you agree to our use of cookies.",cookiePolicyAgree:"Got it",cookiePolicyLearnMore:"Learn more"}}(jQuery,$(document),$(window),$("body"));