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