var searchlivehtml="<!--Live提示-->"
		+"<DIV id=_lxlivelist style=\"BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; DISPLAY: none; Z-INDEX: 100; BORDER-LEFT: black 1px solid; WIDTH: 360px; BORDER-BOTTOM: black 1px solid; POSITION: absolute; BACKGROUND-COLOR: white\" onfocusout=\"this.style.display='none';\">"
		+"<DIV id=_lxliveitem style=\"DISPLAY: none\">"
		+"<DIV onmousedown=_LxLiveQuery(this); id=_lxliveitem[$rank$] onmouseover=_LxHighLightResult(this); style=\"WIDTH: 100%; PADDING-TOP: 3px; HEIGHT: 20px\" onmouseout=_LxunHighLightResult(this);>"
		+"<DIV id=_lxliveitem[$rank$]_kw style=\"PADDING-LEFT: 5px; FONT-SIZE: 14px; FLOAT: left; OVERFLOW: hidden; WIDTH: 230px; COLOR: black; WHITE-SPACE: nowrap; TEXT-ALIGN: left\">[$livekw$]</DIV>"
		+"<DIV id=_lxliveitem[$rank$]_count style=\"PADDING-RIGHT: 3px; FONT-SIZE: 12px; OVERFLOW: hidden; WIDTH: 110px; COLOR: green; WHITE-SPACE: nowrap; TEXT-ALIGN: right\">约[$livecount$]项结果</DIV></DIV></DIV></DIV><!--live结束-->";
document.write(searchlivehtml);
function _LxFocusIn()
{ 
    var e = document.getElementById("_lxkw"); 
    if (e.value=='请选择你所要选择的范围并输入你所要查询内容') 
    { 
        e.value=''; 
        e.style.color='black'; 
    }  
    _LxLoadLiveTips('_lxkw'); 
} 
function _LxFocusOut() 
{ 
    _LxStopLiveTips(); 
    document.getElementById("_lxlivelist").style.display='none'; 
} 
function _LxKeyDown(evt) 
{ 
    var e = evt || window.event; 
    var c = e.charCode || e.keyCode; 
                                    
   if (c == 13) 
    {                                    
        document.getElementById("_lxkw").value = this.value; 
        settop(); 
         
    }  
    _LxTxtKwClick('_lxkw',c); 
}

function settop() 
{ 
   try
	 {                            
       lexosearch.Criteria.QueryString=document.getElementById('_lxkw').value; 
       lexosearch.Criteria.Topics='21'; 
       return lexosearch.Search(true); 
		}
		catch(e)
		{
		}
} 
try
{
   if (lexosearch.Browse != "IE") 
   {                                 
       document.getElementById("_lxkw").addEventListener("focus",_LxFocusIn,false);                                 
       document.getElementById("_lxkw").addEventListener("blur",_LxFocusOut,false); 
       document.getElementById("_lxkw").addEventListener("keydown",_LxKeyDown,false); 
   } 
   else 
   { 
       document.getElementById("_lxkw").onfocusin = _LxFocusIn; 
       document.getElementById("_lxkw").onfocusout = _LxFocusOut; 
       document.getElementById("_lxkw").onkeydown = _LxKeyDown; 
   }
   if (lexosearch.Criteria.QueryString != "") 
   { 
       document.getElementById("_lxkw").value = lexosearch.Criteria.QueryString; 
       document.getElementById("_lxkw").style.color = "black"; 
   } 
   
	 lexosearch.Server = "search.joy.cn";
   lexosearch.Options.SubmitTo= "http://search.joy.cn/index.html";
}
catch(e)
{
}