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