password protected publication
");var e=A?1e3:0,l=A?e/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(A,t){var e=-33*A;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, "+A+")"})},duration:e})}}),t&&t()},FLOWPAPER.getParameterByName=function(A,t){t=t||window.location.href,A=A.replace(/[\[\]]/g,"\\$&");var e=new RegExp("[?&]"+A+"(=([^]*)|&|#|$)").exec(t);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null},FLOWPAPER.animateDenyEffect=function(p,S,a,o,A){window.setTimeout(function(){var A=a/(2*o+1),t=1+60/(o*o);jQuery(p).stop(!0,!0);for(var e=0;e<=o;e++){for(var l=-1;l<=1;l+=2)jQuery(p).animate({marginLeft:(e!=o)*l*S},{duration:A,queue:!0});S/=t}},500)},FLOWPAPER.authenticated?($(".flowpaper-reflow-wrapper").show(),p()):($(".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/NP7digitalauthv1/*",password:$("#loginForm").find("#txt_flowpaper_password").val()},function(A){if(A&&"ACCEPT"==A.result){var t=FLOWPAPER.getParameterByName("Policy",A.url),e=FLOWPAPER.getParameterByName("Signature",A.url),l=FLOWPAPER.getParameterByName("Key-Pair-Id",A.url);FLOWPAPER.authenticated={Policy:t,Signature:e,KeyPairId:l,getParams:function(){return"Policy="+this.Policy+"&Signature="+this.Signature+"&Key-Pair-Id="+l}},$("#loginForm").remove(),$(".flowpaper-reflow-wrapper").show(),p()}else FLOWPAPER.animateDenyEffect("#loginForm",25,500,7,"hor")}),!1})})),document.getElementById("flipjs-bookblock").addEventListener("onPagePanned",function(A){var t=A.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: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,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: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,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:t.sessionId,pageNumber:t.pageNumber,height:t.height,y:t.y,value:t.value,event:"onPageScrolled"}),PartitionKey:1}))})})