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