<div id="navadmin">
<div class="banner">
   <script type="text/javascript">
		var swf_width=798;
		var swf_height=200;
		var config='4|#ffffff|#000000|50|#ffffff|#A41215|#000000';
		var files='',links='', texts='';
<%
Dim sql
Set rs = server.CreateObject("adodb.recordset")
sql = "select * from banner where 1=1 order by id"
rs.Open sql, conn, 1, 1
Do While Not rs.EOF
    response.Write("files+='|"&rs("banner_pic")&"';links+='|"&rs("banner_url")&"';texts+='';")
    rs.moveNext
Loop
rs.Close
Set rs = Nothing
%>
		files=files.substring(1);
		links=links.substring(1);
		texts=texts.substring(1);
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
		document.write('<param name="movie" value="images/focus.swf" />');
		document.write('<param name="quality" value="high" />');
		document.write('<param name="menu" value="false" />');
		document.write('<param name=wmode value="opaque" />');
		document.write('<param name="FlashVars" value="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" />');
		document.write('<embed src="images/focus.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('</object>');
		</script> 

</div>
<ul class="navtion">
 <li><a href="index.asp">留言首页</a></li>
 <li><a href="write_message.asp">写留言</a></li>
 <% 
if Request.Cookies("Auser")("UserName") <> "" then
 %>
<li><a href="usermodfiy.asp">修改密码</a></li>
<li><a href="userchck.asp?action=logout">登录退出</a></li>

<%else%>
 <li>
 <a href="userlogin.html?height=180;width=400" title="会员登陆" class="thickbox" >会员登陆</a>
 </li>
 <%
 end  if
 %>

 <li>
 <a href="userreg.asp" title="会员注册">会员注册</a>
 </li>


 </ul>

</div>


