<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SimpleSimpleShow.aspx.cs" Inherits="Maticsoft.Web.SimpleShow" %>
<!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 id="Head1" runat="server">
<title></title>
<meta http-equiv="x-ua-compatible" content="ie=7" />
<meta http-equiv="page-enter" content="blendtrans(duration=1)">
<link href="Css/mulu_m1.css" rel="stylesheet" type="text/css" />
<link rev="stylesheet" media="all" href="Css/mulu_m1_cz.css" type="text/css" rel="stylesheet" />
<!--[if !IE]><!-->
    <link href="Css/hack.css" type="text/css" rel="stylesheet" rev="stylesheet" media="all" />
    <!--<![endif]-->
<!--[if IE 7]><LINK rev=stylesheet media=all 
href="Css/hackie7.css" type=text/css rel=stylesheet><![endif]-->
<%--<script src="js/overlib.js" type="text/javascript"></script>--%>
<script src="js/Common.js" type="text/javascript"></script>
<script src="js/jspoints.js" type="text/javascript"></script>
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/range.js" type="text/javascript"></script>
<script src="js/mp.js" type="text/javascript"></script>
<script src="js/dzb.js" type="text/javascript"></script>
<script src="js/lib.js" type="text/javascript"></script>
<script type="text/javascript" src="js/png.js"></script>
<script language="javascript" type="text/javascript">
       
        function showNews(id)
	{
	var strUrl="newsInfo.aspx?url="+id+"&types=simp";	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
			
	}
	   function showNewsMap(id)
	{
	
	var strUrl="newsInfo.aspx?url="+id+"&types=simp";	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
		
		 return false;	
	}
	function showtypeexist(req)
	{
	var url=req.responseText;
	document.getElementById("newDis").style.display="none";
	document.getElementById("pageDis").style.display="none";
		document.getElementById("div1").style.display="none";
		document.getElementById("div2").style.display="";
		document.getElementById("div2").innerHTML="<table class='tables'  width=\"530\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">"+
"  <tr><td width=\"131\" height=\"30\" class=\"ban1\">"+document.getElementById("hidden_pagenum").value+"</td><td width=\"94\" class=\"time\">"+document.getElementById("hidden_referdate").value
+"</td><td class=\"ban2\">"+document.getElementById("hidden_BName").value+"</td>"+
    "<td width=\"213\">&nbsp;</td></tr>"+ url;
		document.getElementById("change").innerHTML="<span class=\"spanclass\" id=\"upqi\"><a  href=\"#\" onclick=\"showNews1('per')\">上一篇</a>&nbsp;<a  href=\"#\" onclick=\"showNews1('next')\">下一篇</a>&nbsp;<a  href=\"#\" onclick=\"dis()\">返回目录 </a></span>";
		document.getElementById("hidden_IsNews").value="true";
	
	
		}
		function dis()
		{
		document.getElementById("div2").style.display="none";
		document.getElementById("div1").style.display="";
		document.getElementById("change").innerHTML="<span class=\"spanclass\" id=\"upqi\"><a href=\"#\" onclick=\"goPrePeriod()\">&lt;&nbsp;上一期 </a>&nbsp;<a href=\"#\""+
                       " onclick=\"goNextPeriod();\">下一期&nbsp;&gt;</a>&nbsp;</span>";
                       document.getElementById("hidden_IsNews").value="false";
                     
  
		}
		
		 function showNews1(type)
	{

	var strUrl="newsInfo.aspx?type="+type+"&id="+escape(document.getElementById("hidden_NewsID").value)+"&paperName="+escape(document.getElementById("hidden_paperName").value)+
	"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value);	
	
		Ajaxs.GET(strUrl,showtypeexist1);	
	}
	function showtypeexist1(req)
	{
	    var url=req.responseText;
	   
	    if(url!=""){
	   document.getElementById("div2").innerHTML="<table class='tables'  width=\"530\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">"+
"  <tr><td width=\"131\" height=\"0\" class=\"ban1\">"+document.getElementById("hidden_pagenum").value+"</td><td width=\"94\" class=\"time\">"+document.getElementById("hidden_referdate").value
+"</td><td class=\"ban2\">"+document.getElementById("hidden_BName").value+"</td>"+
    "<td width=\"213\">&nbsp;</td></tr>"+"<tr> <td colspan=\"2\" align=\"right\"><img src=\"Images/line1.gif\" width=\"200\" height=\"13\" /></td>"+
    "<td width=\"122\" align=\"center\"><img src=\"Images/line2.gif\" width=\"122\" height=\"13\" /></td>"+
  "  <td><img src=\"Images/line3.gif\" width=\"186\" height=\"13\" /></td></tr><tr><td height=\"60\" colspan=\"4\" class=\"titles\">"+url.split("||")[1]+"</td></tr>"+
 " <tr><td colspan=\"4\" class=\"contents\">"+ url.split("||")[2]+"</td></tr></table>";
		
		document.getElementById("hidden_NewsID").value=url.split("||")[0];
		}else
		{
		alert("已是最后一篇或第一篇!");
		}
		document.getElementById("hidden_IsNews").value="true";

		
		}
		function showInfo(referdate,papername)
		{
		window.location="SimpleShow.aspx?referdate="+referdate+"&paperName="+papername+"";
		}
		function show()
		{
		document.getElementById('h_qiehuan').style.display='block';
		}
		 
 	function change(obj)
    {
   
    if(obj.className!='one'){
     obj.style.background="f1ede2 url(Images/dian.gif) no-repeat scroll 13px 10px"; 
     }else
     {
     obj.style.background="e6e1d0 url(Images/dian.gif) no-repeat scroll 13px 10px";
     }
 

    }
    </script>
