password protected publication
");var e=t?1e3:0,p=t?e/3:0;jQuery(".flowpaper_htmldialog").css({height:"0px",display:"block"}),jQuery(".flowpaper_htmldialog").animate({height:"400px",top:"0px"},{duration:p,complete:function(){jQuery(".flowpaper_htmldialog").css({height:""}),jQuery(".flowpaper_publication").animate({opacity:1},{step:function(t,A){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})}}),A&&A()},FLOWPAPER.getParameterByName=function(t,A){A=A||window.location.href,t=t.replace(/[\[\]]/g,"\\$&");var e=new RegExp("[?&]"+t+"(=([^]*)|&|#|$)").exec(A);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null},FLOWPAPER.animateDenyEffect=function(a,n,l,o,t){window.setTimeout(function(){var t=l/(2*o+1),A=1+60/(o*o);jQuery(a).stop(!0,!0);for(var e=0;e<=o;e++){for(var p=-1;p<=1;p+=2)jQuery(a).animate({marginLeft:(e!=o)*p*n},{duration:t,queue:!0});n/=A}},500)},FLOWPAPER.authenticated?($(".flowpaper-reflow-wrapper").show(),a()):($(".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/NP11digitalauthv1/*",password:$("#loginForm").find("#txt_flowpaper_password").val()},function(t){if(t&&"ACCEPT"==t.result){var A=FLOWPAPER.getParameterByName("Policy",t.url),e=FLOWPAPER.getParameterByName("Signature",t.url),p=FLOWPAPER.getParameterByName("Key-Pair-Id",t.url);FLOWPAPER.authenticated={Policy:A,Signature:e,KeyPairId:p,getParams:function(){return"Policy="+this.Policy+"&Signature="+this.Signature+"&Key-Pair-Id="+p}},$("#loginForm").remove(),$(".flowpaper-reflow-wrapper").show(),a()}else FLOWPAPER.animateDenyEffect("#loginForm",25,500,7,"hor")}),!1})})),document.getElementById("flipjs-bookblock").addEventListener("onPagePanned",function(t){var A=t.detail,e=new XMLHttpRequest;e.open("PUT","https://rest.flowpaper.com/analytics/streams/online-flowpaper-com-event-pipe/record"),e.setRequestHeader("Content-Type","application/json"),e.send(JSON.stringify({Data:JSON.stringify({publication:window.location.href,type:"PAGE_VIEW",sessionId:A.sessionId,pageNumber:A.pageNumber,x:A.x,y:A.y,value:A.value,radius:A.radius,event:"onPagePanned"}),PartitionKey:1}))}),document.getElementById("flipjs-bookblock").addEventListener("onPageZoomed",function(t){var A=t.detail,e=new XMLHttpRequest;e.open("PUT","https://rest.flowpaper.com/analytics/streams/online-flowpaper-com-event-pipe/record"),e.setRequestHeader("Content-Type","application/json"),e.send(JSON.stringify({Data:JSON.stringify({publication:window.location.href,type:"PAGE_VIEW",sessionId:A.sessionId,pageNumber:A.pageNumber,x:A.x,y:A.y,value:A.value,radius:A.radius,event:"onPageZoomed"}),PartitionKey:1}))}),document.getElementById("flipjs-bookblock").addEventListener("onPageScrolled",function(t){var A=t.detail,e=new XMLHttpRequest;e.open("PUT","https://rest.flowpaper.com/analytics/streams/online-flowpaper-com-event-pipe/record"),e.setRequestHeader("Content-Type","application/json"),e.send(JSON.stringify({Data:JSON.stringify({publication:window.location.href,type:"PAGE_SCROLL",sessionId:A.sessionId,pageNumber:A.pageNumber,height:A.height,y:A.y,value:A.value,event:"onPageScrolled"}),PartitionKey:1}))})})