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