<style type="text/css" media="screen">
#history {
	position: absolute;
	left: 500;
	top: 146;
	width: 125;
	visibility: visible;
	z-index: 10;
}
#div2 {
	width: 550;
	filter: BlendTrans(duration=1);
}
</style>
<script type="text/javascript">
    function goPrePeriod()
{
window.location="SimpleShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=per";
}
 function pageInfo()
{
window.location="list.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value);
}
 function showFlash()
{
window.location="transfor.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value);
}
function goNextPeriod()
{
window.location="SimpleShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=next";
}
function goPrePeriods()
{
window.location="SimpleShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value)+"&types=per";
}
function goNextPeriods()
{
window.location="SimpleShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value)+"&types=next";
}
function pagename()
{

window.location="SimpleShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value);
}
function loadIfream()
{
document.getElementById('date').src="test.aspx?paperName="+escape(document.getElementById("hidden_paperName").value);
}
function openDiv(type)
{
if(type=="1")
{
if(document.getElementById("pageDis").style.display=="none"){
document.getElementById("pageDis").style.display="";
}else
{

document.getElementById("pageDis").style.display="none";
}
}
else
{
if(document.getElementById("newDis").style.display=="none"){
document.getElementById("newDis").style.display="";
}else
{
document.getElementById("newDis").style.display="none";
}
}
}

    </script>
<style>
.head_c div {
	float: left;
	width: 373px;
	margin: 0 0 0 460px;
	padding: 40px 0 0 0;
	height: 49px;
}
.ban_t ul li.two {
	padding: 0px 0 0 15px;
	width: 110px;
}
.Calendar {
	font-family: Verdana;
	font-size: 12px;
	background-color: #e0ecf9;
	text-align: center;
	width: 200px;
	height: 160px;
	padding: 10px;
	line-height: 1.5em;
}
.Calendar a {
	color: red;
	text-decoration: underline;
}
.Calendar table {
	width: 100%;
	border: 0;
}
.Calendar table thead {
	color: #acacac;
}
.Calendar table td {
	font-size: 11px;
	padding: 1px;
}
#idCalendarPre {
	cursor: pointer;
	float: left;
	padding-right: 5px;
}
#idCalendarNext {
	cursor: pointer;
	float: right;
	padding-right: 5px;
}
#idCalendar td.onToday {
	font-weight: bold;
	color: #C60;
}
#idCalendar td.onSelect {
	font-weight: bold;
}
</style>
</head>
<body onload="initMPPage();loadWowi();"  style="background: url(../Images/m_bg.gif); background-repeat:repeat-x; background-color:#e0dbd5">
<input type="hidden" id="hidden_pic" runat="server" />
<input type="hidden" id="hidden_id" runat="server" />
<input type="hidden" id="hidden_referdate" runat="server" />
<input type="hidden" id="hidden_paperName" runat="server" />
<input type="hidden" id="hidden_isEvaluate" runat="server" />
<input type="hidden" id="hidden_Qnum" runat="server" />
<input type="hidden" id="hidden_pagenum" runat="server" />
<input type="hidden" id="hidden_show" runat="server" />
<input type="hidden" id="hidden_NewsID" value="0" />
<input type="hidden" id="hidden_BName" runat="server" />
<input type="hidden" id="hidden_IsNews" runat="server" value="false" />
<span id="leveldiv" title="点击查看内容" style="border-width: 0px; z-index: 100; left: 246px;
        width: 210px; position: absolute; top: 118px; height: 34px;"></span>
