").replace("[a","').replace("[/a]","").replace("[img","
")}function wppaTrimAlt(e){return void 0===e?"":13'+txt+"")):(jQuery("#message-"+yalb+"-"+mocc).html(''+txt+""),"thumb"!=where&&"cover"!=where||eval(onComplete))},error:function(e,p,a){jQuery("#message-"+yalb+"-"+mocc).html(''+__("Server error.","wp-photo-album-plus")+""),jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#F77"),jQuery("#percent-"+yalb+"-"+mocc).html(__("Upload failed","wp-photo-album-plus")),wppaConsoleLog("Error = "+a+", status = "+p)}};return options}function wppaInitMasonryPlus(){jQuery(".grid-masonryplus").each(function(){var e=jQuery(this).attr("id").substr(5),p=wppaGetContainerWidth(e)-wppaThumbnailAreaDelta,a=parseInt((p+wppaTfMargin)/(.75*wppaThumbSize+wppaTfMargin));0==a&&(a=1);a=parseInt(p/a);jQuery(".grid-item").css("visibility","visible"),jQuery(".grid-item-"+e).css("width",a+"px"),jQuery("#grid-"+e).masonry({itemSelector:".grid-item-"+e,columnWidth:a,fitWidth:!0,transitionDuration:0})})}function wppaFsChange(){wppaFsShow(),wppaOvlShowSame("fschange")}function wppaGlobalFS(){if(wppaIsIpad)return!1;if(wppaIsSafari)return!1;var e=parseInt(wppaGlobalFsIconSize/4),p=e;!wppaIsMobile&&0'+wppaSvgHtml("Full-Screen",wppaGlobalFsIconSize+"px",!0,!1,"0","0","0","0")+""),jQuery("body").append(''+wppaSvgHtml("Exit-Full-Screen",wppaGlobalFsIconSize+"px",!0,!1,"0","0","0","0")+"
"),wppaFsShow()}function wppaFsOn(){var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()}function wppaFsOff(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()}function wppaIsFs(){return!wppaIsIpad&&(!wppaIsSafari&&null!==document.fullscreenElement)}function wppaFsShow(){wppaIsFs()?(jQuery(".wppa-fulls-btn").hide(),jQuery(".wppa-exit-fulls-btn").show()):(jQuery(".wppa-fulls-btn").show(),jQuery(".wppa-exit-fulls-btn").hide()),wppaOvlOpen&&"global"==wppaFsPolicy&&wppaOvlBigBrowse&&(jQuery("#wppa-fulls-btn-1").hide(),jQuery("#wppa-exit-fulls-btn-1").hide())}jQuery(document).ready(function(){jQuery(".wppa-ss-button").each(function(){mocc=jQuery(this).attr("data-mocc"),wppaSuperSearchSelect(mocc)})}),jQuery(document).ready(function(){jQuery(document).ready(function(){"global"==wppaFsPolicy&&wppaGlobalFS()}),jQuery(window).on("DOMContentLoaded load",wppaFsShow),jQuery(document).on("fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange",wppaFsChange)});var wppaAudioOnlyRuns=[];function wppaDoAudioOnly(e,p,a,t){var o;wppaAudioSeqno=a;var n=p[0],r="";p.forEach(function(e,p){var a=e.split("."),a=a[a.length-1];r+=''}),r+="Your browser does not support the audio element.",""==(o=jQuery("#wppa-audio-source-0-"+t).attr("src"))&&(wppaAudioOnlyRuns[t]=!1),o==n&&wppaAudioOnlyRuns[t]?(document.getElementById("wppa-audioonly-"+t).pause(),wppaAudioOnlyRuns[t]=!1):(o==p[0]?document.getElementById("wppa-audioonly-"+t).play():(jQuery("#"+e).html(r),document.getElementById("wppa-audioonly-"+t).load(),document.getElementById("wppa-audioonly-"+t).play(),jQuery(".wppa-audiolabel-"+t).css("font-weight","normal"),jQuery("#audiolabel-"+t+"-"+a).css("font-weight","bold"),jQuery("#audiolabel-"+t+"-"+(a-1)).blur(),jQuery("#audiolabel-"+t+"-"+a).blur(),wppaHideAudioDesc(wppaAudioOnlyRuns[t],t,!0)),wppaShowAudioDesc(wppaAudioOnlyRuns[t]=a,t))}function wppaAudioOnlyNext(e){jQuery("#audiolabel-"+e+"-"+(wppaAudioSeqno+1)).trigger("click")}function wppaShowAudioDesc(e,p){jQuery("#"+("audiodesc-"+p+"-"+e)).show()}function wppaHideAudioDesc(e,p,a){var t;e&&(t="audiodesc-"+p+"-"+e,!a&&wppaAudioOnlyRuns[p]==e||jQuery("#"+t).hide())}var wppaAlbLbBusy=!1;function wppaAlbLb(e,p){if(e.stopPropagation(),!wppaAlbLbBusy)return wppaAlbLbBusy=!0,jQuery("#wppa-ovl-spin").show(),jQuery(".first-"+p).trigger("click"),!1;wppaAlbLbBusy=!1}
var wppaJsSlideshowVersion="9.0.06.002",wppaHasControlbar=!1;function wppaStoreSlideInfo(p,a,e,t,i,w,r,o,l,n,s,d,u,_,m,h,y,c,S,g,f,x,j,I,Q,b,v,T,N,C,R,k,F,L,M,H){l=wppaRepairScriptTags(l),_wppaSlides[p]&&"0"!=a||(_wppaSlides[p]=[],_wppaNames[p]=[],_wppaFilmThumbTitles[p]=[],_wppaFullNames[p]=[],_wppaDsc[p]=[],_wppaOgDsc[p]=[],_wppaCurIdx[p]=-1,_wppaNxtIdx[p]=0,wppaSavedSlideshowTimeout[p]?_wppaTimeOut[p]=wppaSavedSlideshowTimeout[p]:(_wppaTimeOut[p]=S,wppaSavedSlideshowTimeout[p]=_wppaTimeOut[p]),_wppaSSRuns[p]=!1,_wppaTP[p]=-2,_wppaFg[p]=0,_wppaIsBusy[p]=!1,_wppaFirst[p]=!0,_wppaId[p]=[],_wppaRealId[p]=[],_wppaAvg[p]=[],_wppaDisc[p]=[],_wppaMyr[p]=[],_wppaVRU[p]=[],_wppaLinkUrl[p]=[],_wppaLinkTitle[p]=[],_wppaLinkTarget[p]=[],_wppaCommentHtml[p]=[],_wppaIptcHtml[p]=[],_wppaExifHtml[p]=[],_wppaUrl[p]=[],_wppaSkipRated[p]=!1,_wppaLbTitle[p]=[],_wppaDidGoto[p]=!1,wppaSlidePause[p]=!1,_wppaShareUrl[p]=[],_wppaShareHtml[p]=[],_wppaFilmNoMove[p]=!1,_wppaHiresUrl[p]=[],_wppaIsVideo[p]=[],_wppaIsAudio[p]=[],_wppaVideoHtml[p]=[],_wppaAudioHtml[p]=[],_wppaVideoNatWidth[p]=[],_wppaVideoNatHeight[p]=[],wppaVideoPlaying[p]=!1,wppaAudioPlaying[p]=!1,_wppaWaitTexts[p]=[],_wppaImageAlt[p]=[],_wppaFilename[p]=[],_wppaPanoramaHtml[p]=[],_wppaPanControlHeight[p]=[],_wppaRatio[p]=[]),S="default",""!=h?S="pointer":""!=wppaLightBox[p]&&(S="url( "+wppaImageDirectory+wppaMagnifierCursor+" ),pointer"),_wppaIsVideo[p][a]=""!=T,_wppaIsAudio[p][a]=""!=N,_wppaIsVideo[p][a]?(_wppaSlides[p][a]=' alt="'+R+'" class="theimg theimg-'+p+' big" ',wppaSlideVideoStart&&(_wppaSlides[p][a]+=" autoplay "),0"+T+""):_wppaSlides[p][a]+='style="'+t+"; cursor:"+S+'; display:none; vertical-align:middle;">',_wppaFullNames[p][a]=''+wppaRepairBrTags(r)+"",_wppaNames[p][a]=''+o+"",_wppaFilmThumbTitles[p][a]=o,_wppaDsc[p][a]=l,_wppaOgDsc[p][a]=b,_wppaId[p][a]=n,_wppaRealId[p][a]=s,_wppaAvg[p][a]=d,_wppaDisc[p][a]=u,_wppaMyr[p][a]=_,_wppaVRU[p][a]=m,_wppaLinkUrl[p][a]=h,_wppaLinkTitle[p][a]=y,""!=c?_wppaLinkTarget[p][a]=c:wppaSlideBlank[p]?_wppaLinkTarget[p][a]="_blank":_wppaLinkTarget[p][a]="_self",_wppaCommentHtml[p][a]=g,_wppaIptcHtml[p][a]=f,_wppaExifHtml[p][a]=x,_wppaUrl[p][a]=e,_wppaLbTitle[p][a]=wppaRepairScriptTags(j),_wppaShareUrl[p][a]=I,_wppaShareHtml[p][a]=wppaRepairScriptTags(Q),_wppaHiresUrl[p][a]=v,_wppaVideoHtml[p][a]=T,_wppaAudioHtml[p][a]=N,_wppaVideoNatWidth[p][a]=i,_wppaVideoNatHeight[p][a]=w,_wppaWaitTexts[p][a]=C,_wppaImageAlt[p][a]=R,_wppaFilename[p][a]=F,_wppaPanoramaHtml[p][a]=L,_wppaPanControlHeight[p][a]=M,_wppaRatio[p][a]=H}function wppaSpeed(p,a){_wppaSSRuns[p]&&_wppaSpeed(p,a)}function wppaStopShow(p){_wppaSSRuns[p]&&_wppaStop(p)}function wppaStopMedia(p){wppaStopAudio(p),wppaStopVideo(p),wppaStopShow(p)}function wppaStartStop(p,a){wppaSlideInitRunning[p]&&("start"==wppaSlideInitRunning[p]?a=-1:"stopprev"==wppaSlideInitRunning[p]?(a=_wppaSlides[p].length-1,_wppaStop(p)):"stopnext"==wppaSlideInitRunning[p]&&(a=0,_wppaStop(p)),wppaSlideInitRunning[p]=""),_wppaIsBusy[p]&&(_wppaTP[p]=a),_wppaSSRuns[p]?_wppaStop(p):_wppaStart(p,a),wppaIsMobile&&(jQuery("#wppa-startstop-icon-"+p).stop().fadeTo(10,1).fadeTo(3e3,0),jQuery(".ubb-"+p).stop().fadeTo(10,1).fadeTo(3e3,0))}function wppaBbb(p,a,e){_wppaSSRuns[p]||_wppaBbb(p,a,e)}function wppaUbb(p,a,e){_wppaUbb(p,a,e)}function wppaRateIt(p,a){_wppaRateIt(p,a)}function wppaOvlRateIt(p,a,e,t){_wppaOvlRateIt(p,a,e,t)}function wppaPrev(p){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaPrev(p)}function wppaPrevN(p,a){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaPrevN(p,a)}function wppaFirst(p){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaGoto(p,0)}function wppaNext(p){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaNext(p)}function wppaNextN(p,a){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaNextN(p,a)}function wppaLast(p){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaGoto(p,_wppaSlides[p].length-1)}function wppaFollowMe(p,a){wppaStopMedia(p),_wppaSSRuns[p]||_wppaFollowMe(p,a)}function wppaLeaveMe(p,a){wppaStopMedia(p),_wppaSSRuns[p]||_wppaLeaveMe(p,a)}function wppaGoto(p,a){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||_wppaGoto(p,a)}function wppaGotoFilmNoMove(p,a){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaSSRuns[p]||(_wppaFilmNoMove[p]=!0,_wppaGoto(p,a))}function wppaGotoKeepState(p,a){wppaStopMedia(p),_wppaNxtIdx[p]!=a&&(_wppaDidGoto[p]=!0,_wppaGotoKeepState(p,a))}function _wppaGotoKeepState(p,a){(_wppaSSRuns[p]?_wppaGotoRunning:_wppaGoto)(p,a)}function wppaGotoRunning(p,a){wppaStopMedia(p),_wppaDidGoto[p]=!0,_wppaGotoRunning(p,a)}function wppaValidateComment(p){return _wppaValidateComment(p)}function _wppaNextSlide(p,a){var e=!document.getElementById("slide_frame-"+p);if(wppaLazyLoad&&!e&&!wppaIsSlidshowVisible(p)||wppaVideoPlaying[p]||wppaAudioPlaying[p])return wppaFilmInit[p]=!1,void setTimeout(function(){_wppaNextSlide(p,a)},400);if(_wppaLastIdx[p]=_wppaCurIdx[p],!document.getElementById("slide_frame-"+p)&&document.getElementById("filmwindow-"+p)&&wppaFilmonlyContinuous)return _wppaSSRuns[p]?(_wppaCurIdx[p]++,_wppaCurIdx[p]==_wppaSlides[p].length&&(_wppaCurIdx[p]=0),_wppaAdjustFilmstrip(p,"linear"),_wppaNxtIdx[p]=_wppaCurIdx[p],void setTimeout("_wppaNextSlide( "+p+", '"+a+"' )",wppaAnimationSpeed)):(_wppaCurIdx[p]=_wppaNxtIdx[p],wppaFilmInit[p]=!1,void _wppaAdjustFilmstrip(p,"linear"));if(document.getElementById("slide_frame-"+p)||document.getElementById("filmwindow-"+p)){var t=_wppaFg[p],e=1-t;if((wppaVideoPlaying[p]||wppaAudioPlaying[p])&&_wppaSSRuns[p])setTimeout("_wppaNextSlide( "+p+", '"+a+"' )",500);else{if("auto"==a){if(wppaSlidePause[p])return jQuery("#theimg"+t+"-"+p).attr("title",wppaSlidePause[p]),jQuery("#slide_frame-"+p).attr("title",wppaSlidePause[p]),void setTimeout("_wppaNextSlide( "+p+', "auto" )',250)}else jQuery("#slide_frame-"+p).removeAttr("title");if((_wppaSSRuns[p]||"auto"!=a)&&_wppaSlides[p]&&(!(_wppaSlides[p].length<2)||_wppaFirst[p])){if(_wppaSSRuns[p]||"reset"!=a||(_wppaSSRuns[p]=!0,__wppaOverruleRun=!1),_wppaVoteInProgress=!1,_wppaIsBusy[p]=!0,_wppaSSRuns[p]&&_wppaShowMetaData(p,"hide"),_wppaSSRuns[p]&&(_wppaNxtIdx[p]=_wppaCurIdx[p]+1,_wppaNxtIdx[p]==_wppaSlides[p].length&&(_wppaNxtIdx[p]=0)),jQuery("#geodiv-"+p+"-"+_wppaId[p][_wppaCurIdx[p]]).css({display:"none"}),jQuery("#geodiv-"+p+"-"+_wppaId[p][_wppaNxtIdx[p]]).css({display:""}),"undefined"!=typeof _wppaLat&&_wppaLat[p]?(o=_wppaRealId[p],_wppaLat[p][o[_wppaNxtIdx[p]]]?(jQuery("#map-canvas-"+p).css("display",""),wppaGeoInit(p,_wppaLat[p][o[_wppaNxtIdx[p]]],_wppaLon[p][o[_wppaNxtIdx[p]]])):jQuery("#map-canvas-"+p).css("display","none")):jQuery("#map-canvas-"+p).css("display","none"),jQuery("[id^=wppa-numbar-"+p+"-]").css({backgroundColor:wppaBGcolorNumbar,borderColor:wppaBcolorNumbar,fontFamily:wppaFontFamilyNumbar,fontSize:wppaFontSizeNumbar,color:wppaFontColorNumbar,fontWeight:wppaFontWeightNumbar}),jQuery("#wppa-numbar-"+p+"-"+_wppaNxtIdx[p]).css({backgroundColor:wppaBGcolorNumbarActive,borderColor:wppaBcolorNumbarActive,fontFamily:wppaFontFamilyNumbarActive,fontSize:wppaFontSizeNumbarActive,color:wppaFontColorNumbarActive,fontWeight:wppaFontWeightNumbarActive}),_wppaSlides[p].length>wppaNumbarMax){var i,w,r=_wppaSlides[p].length-1,o=_wppaNxtIdx[p],l=(wppaNumbarMax-1)/2;o'+(l?"':"<"+w+n+' title="'+_wppaLinkTitle[p][e]+'" id="theimg'+a+"-"+p+'" '+_wppaSlides[p][e])+"":"'+(l?"':"<"+w+n+' title="'+_wppaLinkTitle[p][e]+'" id="theimg'+a+"-"+p+'" '+_wppaSlides[p][e])+"";else if(""==wppaLightBox[p])t=l?"':"<"+w+n+' title="'+_wppaLinkTitle[p][e]+'" id="theimg'+a+"-"+p+'" '+_wppaSlides[p][e];else{for(var d="",u=0,_=wppaLightboxSingle[p]?"":"[slide-"+p+"-"+a+"]";u',u++;for(i=wppaOvlHires||"wppa"!=wppaLightBox[p]?_wppaHiresUrl[p][e]:wppaMakeFullsizeUrl(_wppaUrl[p][e]),l=".pdf"==(o=_wppaHiresUrl[p][e]).substr(o.length-4,o.length),d+=''+(l?"':"<"+w+n+' title="'+_wppaLinkTitle[p][e]+'" id="theimg'+a+"-"+p+'" '+_wppaSlides[p][e])+"",u=e+1;u<_wppaUrl[p].length;)i=wppaOvlHires||"wppa"!=wppaLightBox[p]?_wppaHiresUrl[p][u]:wppaMakeFullsizeUrl(_wppaUrl[p][u]),l=".pdf"==(o=_wppaHiresUrl[p][u]).substr(o.length-4,o.length),d+='',u++;t=d}""!=_wppaAudioHtml[p][e]&&(t+='"),t=t.replace(/title=""/g,""),jQuery("#theslide"+a+"-"+p).html(t)}}function wppaAdjustAllFilmstrips(p){jQuery(".wppa-filmstrip").each(function(){_wppaAdjustFilmstrip(jQuery(this).attr("id").substr(15),p)})}var wppaLastAnimFilmLoc=[];function _wppaAdjustFilmstrip(p,a){if("linear"!=a&&(a=wppaEasingSlide),document.getElementById("wppa-filmstrip-"+p)&&_wppaSlides[p]){var e,t,i,w,r=!document.getElementById("slide_frame-"+p);if(wppaLastAnimFilmLoc[p]||(wppaLastAnimFilmLoc[p]=0),r){var o=jQuery("#wppa-filmstrip-"+p);if(!wppaIsElementInViewport(o))return}if(r||(jQuery(".wppa-film-"+p).find("img").removeClass("wppa-filmthumb-active"),jQuery(".wppa-film-"+p).find("canvas").removeClass("wppa-filmthumb-active")),_wppaFilmNoMove[p]&&wppaFilmInit[p]?_wppaFilmNoMove[p]=!1:(wppaFilmWindowLen=wppaGetContainerWidth(p)-wppaFilmStripAreaDelta[p],jQuery("#filmwindow-"+p).width(wppaFilmWindowLen),e=wppaFilmWindowLen/2-(_wppaCurIdx[p]+.5+wppaPreambule[p])*wppaThumbnailPitch[p]-wppaFilmStripMargin[p],wppaFilmShowGlue&&(e-=2*wppaFilmStripMargin[p]+2),i=e+wppaThumbnailPitch[p],w=e-wppaThumbnailPitch[p],t=wppaAnimationSpeed,wppaFilmInit[p]||(t=1),0==_wppaCurIdx[p]&&_wppaLastIdx[p]==_wppaSlides[p].length-1?(jQuery("#wppa-filmstrip-"+p).css({marginLeft:i+"px"}),wppaLastAnimFilmLoc[p]!=e&&(wppaAnimate("#wppa-filmstrip-"+p,{marginLeft:e},t,a),wppaLastAnimFilmLoc[p]=e)):0==_wppaLastIdx[p]&&_wppaCurIdx[p]==_wppaSlides[p].length-1?(jQuery("#wppa-filmstrip-"+p).css({marginLeft:w}),wppaLastAnimFilmLoc[p]!=e&&(wppaAnimate("#wppa-filmstrip-"+p,{marginLeft:e},t,a),wppaLastAnimFilmLoc[p]=e)):(o=parseInt(jQuery("#wppa-filmstrip-"+p).css("margin-left")),i=parseInt(e),w=wppaThumbnailPitch[p],_wppaSSRuns[p]?(o_wppaSlides[p].length&&_wppaSlides[p].length;for(var l=0;l<_wppaSlides[p].length;)jQuery("#film_wppatnf_"+_wppaId[p][l]+"_"+p).html()&&(""!=jQuery("#wppa-film-"+l+"-"+p).attr("data-title")?(jQuery("#wppa-film-"+l+"-"+p).attr("title",jQuery("#wppa-film-"+l+"-"+p).attr("data-title")),jQuery("#wppa-pre-"+l+"-"+p).attr("title",jQuery("#wppa-film-"+l+"-"+p).attr("data-title"))):""!=wppaFilmThumbTitle&&_wppaCurIdx[p]==l?(jQuery("#wppa-film-"+l+"-"+p).attr("title",wppaFilmThumbTitle),jQuery("#wppa-pre-"+l+"-"+p).attr("title",wppaFilmThumbTitle)):(jQuery("#wppa-film-"+l+"-"+p).attr("title",wppaClickToView+" "+_wppaFilmThumbTitles[p][l]),jQuery("#wppa-pre-"+l+"-"+p).attr("title",wppaClickToView+" "+_wppaFilmThumbTitles[p][l]))),l++}r||(jQuery("#film_wppatnf_"+_wppaId[p][_wppaCurIdx[p]]+"_"+p).find("img").addClass("wppa-filmthumb-active"),jQuery("#film_wppatnf_"+_wppaId[p][_wppaCurIdx[p]]+"_"+p).find("canvas").addClass("wppa-filmthumb-active"))}}function _wppaNext(p){var a,e;!wppaSlideWrap[p]&&_wppaCurIdx[p]==_wppaSlides[p].length-1||(_wppaNxtIdx[p]=_wppaCurIdx[p]+1,_wppaNxtIdx[p]==_wppaSlides[p].length?(a=jQuery("#wppa-next-pagelink-"+p),e=jQuery("#wppa-first-pagelink-"+p),0=_wppaSlides[p].length-a)){for(_wppaNxtIdx[p]=_wppaCurIdx[p]+a;_wppaNxtIdx[p]>=_wppaSlides[p].length;)_wppaNxtIdx[p]-=_wppaSlides[p].length;_wppaNextSlide(p,0)}}function _wppaNextOnCallback(p){if(wppaSlideWrap[p]||_wppaCurIdx[p]!=_wppaSlides[p].length-1){if(_wppaSkipRated[p]){var a=_wppaCurIdx[p]+1;a==_wppaSlides[p].length&&(a=0);var e=a;if(0!=_wppaMyr[p][e]){for(++a==_wppaSlides[p].length&&(a=0);a!=e&&0!=_wppaMyr[p][a];)++a==_wppaSlides[p].length&&(a=0);e=a}_wppaNxtIdx[p]=e}else _wppaNxtIdx[p]=_wppaCurIdx[p]+1,_wppaNxtIdx[p]==_wppaSlides[p].length&&(_wppaNxtIdx[p]=0);_wppaNextSlide(p,0)}}function _wppaPrev(p){!wppaSlideWrap[p]&&0==_wppaCurIdx[p]||(_wppaNxtIdx[p]=_wppaCurIdx[p]-1,_wppaNxtIdx[p]<0?jQuery("#wppa-prev-page-last-item-"+p).length?(wppaSlideInitRunning[p]=_wppaSSRuns[p]?"start":"stopprev",jQuery("#wppa-prev-page-last-item-"+p).trigger("click")):(_wppaNxtIdx[p]+=_wppaSlides[p].length,_wppaNextSlide(p,0)):_wppaNextSlide(p,0))}function _wppaPrevN(p,a){if(wppaSlideWrap[p]||!(_wppaCurIdx[p] '+i+" ":(e>i-1&&e '+i+" ");jQuery("#wppa-numrate-mine-"+p).html(r)}0==e?(jQuery("#wppa-dislike-"+p).css("display","inline"),jQuery("#wppa-dislike-imgdiv-"+p).css("display","inline"),jQuery("#wppa-filler-"+p).css("display","none"),jQuery("#wppa-dislike-"+p).stop().fadeTo(100,wppaStarOpacity)):(jQuery("#wppa-dislike-"+p).css("display","none"),jQuery("#wppa-dislike-imgdiv-"+p).css("display","none"),jQuery("#wppa-filler-"+p).css("display","inline")),jQuery("#wppa-discount-"+p).html(a+"• "),jQuery("#wppa-filler-"+p).css("display","none")}0==e?jQuery("#wppa-vote-button-"+p).val(wppaVoteForMe):jQuery("#wppa-vote-button-"+p).val(wppaVotedForMe),jQuery("#wppa-vote-count-"+p).html(w)}}}}function wppaGetDislikeText(p,a,e){return p}function _wppaSetRd(p,a,e){var t=parseInt(a),i=t+1,w=wppaStarOpacity+(a-t)*(1-wppaStarOpacity),r=wppaRatingMax;if("void"==a)jQuery("#wppa-my-rat-"+p).hide(),jQuery(".wppa-my-rat-"+p).hide(),jQuery(".wppa-rate-"+p).hide(),jQuery(".wppa-ratingthumb").hide(),jQuery("#wppa-numrate-mine-"+p).hide();else for(jQuery("#wppa-my-rat-"+p).show(),jQuery(".wppa-my-rat-"+p).show(),jQuery(".wppa-rate-"+p).show(),jQuery(".wppa-ratingthumb").show(),jQuery("#wppa-numrate-mine-"+p).show(),idx=1;idx<=r;idx++)"#wppa-rate-"!=e&&".wppa-rate-"!=e||jQuery(e+p+"-"+idx).attr("src")!=wppaImageDirectory+"star.ico"&&jQuery(e+p+"-"+idx).attr("src",wppaImageDirectory+"star.ico"),idx<=t?jQuery(e+p+"-"+idx).stop().fadeTo(100,1):idx==i?jQuery(e+p+"-"+idx).stop().fadeTo(100,w):jQuery(e+p+"-"+idx).stop().fadeTo(100,wppaStarOpacity)}function _wppaFollowMe(p,a){_wppaSSRuns[p]||0!=_wppaMyr[p][_wppaCurIdx[p]]&&wppaRatingOnce||_wppaMyr[p][_wppaCurIdx[p]]<0||_wppaVoteInProgress||_wppaSetRd(p,a,"#wppa-rate-")}function wppaOvlFollowMe(p,a,e){e||_wppaSetRd(p,a,".wppa-rate-")}function _wppaLeaveMe(p,a){_wppaSSRuns[p]||0!=_wppaMyr[p][_wppaCurIdx[p]]&&wppaRatingOnce||_wppaMyr[p][_wppaCurIdx[p]]<0||_wppaVoteInProgress||_wppaSetRd(p,_wppaMyr[p][_wppaCurIdx[p]],"#wppa-rate-")}function wppaOvlLeaveMe(p,a,e){_wppaSetRd(p,e,".wppa-rate-")}function _wppaValidateComment(p,a){if(a=a||_wppaId[p][_wppaCurIdx[p]],jQuery("#wppa-comname-"+p).val().length<1)return alert(__("Please enter your name","wp-photo-album-plus")),!1;if("required"==wppaEmailRequired||"optional"==wppaEmailRequired){var e=jQuery("#wppa-comemail-"+p).val();if("optional"==wppaEmailRequired&&0==e.length)return!0;var t=e.indexOf("@"),a=e.lastIndexOf(".");if(t<1||a=e.length)return alert(__("Please enter a valid email address","wp-photo-album-plus")),!1}return!(jQuery("#wppa-comment-"+p).val().length<1)||(alert(__("Please enter a comment","wp-photo-album-plus")),!1)}function _wppaGo(p){document.location=p}function _wppaBbb(p,a,e){if(!_wppaSSRuns[p]){var t="#bbb-"+p+"-"+a;switch(e){case"show":"l"==a&&jQuery(t).attr("title",__("Previous photo","wp-photo-album-plus")),"r"==a&&jQuery(t).attr("title",__("Next photo","wp-photo-album-plus")),jQuery(".wppa-bbb-"+p).css("cursor","pointer");break;case"hide":jQuery(".wppa-bbb-"+p).removeAttr("title"),jQuery(".wppa-bbb-"+p).css("cursor","default");break;case"click":"l"==a&&wppaPrev(p),"r"==a&&wppaNext(p);break;default:alert("Unimplemented instruction: "+e+" on: "+t)}}}function _wppaUbb(p,a,e){var t="#ubb-"+p+"-"+a;switch(e){case"show":"l"==a&&jQuery(t).attr("title",__("Previous photo","wp-photo-album-plus")),"r"==a&&jQuery(t).attr("title",__("Next photo","wp-photo-album-plus")),jQuery(".ubb-"+p).css("cursor","pointer"),jQuery(".ubb-"+p).stop().fadeTo(200,.8),jQuery("#wppa-startstop-icon-"+p).stop().fadeTo(200,.8);break;case"hide":jQuery(".ubb-"+p).removeAttr("title"),jQuery(".ubb-"+p).css("cursor","default"),wppaIsMobile?jQuery(".ubb-"+p).stop().fadeTo(200,.1):jQuery(".ubb-"+p).stop().fadeTo(200,0),jQuery("#wppa-startstop-icon-"+p).stop().fadeTo(200,0);break;case"click":wppaIsMobile&&(jQuery(".ubb-"+p).stop().fadeTo(200,1).fadeTo(1e3,0),jQuery("#wppa-startstop-icon-"+p).stop().fadeTo(200,1).fadeTo(1e3,0)),"l"==a&&wppaPrev(p),"r"==a&&wppaNext(p);break;default:alert("Unimplemented instruction: "+e+" on: "+t)}}function wppaOpenComments(p){_wppaSSRuns[p]&&_wppaStop(p),jQuery("#wppa-comtable-wrap-"+p).css("display","block"),jQuery("#wppa-comform-wrap-"+p).css("display","block"),jQuery("#wppa-comfooter-wrap-"+p).css("display","none"),wppaColWidth[p]=0,setTimeout("_wppaDoAutocol( "+p+" )",100)}function _wppaShowMetaData(p,a){_wppaSlides[p]&&(_wppaSSRuns[p]||__wppaOverruleRun?"show"==a?wppaFotomotoHideWhenRunning||wppaFotomotoToolbar(p,_wppaHiresUrl[p][_wppaCurIdx[p]]):wppaShareHideWhenRunning&&jQuery("#wppa-share-"+p).css("display","none"):"show"==a?(wppaAutoOpenComments&&(jQuery("#wppa-comtable-wrap-"+p).css("display","block"),jQuery("#wppa-comform-wrap-"+p).css("display","block"),jQuery("#wppa-comfooter-wrap-"+p).css("display","none")),0!=_wppaCurIdx[p]&&jQuery(".wppa-first-"+p).show(),_wppaCurIdx[p]!=_wppaSlides[p].length-1&&jQuery(".wppa-last-"+p).show(),wppaShareHideWhenRunning&&jQuery("#wppa-share-"+p).css("display",""),wppaFotomotoToolbar(p,_wppaHiresUrl[p][_wppaCurIdx[p]])):(jQuery("#wppa-comtable-wrap-"+p).css("display","none"),jQuery("#wppa-comform-wrap-"+p).css("display","none"),jQuery("#wppa-comfooter-wrap-"+p).css("display","block"),wppaFotomotoHide(p)),"show"==a?(jQuery("#imagedesc-"+p).css("visibility","visible"),jQuery("#imagetitle-"+p).css("visibility","visible"),jQuery("#counter-"+p).css("visibility","visible"),jQuery("#iptccontent-"+p).css("visibility","visible"),jQuery("#exifcontent-"+p).css("visibility","visible")):(jQuery("#counter-"+p).css("visibility","hidden"),jQuery(".wppa-first-"+p).hide(),jQuery(".wppa-last-"+p).hide(),jQuery("#iptccontent-"+p).css("visibility","hidden"),jQuery("#exifcontent-"+p).css("visibility","hidden")))}function wppaGetSlideshowTimeout(p,a){var e,t;return"random"==_wppaTimeOut[p]?(e=2*wppaAnimationSpeed,t=7*wppaAnimationSpeed,Math.floor(Math.random()*(t-e+1))+e):_wppaTimeOut[p]}function wppaIsSlidshowVisible(p){if(!wppaLazyLoad)return!0;for(var a,e=["slide_frame-"+p,"filmwindow-"+p],t=e.length,i=0;i System -> I -> Item 5","wp-photo-album-plus")):alert(__("Unexpected output","wp-photo-album-plus")+": "+e.substr(0,100)+"..."):(p="string"==typeof e?(p=JSON.parse(e)).html+""+p.js+"<\/script"+">":e.html+""+e.js+"<\/script"+">",wppaCheckViewport=!0,wppaLazyDone=!1,wppaRenderModal&&r?(e={modal:!0,resizable:!0,width:wppaGetContainerWidth(o),show:{effect:"fadeIn",duration:400},closeText:"",classes:"wppa-dialog"},wppaPrepareModal(o),jQuery("#wppa-modal-container-"+o).html(p),jQuery("#wppa-modal-container-"+o).dialog(e),e=-1!=p.indexOf("slide-frame")?1==wppaAreaMaxFracSlide?wppaWindowHeight()/20:(wppaWindowHeight()-wppaWindowHeight()*wppaAreaMaxFracSlide)/2:1==wppaAreaMaxFrac?wppaWindowHeight()/20:(wppaWindowHeight()-wppaWindowHeight()*wppaAreaMaxFrac)/2,jQuery(".ui-dialog").css({boxShadow:"0px 0px 5px 5px #aaaaaa",borderRadius:wppaBoxRadius+"px",padding:"8px",backgroundColor:wppaModalBgColor,boxSizing:"content-box",zIndex:1e5,margin:"auto",overflow:"hidden",position:"fixed",left:(wppaWindowWidth()-wppaGetContainerWidth(o))/2+"px",top:e+"px"}),jQuery(".ui-dialog-titlebar").css({lineHeight:"0px",height:"32px"}),jQuery(".ui-button").css({backgroundImage:wppaModalQuitImg,padding:0,position:"absolute",right:"8px",top:"8px",width:"16px",height:"16px"}),jQuery(".ui-button").attr("title","Close"),jQuery(".ui-button").on("click",function(){_wppaStop(o)}),jQuery(".wppa-ajax-spin").stop().fadeOut(),setTimeout(function(){jQuery().niceScroll&&(jQuery(".wppa-albumlist-"+o).niceScroll(".wppa-nicewrap",{}),jQuery(".wppa-slidelist-"+o).niceScroll(".wppa-nicewrap",{}))},1e3),jQuery(document).trigger("resize")):(jQuery("#wppa-container-"+o).html(p),jQuery("#wppa-button-hide-"+o).show()),wppaCanPushState&&wppaUpdateAddressLine&&r&&(r=r.split("&").join("&"),history.pushState({type:"ajax"},"",r)),wppaUpdateLightboxes(),"undefined"!=typeof wppaQRUpdate&&wppaQRUpdate(r),wppaColWidth[o]=0,_wppaDoAutocol(o,"ajax"))},error:function(e,a,t){wppaConsoleLog("wppaDoAjaxRender failed. Error = "+t+", status = "+a),r?document.location.href=r:document.location.reload(!0)},complete:function(e,a,t){!wppaRenderModal&&wppaAjaxScroll&&jQuery("html, body").animate({scrollTop:jQuery("#wppa-container-"+o).offset().top-32-wppaStickyHeaderHeight},1e3),jQuery(".wppa-ajax-spin").stop().fadeOut(),window.dispatchEvent(new Event("resize")),wppaProtect(),wppaDoInit()}}):(document.location.href=r,wppaColWidth[o]=0,_wppaDoAutocol(o,"nonajax"))}function wppaDoFetchShortcodeRendered(o,e,a){jQuery.ajax({url:wppaAjaxUrl+"?action=wppa&wppa-action=getshortcodedrenderedfenodelay&wppa-shortcode="+e+"&wppa-nonce="+jQuery("#wppa-nonce").val()+"&wppa-occur="+o+"&wppa-fromp="+a,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery("#wppa-ajax-spin-"+o).show()},success:function(e,a,t){var p;try{p="rest"==wppaAjaxMethod?e.html+""+e.js+"<\/script"+">":(p=JSON.parse(e)).html+""+p.js+"<\/script"+">",jQuery("#wppa-container-"+o).html(p)}catch(e){wppaConsoleLog("wppaDoFetchShortcodeRendered failed. Invalid json data")}},error:function(e,a,t){wppaConsoleLog("wppaDoFetchShortcodeRendered failed. Error = "+t+", status = "+a)},complete:function(e,a){jQuery(document).trigger("resize"),wppaProtect(),jQuery("#wppa-ajax-spin-"+o).hide(),wppaInitOverlay()}})}function wppaAjaxApprovePhoto(p){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=approve&photo-id="+p,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);"OK"==e&&jQuery(".wppa-approve-"+p).css("display","none")},error:function(e,a,t){wppaConsoleLog("wppaAjaxApprovePhoto failed. Error = "+t+", status = "+a)}})}function wppaAjaxRemovePhoto(p,o,r){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=remove&photo-id="+o,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);rtxt=e.split("||"),"OK"==rtxt[0]?r?(jQuery("#wppa-film-"+_wppaCurIdx[p]+"-"+p).attr("src",""),jQuery("#wppa-pre-"+_wppaCurIdx[p]+"-"+p).attr("src",""),jQuery("#wppa-film-"+_wppaCurIdx[p]+"-"+p).attr("alt","removed"),jQuery("#wppa-pre-"+_wppaCurIdx[p]+"-"+p).attr("alt","removed"),wppaNext(p)):(jQuery(".wppa-approve-"+o).css("display","none"),jQuery(".thumbnail-frame-photo-"+o).css("display","none")):rtxt[3]?(alert(rtxt[3]),jQuery("#wppa-delete-"+o).css("text-decoration","line-through")):alert(e)},error:function(e,a,t){wppaConsoleLog("wppaAjaxRemovePhoto failed. Error = "+t+", status = "+a)}})}function wppaAjaxApproveComment(p){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=approve&comment-id="+p,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);"OK"==e?jQuery(".wppa-approve-"+p).css("display","none"):alert(e)},error:function(e,a,t){wppaConsoleLog("wppaAjaxApproveComment failed. Error = "+t+", status = "+a)}})}function wppaAjaxRemoveComment(p){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=remove&comment-id="+p,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);"OK"==e.split("||")[0]?(jQuery(".wppa-approve-"+p).css("display","none"),jQuery(".wppa-comment-"+p).css("display","none")):alert(e)},error:function(e,a,t){wppaConsoleLog("wppaAjaxRemoveComment failed. Error = "+t+", status = "+a)}})}function wppaAjaxAddPhotoToZip(p,o,r){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=addtozip&photo-id="+o,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt),e=e.split("||");"OK"==e[0]&&(jQuery("#admin-choice-"+o+"-"+p).html(e[2]),jQuery("#admin-choice-"+o+"-"+p).val(e[2]),jQuery("#admin-choice-"+o+"-"+p).prop("disabled",!0)),alert(e[1]),r&&document.location.reload(!0)},error:function(e,a,t){wppaConsoleLog("wppaAjaxAddPhotoToZip failed. Error = "+t+", status = "+a)}})}function wppaAjaxRemovePhotoFromZip(o,r,n){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=removefromzip&photo-id="+r,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){var p="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt),e=p.split("||");"OK"==e[0]?(jQuery("#admin-choice-rem-"+r+"-"+o).val(e[1]),jQuery("#admin-choice-rem-"+r+"-"+o).prop("disabled",!0),jQuery("#admin-choice-rem-"+r+"-"+o).css("text-decoration","")):alert(p),n&&document.location.reload(!0)},error:function(e,a,t){wppaConsoleLog("wppaAjaxRemovePhotoFromZip failed. Error = "+t+", status = "+a,"force")}})}function wppaAjaxDeleteMyZip(){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=delmyzip",async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){"rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);document.location.reload(!0)},error:function(e,a,t){wppaConsoleLog("wppaAjaxDeleteMyZip failed. Error = "+t+", status = "+a)}})}function wppaAjaxRequestInfo(e,a,t){dialogHtml='";t={modal:!0,resizable:!0,width:wppaGetContainerWidth(e),show:{effect:"fadeIn",duration:400},closeText:"",classes:"wppa-dialog"};wppaPrepareModal(e),jQuery("#wppa-modal-container-"+e).html(dialogHtml),jQuery("#wppa-modal-container-"+e).dialog(t),jQuery(".ui-dialog").css({boxShadow:"0px 0px 5px 5px #aaaaaa",borderRadius:wppaBoxRadius+"px",padding:"8px",backgroundColor:wppaModalBgColor,boxSizing:"content-box",zIndex:1e5,position:"fixed",top:wppaWindowHeight()/10+"px"}),jQuery(".ui-dialog-titlebar").css({lineHeight:"0px",height:"24px"}),jQuery(".ui-button").css({backgroundImage:wppaModalQuitImg,padding:0,position:"absolute",right:"8px",top:"8px",width:"16px",height:"16px"}),jQuery(".ui-button").attr("title","Close"),jQuery(document).trigger("resize")}function wppaAjaxRequestInfoSend(o,r,n){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=requestinfo&photo-id="+r+"&emailtext="+jQuery("#wppa-request-info-text-"+o).val(),async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){var p="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt),e=p.split("||");"OK"==e[0]?(jQuery("#request-info-"+r+"-"+o).val(e[1]),jQuery("#request-info-"+r+"-"+o).prop("disabled",!0)):alert(p),n?document.location.reload(!0):(jQuery("#wppa-modal-container-"+o).dialog("close"),jQuery("#wppa-modal-container-"+o).html(""))},error:function(e,a,t){wppaConsoleLog("wppaAjaxRequestInfoSend failed. Error = "+t+", status = "+a)}})}function wppaEditPhoto(o,e){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=front-edit&photo-id="+e+"&occur="+o,async:!0,type:"POST",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){var p="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt),e={modal:!0,resizable:!0,width:wppaGetContainerWidth(o),show:{effect:"fadeIn",duration:400},closeText:"",classes:"wppa-dialog"};wppaPrepareModal(o),jQuery("#wppa-modal-container-"+o).html(p),jQuery("#wppa-modal-container-"+o).dialog(e),jQuery(".ui-dialog").css({boxShadow:"0px 0px 5px 5px #aaaaaa",borderRadius:wppaBoxRadius+"px",padding:"8px",backgroundColor:wppaModalBgColor,boxSizing:"content-box",zIndex:1e5,position:"fixed",top:wppaWindowHeight()/10+"px"}),jQuery(".ui-dialog-titlebar").css({lineHeight:"0px",height:"24px"}),jQuery(".ui-button").css({backgroundImage:wppaModalQuitImg,padding:0,position:"absolute",right:"8px",top:"8px",width:"16px",height:"16px"}),jQuery(".ui-button").attr("title","Close"),jQuery(document).trigger("resize"),jQuery(".ui-dialog").on("scroll wheel",function(e){e.stopPropagation()})},error:function(e,a,t){wppaConsoleLog("wppaEditPhoto failed. Error = "+t+", status = "+a)},complete:function(e,a,t){}})}function wppaPrevTags(e,a,t,p,o,r,n,i,s){var e=jQuery("#"+e).val()||"",a=jQuery("#"+a).val()||"",t=jQuery("#"+t).val()||"",p=jQuery("#"+p).val()||"",o=jQuery("#"+o).val()||"",u=jQuery("#"+i).val()||"";jQuery("#"+i).val(s),jQuery("#"+i).attr("disabled","disabled");o="action=wppa&wppa-action=sanitizetags&tags="+e+","+a+","+t+","+p+"&album="+o;jQuery.ajax({url:wppaAjaxUrl,data:o,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery("#"+r).html("Working...")},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);jQuery("#"+n).attr("value",wppaTrim(e,",")),jQuery("#"+r).html(wppaTrim(e,",")),jQuery("#"+i).val(u),jQuery("#"+i).removeAttr("disabled")},error:function(e,a,t){jQuery("#"+r).html(''+t+""),wppaConsoleLog("wppaPrevTags failed. Error = "+t+", status = "+a)}})}function wppaAjaxDestroyAlbum(e,a){return confirm("Are you sure you want to delete this album?")&&jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=destroyalbum&album="+e+"&nonce="+a,async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);alert(e+"\n"+__("Page will be reloaded","wp-photo-album-plus")),document.location.reload(!0)},error:function(e,a,t){wppaConsoleLog("wppaAjaxDestroyAlbum failed. Error = "+t+", status = "+a)}}),!1}function _bumpClickCount(e){wppaBumpClickCount&&jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=bumpclickcount&wppa-photo="+e+"&wppa-nonce="+jQuery("#wppa-nonce").val(),async:!1,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){"rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt)},error:function(e,a,t){wppaConsoleLog("_bumpClickCount failed. Error = "+t+", status = "+a)}})}function _bumpViewCount(p){wppaBumpViewCount&&(wppaPhotoView[p]||jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=bumpviewcount&wppa-photo="+p+"&wppa-nonce="+jQuery("#wppa-nonce").val(),async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){"rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);wppaPhotoView[p]=!0},error:function(e,a,t){wppaConsoleLog("_bumpViewCount failed. Error = "+t+", status = "+a)}}))}function wppaVoteThumb(p,o){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=rate&wppa-rating=1&wppa-rating-id="+o+"&wppa-occur="+p+"&wppa-index=0&wppa-nonce="+jQuery("#wppa-nonce").val(),async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){"rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);jQuery("#wppa-vote-button-"+p+"-"+o).val(wppaVotedForMe)},error:function(e,a,t){wppaConsoleLog("wppaVoteThumb failed. Error = "+t+", status = "+a)}})}function _wppaRateIt(o,a){var e,t,p;0!=a&&(_wppaSSRuns[o]||(e=_wppaId[o][_wppaCurIdx[o]],t=_wppaMyr[o][_wppaCurIdx[o]],0<(p=_wppaWaitTexts[o][_wppaCurIdx[o]]).length?alert(p):0!=t&&wppaRatingOnce||t<0||(_wppaVoteInProgress=!0,jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=rate&wppa-rating="+a+"&wppa-rating-id="+e+"&wppa-occur="+o+"&wppa-index="+_wppaCurIdx[o]+"&wppa-nonce="+jQuery("#wppa-nonce").val(),async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery("#wppa-rate-"+o+"-"+a).attr("src",wppaImageDirectory+"tick.png"),jQuery("#wppa-rate-"+o+"-"+a).stop().fadeTo(100,1),jQuery("#wppa-like-"+o).attr("src",wppaImageDirectory+"spinner.gif")},success:function(e,a,t){var p="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt),e=p.split("||");0==e[0]?900==e[1]?(alert(e[2]),_wppaSetRatingDisplay(o)):alert(__("Error Code","wp-photo-album-plus")+" = "+e[1]+"\n\n"+e[2]):(e[7]&&"likes"==e[7]?(p=e[4].split("|"),jQuery("#wppa-like-"+o).attr("title",p[0]),jQuery("#wppa-liketext-"+o).html(p[1]),"1"==e[3]?jQuery("#wppa-like-"+o).attr("src",wppaImageDirectory+"thumbdown.png"):jQuery("#wppa-like-"+o).attr("src",wppaImageDirectory+"thumbup.png"),_wppaMyr[e[0]][e[2]]=e[3],_wppaAvg[e[0]][e[2]]=e[4]):(_wppaMyr[e[0]][e[2]]=e[3],_wppaAvg[e[0]][e[2]]=e[4],_wppaDisc[e[0]][e[2]]=e[5],_wppaSetRatingDisplay(o),wppaCommentRequiredAfterVote&&0==e[6]&&alert(e[7])),wppaNextOnCallback&&_wppaNextOnCallback(o))},error:function(e,a,t){wppaConsoleLog("_wppaRateIt failed. Error = "+t+", status = "+a)}}))))}function _wppaOvlRateIt(o,r,n,i){0!=r&&jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=rate&wppa-rating="+r+"&wppa-rating-id="+o+"&wppa-occur=1&wppa-nonce="+jQuery("#wppa-nonce").val(),async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery(".wppa-rate-"+n+"-"+r).attr("src",wppaImageDirectory+"tick.png"),jQuery(".wppa-rate-"+n+"-"+r).stop().fadeTo(100,1),jQuery("#wppa-like-"+o+"-"+n).attr("src",wppaImageDirectory+"spinner.gif"),jQuery("#wppa-like-0").attr("src",wppaImageDirectory+"spinner.gif")},success:function(e,a,t){var p=e.txt||(theResult=JSON.parse(e),theResult.txt),e=p.split("||");if(0==e[0])900==e[1]?alert(e[2]):alert(__("Error Code","wp-photo-album-plus")+" = "+e[1]+"\n\n"+e[2]),jQuery(".wppa-rate-"+n+"-"+r).attr("src",wppaImageDirectory+"cross.png");else{if(e[7]&&"likes"==e[7]){p=e[4].split("|");return jQuery("#wppa-like-0").attr("title",p[0]),jQuery("#wppa-liketext-0").html(p[1]),"1"==e[3]?jQuery("#wppa-like-0").attr("src",wppaImageDirectory+"thumbdown.png"):jQuery("#wppa-like-0").attr("src",wppaImageDirectory+"thumbup.png"),jQuery("#wppa-like-"+o+"-"+n).attr("title",p[0]),jQuery("#wppa-liketext-"+o+"-"+n).html(p[1]),void("1"==e[3]?jQuery("#wppa-like-"+o+"-"+n).attr("src",wppaImageDirectory+"thumbdown.png"):jQuery("#wppa-like-"+o+"-"+n).attr("src",wppaImageDirectory+"thumbup.png"))}_wppaSetRd(n,e[4],".wppa-avg-"),_wppaSetRd(n,e[3],".wppa-rate-"),i||wppaNextOnCallback&&wppaOvlShowNext()}},error:function(e,a,t){wppaConsoleLog("_wppaOvlRateIt failed. Error = "+t+", status = "+a)}})}function wppaAjaxDownloadAlbum(p,o){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=downloadalbum&album-id="+o,async:!0,type:"GET",timeout:12e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery("#dwnspin-"+p+"-"+o).css("display","")},success:function(e,a,t){var p=e.txt||(theResult=JSON.parse(e),theResult.txt),o=p.split("||"),r=o[0],e=o[1],p=o[2];3==o.length&&""!=p&&alert(__("Attention","wp-photo-album-plus")+":\n\n"+p),"OK"==e?document.location=r:alert(__("The server could not complete the request. Please try again.","wp-photo-album-plus"))},error:function(e,a,t){alert("An error occurred:\n"+t+"\nPlease try again")},complete:function(e,a,t){jQuery("#dwnspin-"+p+"-"+o).css("display","none")}})}function wppaAjaxComment(p,e){var a;_wppaValidateComment(p,e)&&(a=(a=jQuery("#wppa-comment-"+p).val()).replace(/&/g,"%26"),a={photoid:e,comname:jQuery("#wppa-comname-"+p).val(),comment:a,captcha:jQuery("#wppa-captcha-"+p).val(),nonce:jQuery("#wppa-nonce").val(),occur:p,comemail:jQuery("#wppa-comemail-"+p).val(),comid:jQuery("#wppa-comment-edit-"+p).val(),returnurl:encodeURIComponent(jQuery("#wppa-returnurl-"+p).val()),dbagree:jQuery("#db-agree-"+p).prop("checked")?"yes":"no"},a=JSON.stringify(a),jQuery.ajax({url:wppaAjaxUrl+"?action=wppa&wppa-action=do-comment",data:"data="+a,async:!0,type:"POST",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery("#wppa-comment-spin-"+p).css("display","inline")},success:function(e,a,t){e=e.txt||(theResult=JSON.parse(e),theResult.txt);e&&(e=e.replace(/\\/g,""),jQuery("#wppa-comments-"+p).html(e),_wppaCurIdx[p]&&(_wppaCommentHtml[p][_wppaCurIdx[p]]=e)),wppaOpenComments(p)},error:function(e,a,t){wppaConsoleLog("wppaAjaxComment failed. Error = "+t+", status = "+a)},complete:function(e,a,t){jQuery("#wppa-comment-spin-"+p).css("display","none")}}))}function wppaUpdatePhotoNew(e,p){for(var a,t=["upn-name","upn-description","upn-tags","custom_0","custom_1","custom_2","custom_3","custom_4","custom_5","custom_6","custom_7","custom_8","custom_9"],o="action=wppa&wppa-action=update-photo-new&photo-id="+e+"&wppa-nonce="+jQuery("#wppa-nonce-"+e).val(),r=0;r")).replace(/"/g,'"')).replace(/\\n/g," "):""}var wppaLastQrcodeUrl="";function wppaAjaxSetQrCodeSrc(e,p){0!=jQuery(p).length&&wppaLastQrcodeUrl!=e&&(wppaLastQrcodeUrl=e,e="action=wppa&wppa-action=getqrcode&wppa-qr-nonce="+jQuery("#wppa-qr-nonce").val()+"&url="+encodeURIComponent(e),jQuery.ajax({url:wppaAjaxUrl,data:e,async:!0,type:"POST",timeout:1e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt),e=e.split("|");jQuery(p).attr("src",e[0]),jQuery(p).attr("title",e[1])},error:function(e,a,t){wppaConsoleLog("wppaAjaxSetQrCodeSrc failed. Error = "+t+", status = "+a)}}))}function wppaAjaxNotify(e,p,o){e=jQuery(e).prop("checked")?"on":"off",e="action=wppa&wppa-action=mailinglist&wppa-ntfy-nonce="+jQuery("#wppa-ntfy-nonce").val()+"&list="+p+"&onoff="+e;o&&(e+="&wppa-user="+o),jQuery.ajax({url:wppaAdminAjaxUrl,data:e,async:!0,type:"POST",timeout:1e4,beforeSend:function(e){o&&jQuery("#img_"+p+"-"+o).attr("src",wppaImageDirectory+"spinner.gif")},success:function(e,a,t){o&&jQuery("#img_"+p+"-"+o).attr("src",wppaImageDirectory+"tick.png")},error:function(e,a,t){wppaConsoleLog("wppaAjaxNotify failed. Error = "+t+", status = "+a),jQuery("#img_"+p+"-"+o).attr("src",wppaImageDirectory+"cross.png")}})}function wppaAjaxGetSsIptcList(e,a,t,p){wppaAjaxGetSsIptcExifList(e,a,t,p,"iptc")}function wppaAjaxGetSsExifList(e,a,t,p){wppaAjaxGetSsIptcExifList(e,a,t,p,"exif")}function wppaAjaxGetSsIptcExifList(p,o,r,n,i){ajaxurl=wppaAjaxUrl,ajaxurl+="?action=wppa&wppa-action=getss"+i+"list&"+i+"tag="+o+"&occur="+p,jQuery.ajax({url:ajaxurl,async:!0,type:"GET",timeout:1e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce),jQuery("#wppa-ss-spinner-"+p).css("display","")},success:function(e,a,t){e="rest"==wppaAjaxMethod?e.txt:(theResult=JSON.parse(e),theResult.txt);jQuery("#"+r).html(e),jQuery("#wppa-ss-"+i+"opts-"+p).css("display",""),wppaSuperSearchSelect(p),setTimeout('wppaSetIptcExifSize( ".wppa-'+i+"list-"+p+'", "#'+r+'" )',10),n&&wppaConsoleLog("wppaAjaxGetSs"+i+"List success after retry.")},error:function(e,a,t){wppaConsoleLog("wppaAjaxGetSs"+i+"List failed. Error = "+t+", status = "+a),n||wppaAjaxGetSsIptcExifList(p,o,r,!0,i)},complete:function(e,a,t){jQuery("#wppa-ss-spinner-"+p).css("display","none")}})}function wppaPrepareModal(a){try{jQuery("#wppa-modal-container-"+a).dialog("destroy"),jQuery("#wppa-modal-container-"+a).html("")}catch(e){jQuery("#wppa-modal-container-"+a).html("")}}function wppaAjaxBumpDownloadCount(e){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=bumpdownloadcount&wppa-photo="+e+"&wppa-nonce="+jQuery("#wppa-nonce").val(),async:!0,type:"GET",timeout:6e4,beforeSend:function(e){"rest"==wppaAjaxMethod&&e.setRequestHeader("X-WP-NONCE",wppaObj.restNonce)},success:function(e,a,t){},error:function(e,a,t){wppaConsoleLog("wppaAjaxBumpDownloadCount. Error = "+t+", status = "+a)}})}
var wppaJsLightboxVersion="9.1.04.005",wppaOvlActivePanorama=0;function wppaOvlKeyboardHandler(p){var a,e=(a=(null==p?event:p).keyCode,27),p=String.fromCharCode(a).toLowerCase();switch(a){case e:wppaStopVideo(0),wppaStopAudio(0),wppaOvlHide();break;case 37:wppaOvlShowPrev();break;case 39:wppaOvlShowNext()}switch(p){case"p":wppaOvlShowPrev();break;case"n":wppaOvlShowNext();break;case"s":wppaOvlStartStop();break;case"f":wppaFsOn();break;case"q":case"x":wppaStopVideo(0),wppaStopAudio(0),wppaOvlHide()}return!1}function wppaOvlShow(p){var a,e;for(i=0;i",wppaOvlVideoLoading=!0):wppaOvlIsPdf?t='':(t='!['+wppaOvlAlts[p]+']('+wppaOvlUrls[p]+')
',wppaHasAudio&&(t+='
"),t+="
"),!wppaIsVideo&&!wppaHasAudio||wppaOvlFsPhotoId!=wppaPhotoId||0==wppaPhotoId)if(wppaStopVideo(0),wppaStopAudio(),0',wppaIsVideo?(t+='",wppaOvlIsVideo=!0,wppaOvlVideoLoading=!0):wppaOvlIsPdf?t+="':(t+='
',wppaHasAudio&&(t+='"),wppaOvlIsVideo=!1),t+="";e=!wppaOvlIsSingle&&wppaOvlShowCounter;t+='',t+=wppaOvlNavBar(),t+=(e?wppaOvlIdx+1+"/"+wppaOvlUrls.length+"
":"")+wppaOvlTitles[p],t+="
",t+="
",(0==wppaOvlActivePanorama?jQuery("#wppa-overlay-ic"):jQuery("#wppa-overlay-pc")).html(t),""!=wppaOvlTypes[p]&&"document"!=wppaOvlTypes[p]||jQuery("#wppa-overlay-ic").show(),wppaFsShow(),wppaHideRightClick&&(jQuery("#wppa-overlay-img").bind("contextmenu",function(p){return!1}),jQuery("canvas").bind("contextmenu",function(p){return!1})),0==wppaOvlPanoramaIds[p]&&wppaOvlResize(),wppaFsShow(),wppaAdjustControlbar()}wppaFsShow(),wppaProtect();p=wppaOvlSlideStartDefault;"yes"==wppaOvlSlideStart[wppaFromMocc]&&(p=!0),"no"==wppaOvlSlideStart[wppaFromMocc]&&(p=!1),wppaOvlFirst&&p&&!wppaOvlIsSingle&&(wppaOvlRunning=!0,jQuery("#wppa-ovl-stop-btn").show(),jQuery("#wppa-ovl-start-btn").hide(),clearTimeout(wppaOvlTimer),wppaOvlTimer=setTimeout(wppaOvlRun,wppaOvlSlideSpeed)),wppaOvlFirst=!1}function wppaOvlVideoOnPause(p){wppaOvlVideoPlaying=!1,p.ended?wppaIsIntro&&wppaOvlHide():wppaOvlVideoPauseStop&&4==p.readyState&&0'+wppaOvlNavBar()+"",jQuery("#wppa-overlay-ic").html(html),wppaFsShow(),!0}}function wppaOvlStartAudio(){var p=document.getElementById("wppa-overlay-audio");p&&"function"==typeof p.play&&p.play()}function wppaOvlStartStop(){wppaOvlRunning?(wppaOvlRunning=!1,-1!=wppaOvlIdx&&(0!=wppaOvlIdx&&jQuery(".wppa-ovl-prev-btn").css("visibility","visible"),wppaOvlIdx!=wppaOvlUrls.length-1&&jQuery(".wppa-ovl-next-btn").css("visibility","visible")),wppaOvlShowStartStop&&(jQuery("#wppa-ovl-stop-btn").hide(),jQuery("#wppa-ovl-start-btn").show())):(wppaOvlRunning=!0,wppaOvlRun(),wppaOvlShowStartStop&&(jQuery("#wppa-ovl-stop-btn").show(),jQuery("#wppa-ovl-start-btn").hide()))}function wppaOvlStop(){wppaOvlRunning&&wppaOvlStartStop()}jQuery(document).ready(function(p){wppaInitOverlay()}),jQuery(document).ready(function(p){jQuery(window).on("resize",function(){wppaOvlResize()})}),jQuery(window).on("orientationchange",function(){wppaOvlOpen&&setTimeout(function(){wppaOvlShowSame()},200)});var wppaToggle="+";function wppaOvlRun(){if(wppaOvlRunning){var p=document.getElementById("wppa-overlay-img");if(wppaIsVideo&&(p.readyState,p.currentTime,p.duration,wppaToggle="+"==wppaToggle?"-":"+",p.autoplay&&p.readyState<4&&p.duration!=p.currentTime))setTimeout(wppaOvlRun,1e3);else if(wppaOvlVideoLoading||wppaOvlVideoPlaying||wppaOvlAudioPlaying)setTimeout(wppaOvlRun,1e3);else{if(!wppaIsVideo&&!wppaOvlIsPdf){p=document.getElementById("wppa-overlay-img");if(p&&!wppaIsIe&&!p.complete)return void setTimeout(wppaOvlRun,200)}wppaOvlShowNext(),clearTimeout(wppaOvlTimer),wppaOvlTimer=setTimeout(wppaOvlRun,wppaOvlSlideSpeed)}}}function wppaOvlShowPrev(){if(wppaOvlIsSingle)return!1;jQuery("#wppa-ovl-spin").show(),wppaOvlFsPhotoId=0,wppaPhotoId=0;var p=wppaOvlCurIdx-1;p<0&&(p=wppaOvlUrls.length-1);var a=document.getElementById("wppa-pre-prev");return""!=wppaOvlVideoHtmls[p]||wppaIsIe||a.complete||!wppaOvlOpen?wppaOvlShow(p):setTimeout(wppaOvlShowPrev,200),!1}function wppaOvlShowNext(){if(wppaOvlIsSingle)return!1;jQuery("#wppa-ovl-spin").show(),wppaOvlFsPhotoId=0,wppaPhotoId=0;var p=wppaOvlCurIdx+1;p>wppaOvlUrls.length-1&&(p=0);var a=document.getElementById("wppa-pre-next");return""!=wppaOvlVideoHtmls[p]||wppaIsIe||a.complete||!wppaOvlOpen?wppaOvlShow(p):setTimeout(wppaOvlShowNext,200),!1}function wppaOvlShowSame(p){var a;wppaOvlOpen&&(a=wppaOvlCurIdx,wppaOvlRunning,wppaOvlHide(!0),jQuery("#wppa-ovl-spin").show(),setTimeout(function(){wppaOvlShow(a)},1e3))}function wppaOvlHide(p){var a;for(wppaOvlOpen=!1,wppaOvlClosing=!wppaOvlClosing,wppaStopAudio(),wppaIsIntro=!1,p||"lightbox"!=wppaFsPolicy||wppaIsFs()&&wppaFsOff(),jQuery("#wppa-overlay-ic").html("").hide(),jQuery("#wppa-overlay-pc").html("").hide(),jQuery("#wppa-overlay-fpc").html("").hide(),jQuery("#wppa-overlay-zpc").html("").hide(),jQuery(document).off("keydown",wppaOvlKeyboardHandler),wppaKbHandlerInstalled=!1,wppaOvlFirst=!0,wppaOvlRunning=!1,clearTimeout(wppaOvlTimer),jQuery("#wppa-ovl-spin").hide(),wppaOvlActivePanorama=0,jQuery("body").trigger("quitimage"),a=0;a"+e;p.attr("data-lbtitle")||p.attr("data-lbtitle",e)});var p,a,e=jQuery("a"),t=[];for(wppaOvlFsPhotoId=0,wppaPhotoId=0,(wppaOvlActivePanorama=0)==wppaSavedContainerWidth&&(wppaSavedContainerWidth=240+2*wppaOvlBorderWidth,wppaSavedContainerHeight=180+3*wppaOvlBorderWidth+20+("auto"==wppaOvlTxtHeight?50:wppaOvlTxtHeight),wppaSavedMarginLeft=-(120+wppaOvlBorderWidth),wppaSavedMarginTop=-(90+wppaOvlBorderWidth+10+("auto"==wppaOvlTxtHeight?25:wppaOvlTxtHeight/2)),wppaSavedImageWidth=240,wppaSavedImageHeight=180+wppaOvlBorderWidth),a=0;a'+wppaSvgHtml("Prev-Button-Big","60px",!0,!1,0,0,0,0)+""),wppaOvlSmallBrowse&&(p+=''+wppaSvgHtml("Prev-Button",wppaOvlIconSize,!0,!0)+""),wppaOvlShowStartStop&&(p+=''+wppaSvgHtml("Play-Button",wppaOvlIconSize,!0,!0)+''+wppaSvgHtml("Pause-Button",wppaOvlIconSize,!0,!0)+""),wppaOvlBigBrowse&&(p+=''+wppaSvgHtml("Next-Button-Big","60px",!0,!1,0,0,0,0)+""),wppaOvlSmallBrowse&&(p+=''+wppaSvgHtml("Next-Button",wppaOvlIconSize,!0,!0)+"")),wppaOvlBigBrowse&&(p+=''+wppaSvgHtml("Exit-Big","60px",!0,!1,0,0,0,0)+""),wppaOvlSmallBrowse&&(p+=''+wppaSvgHtml("Exit-2",wppaOvlIconSize,!0,!0)+""),!("lightbox"==wppaFsPolicy||"global"==wppaFsPolicy&&wppaOvlBigBrowse)||wppaIsSafari||wppaIsIpad||(p+=''+wppaSvgHtml("Full-Screen-2",wppaOvlIconSize,!0,!0)+''+wppaSvgHtml("Exit-Full-Screen-2",wppaOvlIconSize,!0,!0)+""),p}function wppaAutoStartOvl(){var a=wppaIsIntro;0!=a?jQuery(document).ready(function(){var p=jQuery("[data-id='"+a+"']");0!=p.length?jQuery(p[0]).trigger("click"):wppaIsIntro=!1}):wppaIsIntro=!1}jQuery(document).ready(function(){jQuery(document).ready(function(){wppaAutoStartOvl()})});var wppaJsPopupVersion="9.0.11.006";jQuery(document).on("click",function(){wppaPopDown()});var wppaSkipPop=!1;function wppaPopUp(p,t,i,e,a,o,n,r,d,s){var u;wppaSkipPop?wppaSkipPop=!1:(wppaPopDown(),u=jQuery("#wppa-thumb-area-"+p).width(),e=(e?''+e+"
":"")+(a?''+a+"
":"")+(o?''+o+"
":"")+(n?''+n+"
":""),a=jQuery(t).css("cursor"),wppaThumbTargetBlank,n=(o=jQuery(t).parent().attr("href"))?'':"",n+=""!=r?r:'
',n+=o?"":"",jQuery("#wppa-popup-"+p).html('"),wppaThumbNolink?jQuery(".wppa-popup").on("click",function(){wppaStopProp(event)}):jQuery(".wppa-popup").on("click",function(){return wppaSkipPop=!0,jQuery(t).trigger("click"),!1}),jQuery(".wppa-popup").css({cursor:a}),o=parseInt(d),n=parseInt(s),jQuery(".wppa-popup").css({width:t.clientWidth}),e=parseInt(t.offsetLeft)-7-5,a=parseInt(t.offsetTop)-7-2,jQuery("#grid-item-"+p+"-"+i).length&&(e+=parseInt(jQuery("#grid-item-"+p+"-"+i).css("left"))+6,a+=parseInt(jQuery("#grid-item-"+p+"-"+i).css("top"))),d=parseInt(t.clientWidth),s=parseInt(t.clientHeight),(i=e-parseInt((o-d)/2))<0&&(i=0),u"+d+'
危険!危険!ボクの目の前には競泳水着が脱げずに困っているムチムチボディ義姉!ボクが脱がそうとすると胸やお尻がはみ出しまくり!勃起も理性も[HHHグループ]
ビデオ
タイトルとURLをコピーしました