<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="red_show.aspx.cs" Inherits="Maticsoft.Web.red_show" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>hsort报刊管理系统</title>
<link rel="stylesheet" type="text/css" href="redcss/gzrbhomecssoly.css">
<link rel="stylesheet" type="text/css" href="redcss/content.css">
<meta content="blendTrans(duration=0.1)" http-equiv="Page-Enter">
<meta content="blendTrans(duration=0.1)" http-equiv="Page-Exit">
<script src="js/Common.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" src="redjs/gzdaily_v3.js"></script>
<script language="JavaScript" type="text/javascript" src="redjs/dyCalendar.js"></script>
<script language="JavaScript" type="text/javascript" src="redjs/date.js"></script>
<script language="JavaScript" type="text/javascript" src="js/mp.js"></script>
<script language="JavaScript" type="text/javascript" src="js/range.js"></script>
<script language="JavaScript" type="text/javascript" src="redjs/cookie.js"></script>
<script src="redjs/basejsfornm.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" src="js/lib.js"></script>
<script type="text/javascript">
      function showNews(id)
	{
	var strUrl="red_newsInfo.aspx?url="+id;	
	document.getElementById("hidden_NewsID").value=id;
		Ajaxs.GET(strUrl,showtypeexist);
			
	}
	   function showNewsMap(id)
	{
	
	var strUrl="red_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("pageIn").style.display="none";
		document.getElementById("news").style.display="";
		document.getElementById("returnPage").style.display="";
		document.getElementById("article").innerHTML= url;	
		}
		
			 function showNews1(type)
	{

	var strUrl="red_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("pageIn").style.display="none";
		document.getElementById("news").style.display="";
		document.getElementById("returnPage").style.display="";
		document.getElementById("hidden_NewsID").value=url.split("||")[0];
		document.getElementById("article").innerHTML="<h3 id=\"artTitle\">" +url.split("||")[1]+" </h3> <div class=\"text\"> <founder-content>"+url.split("||")[2]+"</founder-content></div>";
		}else
		{
		alert("已是最后一篇或第一篇!");
		}
		
		}
		function dis()
		{
		document.getElementById("news").style.display="none";
		document.getElementById("returnPage").style.display="none";
		document.getElementById("pageIn").style.display="";
	
		}
