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

<!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>Hsort数字电子报刊</title>
    <link href="Css/blackStyle.css" rel="stylesheet" type="text/css" />

    <script src="js/black.js" type="text/javascript"></script>

    <script src="js/popup.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
   function goPrePeriods() 

{

window.location="BlackShow.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="BlackShow.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 goPrePeriod()
{
window.location="BlackShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=per";
}
function goNextPeriod()
{
window.location="BlackShow.aspx?paperName="+escape(document.getElementById("hidden_paperName").value)+"&qnum="+escape(document.getElementById("hidden_Qnum").value)+"&type=next";
}

function nTabs(B,A){

var C=document.getElementById(B).getElementsByTagName("li");

for(i=0;

i<2;

i++)if(C[i].id==A.id){

document.getElementById(B+"_Title"+i).className="active";

document.getElementById(B+"_Content"+i).style.display="block" 


}  else{

document.getElementById(B+"_Title"+i).className="normal";

document.getElementById(B+"_Content"+i).style.display="none" 


}   


} 

function showNews(id) 

{

pop=new Popup({

contentType:1, isReloadOnClose:false, width:712, height:554 

} );


pop.setContent("title","查看新闻");

pop.setContent("contentUrl","BlackNews.aspx?id="+id);

pop.build();

pop.show();


} 



    </script>

</head>
<body style="height: 100%;">
    <div id="leveldiv" title="" style="BORDER-TOP-WIDTH: 0px;filter:Alpha(opacity=100);background-color:#000;;BORDER-LEFT-WIDTH: 0px; Z-INDEX: 10; LEFT: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 0px; CURSOR: hand; POSITION: absolute; TOP: 0px; HEIGHT: 0px; BORDER-RIGHT-WIDTH: 0px"></div>
<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" />
    <!--top-->
    <div id="top">
        <div class="header">
            <div class="search">                
                <div class="search_login">您好，欢迎阅读Hsort数字报刊！</div>
            </div>
            <div class="zuangt">
                <div class="search_dh">
                   <span runat="server" id="info" style="font-family: Arial, Helvetica, sans-serif; float:left"></span></div>
                <div class="search_qi">
                	<ul>
                    	<li><a href="#" onclick="goPrePeriod()">上一期</a></li>
                        <li><a href="#" onclick="goNextPeriod();">下一期</a></li>
                     </ul>
                 </div>
            </div>
        </div>
    </div>
    <!--报纸内容-->
    <div class="clean">
    </div>
    <div style="height: 12px;">
    </div>
    <div id="frame">
        <ul>
            <li>
                <div class="td3bg" id="pageTd3">
                    <!--报纸位置-->
                    <div class="td4">
                        <ul>
                           
                            <li class="juli" style="width: 22px;" id="prenode2">
                                <img src="images/button02.jpg" alt="上一版" name="preimg2" border="0" id="preimg2" onclick="goPrePeriods()" /></li>
                            <li class="bmtborder" id="pagepic">
                                <img runat="server" id="img" border="0">
                            </li>
                        
                            <li class="juli" style="width: 22px;" id="nxtnode2">
                                <img src="images/button01.jpg" border="0" id="nxtimg2" alt="下一版" onclick="goNextPeriods()" /></li>
                        </ul>
                        <div class="pageflash" id="pageChangeEffect" onmouseover="this.style.display = 'none';">
                        </div>
                    </div>
                    <!--报纸板块要闻-->
                    <div class="td7" id="newsList">
                        <div class="bt_list">
                            <h2 id="downnews" runat="server">
                            </h2>
                            <div id="titleList" runat="server">
                            </div>
                        </div>
                    </div>
                </div>
            </li>
            <li class="floatright">
                <div class="td9">
                    <div class="bmtu_list" id="n4Tab">
                        <div class="bmtu_list_L">
                            <div class="tabtitle">
                                <ul>
                                    <li id="n4Tab_Title0" onclick="nTabs('n4Tab',this);" class="active">
                                        <h6>
                                            <a href="javascript:void(0);" onclick="change()">图片导航</a></h6>
                                    </li>
                                    <li id="n4Tab_Title1" onclick="nTabs('n4Tab',this);" class="normal">
                                        <h6>
                                            <a href="javascript:void(0);">文字导航</a></h6>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="bmtu_list_R">
                            <div class="bmtu_list_R_t">
                            </div>
                            <div class="tabcontent">
                                <div class="scroll" id="scrollDiv">
                                    <div id="n4Tab_Content0" runat="server">
                                    </div>
                                    <div id="n4Tab_Content1" class="none" runat="server">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <!--滚动条-->
    <div class="gnt" id="menuBar">
        <dl>
            <dt><span></span></dt>
        </dl>
        <dl>
            <dt>
                <dd id="pdf" runat="server">
                </dd>
                <dd style="width: 22px;">
                    <img style="cursor:pointer" src='images/icon004.gif' alt='上一版' border='0' onclick="goPrePeriods()">
                </dd>
                <dd style="width: 22px;">
                    <img style="cursor:pointer" src='images/icon010.gif' alt='下一版' border='0' onclick="goNextPeriods()">
                </dd>
                <dd>
                    <a href="javacript:void(0);" onclick="javascript:window.print();return false;">
                        <img src="images/icon001.gif" alt="打印" border="0" /></a></dd>
                <dd style="display: none;">
                    <a href="#" onclick="openRMP()">
                        <img src="images/icon006.gif" alt="下载" border="0" /></a></dd>
              
            </dt>
        </dl>
        <dl>
            <dt><cite></cite></dt>
        </dl>
    </div>

    <script language="javascript" type="text/javascript" src="js/2.js"></script>

    <script language="Javascript" type="text/javascript" src="js/range3.js"></script>

    <script language="javascript">
	JustPage();
	document.getElementById("newsList").style.display = "block";
	var pW = parseInt(document.getElementById("pagepic").clientWidth);
	var cS = parseInt(document.body.clientWidth);
	if(cS >= 1024){ cS = 1015;}else{ cS = 1000;}
	var tdS = 690;
	if(pW >= 391){ cS = cS + (pW - 410);}
	document.getElementById("frame").style.width = cS + "px";
	if(pW >= 391){ tdS = tdS + (pW - 340);}
	document.getElementById("pageTd3").style.width = tdS + "px";
    </script>

</body>
</html>
