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 c=document.all?document.getElementsByTagName("html")[0].offsetHeight:window.innerHeight;var b=document.getElementById("table_load").offsetHeight;var a=((c-b)/2)-160;document.getElementById("table_load").style.marginTop=a+"px";document.getElementById("div_load_webkit").style.display=""}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};