<!--头部-->
<div class="head_cz"> &nbsp; </div>
<!--菜单-->
<div class="menu_cz"> </div>
<!--内容部分-->
<div class="content">
  <!--左侧版面图部分-->
  <div class="left_c">
    <div class="ban">
      <!--报刊点击放大按钮位置-->
      <div style="position: absolute;">
        <div id="level" title="点击放大" style="position: relative; left: -20px; top: -17px;">
          <div style="position: relative;" id="FDJ"><a href="<%=getlargertUrl() %>" target="_blank"><img src="Images/FDJ.png" border="0" /></a></div>
        </div>
      </div>
      <!--报刊-->
      <div id="showDiv" runat="server"> </div>
    </div>
    <div class="ban_t">
      <div align="right">
        <ul>
          <span style="float: left; width: 255px; text-align: left" id="downnews" runat="server"> </span>
          <li><a  href="#" onclick="goPrePeriods()">上一版</a> </li>
          <li><a  href="#" onclick="goNextPeriods()">下一版</a> </li>
          <li><a  href="#" onclick="pageInfo()">版面概览</a></li>         
          <%--  <li><a class="preart" href="#" onclick="showFlash()"><FONT color="#FF0000">FLASH版本查看</FONT></a></li>--%>
        </ul>
      </div>
    </div>
  </div>
  <!--右侧目录部分-->
  <div class="right_c">
    <!--导航-->
    <div class="mului"> <br />
      <span style="clear: both" id="info" runat="server"></span>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><a href="#" onclick="pagename()">返回首版</a> | <a href="#" onmouseout="document.getElementById('pageDis').style.display='none'" onmousemove="document.getElementById('pageDis').style.display=''">&nbsp;版面导航</a>
            <div style="position: absolute;">
              <div id="pageDis" onmouseout="document.getElementById('pageDis').style.display='none'" style="display: none; position: relative; left: -120px; top: 15px;" runat="server" onmousemove="document.getElementById('pageDis').style.display=''"> </div>
            </div>
            |<a href="#" onmouseout="document.getElementById('newDis').style.display='none'" onmousemove="document.getElementById('newDis').style.display=''">&nbsp;标题导航</a>
            <div style="position: absolute;">
              <div id="newDis" onmouseout="document.getElementById('newDis').style.display='none'" style="display: none; position: relative; left: -120px; top: 15px; filter: Alpha(Opacity=50);" runat="server" onmousemove="document.getElementById('newDis').style.display=''"> </div>
            </div>
            |<a href="#" onclick="javascript:window.close();">&nbsp;退出</a></td>
        </tr>
      </table>
    </div>
    <!--logo-->
    <div class="head_cc"> <span class="kk2"><a href="<%=getUrl() %>" target="_blank">
      <asp:Image ID="logo" runat="server" alt="" border="0" />
      </a></span> </div>
      <!--往期回顾-->
    <div style=" clear:both; overflow: hidden">
      <div class="menu_c" style="float: left;" onmouseover="show()" onmouseout="document.getElementById('h_qiehuan').style.display='none'"> <img src="Images/ico1_cz.gif" alt="" border="0" />
        <div id="h_qiehuan" style="position: absolute; display: none; left: 450px; top: 170px;">
          <div style="border: #b1c5dd 1px solid; background: #f3f6fa; position: absolute;">
            <div class="Calendar">
              <div id="idCalendarPre"> &lt;&lt;</div>
              <div id="idCalendarNext"> &gt;&gt;</div>
              <span id="idCalendarYear"></span>年 <span id="idCalendarMonth"></span>月
              <table cellspacing="0">
                <thead>
                  <tr>
                    <td> 日 </td>
                    <td> 一 </td>
                    <td> 二 </td>
                    <td> 三 </td>
                    <td> 四 </td>
                    <td> 五 </td>
                    <td> 六 </td>
                  </tr>
                </thead>
                <tbody id="idCalendar">
                </tbody>
              </table>
            </div>
            <input id="idCalendarPreYear" type="button" value="上一年" />
            <input id="idCalendarNow" type="button" value="当前月" />
            <input id="idCalendarNextYear" type="button" value="下一年" />
            <script src="js/Calendar.js" type="text/javascript"></script>
            <script language="JavaScript">
