<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="Maticsoft.Web.list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>报纸列表</title>
    <link href="Css/mulu.css" rel="stylesheet" type="text/css" />
 	<meta http-equiv="x-ua-compatible" content="ie=7" />
    <script language="javascript" type="text/javascript">
    function showPaper(num,type)
    {
  
    var name="div"+num;   
    var now="div";
      var names="divs"+num;   
    var nows="divs";
     now=now+document.getElementById("pagenum").value;
      nows=nows+document.getElementById("pagenum").value;
      
    if(type=="per")
    {
   
    name="div"+(parseInt(document.getElementById("pagenum").value)-1)
      names="divs"+(parseInt(document.getElementById("pagenum").value)-1)
     
    num=(parseInt(document.getElementById("pagenum").value)-1)+"";
    }
    
    
    if(type=="next")
    {
    name="div"+(parseInt(document.getElementById("pagenum").value)+1)
     names="divs"+(parseInt(document.getElementById("pagenum").value)+1)
      
     num=(parseInt(document.getElementById("pagenum").value)+1)+"";
    }
    
    
     if(document.getElementById(name)!=null)
    {
 document.getElementById(now).style.display="none";
 document.getElementById(nows).style.display="none";
   document.getElementById(name).style.display="";
   document.getElementById(names).style.display="";
   document.getElementById("pagenum").value=num;
 
    }else
    {
    alert("不存在此页");
    }
    }
    function change(obj)
    {
 
     document.getElementById(obj).style.background="ffffff";
   document.getElementById("li"+obj).style.border="F00 solid 2px";

    }
    function changes(obj)
    {
     document.getElementById(obj).style.background="dfdcd5";
 document.getElementById("li"+obj).style.border="0px";

    }
    </script>
<script type="text/javascript" src="js/png.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input id="pagenum" type="hidden" runat="server" value="1" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#008ad1">
        <tr>
            <td width="50" height="100">&nbsp;
                
            </td>
            <td>
                <img src="Images/logo.png" />
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" background="Images/mulu_1.gif" >
        <tr>
            <td width="22%" height="34">&nbsp;
                
            </td>
            <td width="78%">
                <div id="date" runat="server">
                </div>
            </td>
        </tr>
    </table>
    <table width="1000" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="10" align="right" valign="top"></td>
          <td valign="top"></td>
          <td valign="top"></td>
      </tr>
        <tr>
            <td valign="top" align="right" width="89" height="400" style="border-right: #333 solid 1px; padding-top:20px; padding-right:10px">
                <img src="Images/mulu_2.gif" width="38" height="240" />
            </td>
            <td width="235" valign="top">
                <div id="mulu" runat="server">
                </div>
            </td>
            <td width="676" valign="top">
              <table>
                    <tr>
                        <td height="420" valign="top">                       
                            <div id="mulu2" runat="server">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <div id="pager" runat="server">
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
