<title><%=Webname%></title>
<style type="text/css">
<!--
body {
	margin: 0px;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css" />
<style>
<!--
#Layer1 {
	position:absolute;
}
-->
</style>
<SCRIPT language=JavaScript>
<!--
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</SCRIPT>
<%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top 1 * from Products order by ArticleID desc"
rs_news.open sqltext4,conn,1,1				 	
%>
<% do while not rs_news.eof%>
<%ID=rs_news("ArticleID")%>
<%years=rs_news("BigClassName")%>
<%months=rs_news("SmallClassName")%>
<%rs_news.movenext
loop
rs_news.close %>
<table width="995" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/top001.jpg" width="995" height="103"></td>
  </tr>
</table>
<table width="995" height="35" border="0" align="center" cellpadding="0" cellspacing="0" background="images/top002.gif">
  <tr>
    <td width="90" align="center"><a href="Index.asp"><font color="#FFFFFF" style="font-size:13px"><b>首&nbsp;&nbsp;页</b></font></a></td>
    <td width="86" align="center"><a href="Product.asp?id=<%=ID%>"><font color="#FFFFFF" style="font-size:13px"><b>在线阅读</b></font></a></td>
    <td width="86" align="center"><a href="Reading.asp"><font color="#FFFFFF" style="font-size:13px"><b>分类阅读</b></font></a></td>
    <td width="86" align="center"><a href="News.asp"><font color="#FFFFFF" style="font-size:13px"><b>动&nbsp;&nbsp;态</b></font></a></td>
    <td width="86" align="center"><a href="Photo.asp"><font color="#FFFFFF" style="font-size:13px"><b>图 片 库</b></font></a></td>
    <td width="86" align="center"><a href="BBS.asp"><font color="#FFFFFF" style="font-size:13px"><b>论坛讨论</b></font></a></td>
    <td width="86" align="center"><a href="Price.asp"><font color="#FFFFFF" style="font-size:13px"><b>广告报价</b></font></a></td>
    <td width="86" align="center"><a href="Team.asp"><font color="#FFFFFF" style="font-size:13px"><b>团&nbsp;&nbsp;队</b></font></a></td>
    <td width="86" align="center" onMouseOver="MM_showHideLayers('menu1','','show')" 
    onmouseout="MM_showHideLayers('menu1','','hide')"><font color="#FFFFFF" style="font-size:13px; cursor:default;"><b>当代评论</b></font></td>
    <td width="217">&nbsp;&nbsp;<font color="#FFFFFF" style="font-size:12px">今天是：</font>
<script language=JavaScript>
today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray(
"　星期日",
"　星期一",
"　星期二",
"　星期三",
"　星期四",
"　星期五",
"　星期六");
document.write(
"<font color=#FFFFFF style='font-size:9pt;font-family: 宋体'> ",
today.getYear(),"年",
today.getMonth()+1,"月",
today.getDate(),"日",
d[today.getDay()+1],
"</font>" ); 
</script></td>
  </tr>
</table>

<div id="Layer1"><DIV id=menu1 onMouseOver="MM_showHideLayers('menu1','','show')" 
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 2; LEFT: 691px; VISIBILITY: hidden; BORDER-LEFT: #000000 1px; WIDTH: 88px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 0px; BACKGROUND-COLOR: #999966; layer-background-color: #999966" 
onmouseout="MM_showHideLayers('menu1','','hide')">
  <TABLE width="88"  border="0" cellpadding="0" cellspacing="1" bgcolor="#fa433f">
    <TBODY>
	<%
set rs_news = Server.CreateObject("ADODB.Recordset")
strtext1 = "SELECT * FROM SmallClass_New ORDER BY SmallClassID ASC"
rs_news.open strtext1,Conn,1,1
do while not(rs_news.eof or rs_news.bof)
%>
      <tr>
        <td height="22" bgcolor="#b20101" align="center"><a href="Comments.asp?SmallClassName=<%=rs_news("SmallClassName")%>"><font color="#FFFFFF"><b><%=rs_news("SmallClassName")%></b></font></a></td>
      </tr>
	  <%
rs_news.movenext
loop
rs_news.close
set rs_news=nothing
%>
    </TBODY>
  </TABLE>
</DIV></div>

