<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="show.aspx.cs" Inherits="Maticsoft.Web.show"
    EnableEventValidation="false" ValidateRequest="false" %>

<!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" />
    <link rev="stylesheet" media="all" href="Css/mulu_m1.css" type="text/css" rel="stylesheet" />
    <link rev="stylesheet" media="all" href="Css/mulu_m1_home.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;	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
			
	}
	   function showNewsMap(id)
	{
	
	var strUrl="newsInfo.aspx?url="+id;	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
		
		 return false;	
	}
	function showtypeexist(req)
	{
	var url=req.responseText;
		document.getElementById("div1").style.display="none";
		document.getElementById("wordLists").style.display="none";
		document.getElementById("div2").style.display="";
		document.getElementById("div2").innerHTML= url;
		document.getElementById("change").innerHTML="<span class=\"spanclass\" id=\"upqi\"> <a href=\"#\" onclick=\"javascript:document.getElementById('wordLists').style.display='';"+
               " javascript:document.getElementById('div1').style.display='none';javascript:document.getElementById('div2').style.display='none';\">文字列表</a>&nbsp;"+
               "<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";
		createStarsPage();
		showComment();
		document.getElementById("Score").innerHTML="我给文章打分";
		}
		function dis()
		{
		document.getElementById("div2").style.display="none";
		document.getElementById("wordLists").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";
                        document.getElementById("Score").innerHTML="我给版面打分";
                        createStarsPage();
		showComment();
		}
		
		 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("div1").style.display="none";
		document.getElementById("wordLists").style.display="none";
		document.getElementById("Span1").style.display="none";
		document.getElementById("div2").innerHTML="<br/> <p align='center'><b style=\"font-size:20px;\">" +url.split("||")[1]+"</b></p><HR style=\"width: 90%; border-top:1px solid #cccccc; height: 0px;margin: 10 0 10 0;\">"+url.split("||")[2];
		document.getElementById("hidden_NewsID").value=url.split("||")[0];
		}else
		{
		alert("已是最后一篇或第一篇!");
		}
		document.getElementById("hidden_IsNews").value="true";
		createStarsPage();
		showComment();
		document.getElementById("Score").innerHTML="我给文章打分";
		}
		function showInfo(referdate,papername)
		{
		
		window.location="show.aspx?referdate="+referdate+"&paperName="+papername+"";
		}
		function show()
		{
		document.getElementById('h_qiehuan').style.display='block';
		}
		 
 	function submitCheck()
 {
  if(document.getElementById("hidden_isEvaluate").value=="True"){
 	 if(document.all("content1").value.length>1000){
	 alert("评论内容超过1000字！");
	 return false;
	 }
	 if(document.all("content1").value.indexOf("<script")!=-1 ||document.all("content1").value.indexOf("<\/")!=-1){
	 alert("评论内容含有特殊字符!");
	 return false;
	 }
	 if(document.all("content1").value == "")
	 {
	 alert("必须填写评论内容！");
	 return false;
	 }
document.commentform.pname.value=document.getElementById("hidden_paperName").value;
document.commentform.bname.value=document.getElementById("hidden_BName").value
document.commentform.qnum.value=document.getElementById("hidden_Qnum").value;
document.commentform.newsid.value=document.getElementById("hidden_NewsID").value;
document.commentform.pagenum.value=document.getElementById("hidden_pagenum").value;
document.commentform.isnews.value=document.getElementById("hidden_IsNews").value;
		
	document.commentform.action="Comment.aspx?type=add";
	 document.commentform.target="NodeCommentFrame";
		document.commentform.submit();
		document.commentform.content1.value="";
		document.commentform.author1.value="";
		}
	 }
	  function showComment(){
	  
	  if(document.getElementById("hidden_isEvaluate").value=="True"){
	 
 		document.commentform.pname.value=document.getElementById("hidden_paperName").value;
document.commentform.bname.value=document.getElementById("hidden_BName").value
document.commentform.qnum.value=document.getElementById("hidden_Qnum").value;
document.commentform.newsid.value=document.getElementById("hidden_NewsID").value;
document.commentform.pagenum.value=document.getElementById("hidden_pagenum").value;
document.commentform.isnews.value=document.getElementById("hidden_IsNews").value;
		document.commentform.action="Comment.aspx";
	
		 document.commentform.target="NodeCommentFrame";
 		 document.commentform.submit();
 		 }else
 		 {
 		 document.getElementById("Evaluate").style.display="none";
 		 }

 	}
    </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="show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=per";
}
function goNextPeriod()
{
window.location="show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=next";
}
function goPrePeriods()
{
window.location="show.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="show.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="pagePiclist.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&pagenum="+escape(document.getElementById("hidden_pagenum").value);
}
function loadIfream()
{
document.getElementById('date').src="test.aspx?paperName="+escape(document.getElementById("hidden_paperName").value);
}

    </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();showComment();createStarsPage();">
    <input type="hidden" id="hidden_pic" 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">
    </div>
    <!--菜单-->
    <div class="menu">
    </div>
    <!--内容部分-->
    <div class="content">
        <!--左侧版面图部分-->
        <div class="left_c">
            <div class="ban">
                <!--报刊点击放大按钮位置-->
                <div style="position: absolute;">
                    <div id="level" title="点击放大"  style="position: relative; left: -18px; top: -15px;">
                        <div style="position: relative;" id="FDJ">
                            <a href="<%=getlargetUrl() %>" target="_blank">
                                <img src="Images/FDJ.png" border="0" alt="点击放大" /></a></div>
                    </div>
                </div>
                <!--报刊-->
                <div class="ban_paper" id="showDiv" runat="server">
                </div>
            </div>
            <div class="ban_t">
                <div>
                    <ul>
                        <li style="width: 180px"><span id="downnews" runat="server"></span></li>
                        <li><a class="preart" href="#" onclick="pagename()">版面导航</a> </li>
                        <li><a class="preart" href="#" onclick="goPrePeriods()">上一版</a> </li>
                        <li><a class="preart" href="#" onclick="goNextPeriods()">下一版</a> </li>
                        <li class="two" style="float: right; width: 70px"><span id="pdf" runat="server"></span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="title">
                <div>
                    声明</div>
            </div>
            <div class="pai">
                <div>
                </div>
            </div>
        </div>
        <!--右侧目录部分-->
        <div class="right_c">
            <!--logo-->
            <div class="head_c">
                <!--<span class="kk2"><a href="" target="_blank">
                    <img src="Images/gif-0258.gif" border="0" width="60" height="60" /></a></span>-->
                <a href="<%=getUrl() %>">
                    <asp:Image ID="logo" runat="server" Style="margin: -12px 15px 0pt 0pt; float: right;"
                        alt="" border="0" />
                </a>
            </div>
            <!--报纸名称与日期-->
            <div style="height: 30px">
                <span id="info" runat="server"></span>
            </div>
            <!--往期回顾-->
            <div style="height: 30px">
                <div class="menu_c" onmouseover="show()" onmouseout="document.getElementById('h_qiehuan').style.display='none'">
                    往期回顾
                    <img src="Images/ico1.gif" alt="" border="0" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <div id="h_qiehuan" style="position: absolute; display: none; left: 450px; top: 120px;">
                        <div style="border-right: #b1c5dd 1px solid; border-top: #b1c5dd 1px solid; background: #f3f6fa;
                            border-left: #b1c5dd 1px solid; border-bottom: #b1c5dd 1px solid; 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">
                    <img src="Images/ico2.gif" border="0" alt="" />
                    &nbsp;<a href="search.aspx" target="_blank">分类检索</a></div>
                <!--上一期下一期-->
                <div id="change" runat="server" class="spanclass">
                    <span id="upqi"><a href="#" onclick="goPrePeriod()">&lt;&nbsp;上一期 </a>&nbsp;<a href="#"
                        onclick="goNextPeriod();">下一期&nbsp;&gt;</a>&nbsp;</span></div>
            </div>
            <!--目录与标题-->
            <!--id="ozoom"-->
            <div class="list_tt" runat="server" id="div1">
                <!--新闻标题-->
                <div class="list_l">
                    <div class="l_t" runat="server" id="titlenews">
                    </div>
                    <div class="l_b" id="titleImgUp">
                        <a href="#">
                            <img src="Images/jiao1.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: #94d5ff 1px solid;
                        padding-left: 0px; background: #d0ebfe; padding-bottom: 0px; width: 314px; padding-top: 2px;
                        height: 10px; text-align: center" align="center">
                        <a href="#">
                            <img src="Images/jiao.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/jiao1.gif" alt="" border="0" /></a></div>
                    <div class="l_c l_c1">
                        <div id="pageList" runat="server">
                        </div>
                    </div>
                    <div style="border-top: 1px solid rgb(148, 213, 255); padding: 2px 0pt 0pt; background: rgb(208, 235, 254) none repeat scroll 0%;
                        width: 218px; height: 10px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial;
                        -moz-background-inline-policy: -moz-initial; text-align: center;" id="pageImgDown"
                        align="center">
                        <a href="#">
                            <img src="Images/jiao.gif" alt="" border="0" /></a></div>
                </div>
            </div>
            <!--文章内容-->
            <div class="list_t">
                <div class="text_c" runat="server" id="div2" style="display: none;">
                </div>
            </div>
            <!-- 版面列表-->
            <div class="list_l_content" id="wordLists" style="display: none;">
                <div class="l_c_content" id="pageLists" runat="server">
                </div>
            </div>
            <div style="clear:both;"></div>
            <div id="Evaluate" runat="server">
                <div class="title da_t">
                    <div id="Score">
                        我给版面打分</div>
                </div>
                <div class="da_c">
                    <form id="pointsform" style="display: none" name="pointsform" action="" method="post"
                    target="pointsIframe">
                    <div id="paperdatediv" runat="server">
                    </div>
                    </form>
                    <form id="pForm" name="pForm" action="">
                    <input onclick="pv(1)" type="radio" value="1" name="pointVal" />
                    1分&nbsp;&nbsp;
                    <input onclick="pv(2)" type="radio" value="2" name="pointVal" />
                    2分&nbsp;&nbsp;
                    <input onclick="pv(3)" type="radio" checked="checked" value="3" name="pointVal" />
                    3分&nbsp;&nbsp;
                    <input onclick="pv(4)" type="radio" value="4" name="pointVal" />
                    4分&nbsp;&nbsp;
                    <input onclick="pv(5)" type="radio" value="5" name="pointVal" />
                    5分 &nbsp;
                    <img style="cursor: hand" onclick="submitPoints(document.pForm.Input2.value);" alt=""
                        src="Images/ti.gif" border="0">
                    <!--<p>本版得分:<span>4.1分</span>(共有<span>19</span>位网友打分)</p>-->
                    <input type="hidden" value="3" name="Input2" />
                    </form>
                    <%--<div id="points" name="points" width="400" height="30" runat="server">
                </div>--%>
                    <iframe id="pointsIframe" name="pointsIframe" src="about:blank" frameborder="0" width="400"
                        scrolling="no" height="30"></iframe>
                </div>
                <!--我要评报-->
                <div class="title da_t">
                    <div>
                        我要评报 <a onclick="getElementById&#13;&#10;('liuyans').style.display=&#13;&#10;(getElementById('liuyans').style.display=='none'?'block'&#13;&#10;:'none');"
                            href="#">隐藏留言须知</a></span></div>
                </div>
                <div class="note" style="height: 190px">
                    <div id="pageNameForJiaoHu" style="display: none" name="pageNameForJiaoHu">
                        要闻</div>
                    <form name="commentform" method="post">
                    &nbsp;&nbsp;&nbsp;&nbsp;署名:
                    <input style="border-right: #7f9db9 1px solid; border-top: #7f9db9 1px solid; border-left: #7f9db9 1px solid;
                        width: 95px; border-bottom: #7f9db9 1px solid; height: 18px" maxlength="64" name="author1">
                    &nbsp;&nbsp;
                    <input id="isGuest" type="hidden" value="true" name="isGuest">
                    <!--匿名发表-->
                    <p>
                        <textarea id="content1" name="content1" rows="6" cols="30"></textarea>
                        <img style="cursor: hand" onclick="return submitCheck();" alt="" src="Images/fb.gif"
                            border="0">
                        <%--<img style="cursor: hand" onclick="return viewComment();" alt="" src="Images/ckpl.gif" border="0">--%>
                    </p>
                    <br />
                    <span id="liuyans" style="float: left">1、遵守中华人民共和国有关法律、法规，尊重网上道德，承担一切因您的行为而直接或间接引起的法律责任。
                        <br>
                        2、HSORT拥有管理笔名和留言的一切权力。
                        <br>
                        3、您在HSORT电子报刊留言板发表的言论，HSORT有权在网站内转载或引用。&nbsp; </span>
                    <input type="hidden" name="bname" />
                    <input type="hidden" name="pagenum" />
                    <input type="hidden" name="qnum" />
                    <input type="hidden" name="pname" />
                    <input type="hidden" name="newsid" />
                    <input type="hidden" name="isnews" />
                    </form>
                </div>
                <!--留言部分-->
                <div class="title da_t">
                    <div>
                        网友最新留言</div>
                </div>
                <div class="da_c" style="padding-right: 0px; padding-left: 5px; padding-bottom: 0px;
                    width: 535px; padding-top: 0px">
                    <div style="overflow-y: scroll; overflow-x: hidden; height: 300px">
                        <%--<div id="NodeCommentFrame" name="NodeCommentFrame" width="508" runat="server"></div>--%>
                        <iframe id="NodeCommentFrame" name="NodeCommentFrame" src="about:blank" frameborder="0"
                            width="508" scrolling="no" height="900"></iframe>
                    </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 = '460px';
    </script>-->
</body>
</html>
