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