window.zkInitCrashTimer=setTimeout(function(){var e=document.querySelectorAll(".z-runonce")[0],f=document.getElementById("zk_proc"),b=document.querySelectorAll(".z-temp")[0],g=document.getElementById("zna"),c=document.body;if(f){var d=e?b?g?2:1:3:b?4:5;window.zkShowCrashMessage||(window.zkShowCrashMessage=function(){var a="<p>Something went wrong while loading the page.</p> \r\n\t\t\t\t\t<p>Please try to reload or visit another page. If you are the administrator, \r\n\t\t\t\t\ttry to check your Javascript or Network console.</p>";
switch(d){case 1:a="<p>Error code 1: ZK error, before mounting. </p>"+a;break;case 2:a="<p>Error code 2: ZK error, mounting. </p>"+a;break;case 3:a="<p>Error code 3: ZK error, after mounting. </p>"+a;break;case 4:a="<p>Error code 4: user error, wrong script. </p>"+a;break;case 5:a="<p>Error code 5: user error, server response. </p>"+a}c.style.background="rgb(35,48,64)";c.innerHTML='<style> a:visited {color: white;} </style><div style="background: rgb(35,48,64); text-align: center; color: white; position: absolute; \r\n\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>'+
a+'<div style="text-align: right; margin-top: -18px">\r\n\t\t\t\t\t<span style="font-size: 10px;">powered by </span>\r\n\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>'});window.zkShowCrashMessage(d)}},0<=window.zkInitCrashTimeout?1E3*window.zkInitCrashTimeout:6E4);
