//
//
var _loading_html='<div id="loading" style="z-index:100;border:1px solid #FFCC99; position:absolute;left:2px;top:2px;background-color:#FFFFCC; padding:2px;display:none;">';
_loading_html +='    <img src="http://dict.hjenglish.com/images/loading.gif" align="absmiddle"/> 查询中。。。';
_loading_html +='</div>  ';
//
//
var MissWord="";
MissWord+="<div style='padding:5px;font-size:14px;'>本地词库暂无相符的解释</div>";  
MissWord+="<div style='padding:5px' id='panel_suglist'>查询网络词库中 ...</div>";
MissWord+="<div style='padding-left:25px' id='panel_noresult'><UL style='margin:10px;'>"; 
MissWord+="<LI>上<a href='http://bulo.hjenglish.com/question/publish.aspx?kw={wordencoded2}' target='_blank'>沪江小Q网站</a>，向在线的热心沪友求助";  
//MissWord+="<LI>帮助大家，<a href='http://dict.hjenglish.com/recommend.aspx?w={wordencoded}' target='_blank'>我来提供解释...</a>"; 
MissWord+="<LI>在google网页搜索中查询<a href='http://www.google.cn/search?hl=zh-CN&q={wordencoded}&meta=&aq=f' target='_blank'>'{word}'</a></UL></div>";
//
//
var MissWord_screen="";
MissWord_screen+="<div style='padding:5px;font-size:12px;'><span>[英]</span><br/>抱歉，当前鼠标取词范围内无匹配项。</div>"; 
MissWord_screen+="<div style='padding-left:5px'>请调整取词位置</div>"; 
//
//
var MissWord_screen_jp_jc="";
MissWord_screen_jp_jc+="<div style='padding:5px;font-size:12px;'>抱歉，当前范围内无[日中查询]匹配项，建议：</div>"; 
MissWord_screen_jp_jc+="<div style='padding-left:5px'>1.请调整取词位置<BR>2.设置到[汉字中日优先查询]</div>"; 
//
//
var MissWord_screen_jp_cj="";
MissWord_screen_jp_cj+="<div style='padding:5px;font-size:12px;'>抱歉，当前范围内无[中日查询]匹配项，建议：</div>"; 
MissWord_screen_jp_cj+="<div style='padding-left:5px'>1.请调整取词位置<BR>2.设置到[汉字日中优先查询]</div>"; 
//
//
var localhtml_screen_en='';
localhtml_screen_en +='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
localhtml_screen_en +='<html oncontextmenu="return false;">';
localhtml_screen_en +='<head> ';
localhtml_screen_en +='    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>'; 
localhtml_screen_jp +='    <link href="client.css" rel="stylesheet" type="text/css" /> ';
localhtml_screen_en +='</head>';
localhtml_screen_en +='<style> '; 
localhtml_screen_en +='	.comment{';
localhtml_screen_en +='		font-size:12px;';
localhtml_screen_en +='		font-weight:normal;';
localhtml_screen_en +='		font-family:verdana,宋体;';  
localhtml_screen_en +='		margin:auto;';
localhtml_screen_en +='		line-height:150%;';
localhtml_screen_en +='		padding:auto;';
localhtml_screen_en +='	}';
localhtml_screen_en +='	.trs{';
localhtml_screen_en +='		font-size:16px;';
localhtml_screen_en +='		color:orange;';
localhtml_screen_en +='		margin-left:5px;';
localhtml_screen_en +='		font-family:Lucida Sans Unicode;';
localhtml_screen_en +='	}';
localhtml_screen_en +='</style>';
localhtml_screen_en +='  <SCRIPT LANGUAGE="JavaScript">	\n';
localhtml_screen_en +='  <!--	\n';
localhtml_screen_en +='		function updateSize(){		\n'; 
localhtml_screen_en +='  		try{	\n'; 
localhtml_screen_en +='  			window.external.SetWindowSize( 320,Math.max(45, document.getElementById("cpanel").offsetHeight +6) );	\n';
localhtml_screen_en +='  		}catch(e){	\n';
localhtml_screen_en +='  	}	\n';
localhtml_screen_en +='	}	\n';
localhtml_screen_en +='  //-->	\n';
localhtml_screen_en +='  </SCRIPT>	\n';
localhtml_screen_en +='<body style="padding:3px;border:0px;font-size:14px;" leftmargin=0 topmargin=0 onload="updateSize();setTimeout(\'updateSize()\', 30);">\n';
localhtml_screen_en +='<div id="cpanel">{pinyin_projp}\n';
localhtml_screen_en +='<div id="panel_comment" class="comment">\n';
localhtml_screen_en +='{comment}\n';
localhtml_screen_en +='</div>\n';
localhtml_screen_en +='</div>';
localhtml_screen_en +=' <script language="javascript" type="text/javascript" src="js/screen_dict_lite"></script>';
localhtml_screen_en +=' <script type="text/javascript">   ';  
localhtml_screen_en +='     clientLang="en";';
localhtml_screen_en +=' </script>';
localhtml_screen_en +='</body></html>';
//
//
var localhtml_screen_jp='';
localhtml_screen_jp +='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
localhtml_screen_jp +='<html oncontextmenu="return false;">';
localhtml_screen_jp +='<head> ';
localhtml_screen_jp +='    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>'; 
localhtml_screen_jp +='    <link href="client.css" rel="stylesheet" type="text/css" /> ';
localhtml_screen_jp +='</head>';
localhtml_screen_jp +='<style> '; 
localhtml_screen_jp +='	.comment{';
localhtml_screen_jp +='		font-weight:normal;';
localhtml_screen_jp +='		font-family:"Verdana","ＭＳ Ｐゴシック","Hiragino Kaku Gothic Pro","ヒラギノ Pro W3","Osaka",sans-serif;';  
localhtml_screen_jp +='		margin:auto;';
localhtml_screen_jp +='		line-height:150%;';
localhtml_screen_jp +='		padding:auto;';
localhtml_screen_jp +='	}';
localhtml_screen_jp +='	.trs{';
localhtml_screen_jp +='		font-size:16px;';
localhtml_screen_jp +='		color:orange;';
localhtml_screen_jp +='		margin-left:5px;';
localhtml_screen_jp +='		font-family:Lucida Sans Unicode;';
localhtml_screen_jp +='	}';
localhtml_screen_jp +='</style>';
localhtml_screen_jp +='  <SCRIPT LANGUAGE="JavaScript">	\n';
localhtml_screen_jp +='  <!--	\n';
localhtml_screen_jp +='	function updateSize(){		\n'; 
localhtml_screen_jp +='  		try{	\n'; 
localhtml_screen_jp +='  			window.external.SetWindowSize( 330,Math.min(Math.max(45, document.getElementById("cpanel").offsetHeight +6),200) );	\n';
localhtml_screen_jp +='  		}catch(e){	\n';
localhtml_screen_jp +='  		}	\n';
localhtml_screen_jp +='	}	\n';
localhtml_screen_jp +='  //-->	\n';
localhtml_screen_jp +='  </SCRIPT>	\n';
localhtml_screen_jp +='<body style="padding:3px;border:0px;font-size:14px;" leftmargin=0 topmargin=0 onload="updateSize();setTimeout(\'updateSize()\', 30);">\n';
localhtml_screen_jp +='<div id="cpanel" >{pinyin_projp} <span class="lang" style="margin:3px;">[{screen_type}]</span>\n';
localhtml_screen_jp +='<div id="panel_comment" class="comment">\n';
localhtml_screen_jp +='{comment}\n';
localhtml_screen_jp +='</div>\n';
localhtml_screen_jp +='</div>';
localhtml_screen_en +=' <script language="javascript" type="text/javascript" src="js/screen_dict_lite"></script>';
localhtml_screen_jp +=' <script type="text/javascript">   ';  
localhtml_screen_jp +='     clientLang="jp";';
localhtml_screen_jp +=' </script>';
localhtml_screen_jp +='</body></html>';
//