function _dictInit(){
  if(_dict_init==1){
    _dictUpdateStatus();
  	return true;
  }
  if(! document || ! document.body || !document.body.firstChild){
    setTimeout("_dictInit()",800);
  	return true;
  }
  var agt = navigator.userAgent.toLowerCase();
  var b='border:none;padding:0px;margin:0px;';
  var f='font-weight:normal;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;';
  _dict_is_ie = (agt.indexOf("msie")!=-1 && document.all);
  _dict_opera = (agt.indexOf('opera')!=-1 && window.opera && document.getElementById);
  var h = '<table width="400" border="0" cellspacing="0" cellpadding="0" ';
  h += 'style="border-top:1px solid #F37F31;border-left:1px solid #F37F31;';
  h += 'border-right:1px solid #F37F31;border-bottom:1px solid #F37F31;background-color:#FFFFFF;';
  h += '"><tr><td width="100%" style="'+b+'">';
  h += '<div style="width:240px;height:20px;cursor:move;background-color:#FFE4D0;display:inline;'+b+'" onmouseover="_dict_onmove=1;" onmouseout="_dict_onmove=0;">' ;
  h += '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="left" width="60%" height="20" style="background-color:#FFE4D0;color:#ff0000;font-size:12px;line-height:20px;border:none;padding:0 3px;margin:0px;'+f+'" id="_dict_title" name="_dict_title">';
  h += 'DLTCEDU»®´ÊËÑË÷£º';
  h += '</td>';
  h += '<td align="right" height="20" style="background-color:#FFE4D0;line-height:20px;border:none;padding:0 3px;margin:0px;'+f+'" valign="middle">';
  h += '<a href="javascript:_dictClose()" title="&#20851;&#38381;" target="_self" style="'+b+f+'">';
  h += '<img src="'+_dict_host+'images/close_hc.gif" border="0" style="border:none;display:inline;'+b+'" align="absmiddle">';
  h += '</a>';
  h += '</td></tr></table>';
  h += '</div>';
  h += '<table border="0" cellspacing="4" cellpadding="3" width="100%" align="center" onmouseover="_dict_onlayer=1;" onmouseout="_dict_onlayer=0;" style="'+b+'">';
  h += '<tr><td style="'+b+'" id="_dictContent">';
  h += '<iframe id="_dictFrame" name="_dictFrame" HEIGHT="120" src="about:blankddd" FRAMEBORDER="0" width="100%"></iframe>';
  h += '</td></tr></table></td></tr></table>';
  h += '</td></tr></table>';
  try{
  	var els=document.getElementsByTagName("*");
	var zmax=97;
	for(var i=0;i<els.length;i++){
	     if(zmax< els[i].style.zIndex) zmax=els[i].style.zIndex
	}
    var el = document.createElement('div');
    el.id='_dict_layer';
    if(typeof el.style == "undefined") return;
    el.style.position='absolute';
    el.style.display='none';
    el.style.padding='0px';
    el.style.margin='0px';
    el.style.width='240px';
    el.style.zIndex=zmax+1;
    el.style.backgroundColor='#FFF';
    el.style.filter='Alpha(Opacity=96)';

    document.body.insertBefore(el,document.body.firstChild);
    _dictSet(el, h);
    
    
    el = document.createElement('div');
    el.id='_dict_status';
    if(typeof el.style == "undefined") return;
    el.style.position='absolute';
    el.style.backgroundColor='#e7f7f7';
    el.style.padding='1px';
    el.style.margin='0px';
    el.style.filter='Alpha(Opacity=80)';
    el.style.fontSize='14px';
    el.style.left = '3px';
    el.style.top = '3px';
    el.style.width='138px';
    el.style.height='22px';
    el.style.textAlign='center';
    el.style.zIndex=zmax+2;
    el.style.border = '1px solid #7E98D6';
    el.style.display='none';
    document.body.insertBefore(el,document.body.firstChild);
  }catch(x){
    _dict_init = 2;
    return;
  }
  _dictClose();

  
  if(document.addEventListener){
    document.addEventListener("mousemove", _dictMove, true);
    document.addEventListener("dblclick", _dictQuery, true);
    document.addEventListener("mouseup", _dictQuery, true);
    document.addEventListener("mousedown", _dictCheck, true);
    document.addEventListener("keydown", _dictKey, true);
    document.addEventListener("load", _dictUpdateStatus, true);
  }else if (document.attachEvent) {
    document.attachEvent("onmousemove", _dictMove);
    document.attachEvent("ondblclick", _dictQuery);
    document.attachEvent("onmouseup", _dictQuery);
    document.attachEvent("onmousedown", _dictCheck);
    document.attachEvent("onkeydown", _dictKey);
    document.attachEvent("onload", _dictUpdateStatus);
  }else{
    var oldmove = (document.onmousemove) ? document.onmousemove : function () {};
  	document.onmousemove =  function () {oldmove(); _dictMove();};
  	var olddblclick = (document.ondblclick) ? document.ondblclick : function () {};
    document.ondblclick = function () {olddblclick(); _dictQuery();};
    var oldmouseup = (document.onmouseup) ? document.onmouseup : function () {};
    document.onmouseup = function () {oldmouseup(); _dictQuery();};
    var oldmousedown = (document.onmousedown) ? document.onmousedown : function () {};
    document.onmousedown = function () {oldmousedown(); _dictCheck();};
    var oldkeydown = (document.onkeydown) ? document.onkeydown : function () {};
    document.onkeydown = function () {oldkeydown(); _dictKey();};
    var oldload = (document.onload) ? document.onload : function () {};
    document.onload = function () {oldload(); _dictUpdateStatus();};
  }
  _dict_oldselectstart = (document.onselectstart) ? document.onselectstart : function () {};
  document.onselectstart = function () {if(_dict_moving == 2) return false; else return true;};
  _dict_onselect = 1;
  var img = new Image();
  img.src = _dict_host+"images/loading.gif";
  _dict_layer = _dict_getObj('_dict_layer');
  _dict_status = _dict_getObj('_dict_status');
  _dict_iframe = _dict_getObj('_dictFrame');
  _dict_mode = 1;
  if( _dict_GetCookie("dicthuaci") == "off"){
  	_dict_enable = false;
  }
  setTimeout("_dictUpdateStatus()",1000);
  _dictUpdateStatus();
  _dict_init = 1;
}