var cale = new Calendar("idCalendar",document.getElementById("hidden_paperName").value,{
	SelectDay: new Date().setDate(10),
	onSelectDay: function(o){ o.className = "onSelect";this.paperName=document.getElementById("hidden_paperName").value;},
	onToday: function(o){ o.className = "onToday"; },
	onFinish: function(){

	}
});

$("idCalendarPre").onclick = function(){ cale.PreMonth(); }
$("idCalendarNext").onclick = function(){ cale.NextMonth(); }

$("idCalendarPreYear").onclick = function(){ cale.PreYear(); }
$("idCalendarNextYear").onclick = function(){ cale.NextYear(); }

$("idCalendarNow").onclick = function(){ cale.NowMonth(); }

                            </script>
          </div>
        </div>
      </div>
      <div id="Span1" class="spanclass1"> <a href="search.aspx" target="_blank"> <img src="Images/ico_cz.gif" border="0" alt="" /></a></div>
      <div id="change" runat="server"> <span id="upqi" class="spanclass"><a href="#" onclick="goPrePeriod()">&lt;&nbsp;上一期 </a>&nbsp;<a href="#" onclick="goNextPeriod();">下一期&nbsp;&gt;</a>&nbsp;</span></div>
    </div>
    <!--目录与标题-->
    <div id="ozoom" style="clear: both;">
      <div class="list_t" runat="server" id="div1">
        <!--新闻标题-->
        <div class="list_l">
          <div class="l_t" runat="server" id="titlenews"> </div>
          <div class="l_b" id="titleImgUp" style="background: #c1c3d4;" align="center"> <a href="#"> <img src="Images/jiao1s.gif" alt="" border="0" /></a></div>
          <div class="l_c">
            <div id="titleList" runat="server"> </div>
          </div>
          <div id="titleImgDown" style="padding-right: 0px; border-top: #c1c3d4 1px solid; padding-left: 0px; background: #c1c3d4; padding-bottom: 0px; width: 314px; padding-top: 0px; height: 8px; text-align: center" align="center"> <a href="#"> <img src="Images/jiaos.gif" alt="" border="0"></a></div>
        </div>
        <!--版面目录-->
        <div class="list_r">
          <div class="l_t l_t1"> 版面目录</div>
          <div class="l_b l_b1" id="pageImgUp"> <a href="#"> <img src="Images/jiao1s.gif" alt="" border="0" /></a></div>
          <div class="l_c l_c1">
            <div id="pageList" runat="server"> </div>
          </div>
          <div style="padding-right: 0px; border-top: #c1c3d4 1px solid; padding-left: 0px; background: #c1c3d4; padding-bottom: 0px; width: 218px; padding-top: 0px; height: 8px; text-align: center" id="pageImgDown" align="center"> <a href="#"> <img src="Images/jiaos.gif" alt="" border="0" /></a></div>
        </div>
      </div>
      <div class="list_t">
        <div class="text_c" runat="server" id="div2" style="display: none; min-height: 500px;"> </div>
      </div>
    </div>
  </div>
</div>
<!--结束内容部分-->
<!--版权部分-->
<div id="detail" align="center" runat="server" class="copyright"> </div>
<script language="JavaScript">
<!--
document.write("<div id=detail style=position:absolute;width:300px;></div>");
//-->
    </script>
<!-------rqdh版面导航END------>
<!-------文章显示标题开始------>
<div style="display: none;" id="title" runat="server"> </div>
<!-------文章显示标题结束------>
<img src="Images/left_ico.gif" style="display: none;" alt="" /> <img src="Images/right_ico.gif" style="display: none;" alt="" /> <img src="Images/ico10.gif" style="display: none;" alt="" /> <img src="Images/ti.gif" style="display: none;" alt="" /> <img src="Images/nav_bg.gif" style="display: none;" alt="" /><img src="Images/line_bg1.gif"
        style="display: none;" alt="" /><img src="Images/top_bg.gif" style="display: none;"
            alt="" /> <img src="Images/line_bg.gif" style="display: none;" alt="" />
<script language="javascript">
if(document.getElementById('ozoom')!=null&&document.getElementById('ozoom').offsetHeight<=357)
	document.getElementById('ozoom').style.height = '480px';
    </script>
</body>
</html>