function GotoWebKitPage(){document.getElementById("div_ocx").style.width="1px";document.title=html_title;if(g_bupdate){ApplyXmlLang("WebKit_update.xml");g_bupdate=false}else{ApplyXmlLang("WebKit_load.xml")}var e=document.all?document.getElementsByTagName("html")[0].offsetHeight:window.innerHeight;var c=document.getElementById("table_load").offsetHeight;var b=((e-c)/2)-160;document.getElementById("table_load").style.marginTop=b+"px";document.getElementById("div_load_webkit").style.display="";var f=navigator.userAgent.toLowerCase();var a=navigator.platform.toLowerCase();if(f.indexOf("windows nt")!=-1||a.indexOf("win")!=-1){if(f.indexOf("chrome")!=-1){var d=f.match(/\schrome\/(.+)\s/i);if(d&&d.length>1){var h=d[1].split(".");if(h[0]>=42){var g=getChromeNPAPIDisableNotice();document.getElementById("chromeTipDiv").innerHTML=g}}}}}function getChromeNPAPIDisableNotice(){var a="";var b=navigator.systemLanguage||navigator.language;b=b.toLowerCase();if(b.indexOf("zh")!=-1){a='<div>NPAPI插件已禁用，请进行如下设置来启用：<ul>    <li>1、在地址栏输入"chrome://flags/#enable-npapi"；</li>    <li>2、点击“启用NPAPI”下的启用按钮；</li>    <li>3、关闭所有Chrome；</li>    <li>4、重新打开Chrome并访问本系统，插件即可使用。</li></ul>或者插件没有安装，请下载并安装插件。 安装时请关闭浏览器！</div>'}else{a="<div>NPAPI Support is currently disabled. Please follow the instructions below to enable it:<ul>    <li>1.Input \"chrome://flags/#enable-npapi\" into address bar;</li>    <li>2.Click 'Enable' under the 'Enable Npapi';</li>    <li>3.Close the Chrome browser completely;</li>    <li>4.Reopen the Chrome and navigate to the system, the plugin is available.</li></ul>Or the plugin is not installed, please  download and install. Before installation, please close your browser.</div>"}return a}function sleep(a){a++}function LoadWebKit(){var c=CreateLoadWebKitXml();var d=WebClient.ExcuteCmd(c);var b;for(var a=0;a<5000;a++){b=setTimeout(sleep,1000)}if(b!=0){clearTimeout(b)}window.alert(str_load_webkit_success)}function CreateLoadWebKitXml(){var a="<request>\r\n";a+='<command name="'+STR_REQUEST_LOAD_WEBKIT+'">\r\n';a+="</command>\r\n";a+="</request>\r\n";return a};