password protected publication
");var a=t?1e3:0,r=t?a/3:0;jQuery(".flowpaper_htmldialog").css({height:"0px",display:"block"}),jQuery(".flowpaper_htmldialog").animate({height:"400px",top:"0px"},{duration:r,complete:function(){jQuery(".flowpaper_htmldialog").css({height:""}),jQuery(".flowpaper_publication").animate({opacity:1},{step:function(t,e){var a=-33*t;jQuery(".flowpaper_publication").css({"-webkit-transform":"perspective(300) rotateY("+(-40-a)+"deg)","-moz-transform":"rotateY("+(-40-a)+"deg)","box-shadow":"5px 5px 20px rgba(51, 51, 51, "+t+")"})},duration:a})}}),e&&e()},FLOWPAPER.getParameterByName=function(t,e){e=e||window.location.href,t=t.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+t+"(=([^]*)|&|#|$)").exec(e);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null},FLOWPAPER.animateDenyEffect=function(p,n,l,S,t){window.setTimeout(function(){var t=l/(2*S+1),e=1+60/(S*S);jQuery(p).stop(!0,!0);for(var a=0;a<=S;a++){for(var r=-1;r<=1;r+=2)jQuery(p).animate({marginLeft:(a!=S)*r*n},{duration:t,queue:!0});n/=e}},500)},FLOWPAPER.authenticated?($(".flowpaper-reflow-wrapper").show(),p()):($(".flowpaper-reflow-wrapper").hide(),FLOWPAPER.initLoginForm(!0,function(){$("#loginForm").find("form").submit(function(t){return t.preventDefault(),$.post("https://online-api.flowpaper.com/authv1/OnlineAuthAPI",{publicationId:"/76510742/NP03320210901authv1/*",password:$("#loginForm").find("#txt_flowpaper_password").val()},function(t){if(t&&"ACCEPT"==t.result){var e=FLOWPAPER.getParameterByName("Policy",t.url),a=FLOWPAPER.getParameterByName("Signature",t.url),r=FLOWPAPER.getParameterByName("Key-Pair-Id",t.url);FLOWPAPER.authenticated={Policy:e,Signature:a,KeyPairId:r,getParams:function(){return"Policy="+this.Policy+"&Signature="+this.Signature+"&Key-Pair-Id="+r}},$("#loginForm").remove(),$(".flowpaper-reflow-wrapper").show(),p()}else FLOWPAPER.animateDenyEffect("#loginForm",25,500,7,"hor")}),!1})}))})