<!--#include file="pysjzx_conn.asp"-->
<!--#include file="webconfig.asp"-->
<%dim id
		id=lcase(trim(request("id")))  
					  if IsNumeric(request.QueryString("id"))=False or request.QueryString("id")="" then
		response.write"<SCRIPT language=JavaScript>alert('参数错误！');"
		response.write"javascript:history.go(-1)</SCRIPT>"
		response.end	
		end if
				sql="select * from news where newsid="&id&""
		Set rsb= Server.CreateObject("ADODB.Recordset")
		rsb.open sql,conn,1,3
		if rsb.bof and rsb.eof then
		response.write"<SCRIPT language=JavaScript>alert('参数错误！');"
		response.write"javascript:history.go(-1)</SCRIPT>"
		response.end
		else
		rsb("viewcount")=rsb("viewcount")+1
		rsb.update
		end if
		
		newsname=rsb("newsname")
			host=Cstr(Request.ServerVariables("http_host"))
		servername3=Cstr(Request.ServerVariables("script_name"))
servername3="http://"&host&servername3&"id="&rsb("newsid")
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=webname%>-新闻-<%=rsb("newsname")%></title>
<meta content="<%=keyword%>" name="keywords">
<meta content="<%=description%>" name="description">
<LINK href="css/style.css" rel=stylesheet type=text/css>
<script language="JavaScript">
<!--
<!--
function click() {
if (event.button==2) {
	if(document.all.auto.status==true){document.all.auto.status=false;}
	scroller();
	}
}
document.onmousedown=click

var position = 0; 
function scroller() {
if (document.all.auto.status==true){ 
	position++; 
	scroll(0,position); 
	clearTimeout(timer); 
	var timer = setTimeout("scroller()",50); 
	timer;
	}
else{
	clearTimeout(timer);
	}
}

function doZoom(size){
	document.getElementById('zoom').style.fontSize=size+'px'
}

function mOvr(src,clrOver) {
   if (!src.contains(event.fromElement)) {
	  src.bgColor = clrOver;
	}
  }
  
function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	  src.bgColor = clrIn;
	}
  }
// -->

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->

function copyToClipBoard(){
	var clipBoardContent=''; 	
	clipBoardContent+='<%=newsname%>';
	clipBoardContent+='\r\n<%=servername3%>';	window.clipboardData.setData("Text",clipBoardContent);
	alert("地址已经复制到粘贴板!");
}

</SCRIPT>

</head>
<!--#include file="webhead.asp"-->
<div align="center">
	<table border="0" width="780" cellpadding="0" style="border-collapse: collapse" bordercolor="#C0C0C0">
		<tr>
			<td width="200" bgcolor="#F2F2F2">　</td>
			<td>
			<div align="center">
			<table border="0" width="98%">
				<tr>
					<td>　</td>
				</tr>
				<tr>
					<td>
					<p align="center">　<font color="#FF0000" size="3"  style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 130%; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><%=newsname%></font>
					　</td>
				</tr>
				<tr>
					<td>	
					<p align="right">	<%=rsb("adddate")%> 浏览：<%=rsb("viewcount")%> 来源：<%=rsb("addname")%>&nbsp;　</td></tr>
					<tr><td height="25">
						<p align="right">　【字体：
      <a  href="javascript:doZoom(16)">大</a>
      <a  href="javascript:doZoom(14)">中</a>
      <a href="javascript:doZoom(12)">小</a>】
                <input type="checkbox" name="auto" value="on" onClick="MM_callJS('scroller() ; ')" id="auto" class="input1"><label for="auto">自动滚屏</label>（右键暂停） 
						　　</td>
				</tr>
				<tr>
					<td><font id="zoom" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 130%; TEXT-ALIGN: left; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
					　<%=rsb("newscontent")%></font></td>
				</tr>
			</table>

			<table cellSpacing="1" cellPadding="3" width="95%" border="0">  
	
					<tr>
						<td>
						<p align="right">【  
					<a href="#bottom" title='点击我即可直接在MSN/QQ上粘贴该帖地址' onclick='copyToClipBoard()'>复制地址</a> 】【 <A href="javascript:window.external.AddFavorite('<%=servername3%>','<%=newsname%>')">收藏</a> 】&nbsp;【 <A href='javascript:window.print()'>打印</a> 】&nbsp;【 <A href='javascript:window.close()'>关闭</a> 】
                &nbsp; 　</td>
					</tr>
					
					</table><table border="0" width="98%">
	<tr>
		<td>　</td>
	</tr>
</table>　</td>
		</tr>
	</table>
</div>
<!--#include file=webfoot.asp-->