window.zkInitCrashTimer=setTimeout(function(){var o,t=document.querySelectorAll(".z-runonce")[0],e=document.getElementById("zk_proc"),r=document.querySelectorAll(".z-temp")[0],n=document.getElementById("zna"),i=document.body;e&&(o=t?r?n?2:1:3:r?4:5,window.zkShowCrashMessage||(window.zkShowCrashMessage=function(){var t,e="<p>Something went wrong while loading the page.</p> \t\t\t\t\t\t<p>Please try to reload or visit another page. If you are the administrator, \t\t\t\t\t\ttry to check your Javascript or Network console.</p>";switch(o){case 1:e="<p>Error code 1: ZK error, before mounting. </p>"+e;break;case 2:e="<p>Error code 2: ZK error, mounting. </p>"+e;break;case 3:e="<p>Error code 3: ZK error, after mounting. </p>"+e;break;case 4:e="<p>Error code 4: user error, wrong script. </p>"+e;break;case 5:e="<p>Error code 5: user error, server response. </p>"+e}t='<style> a:visited {color: white;} </style><div style="background: rgb(35,48,64); text-align: center; color: white; position: absolute; \t\t\t\t\t\ttop: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 50%; height: 300px; font-size: 20px;"><i class="z-icon-frown-o" style="font-size: 5em; display: block;"></i>'+e+'<div style="text-align: right; margin-top: -18px">\t\t\t\t\t\t<span style="font-size: 10px;">powered by </span>\t\t\t\t\t\t<span style="font-size: 14px;"><a href="http://www.zkoss.org/">ZK</a></span></div><button style="margin-top: 10px" onclick="location.reload();">Reload page</button></div>',i.style.background="rgb(35,48,64)",i.innerHTML=t}),window.zkShowCrashMessage(o))},0<=window.zkInitCrashTimeout?1e3*window.zkInitCrashTimeout:6e4);