function goPrePeriod()
{
window.location="red_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=per";
}
function goNextPeriod()
{
window.location="red_show.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=next";
}
function goPrePeriods()
{
window.location="red_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="red_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>
<meta name="GENERATOR" content="MSHTML 8.00.6001.18783">
</head>
<body onLoad="initMPPage();calendarInit();initFontSize('article_list', 14, 'px', 'fontSize');">
<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 style="z-index: 10; position: absolute; border-right-width: 0px; width: 210px;
        border-top-width: 0px; border-bottom-width: 0px; height: 34px; border-left-width: 0px;
        top: 123px; cursor: hand; left: 233px" id="leveldiv" title="点击查看内容" onClick="goToOnClickHref();"> </span>
<div class="bg">
  <div class="container">
    <div id="gzdailylogo"> <a href="http://p.hsort.com/">
      <asp:Image ID="logo" runat="server" />
      </a> </div>
    <div class="leftcolumn">
      <div class="tbga">
        <div class="bbga">
          <div class="cbga">
            <div class="left">
              <div class="pagepicture">
                <div id="showDiv" runat="server"> </div>
                <!--<div class="pageflash">
                  <div id="pageChangeEffect" onMouseOver="this.style.display = 'none';"> </div>
                </div>-->
              </div>
            </div>
            <div class="pagebutton">
              <div id="pdf" runat="server"> </div>
              <p class="con"> <span class="done"><a href="#" onClick="goPrePeriod()">前一天</a></span> <span class="dtwo"> <a href="#" onClick="goNextPeriod();">后一天</a></span> <span class="dthree"><a class="preart" href="#" onClick="goPrePeriods()">上一版</a></span> <span class="dfour"><a class="preart" href="#" onClick="goNextPeriods()">下一版</a></span> </p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="rightcolumn">
      <div class="subcbga">
        <div class="nav"> <span class="topdate" id="info" runat="server"></span>&gt;&gt;<span id="titlenews"
                            runat="server"></span></div>
        <!-- 顶日历 -->
        <div id="topcalendar" class="calendar" onMouseOver="menu_open('topcalendar');" onMouseOut="menu_hide('topcalendar');"> </div>
        <div class="controlnav">
          <div class="left">
            <form onSubmit="return winOpenSearch(this);" method="post" name="searchForm" target="_blank">
              <%--  <input id="searchText" class="texta" name="searchText">--%>
              <a href="search.aspx" target="_blank" class="white"><strong>分类检索</strong></a>
            </form>
          </div>
          <div class="right"> <span><a href="#" id="returnPage" style="display: none;" onClick="dis()">返回目录</a></span> <span><a onMouseOver="menu_open('paperslist');" onMouseOut="menu_hide('paperslist');"
                                href="http://p.hsort.com/">系列报刊</a></span></div>
        </div>
        <div class="contentlist" id="pageIn">
          <div class="left">
            <div class="controlbnt">
              <div class="controlbntleft"> <a title="放大" onClick="setFontSize('article_list', 1, '+', 'fontSize', 'px');" href="#"> <img alt="放大" src="images/icon7.gif">放大</a> <a title="缩小" onClick="setFontSize('article_list', 1, '-', 'fontSize', 'px');"
                                            href="#"> <img alt="缩小" src="images/icon8.gif">缩小</a> <a title="默认" onClick="setFontSize('article_list', 14, '=', 'fontSize', 'px');"
                                                href="#"> <img alt="缩小" src="images/icon9.gif">默认</a> </div>
              <%--  <p class="rss">
                                    <div id="readlist" onmouseover="menu_open('readlist');">
                                        <a href="#">
                                            <img class="imga" src="images/read_txt.jpg"><img class="imga" src="images/icon2.jpg"></a>
                                        <p>
                                            <a onclick="readTxt(2);return false;" href="#">女声普通话</a></p>
                                        <p>
                                            <a onclick="readTxt(4);return false;" href="#">男声普通话</a></p>
                                        <p>
                                            <a onclick="readTxt(3);return false;" href="#">粤语声</a></p>
                                    </div>
                                </p>--%>
            </div>
            <div id="article_list" class="pagecontentlist">
              <h2> 本版新闻</h2>
              <div id="titleList" runat="server"> </div>
            </div>
          </div>
          <div class="right">
            <div class="share">
              <div id="sharelista" class="sharelist" onMouseOver="menu_open('sharelista');" onMouseOut="menu_hide('sharelista');"
                                    runat="server"> </div>
              <div id="pageList" class="list" runat="server"> </div>
            </div>
            <div class="hidden">
              <p id="currentpage" runat="server"> </p>
              <input id="currentFoldId" value="furl721" type="hidden">
            </div>
            <%--                            <script language="JavaScript"> setDefaultFold(document.getElementById('currentFoldId').value, document.getElementById('foldChange')); try { 		setTotalPage(0+parseInt(24)+parseInt(12)+parseInt(12)+parseInt(8)+parseInt(8)+parseInt(4)+parseInt(16)+parseInt(4), document.getElementById('foldChange')); 	} 	catch (esetTotalPage) 	{ 	} 	</script>
--%>
            <div id="calendar" class="calendar"> </div>
            <script src=""></script>
          </div>
        </div>
        <!--新闻详细内容-->
        <div class="articlecontent" id="news" style="display: none;">
          <div id="article" class="article"> </div>
          <div class="pagecontrol">
            <p class="bnt"> <img class="buttonb" onClick="window.location='##'" src="images/go-top.jpg"></p>
            <p class="bntb"> <span id="showArticleHref3"><a class="preart" href="#" onClick="showNews1('per')">上一篇</a>&nbsp;&nbsp;<a
                                    class="preart" href="#" onClick="showNews1('next')">下一篇</a></span></p>
          </div>
        </div>
        <!--新闻结束-->
      </div>
    </div>
  </div>
  <div style="display: none;" id="title" runat="server"> </div>
  <iframe id="TTSPlayeriframe" class="hidden" name="TTSPlayeriframe"></iframe>
  <script language="JavaScript">
<!--
try
{
	setObjectAttribute(document.getElementById(getContent(document.getElementById('currentpage'))), 'class', 'currentleft');
	//跳到当前版处
	//dojo.byId('page_list').scrollTop=dojo.html.abs(getContent(document.getElementById('currentpage'))).y - dojo.html.abs('page_list').y - //dojo.html.getContentBox('page_list').height/3;
	function getTop(ele){
 var top = ele.offsetTop;
		var offsetParent = ele.offsetParent;
		while(offsetParent){
 top += offsetParent.offsetTop;
 offsetParent = offsetParent.offsetParent;
		}
		return top;
	}
	
	var a = getTop(document.getElementById(getContent(document.getElementById('currentpage'))));
	var b = getTop(document.getElementById('page_list'));
	var h = document.getElementById('page_list').clientHeight || document.getElementById('page_list').offsetHeight;
	document.getElementById('page_list').scrollTop = a - b - h/3; 
}
catch (e)
{
}
//-->
        </script>
  <div id="footer">
    <div class="bg1">
      <div class="link">
        <p class="con"> <span>服务热线：0311-89271629</span> <span>QQ:1003753463</span></p>
      </div>
      <div class="infor" runat="server" id="detail"> </div>
    </div>
  </div>
</div>
<%--   <div id="Div1" onmouseover="menu_open('readlist');">
                                        <a href="#">
                                            <img class="imga" src="images/read_txt.jpg"><img class="imga" src="images/icon2.jpg"></a>
                                        <p>
                                            <a onclick="readTxt(2);return false;" href="#">女声普通话</a></p>
                                        <p>
                                            <a onclick="readTxt(4);return false;" href="#">男声普通话</a></p>
                                        <p>
                                            <a onclick="readTxt(3);return false;" href="#">粤语声</a></p>
                                    </div>--%>
</body>
</html>
