<!--#include file="../siteconfig/conn.asp"-->
if(em('sear').value!=""){
var keyword;
keyword="";
<%
dim key,ksj
key=Request("key")
ksj=1
set rs=server.createobject("adodb.recordset")
   rs.open"select Url_Url,Url_Name from Url where Url_Name like '%"&key&"%'",conn,1,3
do while not rs.eof and not rs.bof
if ksj>48 then
   exit do
else
   ksj=ksj+1
end if
%>
if(keyword=="")
{
keyword="<li><a href=<%=rs("Url_Url")%>  title=<%=rs("Url_Name")%>><%=left(rs("Url_Name"),6)%></a></li>";
}else{
keyword=keyword+"<li><a href=<%=rs("Url_Url")%>  title=<%=rs("Url_Name")%>><%=left(rs("Url_Name"),6)%></a></li>";
}
<%
rs.movenext
loop
rs.close

%>

em('nav2').innerHTML="<ul>"+keyword+"</ul>";
em('nav2').style.display='block';
em('nav').style.display='none';
em('fav').style.display='none';
}
if(em('sear').value==""){
	 em('nav2').style.display='none';
	 em('nav').style.display='block';
	 em('fav').style.display='none';
}