<% dbdns="../" %>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/DataView.asp"-->
<!--#include file="../inc/CpcView.asp"-->
<%
Public Function GotToPic(str,strlen)
  Rem 限制字符串显示长度在一定的范围内
  Dim i,StringLen,CharSize,EchoCharType
  StringLen=len(str)
  CharSize=0
  For i=1 to StringLen
   EchoCharType=Abs(Asc(Mid(str,i,1)))
   If EchoCharType>255 Then
    CharSize=CharSize+2
   Else
    CharSize=CharSize+1
   End If
   If CharSize>strlen Then
    gotTopic=Left(str,i) & "..."
    Exit For
   Else
    gotTopic=str & ""
   End If
  Next
 End Function


%>
<%


sub search
if key="yp" then
sea="企业"
elseif key="sca" then
sea="商机"
elseif key="cp" then
sea="产品"
elseif key="ypdt" then
sea="信息"
elseif key="zh" then
sea="展会"
end if%>
<style type="text/css">
<!--
.style1 {font-weight: bold}
.headonborder1 {BORDER-TOP: #ff7300 1px solid; FONT-WEIGHT: bold; BACKGROUND: url(../img/toolbar_backnew.gif); BORDER-LEFT: #ff7300 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #ff7300 1px solid; HEIGHT: 25px; TEXT-ALIGN: center
}
-->
</style>
<body style="margin:0">
<%TdStyle=" style='border-bottom:2px solid #4795EC'"
TdStyleDown=" bgcolor=#ffffff style='border-top:1px solid #4795EC;border-right:1px solid #4795EC;border-left:1px solid #4795EC;border-bottom:1px solid #ffffff'"%>
<%end sub%>

document.write("<TABLE width=760 border=0 align=\"center\" cellPadding=0 cellSpacing=0>");
document.write("  <TBODY>");
document.write("    <TR>");
document.write("      <TD><SCRIPT language=JavaScript type=text/JavaScript>");
document.write("<!--");
document.write("function MM_findObj(n, d) { //v4.01");
document.write("  var p,i,x;  if(!d) d=document; if((p=n.indexOf(\"?\"))>0&&parent.frames.length) {");
document.write("    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}");
document.write("  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];");
document.write("  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);");
document.write("  if(!x && d.getElementById) x=d.getElementById(n); return x;");
document.write("}");
document.write("<br />");
document.write("function MM_showHideLayers() { //v6.0");
document.write("  var i,p,v,obj,args=MM_showHideLayers.arguments;");
document.write("  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];");
document.write("    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }");
document.write("    obj.visibility=v; }");
document.write("}");
document.write("//-->");
document.write("</SCRIPT>");
document.write("          <TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>");
document.write("            <TBODY>");
document.write("              <TR>");
document.write("                <TD width=185 rowSpan=2><a href=\"<%=cityurl%>index.asp\"><IMG src=\"<%=cityurl%>img/logo_no_new.gif\" ");
document.write("            border=0></a></TD>");
document.write("                <TD class=s align=left bgColor=#efefef height=34><TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0> ");
document.write("                    <TBODY>");
document.write("                      <TR>");
document.write("                        <TD width=\"2%\" bgColor=#efefef><IMG height=34 ");
document.write("                  src=\"<%=cityurl%>alimage/searchlist_bg_gray1.gif\" ");
document.write("                width=14></TD>");
document.write("                        <TD width=\"95%\"><a href=\"<%=cityurl%>\">&#39318;&#39029;</a> |");
                            <%if session("useradmin")<>"" then%>
document.write("                            <font color=red><strong>"+<%=session("useradmin")%>+"</strong></font>");
 <%if session("vip")=2 then%>
document.write("                            <img src=\"<%=cityurl%>img/vip.gif\">");
                           <%end if%>
document.write("&#27426;&#36814;&#20809;&#20020;&#65281; <a href=<%=cityurl%>user/admin.asp class=red target=\"_blank\">&#31649;&#29702;</a> | <a href=<%=cityurl%>user/logout.asp>&#36864;&#20986;</a> |");
                       <%else%>
document.write("                        <a href=<%=cityurl%>user_login.asp target=_blank>&#30331;&#24405;</a> | <a href=<%=cityurl%>reg.asp target=_blank>&#27880;&#20876;&#20250;&#21592;</a>|");
                        <%if webkey6=0 then%>
document.write("                        <a href=<%=cityurl%>free_ad.asp target=_blank>&#20813;&#36153;&#21457;&#24067;&#21830;&#26426;</a> |");
                        <%end if%>
                        <%end if%>
document.write("                        <a href=<%=cityurl%>vip.asp target=_blank class=red>&#35802;&#20449;&#36890;&#26381;&#21153;</a> | <a href=<%=cityurl%>search.asp target=_blank>&#25628;&#32034;</a> | <a href=<%=cityurl%>help.asp target=_blank>&#24110;&#21161;&#20449;&#24687;</a> </TD>");
document.write("                        <TD width=\"3%\"><DIV align=right><IMG height=34 ");
document.write("                  src=\"<%=cityurl%>alimage/searchlist_bg_gray2.gif\" ");
document.write("                  width=14></DIV></TD>");
document.write("                      </TR>");
document.write("                    </TBODY>");
document.write("                </TABLE></TD>");
document.write("              </TR>");
document.write("              <TR>");
document.write("                <TD align=\"center\" vAlign=bottom bgColor=#efefef style=\"BORDER-BOTTOM: #cccccc 2px solid\"><TABLE cellSpacing=0 cellPadding=0 width=\"90%\" border=0>");
document.write("                  <TBODY>");
document.write("                    <TR>");
document.write("                      <TD width=82 class=headborder><a href=<%=cityurl%>Supply.asp class=\"M\" >供应信息</a></TD>");
document.write("                      <TD class=headborder width=91><a class=\"M  AG\" href=<%=cityurl%>supply.asp></a><a class=\"M  AG\" ");
document.write("                  href=\"<%=cityurl%>stock.asp\">求购信息</a></TD>");
document.write("                      <TD class=headborder width=86><a class=\"M  AG\" href=<%=cityurl%>news.asp><strong>资 讯</strong></a></TD>");
document.write("                      <TD ");
document.write("                width=77 class=headborder S style=\"BORDER-RIGHT: #ff7300 1px solid\"><a class=\"M  AG\" href=\"bbs/default.htm\" target=\"_blank\">论坛</a></TD>");
document.write("                      <TD ");
document.write("                width=67 class=headborder S style=\"BORDER-RIGHT: #ff7300 1px solid\"><a class=\"M  AG\"  href=\"bbs/BokeIndex.html\">博客</a></TD>");
document.write("                      <TD class=headborder style=\"BORDER-RIGHT: #ff7300 1px solid\" ");
document.write("                width=115><A class=\"M AG\" ");
document.write("                  href=\"<%=cityurl%>user/admin.asp\">我的阿里助手</A> </TD>");
document.write("                    </TR>");
document.write("                  </TBODY>");
document.write("                </TABLE></TD>");
document.write("              </TR>");
document.write("            </TBODY>");
document.write("        </TABLE></TD>");
document.write("    </TR>");
document.write("  </TBODY>");
document.write("</TABLE>");
document.write("<table width=\"98%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("  <tr>");
document.write("    <td>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");

