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