1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5<meta http-equiv="X-UA-Compatible" content="IE=edge"> 6<title></title> 7<style> 8html{ 9 margin:0px; 10 padding:0px; 11} 12#errorpage { 13 width: 100%; 14 height: 100%; 15 position: absolute; 16 left: 0px; 17 top: 0px; 18 z-index: 0; 19} 20</style> 21<script type='text/javascript' src='/smb/js/tools.js'></script> 22<script type="text/javascript"> 23var m = new lang(); 24var g_storage = new myStorage(); 25 26$("document").ready(function() { 27 var loc_lan = String(window.navigator.userLanguage || window.navigator.language).toLowerCase(); 28 var lan = ( g_storage.get('lan') == undefined ) ? loc_lan : g_storage.get('lan'); 29 m.setLanguage(lan); 30 31 var this_showbutton = getUrlVars()["showbutton"]; 32 var bg_img_file = "help_en.png"; 33 if(lan=="zh-tw") 34 bg_img_file = "help_zh-tw.png"; 35 36 var help_html = ""; 37 38 if(this_showbutton==1) 39 help_html += "<div id='errorpage' style='width:100%;height:94%;position: absolute;left: 0px;top: 0px;z-index: 0;'>"; 40 else 41 help_html += "<div id='errorpage' style='width:100%;height: 100%;position: absolute;left: 0px;top: 0px;z-index: 0;'>"; 42 43 help_html += "<img src='" + bg_img_file + "' class='stretch' alt='' style='width:100%;height:100%' />"; 44 help_html += "</div>"; 45 46 if(this_showbutton==1){ 47 help_html += "<div width='100%' style='position:absolute;bottom:0px;right:0px;'><button id='btnClose' style='position: relative;float:right;right:5px;' onclick='parent.closeJqmWindow(0);'>close</button><div>"; 48 } 49 50 $(help_html).appendTo($("body")); 51 52 $('button#btnClose').text(m.getString("btn_close")); 53}); 54 55function closeWindow(){ 56 parent.closeJqmWindow(0); 57} 58 59$(document).keydown(function(e) { 60 if (e.keyCode == 27) return false; 61}); 62 63</script> 64</head> 65<body id='main' width='100%' height='100%' style='margin:0px;padding:0px'> 66</body> 67</html> 68